@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)
Marshalls this structured data using the given
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.EBSResourceType
public String getResourceType()
The type of volume resource.
EBSResourceType
public EBSTagSpecification withResourceType(String resourceType)
The type of volume resource.
resourceType
- The type of volume resource.EBSResourceType
public EBSTagSpecification withResourceType(EBSResourceType resourceType)
The type of volume resource.
resourceType
- The type of volume resource.EBSResourceType
public 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.PropagateTags
public 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.PropagateTags
public 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.PropagateTags
public 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.PropagateTags
public String toString()
toString
in class Object
Object.toString()
public EBSTagSpecification clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.