@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ResourceTag extends Object implements Serializable, Cloneable, StructuredPojo
Information about a tag associated with an Direct Connect resource.
| Constructor and Description |
|---|
ResourceTag() |
| Modifier and Type | Method and Description |
|---|---|
ResourceTag |
clone() |
boolean |
equals(Object obj) |
String |
getResourceArn()
The Amazon Resource Name (ARN) of the resource.
|
List<Tag> |
getTags()
The tags.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller) |
void |
setResourceArn(String resourceArn)
The Amazon Resource Name (ARN) of the resource.
|
void |
setTags(Collection<Tag> tags)
The tags.
|
String |
toString()
Returns a string representation of this object.
|
ResourceTag |
withResourceArn(String resourceArn)
The Amazon Resource Name (ARN) of the resource.
|
ResourceTag |
withTags(Collection<Tag> tags)
The tags.
|
ResourceTag |
withTags(Tag... tags)
The tags.
|
public void setResourceArn(String resourceArn)
The Amazon Resource Name (ARN) of the resource.
resourceArn - The Amazon Resource Name (ARN) of the resource.public String getResourceArn()
The Amazon Resource Name (ARN) of the resource.
public ResourceTag withResourceArn(String resourceArn)
The Amazon Resource Name (ARN) of the resource.
resourceArn - The Amazon Resource Name (ARN) of the resource.public void setTags(Collection<Tag> tags)
The tags.
tags - The tags.public ResourceTag withTags(Tag... tags)
The tags.
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.public ResourceTag withTags(Collection<Tag> tags)
The tags.
tags - The tags.public String toString()
toString in class ObjectObject.toString()public ResourceTag clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
marshall in interface StructuredPojoCopyright © 2024. All rights reserved.