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 Summary
Modifier and TypeMethodDescriptionauthenticationToken(String authenticationToken) Amazon WorkDocs authentication token.emailAddress(String emailAddress) The email address of the user.The given name of the user.organizationId(String organizationId) The ID of the organization.overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.The password of the user.default CreateUserRequest.BuilderstorageRule(Consumer<StorageRuleType.Builder> storageRule) The amount of storage for the user.storageRule(StorageRuleType storageRule) The amount of storage for the user.The surname of the user.timeZoneId(String timeZoneId) The time zone ID of the user.The login name of the user.Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfigurationMethods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldsMethods inherited from interface software.amazon.awssdk.services.workdocs.model.WorkDocsRequest.Builder
build
-
Method Details
-
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
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
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
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
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
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
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
The amount of storage for the user.
This is a convenience method that creates an instance of theStorageRuleType.Builderavoiding the need to create one manually viaStorageRuleType.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tostorageRule(StorageRuleType).- Parameters:
storageRule- a consumer that will call methods onStorageRuleType.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
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.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder- Parameters:
overrideConfiguration- The override configuration.- Returns:
- This object for method chaining.
-
overrideConfiguration
CreateUserRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Description copied from interface:AwsRequest.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder- Parameters:
builderConsumer- AConsumerto which an emptyAwsRequestOverrideConfiguration.Builderwill be given.- Returns:
- This object for method chaining.
-