@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class UpdateUserRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP| Constructor and Description |
|---|
UpdateUserRequest() |
| Modifier and Type | Method and Description |
|---|---|
UpdateUserRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
String |
getAuthenticationToken()
Amazon WorkDocs authentication token.
|
String |
getGivenName()
The given name of the user.
|
String |
getGrantPoweruserPrivileges()
Boolean value to determine whether the user is granted Poweruser privileges.
|
String |
getLocale()
The locale of the user.
|
StorageRuleType |
getStorageRule()
The amount of storage for the user.
|
String |
getSurname()
The surname of the user.
|
String |
getTimeZoneId()
The time zone ID of the user.
|
String |
getType()
The type of the user.
|
String |
getUserId()
The ID of the user.
|
int |
hashCode() |
void |
setAuthenticationToken(String authenticationToken)
Amazon WorkDocs authentication token.
|
void |
setGivenName(String givenName)
The given name of the user.
|
void |
setGrantPoweruserPrivileges(BooleanEnumType grantPoweruserPrivileges)
Boolean value to determine whether the user is granted Poweruser privileges.
|
void |
setGrantPoweruserPrivileges(String grantPoweruserPrivileges)
Boolean value to determine whether the user is granted Poweruser privileges.
|
void |
setLocale(LocaleType locale)
The locale of the user.
|
void |
setLocale(String locale)
The locale of the user.
|
void |
setStorageRule(StorageRuleType storageRule)
The amount of storage for the user.
|
void |
setSurname(String surname)
The surname of the user.
|
void |
setTimeZoneId(String timeZoneId)
The time zone ID of the user.
|
void |
setType(String type)
The type of the user.
|
void |
setType(UserType type)
The type of the user.
|
void |
setUserId(String userId)
The ID of the user.
|
String |
toString()
Returns a string representation of this object.
|
UpdateUserRequest |
withAuthenticationToken(String authenticationToken)
Amazon WorkDocs authentication token.
|
UpdateUserRequest |
withGivenName(String givenName)
The given name of the user.
|
UpdateUserRequest |
withGrantPoweruserPrivileges(BooleanEnumType grantPoweruserPrivileges)
Boolean value to determine whether the user is granted Poweruser privileges.
|
UpdateUserRequest |
withGrantPoweruserPrivileges(String grantPoweruserPrivileges)
Boolean value to determine whether the user is granted Poweruser privileges.
|
UpdateUserRequest |
withLocale(LocaleType locale)
The locale of the user.
|
UpdateUserRequest |
withLocale(String locale)
The locale of the user.
|
UpdateUserRequest |
withStorageRule(StorageRuleType storageRule)
The amount of storage for the user.
|
UpdateUserRequest |
withSurname(String surname)
The surname of the user.
|
UpdateUserRequest |
withTimeZoneId(String timeZoneId)
The time zone ID of the user.
|
UpdateUserRequest |
withType(String type)
The type of the user.
|
UpdateUserRequest |
withType(UserType type)
The type of the user.
|
UpdateUserRequest |
withUserId(String userId)
The ID of the user.
|
addHandlerContext, getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getHandlerContext, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestCredentialsProvider, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestCredentialsProvider, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestCredentialsProvider, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeoutpublic void setAuthenticationToken(String authenticationToken)
Amazon WorkDocs authentication token. Not required when using AWS administrator credentials to access the API.
authenticationToken - Amazon WorkDocs authentication token. Not required when using AWS administrator credentials to access the
API.public String getAuthenticationToken()
Amazon WorkDocs authentication token. Not required when using AWS administrator credentials to access the API.
public UpdateUserRequest withAuthenticationToken(String authenticationToken)
Amazon WorkDocs authentication token. Not required when using AWS administrator credentials to access the API.
authenticationToken - Amazon WorkDocs authentication token. Not required when using AWS administrator credentials to access the
API.public void setUserId(String userId)
The ID of the user.
userId - The ID of the user.public String getUserId()
The ID of the user.
public UpdateUserRequest withUserId(String userId)
The ID of the user.
userId - The ID of the user.public void setGivenName(String givenName)
The given name of the user.
givenName - The given name of the user.public String getGivenName()
The given name of the user.
public UpdateUserRequest withGivenName(String givenName)
The given name of the user.
givenName - The given name of the user.public void setSurname(String surname)
The surname of the user.
surname - The surname of the user.public String getSurname()
The surname of the user.
public UpdateUserRequest withSurname(String surname)
The surname of the user.
surname - The surname of the user.public void setType(String type)
The type of the user.
type - The type of the user.UserTypepublic String getType()
The type of the user.
UserTypepublic UpdateUserRequest withType(String type)
The type of the user.
type - The type of the user.UserTypepublic void setType(UserType type)
The type of the user.
type - The type of the user.UserTypepublic UpdateUserRequest withType(UserType type)
The type of the user.
type - The type of the user.UserTypepublic void setStorageRule(StorageRuleType storageRule)
The amount of storage for the user.
storageRule - The amount of storage for the user.public StorageRuleType getStorageRule()
The amount of storage for the user.
public UpdateUserRequest withStorageRule(StorageRuleType storageRule)
The amount of storage for the user.
storageRule - The amount of storage for the user.public void setTimeZoneId(String timeZoneId)
The time zone ID of the user.
timeZoneId - The time zone ID of the user.public String getTimeZoneId()
The time zone ID of the user.
public UpdateUserRequest withTimeZoneId(String timeZoneId)
The time zone ID of the user.
timeZoneId - The time zone ID of the user.public void setLocale(String locale)
The locale of the user.
locale - The locale of the user.LocaleTypepublic String getLocale()
The locale of the user.
LocaleTypepublic UpdateUserRequest withLocale(String locale)
The locale of the user.
locale - The locale of the user.LocaleTypepublic void setLocale(LocaleType locale)
The locale of the user.
locale - The locale of the user.LocaleTypepublic UpdateUserRequest withLocale(LocaleType locale)
The locale of the user.
locale - The locale of the user.LocaleTypepublic void setGrantPoweruserPrivileges(String grantPoweruserPrivileges)
Boolean value to determine whether the user is granted Poweruser privileges.
grantPoweruserPrivileges - Boolean value to determine whether the user is granted Poweruser privileges.BooleanEnumTypepublic String getGrantPoweruserPrivileges()
Boolean value to determine whether the user is granted Poweruser privileges.
BooleanEnumTypepublic UpdateUserRequest withGrantPoweruserPrivileges(String grantPoweruserPrivileges)
Boolean value to determine whether the user is granted Poweruser privileges.
grantPoweruserPrivileges - Boolean value to determine whether the user is granted Poweruser privileges.BooleanEnumTypepublic void setGrantPoweruserPrivileges(BooleanEnumType grantPoweruserPrivileges)
Boolean value to determine whether the user is granted Poweruser privileges.
grantPoweruserPrivileges - Boolean value to determine whether the user is granted Poweruser privileges.BooleanEnumTypepublic UpdateUserRequest withGrantPoweruserPrivileges(BooleanEnumType grantPoweruserPrivileges)
Boolean value to determine whether the user is granted Poweruser privileges.
grantPoweruserPrivileges - Boolean value to determine whether the user is granted Poweruser privileges.BooleanEnumTypepublic String toString()
toString in class ObjectObject.toString()public UpdateUserRequest clone()
AmazonWebServiceRequestclone in class AmazonWebServiceRequestObject.clone()