@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ResourceTagMapping extends Object implements Serializable, Cloneable, StructuredPojo
A list of resource ARNs and the tags (keys and values) that are associated with each.
Constructor and Description |
---|
ResourceTagMapping() |
Modifier and Type | Method and Description |
---|---|
ResourceTagMapping |
clone() |
boolean |
equals(Object obj) |
ComplianceDetails |
getComplianceDetails()
Information that shows whether a resource is compliant with the effective tag policy, including details on any
noncompliant tag keys.
|
String |
getResourceARN()
The ARN of the resource.
|
List<Tag> |
getTags()
The tags that have been applied to one or more Amazon Web Services resources.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setComplianceDetails(ComplianceDetails complianceDetails)
Information that shows whether a resource is compliant with the effective tag policy, including details on any
noncompliant tag keys.
|
void |
setResourceARN(String resourceARN)
The ARN of the resource.
|
void |
setTags(Collection<Tag> tags)
The tags that have been applied to one or more Amazon Web Services resources.
|
String |
toString()
Returns a string representation of this object.
|
ResourceTagMapping |
withComplianceDetails(ComplianceDetails complianceDetails)
Information that shows whether a resource is compliant with the effective tag policy, including details on any
noncompliant tag keys.
|
ResourceTagMapping |
withResourceARN(String resourceARN)
The ARN of the resource.
|
ResourceTagMapping |
withTags(Collection<Tag> tags)
The tags that have been applied to one or more Amazon Web Services resources.
|
ResourceTagMapping |
withTags(Tag... tags)
The tags that have been applied to one or more Amazon Web Services resources.
|
public void setResourceARN(String resourceARN)
The ARN of the resource.
resourceARN
- The ARN of the resource.public String getResourceARN()
The ARN of the resource.
public ResourceTagMapping withResourceARN(String resourceARN)
The ARN of the resource.
resourceARN
- The ARN of the resource.public List<Tag> getTags()
The tags that have been applied to one or more Amazon Web Services resources.
public void setTags(Collection<Tag> tags)
The tags that have been applied to one or more Amazon Web Services resources.
tags
- The tags that have been applied to one or more Amazon Web Services resources.public ResourceTagMapping withTags(Tag... tags)
The tags that have been applied to one or more Amazon Web Services resources.
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 that have been applied to one or more Amazon Web Services resources.public ResourceTagMapping withTags(Collection<Tag> tags)
The tags that have been applied to one or more Amazon Web Services resources.
tags
- The tags that have been applied to one or more Amazon Web Services resources.public void setComplianceDetails(ComplianceDetails complianceDetails)
Information that shows whether a resource is compliant with the effective tag policy, including details on any noncompliant tag keys.
complianceDetails
- Information that shows whether a resource is compliant with the effective tag policy, including details on
any noncompliant tag keys.public ComplianceDetails getComplianceDetails()
Information that shows whether a resource is compliant with the effective tag policy, including details on any noncompliant tag keys.
public ResourceTagMapping withComplianceDetails(ComplianceDetails complianceDetails)
Information that shows whether a resource is compliant with the effective tag policy, including details on any noncompliant tag keys.
complianceDetails
- Information that shows whether a resource is compliant with the effective tag policy, including details on
any noncompliant tag keys.public String toString()
toString
in class Object
Object.toString()
public ResourceTagMapping clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.