@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class UntagInstanceProfileRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP
Constructor and Description |
---|
UntagInstanceProfileRequest() |
Modifier and Type | Method and Description |
---|---|
UntagInstanceProfileRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
String |
getInstanceProfileName()
The name of the IAM instance profile from which you want to remove tags.
|
List<String> |
getTagKeys()
A list of key names as a simple array of strings.
|
int |
hashCode() |
void |
setInstanceProfileName(String instanceProfileName)
The name of the IAM instance profile 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.
|
UntagInstanceProfileRequest |
withInstanceProfileName(String instanceProfileName)
The name of the IAM instance profile from which you want to remove tags.
|
UntagInstanceProfileRequest |
withTagKeys(Collection<String> tagKeys)
A list of key names as a simple array of strings.
|
UntagInstanceProfileRequest |
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 setInstanceProfileName(String instanceProfileName)
The name of the IAM instance profile 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: _+=,.@-
instanceProfileName
- The name of the IAM instance profile 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 getInstanceProfileName()
The name of the IAM instance profile 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 UntagInstanceProfileRequest withInstanceProfileName(String instanceProfileName)
The name of the IAM instance profile 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: _+=,.@-
instanceProfileName
- The name of the IAM instance profile 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 instance profile.
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 instance profile.
tagKeys
- A list of key names as a simple array of strings. The tags with matching keys are removed from the
specified instance profile.public UntagInstanceProfileRequest withTagKeys(String... tagKeys)
A list of key names as a simple array of strings. The tags with matching keys are removed from the specified instance profile.
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 instance profile.public UntagInstanceProfileRequest 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 instance profile.
tagKeys
- A list of key names as a simple array of strings. The tags with matching keys are removed from the
specified instance profile.public String toString()
toString
in class Object
Object.toString()
public UntagInstanceProfileRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()