public class RemoveTagsRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
RemoveTags operation.
Removes one or more tags from the specified load balancer.
NOOP| Constructor and Description |
|---|
RemoveTagsRequest() |
| Modifier and Type | Method and Description |
|---|---|
RemoveTagsRequest |
clone()
Creates a shallow clone of this request.
|
boolean |
equals(Object obj) |
List<String> |
getLoadBalancerNames()
The name of the load balancer.
|
List<TagKeyOnly> |
getTags()
The list of tag keys to remove.
|
int |
hashCode() |
void |
setLoadBalancerNames(Collection<String> loadBalancerNames)
The name of the load balancer.
|
void |
setTags(Collection<TagKeyOnly> tags)
The list of tag keys to remove.
|
String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
RemoveTagsRequest |
withLoadBalancerNames(Collection<String> loadBalancerNames)
The name of the load balancer.
|
RemoveTagsRequest |
withLoadBalancerNames(String... loadBalancerNames)
The name of the load balancer.
|
RemoveTagsRequest |
withTags(Collection<TagKeyOnly> tags)
The list of tag keys to remove.
|
RemoveTagsRequest |
withTags(TagKeyOnly... tags)
The list of tag keys to remove.
|
getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeoutpublic List<String> getLoadBalancerNames()
public void setLoadBalancerNames(Collection<String> loadBalancerNames)
loadBalancerNames - The name of the load balancer. You can specify a maximum of one load
balancer name.public RemoveTagsRequest withLoadBalancerNames(String... loadBalancerNames)
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.
Returns a reference to this object so that method calls can be chained together.
loadBalancerNames - The name of the load balancer. You can specify a maximum of one load
balancer name.public RemoveTagsRequest withLoadBalancerNames(Collection<String> loadBalancerNames)
Returns a reference to this object so that method calls can be chained together.
loadBalancerNames - The name of the load balancer. You can specify a maximum of one load
balancer name.public List<TagKeyOnly> getTags()
Constraints:
Length: 1 -
public void setTags(Collection<TagKeyOnly> tags)
Constraints:
Length: 1 -
tags - The list of tag keys to remove.public RemoveTagsRequest withTags(TagKeyOnly... 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.
Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: 1 -
tags - The list of tag keys to remove.public RemoveTagsRequest withTags(Collection<TagKeyOnly> tags)
Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: 1 -
tags - The list of tag keys to remove.public String toString()
toString in class ObjectObject.toString()public RemoveTagsRequest clone()
AmazonWebServiceRequestclone in class AmazonWebServiceRequestObject.clone()Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.