Class TagDescription
- All Implemented Interfaces:
Serializable
,Cloneable
Describes a tag for an Auto Scaling group.
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionclone()
boolean
getKey()
The tag key.Determines whether the tag is added to new instances as they are launched in the group.The name of the group.The type of resource.getValue()
The tag value.int
hashCode()
Determines whether the tag is added to new instances as they are launched in the group.void
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
The tag value.toString()
Returns a string representation of this object; useful for testing and debugging.The tag key.withPropagateAtLaunch
(Boolean propagateAtLaunch) Determines whether the tag is added to new instances as they are launched in the group.withResourceId
(String resourceId) The name of the group.withResourceType
(String resourceType) The type of resource.The tag value.
-
Constructor Details
-
TagDescription
public TagDescription()
-
-
Method Details
-
setResourceId
The name of the group.
- Parameters:
resourceId
- The name of the group.
-
getResourceId
The name of the group.
- Returns:
- The name of the group.
-
withResourceId
The name of the group.
- Parameters:
resourceId
- The name of the group.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setResourceType
The type of resource. The only supported value is
auto-scaling-group
.- Parameters:
resourceType
- The type of resource. The only supported value isauto-scaling-group
.
-
getResourceType
The type of resource. The only supported value is
auto-scaling-group
.- Returns:
- The type of resource. The only supported value is
auto-scaling-group
.
-
withResourceType
The type of resource. The only supported value is
auto-scaling-group
.- Parameters:
resourceType
- The type of resource. The only supported value isauto-scaling-group
.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setKey
The tag key.
- Parameters:
key
- The tag key.
-
getKey
The tag key.
- Returns:
- The tag key.
-
withKey
The tag key.
- Parameters:
key
- The tag key.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setValue
The tag value.
- Parameters:
value
- The tag value.
-
getValue
The tag value.
- Returns:
- The tag value.
-
withValue
The tag value.
- Parameters:
value
- The tag value.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setPropagateAtLaunch
Determines whether the tag is added to new instances as they are launched in the group.
- Parameters:
propagateAtLaunch
- Determines whether the tag is added to new instances as they are launched in the group.
-
getPropagateAtLaunch
Determines whether the tag is added to new instances as they are launched in the group.
- Returns:
- Determines whether the tag is added to new instances as they are launched in the group.
-
withPropagateAtLaunch
Determines whether the tag is added to new instances as they are launched in the group.
- Parameters:
propagateAtLaunch
- Determines whether the tag is added to new instances as they are launched in the group.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
isPropagateAtLaunch
Determines whether the tag is added to new instances as they are launched in the group.
- Returns:
- Determines whether the tag is added to new instances as they are launched in the group.
-
toString
Returns a string representation of this object; useful for testing and debugging. -
equals
-
hashCode
public int hashCode() -
clone
-