public class ListTagsForResourceResult
extends java.lang.Object
implements java.io.Serializable, java.lang.Cloneable
ListTagsForResourceOutput
Modifier and Type | Field and Description |
---|---|
private java.lang.String |
marker
An opaque string that indicates the position at which to stop returning
the list of tags.
|
private java.lang.String |
resourceARN
he Amazon Resource Name (ARN) of the resource for which you want to list
tags.
|
private SdkInternalList<Tag> |
tags
An array that contains the tags for the specified resource.
|
Constructor and Description |
---|
ListTagsForResourceResult() |
Modifier and Type | Method and Description |
---|---|
ListTagsForResourceResult |
clone() |
boolean |
equals(java.lang.Object obj) |
java.lang.String |
getMarker()
An opaque string that indicates the position at which to stop returning
the list of tags.
|
java.lang.String |
getResourceARN()
he Amazon Resource Name (ARN) of the resource for which you want to list
tags.
|
java.util.List<Tag> |
getTags()
An array that contains the tags for the specified resource.
|
int |
hashCode() |
void |
setMarker(java.lang.String marker)
An opaque string that indicates the position at which to stop returning
the list of tags.
|
void |
setResourceARN(java.lang.String resourceARN)
he Amazon Resource Name (ARN) of the resource for which you want to list
tags.
|
void |
setTags(java.util.Collection<Tag> tags)
An array that contains the tags for the specified resource.
|
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
ListTagsForResourceResult |
withMarker(java.lang.String marker)
An opaque string that indicates the position at which to stop returning
the list of tags.
|
ListTagsForResourceResult |
withResourceARN(java.lang.String resourceARN)
he Amazon Resource Name (ARN) of the resource for which you want to list
tags.
|
ListTagsForResourceResult |
withTags(java.util.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.
|
private java.lang.String resourceARN
he Amazon Resource Name (ARN) of the resource for which you want to list tags.
private java.lang.String marker
An opaque string that indicates the position at which to stop returning the list of tags.
private SdkInternalList<Tag> tags
An array that contains the tags for the specified resource.
public void setResourceARN(java.lang.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 java.lang.String getResourceARN()
he Amazon Resource Name (ARN) of the resource for which you want to list tags.
public ListTagsForResourceResult withResourceARN(java.lang.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(java.lang.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 java.lang.String getMarker()
An opaque string that indicates the position at which to stop returning the list of tags.
public ListTagsForResourceResult withMarker(java.lang.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 java.util.List<Tag> getTags()
An array that contains the tags for the specified resource.
public void setTags(java.util.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(java.util.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 java.lang.String toString()
toString
in class java.lang.Object
Object.toString()
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public ListTagsForResourceResult clone()
clone
in class java.lang.Object