public class RemoveTagsFromOnPremisesInstancesRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
Represents the input of a remove tags from on-premises instances operation.
NOOP
Constructor and Description |
---|
RemoveTagsFromOnPremisesInstancesRequest() |
Modifier and Type | Method and Description |
---|---|
RemoveTagsFromOnPremisesInstancesRequest |
clone()
Creates a shallow clone of this request.
|
boolean |
equals(Object obj) |
List<String> |
getInstanceNames()
The names of the on-premises instances from which to remove tags.
|
List<Tag> |
getTags()
The tag key-value pairs to remove from the on-premises instances.
|
int |
hashCode() |
void |
setInstanceNames(Collection<String> instanceNames)
The names of the on-premises instances from which to remove tags.
|
void |
setTags(Collection<Tag> tags)
The tag key-value pairs to remove from the on-premises instances.
|
String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
RemoveTagsFromOnPremisesInstancesRequest |
withInstanceNames(Collection<String> instanceNames)
The names of the on-premises instances from which to remove tags.
|
RemoveTagsFromOnPremisesInstancesRequest |
withInstanceNames(String... instanceNames)
The names of the on-premises instances from which to remove tags.
|
RemoveTagsFromOnPremisesInstancesRequest |
withTags(Collection<Tag> tags)
The tag key-value pairs to remove from the on-premises instances.
|
RemoveTagsFromOnPremisesInstancesRequest |
withTags(Tag... tags)
The tag key-value pairs to remove from the on-premises instances.
|
copyBaseTo, getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestCredentialsProvider, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestCredentialsProvider, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeout
public RemoveTagsFromOnPremisesInstancesRequest()
public List<Tag> getTags()
The tag key-value pairs to remove from the on-premises instances.
public void setTags(Collection<Tag> tags)
The tag key-value pairs to remove from the on-premises instances.
tags
- The tag key-value pairs to remove from the on-premises instances.public RemoveTagsFromOnPremisesInstancesRequest withTags(Tag... tags)
The tag key-value pairs to remove from the on-premises instances.
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 tag key-value pairs to remove from the on-premises instances.public RemoveTagsFromOnPremisesInstancesRequest withTags(Collection<Tag> tags)
The tag key-value pairs to remove from the on-premises instances.
tags
- The tag key-value pairs to remove from the on-premises instances.public List<String> getInstanceNames()
The names of the on-premises instances from which to remove tags.
public void setInstanceNames(Collection<String> instanceNames)
The names of the on-premises instances from which to remove tags.
instanceNames
- The names of the on-premises instances from which to remove tags.public RemoveTagsFromOnPremisesInstancesRequest withInstanceNames(String... instanceNames)
The names of the on-premises instances from which to remove tags.
NOTE: This method appends the values to the existing list (if
any). Use setInstanceNames(java.util.Collection)
or
withInstanceNames(java.util.Collection)
if you want to override
the existing values.
instanceNames
- The names of the on-premises instances from which to remove tags.public RemoveTagsFromOnPremisesInstancesRequest withInstanceNames(Collection<String> instanceNames)
The names of the on-premises instances from which to remove tags.
instanceNames
- The names of the on-premises instances from which to remove tags.public String toString()
toString
in class Object
Object.toString()
public RemoveTagsFromOnPremisesInstancesRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()
Copyright © 2018. All rights reserved.