Interface EBSTagSpecification.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<EBSTagSpecification.Builder,EBSTagSpecification>,SdkBuilder<EBSTagSpecification.Builder,EBSTagSpecification>,SdkPojo
- Enclosing class:
- EBSTagSpecification
public static interface EBSTagSpecification.Builder extends SdkPojo, CopyableBuilder<EBSTagSpecification.Builder,EBSTagSpecification>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description EBSTagSpecification.BuilderpropagateTags(String propagateTags)Determines whether to propagate the tags from the task definition to the Amazon EBS volume.EBSTagSpecification.BuilderpropagateTags(PropagateTags propagateTags)Determines whether to propagate the tags from the task definition to the Amazon EBS volume.EBSTagSpecification.BuilderresourceType(String resourceType)The type of volume resource.EBSTagSpecification.BuilderresourceType(EBSResourceType resourceType)The type of volume resource.EBSTagSpecification.Buildertags(Collection<Tag> tags)The tags applied to this Amazon EBS volume.EBSTagSpecification.Buildertags(Consumer<Tag.Builder>... tags)The tags applied to this Amazon EBS volume.EBSTagSpecification.Buildertags(Tag... tags)The tags applied to this Amazon EBS volume.-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
-
-
-
Method Detail
-
resourceType
EBSTagSpecification.Builder resourceType(String 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:
EBSResourceType,EBSResourceType
-
resourceType
EBSTagSpecification.Builder resourceType(EBSResourceType 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:
EBSResourceType,EBSResourceType
-
tags
EBSTagSpecification.Builder tags(Collection<Tag> 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
EBSTagSpecification.Builder tags(Tag... 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
EBSTagSpecification.Builder tags(Consumer<Tag.Builder>... 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 to#tags(List.) - 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:
#tags(java.util.Collection)
-
propagateTags
EBSTagSpecification.Builder propagateTags(String 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,PropagateTags
-
propagateTags
EBSTagSpecification.Builder propagateTags(PropagateTags 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,PropagateTags
-
-