Interface Tag.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<Tag.Builder,,Tag> SdkBuilder<Tag.Builder,,Tag> SdkPojo
- Enclosing class:
- Tag
@Mutable
@NotThreadSafe
public static interface Tag.Builder
extends SdkPojo, CopyableBuilder<Tag.Builder,Tag>
-
Method Summary
Modifier and TypeMethodDescriptionThe tag key.propagateAtLaunch(Boolean propagateAtLaunch) Determines whether the tag is added to new instances as they are launched in the group.resourceId(String resourceId) The name of the Auto Scaling group.resourceType(String resourceType) The type of resource.The tag value.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Method Details
-
resourceId
The name of the Auto Scaling group.
- Parameters:
resourceId- The name of the Auto Scaling group.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
resourceType
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.
-
key
The tag key.
- Parameters:
key- The tag key.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
value
The tag value.
- Parameters:
value- The tag value.- Returns:
- 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.
- 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.
-