public class AddTagsToOnPremisesInstancesRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
Represents the input of an adds tags to on-premises instance operation.
NOOP
Constructor and Description |
---|
AddTagsToOnPremisesInstancesRequest() |
Modifier and Type | Method and Description |
---|---|
AddTagsToOnPremisesInstancesRequest |
clone()
Creates a shallow clone of this request.
|
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.
|
getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeout
public 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.
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 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.
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 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 Object
Object.toString()
public AddTagsToOnPremisesInstancesRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.