Class CreateApiKeyOptions.Builder

  • Enclosing class:
    CreateApiKeyOptions

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

      • Builder

        public Builder()
        Instantiates a new builder.
      • Builder

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

      • build

        public CreateApiKeyOptions build()
        Builds a CreateApiKeyOptions.
        Returns:
        the new CreateApiKeyOptions instance
      • name

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

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

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

        public CreateApiKeyOptions.Builder accountId​(java.lang.String accountId)
        Set the accountId.
        Parameters:
        accountId - the accountId
        Returns:
        the CreateApiKeyOptions builder
      • apikey

        public CreateApiKeyOptions.Builder apikey​(java.lang.String apikey)
        Set the apikey.
        Parameters:
        apikey - the apikey
        Returns:
        the CreateApiKeyOptions builder
      • storeValue

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

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

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

        public CreateApiKeyOptions.Builder entityLock​(java.lang.String entityLock)
        Set the entityLock.
        Parameters:
        entityLock - the entityLock
        Returns:
        the CreateApiKeyOptions builder
      • entityDisable

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