@Generated(value="software.amazon.awssdk:codegen") public final class UpdateUserRequest extends WorkDocsRequest implements ToCopyableBuilder<UpdateUserRequest.Builder,UpdateUserRequest>
Modifier and Type | Class and Description |
---|---|
static interface |
UpdateUserRequest.Builder |
Modifier and Type | Method and Description |
---|---|
String |
authenticationToken()
Amazon WorkDocs authentication token.
|
static UpdateUserRequest.Builder |
builder() |
boolean |
equals(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz)
Used to retrieve the value of a field from any class that extends
SdkRequest . |
String |
givenName()
The given name of the user.
|
BooleanEnumType |
grantPoweruserPrivileges()
Boolean value to determine whether the user is granted Poweruser privileges.
|
String |
grantPoweruserPrivilegesAsString()
Boolean value to determine whether the user is granted Poweruser privileges.
|
int |
hashCode() |
LocaleType |
locale()
The locale of the user.
|
String |
localeAsString()
The locale of the user.
|
static Class<? extends UpdateUserRequest.Builder> |
serializableBuilderClass() |
StorageRuleType |
storageRule()
The amount of storage for the user.
|
String |
surname()
The surname of the user.
|
String |
timeZoneId()
The time zone ID of the user.
|
UpdateUserRequest.Builder |
toBuilder()
Take this object and create a builder that contains all of the current property values of this object.
|
String |
toString() |
UserType |
type()
The type of the user.
|
String |
typeAsString()
The type of the user.
|
String |
userId()
The ID of the user.
|
overrideConfiguration
copy
public String authenticationToken()
Amazon WorkDocs authentication token. Do not set this field when using administrative API actions, as in accessing the API using AWS credentials.
public String userId()
The ID of the user.
public String givenName()
The given name of the user.
public String surname()
The surname of the user.
public UserType type()
The type of the user.
If the service returns an enum value that is not available in the current SDK version, type
will return
UserType.UNKNOWN_TO_SDK_VERSION
. The raw value returned by the service is available from
typeAsString()
.
UserType
public String typeAsString()
The type of the user.
If the service returns an enum value that is not available in the current SDK version, type
will return
UserType.UNKNOWN_TO_SDK_VERSION
. The raw value returned by the service is available from
typeAsString()
.
UserType
public StorageRuleType storageRule()
The amount of storage for the user.
public String timeZoneId()
The time zone ID of the user.
public LocaleType locale()
The locale of the user.
If the service returns an enum value that is not available in the current SDK version, locale
will
return LocaleType.UNKNOWN_TO_SDK_VERSION
. The raw value returned by the service is available from
localeAsString()
.
LocaleType
public String localeAsString()
The locale of the user.
If the service returns an enum value that is not available in the current SDK version, locale
will
return LocaleType.UNKNOWN_TO_SDK_VERSION
. The raw value returned by the service is available from
localeAsString()
.
LocaleType
public BooleanEnumType grantPoweruserPrivileges()
Boolean value to determine whether the user is granted Poweruser privileges.
If the service returns an enum value that is not available in the current SDK version,
grantPoweruserPrivileges
will return BooleanEnumType.UNKNOWN_TO_SDK_VERSION
. The raw value
returned by the service is available from grantPoweruserPrivilegesAsString()
.
BooleanEnumType
public String grantPoweruserPrivilegesAsString()
Boolean value to determine whether the user is granted Poweruser privileges.
If the service returns an enum value that is not available in the current SDK version,
grantPoweruserPrivileges
will return BooleanEnumType.UNKNOWN_TO_SDK_VERSION
. The raw value
returned by the service is available from grantPoweruserPrivilegesAsString()
.
BooleanEnumType
public UpdateUserRequest.Builder toBuilder()
ToCopyableBuilder
toBuilder
in interface ToCopyableBuilder<UpdateUserRequest.Builder,UpdateUserRequest>
toBuilder
in class WorkDocsRequest
public static UpdateUserRequest.Builder builder()
public static Class<? extends UpdateUserRequest.Builder> serializableBuilderClass()
public <T> Optional<T> getValueForField(String fieldName, Class<T> clazz)
SdkRequest
SdkRequest
. The field name
specified should match the member name from the corresponding service-2.json model specified in the
codegen-resources folder for a given service. The class specifies what class to cast the returned value to.
If the returned value is also a modeled class, the SdkRequest.getValueForField(String, Class)
method will
again be available.getValueForField
in class SdkRequest
fieldName
- The name of the member to be retrieved.clazz
- The class to cast the returned object to.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.