public class TagDescription extends Object implements Serializable, Cloneable
Describes a tag for an Auto Scaling group.
| Constructor and Description |
|---|
TagDescription() |
| Modifier and Type | Method and Description |
|---|---|
TagDescription |
clone() |
boolean |
equals(Object obj) |
String |
getKey()
The tag key.
|
Boolean |
getPropagateAtLaunch()
Determines whether the tag is added to new instances as they are
launched in the group.
|
String |
getResourceId()
The name of the group.
|
String |
getResourceType()
The type of resource.
|
String |
getValue()
The tag value.
|
int |
hashCode() |
Boolean |
isPropagateAtLaunch()
Determines whether the tag is added to new instances as they are
launched in the group.
|
void |
setKey(String key)
The tag key.
|
void |
setPropagateAtLaunch(Boolean propagateAtLaunch)
Determines whether the tag is added to new instances as they are
launched in the group.
|
void |
setResourceId(String resourceId)
The name of the group.
|
void |
setResourceType(String resourceType)
The type of resource.
|
void |
setValue(String value)
The tag value.
|
String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
TagDescription |
withKey(String key)
The tag key.
|
TagDescription |
withPropagateAtLaunch(Boolean propagateAtLaunch)
Determines whether the tag is added to new instances as they are
launched in the group.
|
TagDescription |
withResourceId(String resourceId)
The name of the group.
|
TagDescription |
withResourceType(String resourceType)
The type of resource.
|
TagDescription |
withValue(String value)
The tag value.
|
public String getResourceId()
Constraints:
Pattern: [\u0020-\uD7FF\uE000-\uFFFD\uD800\uDC00-\uDBFF\uDFFF\r\n\t]*
public void setResourceId(String resourceId)
Constraints:
Pattern: [\u0020-\uD7FF\uE000-\uFFFD\uD800\uDC00-\uDBFF\uDFFF\r\n\t]*
resourceId - The name of the group.public TagDescription withResourceId(String resourceId)
Returns a reference to this object so that method calls can be chained together.
Constraints:
Pattern: [\u0020-\uD7FF\uE000-\uFFFD\uD800\uDC00-\uDBFF\uDFFF\r\n\t]*
resourceId - The name of the group.public String getResourceType()
auto-scaling-group.
Constraints:
Pattern: [\u0020-\uD7FF\uE000-\uFFFD\uD800\uDC00-\uDBFF\uDFFF\r\n\t]*
auto-scaling-group.public void setResourceType(String resourceType)
auto-scaling-group.
Constraints:
Pattern: [\u0020-\uD7FF\uE000-\uFFFD\uD800\uDC00-\uDBFF\uDFFF\r\n\t]*
resourceType - The type of resource. The only supported value is
auto-scaling-group.public TagDescription withResourceType(String resourceType)
auto-scaling-group.
Returns a reference to this object so that method calls can be chained together.
Constraints:
Pattern: [\u0020-\uD7FF\uE000-\uFFFD\uD800\uDC00-\uDBFF\uDFFF\r\n\t]*
resourceType - The type of resource. The only supported value is
auto-scaling-group.public String getKey()
Constraints:
Length: 1 - 128
Pattern: [\u0020-\uD7FF\uE000-\uFFFD\uD800\uDC00-\uDBFF\uDFFF\r\n\t]*
public void setKey(String key)
Constraints:
Length: 1 - 128
Pattern: [\u0020-\uD7FF\uE000-\uFFFD\uD800\uDC00-\uDBFF\uDFFF\r\n\t]*
key - The tag key.public TagDescription withKey(String key)
Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: 1 - 128
Pattern: [\u0020-\uD7FF\uE000-\uFFFD\uD800\uDC00-\uDBFF\uDFFF\r\n\t]*
key - The tag key.public String getValue()
Constraints:
Length: 0 - 256
Pattern: [\u0020-\uD7FF\uE000-\uFFFD\uD800\uDC00-\uDBFF\uDFFF\r\n\t]*
public void setValue(String value)
Constraints:
Length: 0 - 256
Pattern: [\u0020-\uD7FF\uE000-\uFFFD\uD800\uDC00-\uDBFF\uDFFF\r\n\t]*
value - The tag value.public TagDescription withValue(String value)
Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: 0 - 256
Pattern: [\u0020-\uD7FF\uE000-\uFFFD\uD800\uDC00-\uDBFF\uDFFF\r\n\t]*
value - The tag value.public Boolean isPropagateAtLaunch()
public void setPropagateAtLaunch(Boolean propagateAtLaunch)
propagateAtLaunch - Determines whether the tag is added to new instances as they are
launched in the group.public TagDescription withPropagateAtLaunch(Boolean propagateAtLaunch)
Returns a reference to this object so that method calls can be chained together.
propagateAtLaunch - Determines whether the tag is added to new instances as they are
launched in the group.public Boolean getPropagateAtLaunch()
public String toString()
toString in class ObjectObject.toString()public TagDescription clone()
Copyright © 2015. All rights reserved.