|
|||||||
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(Object obj)
|
String |
getKey()
The key of the tag. |
Boolean |
getPropagateAtLaunch()
Specifies whether the new tag will be applied to instances launched after the tag is created. |
String |
getResourceId()
The name of the Auto Scaling group. |
String |
getResourceType()
The kind of resource to which the tag is applied. |
String |
getValue()
The value of the tag. |
int |
hashCode()
|
Boolean |
isPropagateAtLaunch()
Specifies whether the new tag will be applied to instances launched after the tag is created. |
void |
setKey(String key)
The key of the tag. |
void |
setPropagateAtLaunch(Boolean propagateAtLaunch)
Specifies whether the new tag will be applied to instances launched after the tag is created. |
void |
setResourceId(String resourceId)
The name of the Auto Scaling group. |
void |
setResourceType(String resourceType)
The kind of resource to which the tag is applied. |
void |
setValue(String value)
The value of the tag. |
String |
toString()
Returns a string representation of this object; useful for testing and debugging. |
TagDescription |
withKey(String key)
The key of the tag. |
TagDescription |
withPropagateAtLaunch(Boolean propagateAtLaunch)
Specifies whether the new tag will be applied to instances launched after the tag is created. |
TagDescription |
withResourceId(String resourceId)
The name of the Auto Scaling group. |
TagDescription |
withResourceType(String resourceType)
The kind of resource to which the tag is applied. |
TagDescription |
withValue(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 String getResourceId()
Constraints:
Pattern: [ --�𐀀-\r\n\t]*
public void setResourceId(String resourceId)
Constraints:
Pattern: [ --�𐀀-\r\n\t]*
resourceId
- The name of the Auto Scaling group.public TagDescription withResourceId(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 String getResourceType()
auto-scaling-group
resource type.
Constraints:
Pattern: [ --�𐀀-\r\n\t]*
auto-scaling-group
resource type.public void setResourceType(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(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 String getKey()
Constraints:
Length: 1 - 128
Pattern: [ --�𐀀-\r\n\t]*
public void setKey(String key)
Constraints:
Length: 1 - 128
Pattern: [ --�𐀀-\r\n\t]*
key
- The key of the tag.public TagDescription withKey(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 String getValue()
Constraints:
Length: 0 - 256
Pattern: [ --�𐀀-\r\n\t]*
public void setValue(String value)
Constraints:
Length: 0 - 256
Pattern: [ --�𐀀-\r\n\t]*
value
- The value of the tag.public TagDescription withValue(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 Boolean isPropagateAtLaunch()
public void setPropagateAtLaunch(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(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 Boolean getPropagateAtLaunch()
public String toString()
toString
in class Object
Object.toString()
public int hashCode()
hashCode
in class Object
public boolean equals(Object obj)
equals
in class Object
|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |