@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ListTagsForResourceResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
| Constructor and Description |
|---|
ListTagsForResourceResult() |
| Modifier and Type | Method and Description |
|---|---|
ListTagsForResourceResult |
clone() |
boolean |
equals(Object obj) |
String |
getRequestId()
The AWS request ID for this operation.
|
Integer |
getStatus()
The HTTP status of the request.
|
List<Tag> |
getTags()
Contains a map of the key-value pairs for the resource tag or tags assigned to the resource.
|
int |
hashCode() |
void |
setRequestId(String requestId)
The AWS request ID for this operation.
|
void |
setStatus(Integer status)
The HTTP status of the request.
|
void |
setTags(Collection<Tag> tags)
Contains a map of the key-value pairs for the resource tag or tags assigned to the resource.
|
String |
toString()
Returns a string representation of this object.
|
ListTagsForResourceResult |
withRequestId(String requestId)
The AWS request ID for this operation.
|
ListTagsForResourceResult |
withStatus(Integer status)
The HTTP status of the request.
|
ListTagsForResourceResult |
withTags(Collection<Tag> tags)
Contains a map of the key-value pairs for the resource tag or tags assigned to the resource.
|
ListTagsForResourceResult |
withTags(Tag... tags)
Contains a map of the key-value pairs for the resource tag or tags assigned to the resource.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadatapublic List<Tag> getTags()
Contains a map of the key-value pairs for the resource tag or tags assigned to the resource.
public void setTags(Collection<Tag> tags)
Contains a map of the key-value pairs for the resource tag or tags assigned to the resource.
tags - Contains a map of the key-value pairs for the resource tag or tags assigned to the resource.public ListTagsForResourceResult withTags(Tag... tags)
Contains a map of the key-value pairs for the resource tag or tags assigned to the 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 - Contains a map of the key-value pairs for the resource tag or tags assigned to the resource.public ListTagsForResourceResult withTags(Collection<Tag> tags)
Contains a map of the key-value pairs for the resource tag or tags assigned to the resource.
tags - Contains a map of the key-value pairs for the resource tag or tags assigned to the resource.public void setRequestId(String requestId)
The AWS request ID for this operation.
requestId - The AWS request ID for this operation.public String getRequestId()
The AWS request ID for this operation.
public ListTagsForResourceResult withRequestId(String requestId)
The AWS request ID for this operation.
requestId - The AWS request ID for this operation.public void setStatus(Integer status)
The HTTP status of the request.
status - The HTTP status of the request.public Integer getStatus()
The HTTP status of the request.
public ListTagsForResourceResult withStatus(Integer status)
The HTTP status of the request.
status - The HTTP status of the request.public String toString()
toString in class ObjectObject.toString()public ListTagsForResourceResult clone()
Copyright © 2020. All rights reserved.