@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ListTagsForResourceResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
| Constructor and Description |
|---|
ListTagsForResourceResult() |
| Modifier and Type | Method and Description |
|---|---|
ListTagsForResourceResult |
clone() |
boolean |
equals(Object obj) |
String |
getResourceArn()
Required.
|
List<Tag> |
getTags()
Required.
|
int |
hashCode() |
void |
setResourceArn(String resourceArn)
Required.
|
void |
setTags(Collection<Tag> tags)
Required.
|
String |
toString()
Returns a string representation of this object.
|
ListTagsForResourceResult |
withResourceArn(String resourceArn)
Required.
|
ListTagsForResourceResult |
withTags(Collection<Tag> tags)
Required.
|
ListTagsForResourceResult |
withTags(Tag... tags)
Required.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadatapublic void setResourceArn(String resourceArn)
Required. The ARN associated with the resource you want to list tags on.
resourceArn - Required. The ARN associated with the resource you want to list tags on.public String getResourceArn()
Required. The ARN associated with the resource you want to list tags on.
public ListTagsForResourceResult withResourceArn(String resourceArn)
Required. The ARN associated with the resource you want to list tags on.
resourceArn - Required. The ARN associated with the resource you want to list tags on.public List<Tag> getTags()
Required. A list of objects specifying each key name and value. Number of objects allowed: 1-50.
public void setTags(Collection<Tag> tags)
Required. A list of objects specifying each key name and value. Number of objects allowed: 1-50.
tags - Required. A list of objects specifying each key name and value. Number of objects allowed: 1-50.public ListTagsForResourceResult withTags(Tag... tags)
Required. A list of objects specifying each key name and value. Number of objects allowed: 1-50.
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 - Required. A list of objects specifying each key name and value. Number of objects allowed: 1-50.public ListTagsForResourceResult withTags(Collection<Tag> tags)
Required. A list of objects specifying each key name and value. Number of objects allowed: 1-50.
tags - Required. A list of objects specifying each key name and value. Number of objects allowed: 1-50.public String toString()
toString in class ObjectObject.toString()public ListTagsForResourceResult clone()