@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class EBSTagSpecification extends Object implements Serializable, Cloneable, StructuredPojo
The tag specifications of an Amazon EBS volume.
| Constructor and Description |
|---|
EBSTagSpecification() |
| Modifier and Type | Method and Description |
|---|---|
EBSTagSpecification |
clone() |
boolean |
equals(Object obj) |
String |
getPropagateTags()
Determines whether to propagate the tags from the task definition to
the Amazon EBS volume.
|
String |
getResourceType()
The type of volume resource.
|
List<Tag> |
getTags()
The tags applied to this Amazon EBS volume.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller) |
void |
setPropagateTags(String propagateTags)
Determines whether to propagate the tags from the task definition to
the Amazon EBS volume.
|
void |
setResourceType(String resourceType)
The type of volume resource.
|
void |
setTags(Collection<Tag> tags)
The tags applied to this Amazon EBS volume.
|
String |
toString()
Returns a string representation of this object.
|
EBSTagSpecification |
withPropagateTags(PropagateTags propagateTags)
Determines whether to propagate the tags from the task definition to
the Amazon EBS volume.
|
EBSTagSpecification |
withPropagateTags(String propagateTags)
Determines whether to propagate the tags from the task definition to
the Amazon EBS volume.
|
EBSTagSpecification |
withResourceType(EBSResourceType resourceType)
The type of volume resource.
|
EBSTagSpecification |
withResourceType(String resourceType)
The type of volume resource.
|
EBSTagSpecification |
withTags(Collection<Tag> tags)
The tags applied to this Amazon EBS volume.
|
EBSTagSpecification |
withTags(Tag... tags)
The tags applied to this Amazon EBS volume.
|
public void setResourceType(String resourceType)
The type of volume resource.
resourceType - The type of volume resource.EBSResourceTypepublic String getResourceType()
The type of volume resource.
EBSResourceTypepublic EBSTagSpecification withResourceType(String resourceType)
The type of volume resource.
resourceType - The type of volume resource.EBSResourceTypepublic EBSTagSpecification withResourceType(EBSResourceType resourceType)
The type of volume resource.
resourceType - The type of volume resource.EBSResourceTypepublic List<Tag> getTags()
The tags applied to this Amazon EBS volume. AmazonECSCreated and AmazonECSManaged are
reserved tags that can't be used.
AmazonECSCreated and
AmazonECSManaged are reserved tags that can't be used.public void setTags(Collection<Tag> tags)
The tags applied to this Amazon EBS volume. AmazonECSCreated and AmazonECSManaged are
reserved tags that can't be used.
tags - The tags applied to this Amazon EBS volume. AmazonECSCreated and
AmazonECSManaged are reserved tags that can't be used.public EBSTagSpecification withTags(Tag... tags)
The tags applied to this Amazon EBS volume. AmazonECSCreated and AmazonECSManaged are
reserved tags that can't be used.
NOTE: This method appends the values to the existing list (if any). Use
setTags(java.util.Collection) or withTags(java.util.Collection) if you want to override the
existing values.
tags - The tags applied to this Amazon EBS volume. AmazonECSCreated and
AmazonECSManaged are reserved tags that can't be used.public EBSTagSpecification withTags(Collection<Tag> tags)
The tags applied to this Amazon EBS volume. AmazonECSCreated and AmazonECSManaged are
reserved tags that can't be used.
tags - The tags applied to this Amazon EBS volume. AmazonECSCreated and
AmazonECSManaged are reserved tags that can't be used.public void setPropagateTags(String propagateTags)
Determines whether to propagate the tags from the task definition to
the Amazon EBS volume. Tags can only
propagate to a SERVICE specified in
ServiceVolumeConfiguration. If no value is
specified, the tags aren't
propagated.
propagateTags - Determines whether to propagate the tags from the task definition to
the Amazon EBS volume. Tags
can only propagate to a SERVICE specified in
ServiceVolumeConfiguration.
If no value is specified, the tags aren't
propagated.PropagateTagspublic String getPropagateTags()
Determines whether to propagate the tags from the task definition to
the Amazon EBS volume. Tags can only
propagate to a SERVICE specified in
ServiceVolumeConfiguration. If no value is
specified, the tags aren't
propagated.
SERVICE specified in
ServiceVolumeConfiguration
. If no value is specified, the tags aren't
propagated.PropagateTagspublic EBSTagSpecification withPropagateTags(String propagateTags)
Determines whether to propagate the tags from the task definition to
the Amazon EBS volume. Tags can only
propagate to a SERVICE specified in
ServiceVolumeConfiguration. If no value is
specified, the tags aren't
propagated.
propagateTags - Determines whether to propagate the tags from the task definition to
the Amazon EBS volume. Tags
can only propagate to a SERVICE specified in
ServiceVolumeConfiguration.
If no value is specified, the tags aren't
propagated.PropagateTagspublic EBSTagSpecification withPropagateTags(PropagateTags propagateTags)
Determines whether to propagate the tags from the task definition to
the Amazon EBS volume. Tags can only
propagate to a SERVICE specified in
ServiceVolumeConfiguration. If no value is
specified, the tags aren't
propagated.
propagateTags - Determines whether to propagate the tags from the task definition to
the Amazon EBS volume. Tags
can only propagate to a SERVICE specified in
ServiceVolumeConfiguration.
If no value is specified, the tags aren't
propagated.PropagateTagspublic String toString()
toString in class ObjectObject.toString()public EBSTagSpecification clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
marshall in interface StructuredPojoCopyright © 2024. All rights reserved.