public class TagDescription
extends java.lang.Object
implements java.io.Serializable
Describes a tag for an Auto Scaling group.
Constructor and Description |
---|
TagDescription() |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object obj) |
java.lang.String |
getKey()
The tag key.
|
java.lang.Boolean |
getPropagateAtLaunch()
Determines whether the tag is added to new instances as they are launched
in the group.
|
java.lang.String |
getResourceId()
The name of the group.
|
java.lang.String |
getResourceType()
The type of resource.
|
java.lang.String |
getValue()
The tag value.
|
int |
hashCode() |
java.lang.Boolean |
isPropagateAtLaunch()
Determines whether the tag is added to new instances as they are launched
in the group.
|
void |
setKey(java.lang.String key)
The tag key.
|
void |
setPropagateAtLaunch(java.lang.Boolean propagateAtLaunch)
Determines whether the tag is added to new instances as they are launched
in the group.
|
void |
setResourceId(java.lang.String resourceId)
The name of the group.
|
void |
setResourceType(java.lang.String resourceType)
The type of resource.
|
void |
setValue(java.lang.String value)
The tag value.
|
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
TagDescription |
withKey(java.lang.String key)
The tag key.
|
TagDescription |
withPropagateAtLaunch(java.lang.Boolean propagateAtLaunch)
Determines whether the tag is added to new instances as they are launched
in the group.
|
TagDescription |
withResourceId(java.lang.String resourceId)
The name of the group.
|
TagDescription |
withResourceType(java.lang.String resourceType)
The type of resource.
|
TagDescription |
withValue(java.lang.String value)
The tag value.
|
public java.lang.String getResourceId()
The name of the group.
Constraints:
Pattern: [ --�𐀀-\r\n\t]*
The name of the group.
public void setResourceId(java.lang.String resourceId)
The name of the group.
Constraints:
Pattern: [ --�𐀀-\r\n\t]*
resourceId
- The name of the group.
public TagDescription withResourceId(java.lang.String resourceId)
The name of the group.
Returns a reference to this object so that method calls can be chained together.
Constraints:
Pattern: [ --�𐀀-\r\n\t]*
resourceId
- The name of the group.
public java.lang.String getResourceType()
The type of resource. The only supported value is
auto-scaling-group
.
Constraints:
Pattern: [ --�𐀀-\r\n\t]*
The type of resource. The only supported value is
auto-scaling-group
.
public void setResourceType(java.lang.String resourceType)
The type of resource. The only supported value is
auto-scaling-group
.
Constraints:
Pattern: [ --�𐀀-\r\n\t]*
resourceType
-
The type of resource. The only supported value is
auto-scaling-group
.
public TagDescription withResourceType(java.lang.String resourceType)
The type of resource. The only supported value is
auto-scaling-group
.
Returns a reference to this object so that method calls can be chained together.
Constraints:
Pattern: [ --�𐀀-\r\n\t]*
resourceType
-
The type of resource. The only supported value is
auto-scaling-group
.
public java.lang.String getKey()
The tag key.
Constraints:
Length: 1 - 128
Pattern: [ --�𐀀-\r\n\t]*
The tag key.
public void setKey(java.lang.String key)
The tag key.
Constraints:
Length: 1 - 128
Pattern: [ --�𐀀-\r\n\t]*
key
- The tag key.
public TagDescription withKey(java.lang.String key)
The tag key.
Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: 1 - 128
Pattern: [ --�𐀀-\r\n\t]*
key
- The tag key.
public java.lang.String getValue()
The tag value.
Constraints:
Length: 0 - 256
Pattern: [ --�𐀀-\r\n\t]*
The tag value.
public void setValue(java.lang.String value)
The tag value.
Constraints:
Length: 0 - 256
Pattern: [ --�𐀀-\r\n\t]*
value
- The tag value.
public TagDescription withValue(java.lang.String value)
The tag value.
Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: 0 - 256
Pattern: [ --�𐀀-\r\n\t]*
value
- The tag value.
public java.lang.Boolean isPropagateAtLaunch()
Determines whether the tag is added to new instances as they are launched in the group.
Determines whether the tag is added to new instances as they are launched in the group.
public java.lang.Boolean getPropagateAtLaunch()
Determines whether the tag is added to new instances as they are launched in the group.
Determines whether the tag is added to new instances as they are launched in the group.
public void setPropagateAtLaunch(java.lang.Boolean propagateAtLaunch)
Determines whether the tag is added to new instances as they are launched in the group.
propagateAtLaunch
- Determines whether the tag is added to new instances as they are launched in the group.
public TagDescription withPropagateAtLaunch(java.lang.Boolean propagateAtLaunch)
Determines whether the tag is added to new instances as they are launched in the group.
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 java.lang.String toString()
toString
in class java.lang.Object
Object.toString()
public int hashCode()
hashCode
in class java.lang.Object
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
Copyright © 2010 Amazon Web Services, Inc. All Rights Reserved.