Class AddTagsRequest
java.lang.Object
com.amazonaws.AmazonWebServiceRequest
com.amazonaws.services.elasticloadbalancing.model.AddTagsRequest
- All Implemented Interfaces:
ReadLimitInfo
,Serializable
,Cloneable
- See Also:
-
Field Summary
Fields inherited from class com.amazonaws.AmazonWebServiceRequest
NOOP
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionclone()
Creates a shallow clone of this request.boolean
The name of the load balancer.getTags()
The tags.int
hashCode()
void
setLoadBalancerNames
(Collection<String> loadBalancerNames) The name of the load balancer.void
setTags
(Collection<Tag> tags) The tags.toString()
Returns a string representation of this object; useful for testing and debugging.withLoadBalancerNames
(String... loadBalancerNames) The name of the load balancer.withLoadBalancerNames
(Collection<String> loadBalancerNames) The name of the load balancer.The tags.withTags
(Collection<Tag> tags) The tags.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
-
Constructor Details
-
AddTagsRequest
public AddTagsRequest()
-
-
Method Details
-
getLoadBalancerNames
The name of the load balancer. You can specify one load balancer only.
- Returns:
- The name of the load balancer. You can specify one load balancer only.
-
setLoadBalancerNames
The name of the load balancer. You can specify one load balancer only.
- Parameters:
loadBalancerNames
- The name of the load balancer. You can specify one load balancer only.
-
withLoadBalancerNames
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)
orwithLoadBalancerNames(java.util.Collection)
if you want to override the existing values.- Parameters:
loadBalancerNames
- The name of the load balancer. You can specify one load balancer only.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
withLoadBalancerNames
The name of the load balancer. You can specify one load balancer only.
- Parameters:
loadBalancerNames
- The name of the load balancer. You can specify one load balancer only.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
getTags
The tags.
- Returns:
- The tags.
-
setTags
The tags.
- Parameters:
tags
- The tags.
-
withTags
The tags.
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 tags.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
withTags
The tags.
- Parameters:
tags
- The tags.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
toString
Returns a string representation of this object; useful for testing and debugging. -
equals
-
hashCode
public int hashCode() -
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:
-