Interface UpdateUserRequest.Builder
-
- All Superinterfaces:
AwsRequest.Builder,Buildable,CopyableBuilder<UpdateUserRequest.Builder,UpdateUserRequest>,SdkBuilder<UpdateUserRequest.Builder,UpdateUserRequest>,SdkPojo,SdkRequest.Builder,WorkMailRequest.Builder
- Enclosing class:
- UpdateUserRequest
public static interface UpdateUserRequest.Builder extends WorkMailRequest.Builder, SdkPojo, CopyableBuilder<UpdateUserRequest.Builder,UpdateUserRequest>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description UpdateUserRequest.Buildercity(String city)Updates the user's city.UpdateUserRequest.Buildercompany(String company)Updates the user's company.UpdateUserRequest.Buildercountry(String country)Updates the user's country.UpdateUserRequest.Builderdepartment(String department)Updates the user's department.UpdateUserRequest.BuilderdisplayName(String displayName)Updates the display name of the user.UpdateUserRequest.BuilderfirstName(String firstName)Updates the user's first name.UpdateUserRequest.BuilderhiddenFromGlobalAddressList(Boolean hiddenFromGlobalAddressList)If enabled, the user is hidden from the global address list.UpdateUserRequest.Builderinitials(String initials)Updates the user's initials.UpdateUserRequest.BuilderjobTitle(String jobTitle)Updates the user's job title.UpdateUserRequest.BuilderlastName(String lastName)Updates the user's last name.UpdateUserRequest.Builderoffice(String office)Updates the user's office.UpdateUserRequest.BuilderorganizationId(String organizationId)The identifier for the organization under which the user exists.UpdateUserRequest.BuilderoverrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)UpdateUserRequest.BuilderoverrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)UpdateUserRequest.Builderrole(String role)Updates the user role.UpdateUserRequest.Builderrole(UserRole role)Updates the user role.UpdateUserRequest.Builderstreet(String street)Updates the user's street address.UpdateUserRequest.Buildertelephone(String telephone)Updates the user's contact details.UpdateUserRequest.BuilderuserId(String userId)The identifier for the user to be updated.UpdateUserRequest.BuilderzipCode(String zipCode)Updates the user's zipcode.-
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.workmail.model.WorkMailRequest.Builder
build
-
-
-
-
Method Detail
-
organizationId
UpdateUserRequest.Builder organizationId(String organizationId)
The identifier for the organization under which the user exists.
- Parameters:
organizationId- The identifier for the organization under which the user exists.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
userId
UpdateUserRequest.Builder userId(String userId)
The identifier for the user to be updated.
The identifier can be the UserId, Username, or email. The following identity formats are available:
-
User ID: 12345678-1234-1234-1234-123456789012 or S-1-1-12-1234567890-123456789-123456789-1234
-
Email address: user@domain.tld
-
User name: user
- Parameters:
userId- The identifier for the user to be updated.The identifier can be the UserId, Username, or email. The following identity formats are available:
-
User ID: 12345678-1234-1234-1234-123456789012 or S-1-1-12-1234567890-123456789-123456789-1234
-
Email address: user@domain.tld
-
User name: user
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-
role
UpdateUserRequest.Builder role(String role)
Updates the user role.
You cannot pass SYSTEM_USER or RESOURCE.
-
role
UpdateUserRequest.Builder role(UserRole role)
Updates the user role.
You cannot pass SYSTEM_USER or RESOURCE.
-
displayName
UpdateUserRequest.Builder displayName(String displayName)
Updates the display name of the user.
- Parameters:
displayName- Updates the display name of the user.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
firstName
UpdateUserRequest.Builder firstName(String firstName)
Updates the user's first name.
- Parameters:
firstName- Updates the user's first name.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
lastName
UpdateUserRequest.Builder lastName(String lastName)
Updates the user's last name.
- Parameters:
lastName- Updates the user's last name.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
hiddenFromGlobalAddressList
UpdateUserRequest.Builder hiddenFromGlobalAddressList(Boolean hiddenFromGlobalAddressList)
If enabled, the user is hidden from the global address list.
- Parameters:
hiddenFromGlobalAddressList- If enabled, the user is hidden from the global address list.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
initials
UpdateUserRequest.Builder initials(String initials)
Updates the user's initials.
- Parameters:
initials- Updates the user's initials.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
telephone
UpdateUserRequest.Builder telephone(String telephone)
Updates the user's contact details.
- Parameters:
telephone- Updates the user's contact details.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
street
UpdateUserRequest.Builder street(String street)
Updates the user's street address.
- Parameters:
street- Updates the user's street address.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
jobTitle
UpdateUserRequest.Builder jobTitle(String jobTitle)
Updates the user's job title.
- Parameters:
jobTitle- Updates the user's job title.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
city
UpdateUserRequest.Builder city(String city)
Updates the user's city.
- Parameters:
city- Updates the user's city.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
company
UpdateUserRequest.Builder company(String company)
Updates the user's company.
- Parameters:
company- Updates the user's company.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
zipCode
UpdateUserRequest.Builder zipCode(String zipCode)
Updates the user's zipcode.
- Parameters:
zipCode- Updates the user's zipcode.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
department
UpdateUserRequest.Builder department(String department)
Updates the user's department.
- Parameters:
department- Updates the user's department.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
country
UpdateUserRequest.Builder country(String country)
Updates the user's country.
- Parameters:
country- Updates the user's country.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
office
UpdateUserRequest.Builder office(String office)
Updates the user's office.
- Parameters:
office- Updates the user's office.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
overrideConfiguration
UpdateUserRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
overrideConfiguration
UpdateUserRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
-