public static interface CreateUserRequest.Builder extends WorkDocsRequest.Builder, CopyableBuilder<CreateUserRequest.Builder,CreateUserRequest>
Modifier and Type | Method and Description |
---|---|
CreateUserRequest.Builder |
authenticationToken(String authenticationToken)
Amazon WorkDocs authentication token.
|
CreateUserRequest.Builder |
emailAddress(String emailAddress)
The email address of the user.
|
CreateUserRequest.Builder |
givenName(String givenName)
The given name of the user.
|
CreateUserRequest.Builder |
organizationId(String organizationId)
The ID of the organization.
|
CreateUserRequest.Builder |
overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
Add an optional request override configuration.
|
CreateUserRequest.Builder |
overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
Add an optional request override configuration.
|
CreateUserRequest.Builder |
password(String password)
The password of the user.
|
default CreateUserRequest.Builder |
storageRule(Consumer<StorageRuleType.Builder> storageRule)
The amount of storage for the user.
|
CreateUserRequest.Builder |
storageRule(StorageRuleType storageRule)
The amount of storage for the user.
|
CreateUserRequest.Builder |
surname(String surname)
The surname of the user.
|
CreateUserRequest.Builder |
timeZoneId(String timeZoneId)
The time zone ID of the user.
|
CreateUserRequest.Builder |
username(String username)
The login name of the user.
|
build
overrideConfiguration
copy
applyMutation, build
CreateUserRequest.Builder organizationId(String organizationId)
The ID of the organization.
organizationId
- The ID of the organization.CreateUserRequest.Builder username(String username)
The login name of the user.
username
- The login name of the user.CreateUserRequest.Builder emailAddress(String emailAddress)
The email address of the user.
emailAddress
- The email address of the user.CreateUserRequest.Builder givenName(String givenName)
The given name of the user.
givenName
- The given name of the user.CreateUserRequest.Builder surname(String surname)
The surname of the user.
surname
- The surname of the user.CreateUserRequest.Builder password(String password)
The password of the user.
password
- The password of the user.CreateUserRequest.Builder timeZoneId(String timeZoneId)
The time zone ID of the user.
timeZoneId
- The time zone ID of the user.CreateUserRequest.Builder storageRule(StorageRuleType storageRule)
The amount of storage for the user.
storageRule
- The amount of storage for the user.default CreateUserRequest.Builder storageRule(Consumer<StorageRuleType.Builder> storageRule)
The amount of storage for the user.
This is a convenience that creates an instance of theStorageRuleType.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)
.storageRule
- a consumer that will call methods on StorageRuleType.Builder
storageRule(StorageRuleType)
CreateUserRequest.Builder authenticationToken(String authenticationToken)
Amazon WorkDocs authentication token. Do not set this field when using administrative API actions, as in accessing the API using AWS credentials.
authenticationToken
- Amazon WorkDocs authentication token. Do not set this field when using administrative API actions, as
in accessing the API using AWS credentials.CreateUserRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
AwsRequest.Builder
overrideConfiguration
in interface AwsRequest.Builder
overrideConfiguration
- The override configuration.CreateUserRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
AwsRequest.Builder
overrideConfiguration
in interface AwsRequest.Builder
builderConsumer
- A Consumer
to which an empty AwsRequestOverrideConfiguration.Builder
will be
given.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.