public class AddTagsToOnPremisesInstancesRequest extends com.amazonaws.AmazonWebServiceRequest implements Serializable, Cloneable
Represents the input of an adds tags to on-premises instance operation.
| Constructor and Description |
|---|
AddTagsToOnPremisesInstancesRequest() |
| Modifier and Type | Method and Description |
|---|---|
AddTagsToOnPremisesInstancesRequest |
clone() |
boolean |
equals(Object obj) |
List<String> |
getInstanceNames()
The names of the on-premises instances to add tags to.
|
List<Tag> |
getTags()
The tag key-value pairs to add to the on-premises instances.
|
int |
hashCode() |
void |
setInstanceNames(Collection<String> instanceNames)
The names of the on-premises instances to add tags to.
|
void |
setTags(Collection<Tag> tags)
The tag key-value pairs to add to the on-premises instances.
|
String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
AddTagsToOnPremisesInstancesRequest |
withInstanceNames(Collection<String> instanceNames)
The names of the on-premises instances to add tags to.
|
AddTagsToOnPremisesInstancesRequest |
withInstanceNames(String... instanceNames)
The names of the on-premises instances to add tags to.
|
AddTagsToOnPremisesInstancesRequest |
withTags(Collection<Tag> tags)
The tag key-value pairs to add to the on-premises instances.
|
AddTagsToOnPremisesInstancesRequest |
withTags(Tag... tags)
The tag key-value pairs to add to the on-premises instances.
|
copyBaseTo, getCustomRequestHeaders, getGeneralProgressListener, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestMetricCollector, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestMetricCollector, withGeneralProgressListener, withRequestMetricCollectorpublic List<Tag> getTags()
The tag key-value pairs to add to the on-premises instances.
public void setTags(Collection<Tag> tags)
The tag key-value pairs to add to the on-premises instances.
tags - The tag key-value pairs to add to the on-premises instances.public AddTagsToOnPremisesInstancesRequest withTags(Tag... tags)
The tag key-value pairs to add to the on-premises instances.
tags - The tag key-value pairs to add to the on-premises instances.public AddTagsToOnPremisesInstancesRequest withTags(Collection<Tag> tags)
The tag key-value pairs to add to the on-premises instances.
tags - The tag key-value pairs to add to the on-premises instances.public List<String> getInstanceNames()
The names of the on-premises instances to add tags to.
public void setInstanceNames(Collection<String> instanceNames)
The names of the on-premises instances to add tags to.
instanceNames - The names of the on-premises instances to add tags to.public AddTagsToOnPremisesInstancesRequest withInstanceNames(String... instanceNames)
The names of the on-premises instances to add tags to.
instanceNames - The names of the on-premises instances to add tags to.public AddTagsToOnPremisesInstancesRequest withInstanceNames(Collection<String> instanceNames)
The names of the on-premises instances to add tags to.
instanceNames - The names of the on-premises instances to add tags to.public String toString()
toString in class ObjectObject.toString()public AddTagsToOnPremisesInstancesRequest clone()
clone in class com.amazonaws.AmazonWebServiceRequestCopyright © 2015. All rights reserved.