@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class TagUserRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP| Constructor and Description |
|---|
TagUserRequest() |
| Modifier and Type | Method and Description |
|---|---|
TagUserRequest |
clone() |
boolean |
equals(Object obj) |
List<Tag> |
getTags()
The list of tags that you want to attach to the user.
|
String |
getUserName()
The name of the user that you want to add tags to.
|
int |
hashCode() |
void |
setTags(Collection<Tag> tags)
The list of tags that you want to attach to the user.
|
void |
setUserName(String userName)
The name of the user that you want to add tags to.
|
String |
toString()
Returns a string representation of this object.
|
TagUserRequest |
withTags(Collection<Tag> tags)
The list of tags that you want to attach to the user.
|
TagUserRequest |
withTags(Tag... tags)
The list of tags that you want to attach to the user.
|
TagUserRequest |
withUserName(String userName)
The name of the user that you want to add tags to.
|
addHandlerContext, copyBaseTo, 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 setUserName(String userName)
The name of the user that you want to add tags to.
This parameter accepts (through its regex pattern) a string of characters that consist of upper and lowercase alphanumeric characters with no spaces. You can also include any of the following characters: =,.@-
userName - The name of the user that you want to add tags to.
This parameter accepts (through its regex pattern) a string of characters that consist of upper and lowercase alphanumeric characters with no spaces. You can also include any of the following characters: =,.@-
public String getUserName()
The name of the user that you want to add tags to.
This parameter accepts (through its regex pattern) a string of characters that consist of upper and lowercase alphanumeric characters with no spaces. You can also include any of the following characters: =,.@-
This parameter accepts (through its regex pattern) a string of characters that consist of upper and lowercase alphanumeric characters with no spaces. You can also include any of the following characters: =,.@-
public TagUserRequest withUserName(String userName)
The name of the user that you want to add tags to.
This parameter accepts (through its regex pattern) a string of characters that consist of upper and lowercase alphanumeric characters with no spaces. You can also include any of the following characters: =,.@-
userName - The name of the user that you want to add tags to.
This parameter accepts (through its regex pattern) a string of characters that consist of upper and lowercase alphanumeric characters with no spaces. You can also include any of the following characters: =,.@-
public List<Tag> getTags()
The list of tags that you want to attach to the user. Each tag consists of a key name and an associated value.
public void setTags(Collection<Tag> tags)
The list of tags that you want to attach to the user. Each tag consists of a key name and an associated value.
tags - The list of tags that you want to attach to the user. Each tag consists of a key name and an associated
value.public TagUserRequest withTags(Tag... tags)
The list of tags that you want to attach to the user. Each tag consists of a key name and an associated value.
NOTE: This method appends the values to the existing list (if any). Use
setTags(java.util.Collection) or withTags(java.util.Collection) if you want to override the
existing values.
tags - The list of tags that you want to attach to the user. Each tag consists of a key name and an associated
value.public TagUserRequest withTags(Collection<Tag> tags)
The list of tags that you want to attach to the user. Each tag consists of a key name and an associated value.
tags - The list of tags that you want to attach to the user. Each tag consists of a key name and an associated
value.public String toString()
toString in class ObjectObject.toString()public TagUserRequest clone()
clone in class AmazonWebServiceRequestCopyright © 2021. All rights reserved.