@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 Power user 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 Power user privileges.
|
void |
setGrantPoweruserPrivileges(String grantPoweruserPrivileges)
Boolean value to determine whether the user is granted Power user 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 Power user privileges.
|
UpdateUserRequest |
withGrantPoweruserPrivileges(String grantPoweruserPrivileges)
Boolean value to determine whether the user is granted Power user 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, withSdkRequestTimeout
public void setAuthenticationToken(String authenticationToken)
Amazon WorkDocs authentication token. Not required when using Amazon Web Services administrator credentials to access the API.
authenticationToken
- Amazon WorkDocs authentication token. Not required when using Amazon Web Services administrator
credentials to access the API.public String getAuthenticationToken()
Amazon WorkDocs authentication token. Not required when using Amazon Web Services administrator credentials to access the API.
public UpdateUserRequest withAuthenticationToken(String authenticationToken)
Amazon WorkDocs authentication token. Not required when using Amazon Web Services administrator credentials to access the API.
authenticationToken
- Amazon WorkDocs authentication token. Not required when using Amazon Web Services 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.UserType
public String getType()
The type of the user.
UserType
public UpdateUserRequest withType(String type)
The type of the user.
type
- The type of the user.UserType
public void setType(UserType type)
The type of the user.
type
- The type of the user.UserType
public UpdateUserRequest withType(UserType type)
The type of the user.
type
- The type of the user.UserType
public 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.LocaleType
public String getLocale()
The locale of the user.
LocaleType
public UpdateUserRequest withLocale(String locale)
The locale of the user.
locale
- The locale of the user.LocaleType
public void setLocale(LocaleType locale)
The locale of the user.
locale
- The locale of the user.LocaleType
public UpdateUserRequest withLocale(LocaleType locale)
The locale of the user.
locale
- The locale of the user.LocaleType
public void setGrantPoweruserPrivileges(String grantPoweruserPrivileges)
Boolean value to determine whether the user is granted Power user privileges.
grantPoweruserPrivileges
- Boolean value to determine whether the user is granted Power user privileges.BooleanEnumType
public String getGrantPoweruserPrivileges()
Boolean value to determine whether the user is granted Power user privileges.
BooleanEnumType
public UpdateUserRequest withGrantPoweruserPrivileges(String grantPoweruserPrivileges)
Boolean value to determine whether the user is granted Power user privileges.
grantPoweruserPrivileges
- Boolean value to determine whether the user is granted Power user privileges.BooleanEnumType
public void setGrantPoweruserPrivileges(BooleanEnumType grantPoweruserPrivileges)
Boolean value to determine whether the user is granted Power user privileges.
grantPoweruserPrivileges
- Boolean value to determine whether the user is granted Power user privileges.BooleanEnumType
public UpdateUserRequest withGrantPoweruserPrivileges(BooleanEnumType grantPoweruserPrivileges)
Boolean value to determine whether the user is granted Power user privileges.
grantPoweruserPrivileges
- Boolean value to determine whether the user is granted Power user privileges.BooleanEnumType
public String toString()
toString
in class Object
Object.toString()
public UpdateUserRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()