@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class TagRoleRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP| Constructor and Description |
|---|
TagRoleRequest() |
| Modifier and Type | Method and Description |
|---|---|
TagRoleRequest |
clone() |
boolean |
equals(Object obj) |
String |
getRoleName()
The name of the IAM role to which you want to add tags.
|
List<Tag> |
getTags()
The list of tags that you want to attach to the IAM role.
|
int |
hashCode() |
void |
setRoleName(String roleName)
The name of the IAM role to which you want to add tags.
|
void |
setTags(Collection<Tag> tags)
The list of tags that you want to attach to the IAM role.
|
String |
toString()
Returns a string representation of this object.
|
TagRoleRequest |
withRoleName(String roleName)
The name of the IAM role to which you want to add tags.
|
TagRoleRequest |
withTags(Collection<Tag> tags)
The list of tags that you want to attach to the IAM role.
|
TagRoleRequest |
withTags(Tag... tags)
The list of tags that you want to attach to the IAM role.
|
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 setRoleName(String roleName)
The name of the IAM role to which you want to add tags.
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: _+=,.@-
roleName - The name of the IAM role to which you want to add tags.
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 getRoleName()
The name of the IAM role to which you want to add tags.
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 TagRoleRequest withRoleName(String roleName)
The name of the IAM role to which you want to add tags.
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: _+=,.@-
roleName - The name of the IAM role to which you want to add tags.
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 IAM role. 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 IAM role. Each tag consists of a key name and an associated value.
tags - The list of tags that you want to attach to the IAM role. Each tag consists of a key name and an
associated value.public TagRoleRequest withTags(Tag... tags)
The list of tags that you want to attach to the IAM role. 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 IAM role. Each tag consists of a key name and an
associated value.public TagRoleRequest withTags(Collection<Tag> tags)
The list of tags that you want to attach to the IAM role. Each tag consists of a key name and an associated value.
tags - The list of tags that you want to attach to the IAM role. Each tag consists of a key name and an
associated value.public String toString()
toString in class ObjectObject.toString()public TagRoleRequest clone()
clone in class AmazonWebServiceRequestCopyright © 2022. All rights reserved.