Class UpdateApiKeyOptions.Builder

  • Enclosing class:
    UpdateApiKeyOptions

    public static class UpdateApiKeyOptions.Builder
    extends java.lang.Object
    Builder.
    • Constructor Detail

      • Builder

        public Builder()
        Instantiates a new builder.
      • Builder

        public Builder​(java.lang.String id,
                       java.lang.String ifMatch)
        Instantiates a new builder with required properties.
        Parameters:
        id - the id
        ifMatch - the ifMatch
    • Method Detail

      • build

        public UpdateApiKeyOptions build()
        Builds a UpdateApiKeyOptions.
        Returns:
        the new UpdateApiKeyOptions instance
      • id

        public UpdateApiKeyOptions.Builder id​(java.lang.String id)
        Set the id.
        Parameters:
        id - the id
        Returns:
        the UpdateApiKeyOptions builder
      • ifMatch

        public UpdateApiKeyOptions.Builder ifMatch​(java.lang.String ifMatch)
        Set the ifMatch.
        Parameters:
        ifMatch - the ifMatch
        Returns:
        the UpdateApiKeyOptions builder
      • name

        public UpdateApiKeyOptions.Builder name​(java.lang.String name)
        Set the name.
        Parameters:
        name - the name
        Returns:
        the UpdateApiKeyOptions builder
      • description

        public UpdateApiKeyOptions.Builder description​(java.lang.String description)
        Set the description.
        Parameters:
        description - the description
        Returns:
        the UpdateApiKeyOptions builder
      • supportSessions

        public UpdateApiKeyOptions.Builder supportSessions​(java.lang.Boolean supportSessions)
        Set the supportSessions.
        Parameters:
        supportSessions - the supportSessions
        Returns:
        the UpdateApiKeyOptions builder
      • actionWhenLeaked

        public UpdateApiKeyOptions.Builder actionWhenLeaked​(java.lang.String actionWhenLeaked)
        Set the actionWhenLeaked.
        Parameters:
        actionWhenLeaked - the actionWhenLeaked
        Returns:
        the UpdateApiKeyOptions builder