|
Did this page help you?Yes No Tell us about it... |
||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||
java.lang.Objectcom.amazonaws.services.autoscaling.model.TagDescription
public class TagDescription
The tag applied to an Auto Scaling group.
| Constructor Summary | |
|---|---|
TagDescription()
|
|
| Method Summary | |
|---|---|
boolean |
equals(java.lang.Object obj)
|
java.lang.String |
getKey()
The key of the tag. |
java.lang.Boolean |
getPropagateAtLaunch()
Specifies whether the new tag will be applied to instances launched after the tag is created. |
java.lang.String |
getResourceId()
The name of the Auto Scaling group. |
java.lang.String |
getResourceType()
The kind of resource to which the tag is applied. |
java.lang.String |
getValue()
The value of the tag. |
int |
hashCode()
|
java.lang.Boolean |
isPropagateAtLaunch()
Specifies whether the new tag will be applied to instances launched after the tag is created. |
void |
setKey(java.lang.String key)
The key of the tag. |
void |
setPropagateAtLaunch(java.lang.Boolean propagateAtLaunch)
Specifies whether the new tag will be applied to instances launched after the tag is created. |
void |
setResourceId(java.lang.String resourceId)
The name of the Auto Scaling group. |
void |
setResourceType(java.lang.String resourceType)
The kind of resource to which the tag is applied. |
void |
setValue(java.lang.String value)
The value of the tag. |
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and debugging. |
TagDescription |
withKey(java.lang.String key)
The key of the tag. |
TagDescription |
withPropagateAtLaunch(java.lang.Boolean propagateAtLaunch)
Specifies whether the new tag will be applied to instances launched after the tag is created. |
TagDescription |
withResourceId(java.lang.String resourceId)
The name of the Auto Scaling group. |
TagDescription |
withResourceType(java.lang.String resourceType)
The kind of resource to which the tag is applied. |
TagDescription |
withValue(java.lang.String value)
The value of the tag. |
| Methods inherited from class java.lang.Object |
|---|
getClass, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public TagDescription()
| Method Detail |
|---|
public java.lang.String getResourceId()
Constraints:
Pattern: [ -??-??-?\r\n\t]*
public void setResourceId(java.lang.String resourceId)
Constraints:
Pattern: [ -??-??-?\r\n\t]*
resourceId - The name of the Auto Scaling group.public TagDescription withResourceId(java.lang.String resourceId)
Returns a reference to this object so that method calls can be chained together.
Constraints:
Pattern: [ -??-??-?\r\n\t]*
resourceId - The name of the Auto Scaling group.
public java.lang.String getResourceType()
auto-scaling-group resource type.
Constraints:
Pattern: [ -??-??-?\r\n\t]*
auto-scaling-group resource type.public void setResourceType(java.lang.String resourceType)
auto-scaling-group resource type.
Constraints:
Pattern: [ -??-??-?\r\n\t]*
resourceType - The kind of resource to which the tag is applied. Currently, Auto
Scaling supports the auto-scaling-group resource type.public TagDescription withResourceType(java.lang.String resourceType)
auto-scaling-group resource type.
Returns a reference to this object so that method calls can be chained together.
Constraints:
Pattern: [ -??-??-?\r\n\t]*
resourceType - The kind of resource to which the tag is applied. Currently, Auto
Scaling supports the auto-scaling-group resource type.
public java.lang.String getKey()
Constraints:
Length: 1 - 128
Pattern: [ -??-??-?\r\n\t]*
public void setKey(java.lang.String key)
Constraints:
Length: 1 - 128
Pattern: [ -??-??-?\r\n\t]*
key - The key of the tag.public TagDescription withKey(java.lang.String 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 key of the tag.
public java.lang.String getValue()
Constraints:
Length: 0 - 256
Pattern: [ -??-??-?\r\n\t]*
public void setValue(java.lang.String value)
Constraints:
Length: 0 - 256
Pattern: [ -??-??-?\r\n\t]*
value - The value of the tag.public TagDescription withValue(java.lang.String 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 value of the tag.
public java.lang.Boolean isPropagateAtLaunch()
public void setPropagateAtLaunch(java.lang.Boolean propagateAtLaunch)
propagateAtLaunch - Specifies whether the new tag will be applied to instances launched
after the tag is created. The same behavior applies to updates: If you
change a tag, the changed tag will be applied to all instances
launched after you made the change.public TagDescription withPropagateAtLaunch(java.lang.Boolean propagateAtLaunch)
Returns a reference to this object so that method calls can be chained together.
propagateAtLaunch - Specifies whether the new tag will be applied to instances launched
after the tag is created. The same behavior applies to updates: If you
change a tag, the changed tag will be applied to all instances
launched after you made the change.
public java.lang.Boolean getPropagateAtLaunch()
public java.lang.String toString()
toString in class java.lang.ObjectObject.toString()public int hashCode()
hashCode in class java.lang.Objectpublic boolean equals(java.lang.Object obj)
equals in class java.lang.Object
|
|||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||