Interface UpdateUserRequest.Builder
- All Superinterfaces:
AwsRequest.Builder,Buildable,CopyableBuilder<UpdateUserRequest.Builder,,UpdateUserRequest> SdkBuilder<UpdateUserRequest.Builder,,UpdateUserRequest> SdkPojo,SdkRequest.Builder,WorkDocsRequest.Builder
- Enclosing class:
UpdateUserRequest
@Mutable
@NotThreadSafe
public static interface UpdateUserRequest.Builder
extends WorkDocsRequest.Builder, SdkPojo, CopyableBuilder<UpdateUserRequest.Builder,UpdateUserRequest>
-
Method Summary
Modifier and TypeMethodDescriptionauthenticationToken(String authenticationToken) Amazon WorkDocs authentication token.The given name of the user.grantPoweruserPrivileges(String grantPoweruserPrivileges) Boolean value to determine whether the user is granted Power user privileges.grantPoweruserPrivileges(BooleanEnumType grantPoweruserPrivileges) Boolean value to determine whether the user is granted Power user privileges.The locale of the user.locale(LocaleType locale) The locale of the user.overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.default UpdateUserRequest.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 type of the user.The type of the user.The ID 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, sdkFieldNameToField, sdkFieldsMethods inherited from interface software.amazon.awssdk.services.workdocs.model.WorkDocsRequest.Builder
build
-
Method Details
-
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.
-
userId
The ID of the user.
- Parameters:
userId- The ID 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.
-
type
The type of the user.
- Parameters:
type- The type of the user.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
type
The type of the user.
- Parameters:
type- The type of the user.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
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:
-
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.
-
locale
The locale of the user.
- Parameters:
locale- The locale of the user.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
locale
The locale of the user.
- Parameters:
locale- The locale of the user.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
grantPoweruserPrivileges
Boolean value to determine whether the user is granted Power user privileges.
- Parameters:
grantPoweruserPrivileges- Boolean value to determine whether the user is granted Power user privileges.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
grantPoweruserPrivileges
Boolean value to determine whether the user is granted Power user privileges.
- Parameters:
grantPoweruserPrivileges- Boolean value to determine whether the user is granted Power user privileges.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
overrideConfiguration
UpdateUserRequest.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
UpdateUserRequest.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.
-