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 String getResourceARN()
Constraints:
Length: 50 - 500
public void setResourceARN(String resourceARN)
Constraints:
Length: 50 - 500
resourceARN - he Amazon Resource Name (ARN) of the resource for which you want to
list tags.public ListTagsForResourceResult withResourceARN(String resourceARN)
Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: 50 - 500
resourceARN - he Amazon Resource Name (ARN) of the resource for which you want to
list tags.public String getMarker()
Constraints:
Length: 1 - 1000
public void setMarker(String marker)
Constraints:
Length: 1 - 1000
marker - An opaque string that indicates the position at which to stop
returning the list of tags.public ListTagsForResourceResult withMarker(String marker)
Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: 1 - 1000
marker - An opaque string that indicates the position at which to stop
returning the list of tags.public List<Tag> getTags()
public void setTags(Collection<Tag> tags)
tags - An array that contains the tags for the specified resource.public ListTagsForResourceResult withTags(Tag... 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.
Returns a reference to this object so that method calls can be chained together.
tags - An array that contains the tags for the specified resource.public ListTagsForResourceResult withTags(Collection<Tag> tags)
Returns a reference to this object so that method calls can be chained together.
tags - An array that contains the tags for the specified resource.public String toString()
toString in class ObjectObject.toString()public ListTagsForResourceResult clone()
Copyright © 2015. All rights reserved.