@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class UntagRoleRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP
Constructor and Description |
---|
UntagRoleRequest() |
Modifier and Type | Method and Description |
---|---|
UntagRoleRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
String |
getRoleName()
The name of the IAM role from which you want to remove tags.
|
List<String> |
getTagKeys()
A list of key names as a simple array of strings.
|
int |
hashCode() |
void |
setRoleName(String roleName)
The name of the IAM role from which you want to remove tags.
|
void |
setTagKeys(Collection<String> tagKeys)
A list of key names as a simple array of strings.
|
String |
toString()
Returns a string representation of this object.
|
UntagRoleRequest |
withRoleName(String roleName)
The name of the IAM role from which you want to remove tags.
|
UntagRoleRequest |
withTagKeys(Collection<String> tagKeys)
A list of key names as a simple array of strings.
|
UntagRoleRequest |
withTagKeys(String... tagKeys)
A list of key names as a simple array of strings.
|
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 setRoleName(String roleName)
The name of the IAM role from which you want to remove 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 from which you want to remove 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 from which you want to remove 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 UntagRoleRequest withRoleName(String roleName)
The name of the IAM role from which you want to remove 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 from which you want to remove 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<String> getTagKeys()
A list of key names as a simple array of strings. The tags with matching keys are removed from the specified role.
public void setTagKeys(Collection<String> tagKeys)
A list of key names as a simple array of strings. The tags with matching keys are removed from the specified role.
tagKeys
- A list of key names as a simple array of strings. The tags with matching keys are removed from the
specified role.public UntagRoleRequest withTagKeys(String... tagKeys)
A list of key names as a simple array of strings. The tags with matching keys are removed from the specified role.
NOTE: This method appends the values to the existing list (if any). Use
setTagKeys(java.util.Collection)
or withTagKeys(java.util.Collection)
if you want to override
the existing values.
tagKeys
- A list of key names as a simple array of strings. The tags with matching keys are removed from the
specified role.public UntagRoleRequest withTagKeys(Collection<String> tagKeys)
A list of key names as a simple array of strings. The tags with matching keys are removed from the specified role.
tagKeys
- A list of key names as a simple array of strings. The tags with matching keys are removed from the
specified role.public String toString()
toString
in class Object
Object.toString()
public UntagRoleRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()