Interface UpdateUserRequest.Builder
-
- All Superinterfaces:
AwsRequest.Builder
,Buildable
,CopyableBuilder<UpdateUserRequest.Builder,UpdateUserRequest>
,SdkBuilder<UpdateUserRequest.Builder,UpdateUserRequest>
,SdkPojo
,SdkRequest.Builder
,WorkDocsRequest.Builder
- Enclosing class:
- UpdateUserRequest
public static interface UpdateUserRequest.Builder extends WorkDocsRequest.Builder, SdkPojo, CopyableBuilder<UpdateUserRequest.Builder,UpdateUserRequest>
-
-
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
-
authenticationToken
UpdateUserRequest.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.
-
userId
UpdateUserRequest.Builder userId(String 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
UpdateUserRequest.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
UpdateUserRequest.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.
-
type
UpdateUserRequest.Builder type(String type)
The type of the user.
-
type
UpdateUserRequest.Builder type(UserType type)
The type of the user.
-
storageRule
UpdateUserRequest.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 UpdateUserRequest.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)
-
timeZoneId
UpdateUserRequest.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.
-
locale
UpdateUserRequest.Builder locale(String 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:
LocaleType
,LocaleType
-
locale
UpdateUserRequest.Builder locale(LocaleType 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:
LocaleType
,LocaleType
-
grantPoweruserPrivileges
UpdateUserRequest.Builder grantPoweruserPrivileges(String 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:
BooleanEnumType
,BooleanEnumType
-
grantPoweruserPrivileges
UpdateUserRequest.Builder grantPoweruserPrivileges(BooleanEnumType 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:
BooleanEnumType
,BooleanEnumType
-
overrideConfiguration
UpdateUserRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
-
overrideConfiguration
UpdateUserRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
-
-