public class TagDescription extends Object implements Serializable, Cloneable
The tags associated with a load balancer.
Constructor and Description |
---|
TagDescription() |
Modifier and Type | Method and Description |
---|---|
TagDescription |
clone() |
boolean |
equals(Object obj) |
String |
getLoadBalancerName()
The name of the load balancer.
|
List<Tag> |
getTags()
The tags.
|
int |
hashCode() |
void |
setLoadBalancerName(String loadBalancerName)
The name of the load balancer.
|
void |
setTags(Collection<Tag> tags)
The tags.
|
String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
TagDescription |
withLoadBalancerName(String loadBalancerName)
The name of the load balancer.
|
TagDescription |
withTags(Collection<Tag> tags)
The tags.
|
TagDescription |
withTags(Tag... tags)
The tags.
|
public String getLoadBalancerName()
public void setLoadBalancerName(String loadBalancerName)
loadBalancerName
- The name of the load balancer.public TagDescription withLoadBalancerName(String loadBalancerName)
Returns a reference to this object so that method calls can be chained together.
loadBalancerName
- The name of the load balancer.public void setTags(Collection<Tag> tags)
Constraints:
Length: 1 -
tags
- The tags.public TagDescription withTags(Tag... 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 tags.public TagDescription withTags(Collection<Tag> tags)
Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: 1 -
tags
- The tags.public String toString()
toString
in class Object
Object.toString()
public TagDescription clone()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.