Interface EBSTagSpecification.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<EBSTagSpecification.Builder,,EBSTagSpecification> SdkBuilder<EBSTagSpecification.Builder,,EBSTagSpecification> SdkPojo
- Enclosing class:
- EBSTagSpecification
-
Method Summary
Modifier and TypeMethodDescriptionpropagateTags(String propagateTags) Determines whether to propagate the tags from the task definition to the Amazon EBS volume.propagateTags(PropagateTags propagateTags) Determines whether to propagate the tags from the task definition to the Amazon EBS volume.resourceType(String resourceType) The type of volume resource.resourceType(EBSResourceType resourceType) The type of volume resource.tags(Collection<Tag> tags) The tags applied to this Amazon EBS volume.tags(Consumer<Tag.Builder>... tags) The tags applied to this Amazon EBS volume.The tags applied to this Amazon EBS volume.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
-
resourceType
The type of volume resource.
- Parameters:
resourceType- The type of volume resource.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
resourceType
The type of volume resource.
- Parameters:
resourceType- The type of volume resource.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
tags
The tags applied to this Amazon EBS volume.
AmazonECSCreatedandAmazonECSManagedare reserved tags that can't be used.- Parameters:
tags- The tags applied to this Amazon EBS volume.AmazonECSCreatedandAmazonECSManagedare reserved tags that can't be used.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tags
The tags applied to this Amazon EBS volume.
AmazonECSCreatedandAmazonECSManagedare reserved tags that can't be used.- Parameters:
tags- The tags applied to this Amazon EBS volume.AmazonECSCreatedandAmazonECSManagedare reserved tags that can't be used.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tags
The tags applied to this Amazon EBS volume.
This is a convenience method that creates an instance of theAmazonECSCreatedandAmazonECSManagedare reserved tags that can't be used.Tag.Builderavoiding the need to create one manually viaTag.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed totags(List<Tag>).- Parameters:
tags- a consumer that will call methods onTag.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
propagateTags
Determines whether to propagate the tags from the task definition to the Amazon EBS volume. Tags can only propagate to a
SERVICEspecified inServiceVolumeConfiguration. If no value is specified, the tags aren't propagated.- Parameters:
propagateTags- Determines whether to propagate the tags from the task definition to the Amazon EBS volume. Tags can only propagate to aSERVICEspecified inServiceVolumeConfiguration. If no value is specified, the tags aren't propagated.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
propagateTags
Determines whether to propagate the tags from the task definition to the Amazon EBS volume. Tags can only propagate to a
SERVICEspecified inServiceVolumeConfiguration. If no value is specified, the tags aren't propagated.- Parameters:
propagateTags- Determines whether to propagate the tags from the task definition to the Amazon EBS volume. Tags can only propagate to aSERVICEspecified inServiceVolumeConfiguration. If no value is specified, the tags aren't propagated.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-