public class AddTagsRequest extends AmazonWebServiceRequest implements java.io.Serializable, java.lang.Cloneable
Modifier and Type | Field and Description |
---|---|
private SdkInternalList<java.lang.String> |
loadBalancerNames
The name of the load balancer.
|
private SdkInternalList<Tag> |
tags
The tags.
|
NOOP
Constructor and Description |
---|
AddTagsRequest() |
Modifier and Type | Method and Description |
---|---|
AddTagsRequest |
clone()
Creates a shallow clone of this request.
|
boolean |
equals(java.lang.Object obj) |
java.util.List<java.lang.String> |
getLoadBalancerNames()
The name of the load balancer.
|
java.util.List<Tag> |
getTags()
The tags.
|
int |
hashCode() |
void |
setLoadBalancerNames(java.util.Collection<java.lang.String> loadBalancerNames)
The name of the load balancer.
|
void |
setTags(java.util.Collection<Tag> tags)
The tags.
|
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
AddTagsRequest |
withLoadBalancerNames(java.util.Collection<java.lang.String> loadBalancerNames)
The name of the load balancer.
|
AddTagsRequest |
withLoadBalancerNames(java.lang.String... loadBalancerNames)
The name of the load balancer.
|
AddTagsRequest |
withTags(java.util.Collection<Tag> tags)
The tags.
|
AddTagsRequest |
withTags(Tag... tags)
The tags.
|
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<java.lang.String> loadBalancerNames
The name of the load balancer. You can specify one load balancer only.
private SdkInternalList<Tag> tags
The tags.
public java.util.List<java.lang.String> getLoadBalancerNames()
The name of the load balancer. You can specify one load balancer only.
public void setLoadBalancerNames(java.util.Collection<java.lang.String> loadBalancerNames)
The name of the load balancer. You can specify one load balancer only.
loadBalancerNames
- The name of the load balancer. You can specify one load balancer
only.public AddTagsRequest withLoadBalancerNames(java.lang.String... loadBalancerNames)
The name of the load balancer. You can specify one load balancer only.
NOTE: This method appends the values to the existing list (if
any). Use setLoadBalancerNames(java.util.Collection)
or
withLoadBalancerNames(java.util.Collection)
if you want to
override the existing values.
loadBalancerNames
- The name of the load balancer. You can specify one load balancer
only.public AddTagsRequest withLoadBalancerNames(java.util.Collection<java.lang.String> loadBalancerNames)
The name of the load balancer. You can specify one load balancer only.
loadBalancerNames
- The name of the load balancer. You can specify one load balancer
only.public java.util.List<Tag> getTags()
The tags.
public void setTags(java.util.Collection<Tag> tags)
The tags.
tags
- The tags.public AddTagsRequest withTags(Tag... tags)
The tags.
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 tags.public AddTagsRequest withTags(java.util.Collection<Tag> tags)
The tags.
tags
- The 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 AddTagsRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()