Class RemoveTagsRequest
- java.lang.Object
-
- com.amazonaws.AmazonWebServiceRequest
-
- com.amazonaws.services.elasticloadbalancing.model.RemoveTagsRequest
-
- All Implemented Interfaces:
ReadLimitInfo
,Serializable
,Cloneable
public class RemoveTagsRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
- See Also:
- Serialized Form
-
-
Field Summary
-
Fields inherited from class com.amazonaws.AmazonWebServiceRequest
NOOP
-
-
Constructor Summary
Constructors Constructor Description RemoveTagsRequest()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method 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(String... loadBalancerNames)
The name of the load balancer.RemoveTagsRequest
withLoadBalancerNames(Collection<String> loadBalancerNames)
The name of the load balancer.RemoveTagsRequest
withTags(TagKeyOnly... tags)
The list of tag keys to remove.RemoveTagsRequest
withTags(Collection<TagKeyOnly> tags)
The list of tag keys to remove.-
Methods inherited from class com.amazonaws.AmazonWebServiceRequest
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
-
-
-
-
Method Detail
-
getLoadBalancerNames
public List<String> getLoadBalancerNames()
The name of the load balancer. You can specify a maximum of one load balancer name.
- Returns:
- The name of the load balancer. You can specify a maximum of one load balancer name.
-
setLoadBalancerNames
public void setLoadBalancerNames(Collection<String> loadBalancerNames)
The name of the load balancer. You can specify a maximum of one load balancer name.
- Parameters:
loadBalancerNames
- The name of the load balancer. You can specify a maximum of one load balancer name.
-
withLoadBalancerNames
public RemoveTagsRequest withLoadBalancerNames(String... loadBalancerNames)
The name of the load balancer. You can specify a maximum of one load balancer name.
NOTE: This method appends the values to the existing list (if any). Use
setLoadBalancerNames(java.util.Collection)
orwithLoadBalancerNames(java.util.Collection)
if you want to override the existing values.- Parameters:
loadBalancerNames
- The name of the load balancer. You can specify a maximum of one load balancer name.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
withLoadBalancerNames
public RemoveTagsRequest withLoadBalancerNames(Collection<String> loadBalancerNames)
The name of the load balancer. You can specify a maximum of one load balancer name.
- Parameters:
loadBalancerNames
- The name of the load balancer. You can specify a maximum of one load balancer name.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
getTags
public List<TagKeyOnly> getTags()
The list of tag keys to remove.
- Returns:
- The list of tag keys to remove.
-
setTags
public void setTags(Collection<TagKeyOnly> tags)
The list of tag keys to remove.
- Parameters:
tags
- The list of tag keys to remove.
-
withTags
public RemoveTagsRequest withTags(TagKeyOnly... tags)
The list of tag keys to remove.
NOTE: This method appends the values to the existing list (if any). Use
setTags(java.util.Collection)
orwithTags(java.util.Collection)
if you want to override the existing values.- Parameters:
tags
- The list of tag keys to remove.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
withTags
public RemoveTagsRequest withTags(Collection<TagKeyOnly> tags)
The list of tag keys to remove.
- Parameters:
tags
- The list of tag keys to remove.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
toString
public String toString()
Returns a string representation of this object; useful for testing and debugging.- Overrides:
toString
in classObject
- Returns:
- A string representation of this object.
- See Also:
Object.toString()
-
clone
public RemoveTagsRequest clone()
Description copied from class:AmazonWebServiceRequest
Creates a shallow clone of this request. Explicitly does not clone the deep structure of the request object.- Overrides:
clone
in classAmazonWebServiceRequest
- See Also:
Object.clone()
-
-