@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ResourceTag extends Object implements Serializable, Cloneable, StructuredPojo
The tags associated with a 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 Direct Connect resource.
|
List<Tag> |
getTags()
The tags.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setResourceArn(String resourceArn)
The Amazon Resource Name (ARN) of the Direct Connect resource.
|
void |
setTags(Collection<Tag> tags)
The tags.
|
String |
toString()
Returns a string representation of this object; useful for testing and debugging.
|
ResourceTag |
withResourceArn(String resourceArn)
The Amazon Resource Name (ARN) of the Direct Connect 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 Direct Connect resource.
resourceArn
- The Amazon Resource Name (ARN) of the Direct Connect resource.public String getResourceArn()
The Amazon Resource Name (ARN) of the Direct Connect resource.
public ResourceTag withResourceArn(String resourceArn)
The Amazon Resource Name (ARN) of the Direct Connect resource.
resourceArn
- The Amazon Resource Name (ARN) of the Direct Connect 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 Object
Object.toString()
public ResourceTag clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.