public class TagDescription
extends java.lang.Object
implements java.io.Serializable, java.lang.Cloneable
The tags associated with a load balancer.
Modifier and Type | Field and Description |
---|---|
private java.lang.String |
loadBalancerName
The name of the load balancer.
|
private SdkInternalList<Tag> |
tags
The tags.
|
Constructor and Description |
---|
TagDescription() |
Modifier and Type | Method and Description |
---|---|
TagDescription |
clone() |
boolean |
equals(java.lang.Object obj) |
java.lang.String |
getLoadBalancerName()
The name of the load balancer.
|
java.util.List<Tag> |
getTags()
The tags.
|
int |
hashCode() |
void |
setLoadBalancerName(java.lang.String loadBalancerName)
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.
|
TagDescription |
withLoadBalancerName(java.lang.String loadBalancerName)
The name of the load balancer.
|
TagDescription |
withTags(java.util.Collection<Tag> tags)
The tags.
|
TagDescription |
withTags(Tag... tags)
The tags.
|
private java.lang.String loadBalancerName
The name of the load balancer.
private SdkInternalList<Tag> tags
The tags.
public void setLoadBalancerName(java.lang.String loadBalancerName)
The name of the load balancer.
loadBalancerName
- The name of the load balancer.public java.lang.String getLoadBalancerName()
The name of the load balancer.
public TagDescription withLoadBalancerName(java.lang.String loadBalancerName)
The name of the load balancer.
loadBalancerName
- The name of the load balancer.public java.util.List<Tag> getTags()
The tags.
public void setTags(java.util.Collection<Tag> tags)
The tags.
tags
- The tags.public TagDescription 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 TagDescription 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 TagDescription clone()
clone
in class java.lang.Object