@Generated(value="com.amazonaws:aws-java-sdk-code-generator") 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 void setResourceId(String resourceId)
The name of the group.
resourceId
- The name of the group.public String getResourceId()
The name of the group.
public TagDescription withResourceId(String resourceId)
The name of the group.
resourceId
- The name of the group.public void setResourceType(String resourceType)
The type of resource. The only supported value is auto-scaling-group
.
resourceType
- The type of resource. The only supported value is auto-scaling-group
.public String getResourceType()
The type of resource. The only supported value is auto-scaling-group
.
auto-scaling-group
.public TagDescription withResourceType(String resourceType)
The type of resource. The only supported value is auto-scaling-group
.
resourceType
- The type of resource. The only supported value is auto-scaling-group
.public void setKey(String key)
The tag key.
key
- The tag key.public String getKey()
The tag key.
public TagDescription withKey(String key)
The tag key.
key
- The tag key.public void setValue(String value)
The tag value.
value
- The tag value.public String getValue()
The tag value.
public TagDescription withValue(String value)
The tag value.
value
- The tag value.public void setPropagateAtLaunch(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 Boolean getPropagateAtLaunch()
Determines whether the tag is added to new instances as they are launched in the group.
public TagDescription withPropagateAtLaunch(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 Boolean isPropagateAtLaunch()
Determines whether the tag is added to new instances as they are launched in the group.
public String toString()
toString
in class Object
Object.toString()
public TagDescription clone()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.