Interface CreateUserRequest.Builder

All Superinterfaces:
AwsRequest.Builder, Buildable, CopyableBuilder<CreateUserRequest.Builder,CreateUserRequest>, SdkBuilder<CreateUserRequest.Builder,CreateUserRequest>, SdkPojo, SdkRequest.Builder, WorkDocsRequest.Builder
Enclosing class:
CreateUserRequest

public static interface CreateUserRequest.Builder extends WorkDocsRequest.Builder, SdkPojo, CopyableBuilder<CreateUserRequest.Builder,CreateUserRequest>
  • Method Details

    • organizationId

      CreateUserRequest.Builder organizationId(String organizationId)

      The ID of the organization.

      Parameters:
      organizationId - The ID of the organization.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • username

      CreateUserRequest.Builder username(String username)

      The login name of the user.

      Parameters:
      username - The login name of the user.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • emailAddress

      CreateUserRequest.Builder emailAddress(String emailAddress)

      The email address of the user.

      Parameters:
      emailAddress - The email address of the user.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • givenName

      CreateUserRequest.Builder givenName(String givenName)

      The given name of the user.

      Parameters:
      givenName - The given name of the user.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • surname

      The surname of the user.

      Parameters:
      surname - The surname of the user.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • password

      CreateUserRequest.Builder password(String password)

      The password of the user.

      Parameters:
      password - The password of the user.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • timeZoneId

      CreateUserRequest.Builder timeZoneId(String timeZoneId)

      The time zone ID of the user.

      Parameters:
      timeZoneId - The time zone ID of the user.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • storageRule

      CreateUserRequest.Builder storageRule(StorageRuleType storageRule)

      The amount of storage for the user.

      Parameters:
      storageRule - The amount of storage for the user.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • storageRule

      default CreateUserRequest.Builder storageRule(Consumer<StorageRuleType.Builder> storageRule)

      The amount of storage for the user.

      This is a convenience method that creates an instance of the StorageRuleType.Builder avoiding the need to create one manually via StorageRuleType.builder().

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to storageRule(StorageRuleType).

      Parameters:
      storageRule - a consumer that will call methods on StorageRuleType.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • authenticationToken

      CreateUserRequest.Builder authenticationToken(String authenticationToken)

      Amazon WorkDocs authentication token. Not required when using Amazon Web Services administrator credentials to access the API.

      Parameters:
      authenticationToken - Amazon WorkDocs authentication token. Not required when using Amazon Web Services administrator credentials to access the API.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • overrideConfiguration

      CreateUserRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
      Description copied from interface: AwsRequest.Builder
      Add an optional request override configuration.
      Specified by:
      overrideConfiguration in interface AwsRequest.Builder
      Parameters:
      overrideConfiguration - The override configuration.
      Returns:
      This object for method chaining.
    • overrideConfiguration

      Description copied from interface: AwsRequest.Builder
      Add an optional request override configuration.
      Specified by:
      overrideConfiguration in interface AwsRequest.Builder
      Parameters:
      builderConsumer - A Consumer to which an empty AwsRequestOverrideConfiguration.Builder will be given.
      Returns:
      This object for method chaining.