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
-
Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfiguration
-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Methods inherited from interface software.amazon.awssdk.services.workdocs.model.WorkDocsRequest.Builder
build
-
-
-
-
Method Detail
-
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
CreateUserRequest.Builder surname(String 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 theStorageRuleType.Builder
avoiding the need to create one manually viaStorageRuleType.builder()
.When the
Consumer
completes,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:
storageRule(StorageRuleType)
-
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)
- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
-
overrideConfiguration
CreateUserRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
-
-