@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ListResourceTagsResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
Constructor and Description |
---|
ListResourceTagsResult() |
Modifier and Type | Method and Description |
---|---|
ListResourceTagsResult |
clone() |
boolean |
equals(Object obj) |
String |
getNextMarker()
When
Truncated is true, this element is present and contains the value to use for the
Marker parameter in a subsequent request. |
List<Tag> |
getTags()
A list of tags.
|
Boolean |
getTruncated()
A flag that indicates whether there are more items in the list.
|
int |
hashCode() |
Boolean |
isTruncated()
A flag that indicates whether there are more items in the list.
|
void |
setNextMarker(String nextMarker)
When
Truncated is true, this element is present and contains the value to use for the
Marker parameter in a subsequent request. |
void |
setTags(Collection<Tag> tags)
A list of tags.
|
void |
setTruncated(Boolean truncated)
A flag that indicates whether there are more items in the list.
|
String |
toString()
Returns a string representation of this object.
|
ListResourceTagsResult |
withNextMarker(String nextMarker)
When
Truncated is true, this element is present and contains the value to use for the
Marker parameter in a subsequent request. |
ListResourceTagsResult |
withTags(Collection<Tag> tags)
A list of tags.
|
ListResourceTagsResult |
withTags(Tag... tags)
A list of tags.
|
ListResourceTagsResult |
withTruncated(Boolean truncated)
A flag that indicates whether there are more items in the list.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public List<Tag> getTags()
A list of tags. Each tag consists of a tag key and a tag value.
Tagging or untagging a KMS key can allow or deny permission to the KMS key. For details, see ABAC for KMS in the Key Management Service Developer Guide.
Tagging or untagging a KMS key can allow or deny permission to the KMS key. For details, see ABAC for KMS in the Key Management Service Developer Guide.
public void setTags(Collection<Tag> tags)
A list of tags. Each tag consists of a tag key and a tag value.
Tagging or untagging a KMS key can allow or deny permission to the KMS key. For details, see ABAC for KMS in the Key Management Service Developer Guide.
tags
- A list of tags. Each tag consists of a tag key and a tag value. Tagging or untagging a KMS key can allow or deny permission to the KMS key. For details, see ABAC for KMS in the Key Management Service Developer Guide.
public ListResourceTagsResult withTags(Tag... tags)
A list of tags. Each tag consists of a tag key and a tag value.
Tagging or untagging a KMS key can allow or deny permission to the KMS key. For details, see ABAC for KMS in the Key Management Service Developer Guide.
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
- A list of tags. Each tag consists of a tag key and a tag value. Tagging or untagging a KMS key can allow or deny permission to the KMS key. For details, see ABAC for KMS in the Key Management Service Developer Guide.
public ListResourceTagsResult withTags(Collection<Tag> tags)
A list of tags. Each tag consists of a tag key and a tag value.
Tagging or untagging a KMS key can allow or deny permission to the KMS key. For details, see ABAC for KMS in the Key Management Service Developer Guide.
tags
- A list of tags. Each tag consists of a tag key and a tag value. Tagging or untagging a KMS key can allow or deny permission to the KMS key. For details, see ABAC for KMS in the Key Management Service Developer Guide.
public void setNextMarker(String nextMarker)
When Truncated
is true, this element is present and contains the value to use for the
Marker
parameter in a subsequent request.
Do not assume or infer any information from this value.
nextMarker
- When Truncated
is true, this element is present and contains the value to use for the
Marker
parameter in a subsequent request.
Do not assume or infer any information from this value.
public String getNextMarker()
When Truncated
is true, this element is present and contains the value to use for the
Marker
parameter in a subsequent request.
Do not assume or infer any information from this value.
Truncated
is true, this element is present and contains the value to use for the
Marker
parameter in a subsequent request.
Do not assume or infer any information from this value.
public ListResourceTagsResult withNextMarker(String nextMarker)
When Truncated
is true, this element is present and contains the value to use for the
Marker
parameter in a subsequent request.
Do not assume or infer any information from this value.
nextMarker
- When Truncated
is true, this element is present and contains the value to use for the
Marker
parameter in a subsequent request.
Do not assume or infer any information from this value.
public void setTruncated(Boolean truncated)
A flag that indicates whether there are more items in the list. When this value is true, the list in this
response is truncated. To get more items, pass the value of the NextMarker
element in this response
to the Marker
parameter in a subsequent request.
truncated
- A flag that indicates whether there are more items in the list. When this value is true, the list in this
response is truncated. To get more items, pass the value of the NextMarker
element in this
response to the Marker
parameter in a subsequent request.public Boolean getTruncated()
A flag that indicates whether there are more items in the list. When this value is true, the list in this
response is truncated. To get more items, pass the value of the NextMarker
element in this response
to the Marker
parameter in a subsequent request.
NextMarker
element in this
response to the Marker
parameter in a subsequent request.public ListResourceTagsResult withTruncated(Boolean truncated)
A flag that indicates whether there are more items in the list. When this value is true, the list in this
response is truncated. To get more items, pass the value of the NextMarker
element in this response
to the Marker
parameter in a subsequent request.
truncated
- A flag that indicates whether there are more items in the list. When this value is true, the list in this
response is truncated. To get more items, pass the value of the NextMarker
element in this
response to the Marker
parameter in a subsequent request.public Boolean isTruncated()
A flag that indicates whether there are more items in the list. When this value is true, the list in this
response is truncated. To get more items, pass the value of the NextMarker
element in this response
to the Marker
parameter in a subsequent request.
NextMarker
element in this
response to the Marker
parameter in a subsequent request.public String toString()
toString
in class Object
Object.toString()
public ListResourceTagsResult clone()