public class ListTagsForResourceResult extends Object 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()
he 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)
he 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; useful for testing and
debugging.
|
ListTagsForResourceResult |
withMarker(String marker)
An opaque string that indicates the position at which to stop returning
the list of tags.
|
ListTagsForResourceResult |
withResourceARN(String resourceARN)
he 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.
|
public void setResourceARN(String resourceARN)
he Amazon Resource Name (ARN) of the resource for which you want to list tags.
resourceARN
- he Amazon Resource Name (ARN) of the resource for which you want
to list tags.public String getResourceARN()
he Amazon Resource Name (ARN) of the resource for which you want to list tags.
public ListTagsForResourceResult withResourceARN(String resourceARN)
he Amazon Resource Name (ARN) of the resource for which you want to list tags.
resourceARN
- he 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()
Copyright © 2018. All rights reserved.