@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ListTagsForResourceResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
ListTagsForResourceOutput
Constructor and Description |
---|
ListTagsForResourceResult() |
Modifier and Type | Method and Description |
---|---|
ListTagsForResourceResult |
clone() |
boolean |
equals(Object obj) |
String |
getMarker()
An opaque string that indicates the position at which to stop returning the list of tags.
|
String |
getResourceARN()
The Amazon Resource Name (ARN) of the resource for which you want to list tags.
|
List<Tag> |
getTags()
An array that contains the tags for the specified resource.
|
int |
hashCode() |
void |
setMarker(String marker)
An opaque string that indicates the position at which to stop returning the list of tags.
|
void |
setResourceARN(String resourceARN)
The Amazon Resource Name (ARN) of the resource for which you want to list tags.
|
void |
setTags(Collection<Tag> tags)
An array that contains the tags for the specified resource.
|
String |
toString()
Returns a string representation of this object.
|
ListTagsForResourceResult |
withMarker(String marker)
An opaque string that indicates the position at which to stop returning the list of tags.
|
ListTagsForResourceResult |
withResourceARN(String resourceARN)
The Amazon Resource Name (ARN) of the resource for which you want to list tags.
|
ListTagsForResourceResult |
withTags(Collection<Tag> tags)
An array that contains the tags for the specified resource.
|
ListTagsForResourceResult |
withTags(Tag... tags)
An array that contains the tags for the specified resource.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public void setResourceARN(String resourceARN)
The Amazon Resource Name (ARN) of the resource for which you want to list tags.
resourceARN
- The Amazon Resource Name (ARN) of the resource for which you want to list tags.public String getResourceARN()
The Amazon Resource Name (ARN) of the resource for which you want to list tags.
public ListTagsForResourceResult withResourceARN(String resourceARN)
The Amazon Resource Name (ARN) of the resource for which you want to list tags.
resourceARN
- The Amazon Resource Name (ARN) of the resource for which you want to list tags.public void setMarker(String marker)
An opaque string that indicates the position at which to stop returning the list of tags.
marker
- An opaque string that indicates the position at which to stop returning the list of tags.public String getMarker()
An opaque string that indicates the position at which to stop returning the list of tags.
public ListTagsForResourceResult withMarker(String marker)
An opaque string that indicates the position at which to stop returning the list of tags.
marker
- An opaque string that indicates the position at which to stop returning the list of tags.public List<Tag> getTags()
An array that contains the tags for the specified resource.
public void setTags(Collection<Tag> tags)
An array that contains the tags for the specified resource.
tags
- An array that contains the tags for the specified resource.public ListTagsForResourceResult withTags(Tag... tags)
An array that contains the tags for the specified resource.
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
- An array that contains the tags for the specified resource.public ListTagsForResourceResult withTags(Collection<Tag> tags)
An array that contains the tags for the specified resource.
tags
- An array that contains the tags for the specified resource.public String toString()
toString
in class Object
Object.toString()
public ListTagsForResourceResult clone()