@Generated(value="software.amazon.awssdk:codegen") public final class UpdateUserRequest extends WorkMailRequest implements ToCopyableBuilder<UpdateUserRequest.Builder,UpdateUserRequest>
| Modifier and Type | Class and Description |
|---|---|
static interface |
UpdateUserRequest.Builder |
| Modifier and Type | Method and Description |
|---|---|
static UpdateUserRequest.Builder |
builder() |
String |
city()
Updates the user's city.
|
String |
company()
Updates the user's company.
|
String |
country()
Updates the user's country.
|
String |
department()
Updates the user's department.
|
String |
displayName()
Updates the display name of the user.
|
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
String |
firstName()
Updates the user's first name.
|
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
Boolean |
hiddenFromGlobalAddressList()
If enabled, the user is hidden from the global address list.
|
String |
initials()
Updates the user's initials.
|
String |
jobTitle()
Updates the user's job title.
|
String |
lastName()
Updates the user's last name.
|
String |
office()
Updates the user's office.
|
String |
organizationId()
The identifier for the organization under which the user exists.
|
UserRole |
role()
Updates the user role.
|
String |
roleAsString()
Updates the user role.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends UpdateUserRequest.Builder> |
serializableBuilderClass() |
String |
street()
Updates the user's street address.
|
String |
telephone()
Updates the user's contact details.
|
UpdateUserRequest.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
String |
userId()
The identifier for the user to be updated.
|
String |
zipCode()
Updates the user's zipcode.
|
overrideConfigurationclone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final String organizationId()
The identifier for the organization under which the user exists.
public final 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
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
public final UserRole role()
Updates the user role.
You cannot pass SYSTEM_USER or RESOURCE.
If the service returns an enum value that is not available in the current SDK version, role will return
UserRole.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
roleAsString().
You cannot pass SYSTEM_USER or RESOURCE.
UserRolepublic final String roleAsString()
Updates the user role.
You cannot pass SYSTEM_USER or RESOURCE.
If the service returns an enum value that is not available in the current SDK version, role will return
UserRole.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
roleAsString().
You cannot pass SYSTEM_USER or RESOURCE.
UserRolepublic final String displayName()
Updates the display name of the user.
public final String firstName()
Updates the user's first name.
public final String lastName()
Updates the user's last name.
public final Boolean hiddenFromGlobalAddressList()
If enabled, the user is hidden from the global address list.
public final String initials()
Updates the user's initials.
public final String telephone()
Updates the user's contact details.
public final String street()
Updates the user's street address.
public final String jobTitle()
Updates the user's job title.
public final String city()
Updates the user's city.
public final String company()
Updates the user's company.
public final String zipCode()
Updates the user's zipcode.
public final String department()
Updates the user's department.
public final String country()
Updates the user's country.
public final String office()
Updates the user's office.
public UpdateUserRequest.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<UpdateUserRequest.Builder,UpdateUserRequest>toBuilder in class WorkMailRequestpublic static UpdateUserRequest.Builder builder()
public static Class<? extends UpdateUserRequest.Builder> serializableBuilderClass()
public final int hashCode()
hashCode in class AwsRequestpublic final boolean equals(Object obj)
equals in class AwsRequestpublic final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
public final <T> Optional<T> getValueForField(String fieldName, Class<T> clazz)
getValueForField in class SdkRequestCopyright © 2023. All rights reserved.