@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class UntagPolicyRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP
Constructor and Description |
---|
UntagPolicyRequest() |
Modifier and Type | Method and Description |
---|---|
UntagPolicyRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
String |
getPolicyArn()
The ARN of the IAM customer managed policy from which you want to remove tags.
|
List<String> |
getTagKeys()
A list of key names as a simple array of strings.
|
int |
hashCode() |
void |
setPolicyArn(String policyArn)
The ARN of the IAM customer managed policy 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.
|
UntagPolicyRequest |
withPolicyArn(String policyArn)
The ARN of the IAM customer managed policy from which you want to remove tags.
|
UntagPolicyRequest |
withTagKeys(Collection<String> tagKeys)
A list of key names as a simple array of strings.
|
UntagPolicyRequest |
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 setPolicyArn(String policyArn)
The ARN of the IAM customer managed policy from which you want to remove tags.
This parameter allows (through its regex pattern) a string of characters consisting of upper and lowercase alphanumeric characters with no spaces. You can also include any of the following characters: _+=,.@-
policyArn
- The ARN of the IAM customer managed policy from which you want to remove tags.
This parameter allows (through its regex pattern) a string of characters consisting of upper and lowercase alphanumeric characters with no spaces. You can also include any of the following characters: _+=,.@-
public String getPolicyArn()
The ARN of the IAM customer managed policy from which you want to remove tags.
This parameter allows (through its regex pattern) a string of characters consisting of upper and lowercase alphanumeric characters with no spaces. You can also include any of the following characters: _+=,.@-
This parameter allows (through its regex pattern) a string of characters consisting of upper and lowercase alphanumeric characters with no spaces. You can also include any of the following characters: _+=,.@-
public UntagPolicyRequest withPolicyArn(String policyArn)
The ARN of the IAM customer managed policy from which you want to remove tags.
This parameter allows (through its regex pattern) a string of characters consisting of upper and lowercase alphanumeric characters with no spaces. You can also include any of the following characters: _+=,.@-
policyArn
- The ARN of the IAM customer managed policy from which you want to remove tags.
This parameter allows (through its regex pattern) a string of characters consisting 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 policy.
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 policy.
tagKeys
- A list of key names as a simple array of strings. The tags with matching keys are removed from the
specified policy.public UntagPolicyRequest withTagKeys(String... tagKeys)
A list of key names as a simple array of strings. The tags with matching keys are removed from the specified policy.
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 policy.public UntagPolicyRequest 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 policy.
tagKeys
- A list of key names as a simple array of strings. The tags with matching keys are removed from the
specified policy.public String toString()
toString
in class Object
Object.toString()
public UntagPolicyRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()