public class RemoveTagsFromOnPremisesInstancesRequest extends AmazonWebServiceRequest implements java.io.Serializable, java.lang.Cloneable
Represents the input of a remove tags from on-premises instances operation.
Modifier and Type | Field and Description |
---|---|
private SdkInternalList<java.lang.String> |
instanceNames
The names of the on-premises instances from which to remove tags.
|
private SdkInternalList<Tag> |
tags
The tag key-value pairs to remove from the on-premises instances.
|
NOOP
Constructor and Description |
---|
RemoveTagsFromOnPremisesInstancesRequest() |
Modifier and Type | Method and Description |
---|---|
RemoveTagsFromOnPremisesInstancesRequest |
clone()
Creates a shallow clone of this request.
|
boolean |
equals(java.lang.Object obj) |
java.util.List<java.lang.String> |
getInstanceNames()
The names of the on-premises instances from which to remove tags.
|
java.util.List<Tag> |
getTags()
The tag key-value pairs to remove from the on-premises instances.
|
int |
hashCode() |
void |
setInstanceNames(java.util.Collection<java.lang.String> instanceNames)
The names of the on-premises instances from which to remove tags.
|
void |
setTags(java.util.Collection<Tag> tags)
The tag key-value pairs to remove from the on-premises instances.
|
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
RemoveTagsFromOnPremisesInstancesRequest |
withInstanceNames(java.util.Collection<java.lang.String> instanceNames)
The names of the on-premises instances from which to remove tags.
|
RemoveTagsFromOnPremisesInstancesRequest |
withInstanceNames(java.lang.String... instanceNames)
The names of the on-premises instances from which to remove tags.
|
RemoveTagsFromOnPremisesInstancesRequest |
withTags(java.util.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
private SdkInternalList<Tag> tags
The tag key-value pairs to remove from the on-premises instances.
private SdkInternalList<java.lang.String> instanceNames
The names of the on-premises instances from which to remove tags.
public RemoveTagsFromOnPremisesInstancesRequest()
public java.util.List<Tag> getTags()
The tag key-value pairs to remove from the on-premises instances.
public void setTags(java.util.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(java.util.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 java.util.List<java.lang.String> getInstanceNames()
The names of the on-premises instances from which to remove tags.
public void setInstanceNames(java.util.Collection<java.lang.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(java.lang.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(java.util.Collection<java.lang.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 java.lang.String toString()
toString
in class java.lang.Object
Object.toString()
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public RemoveTagsFromOnPremisesInstancesRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()