@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ListTagsResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
Constructor and Description |
---|
ListTagsResult() |
Modifier and Type | Method and Description |
---|---|
ListTagsResult |
clone() |
boolean |
equals(Object obj) |
String |
getNextToken()
If response is truncated, SageMaker includes a token in the response.
|
List<Tag> |
getTags()
An array of
Tag objects, each with a tag key and a value. |
int |
hashCode() |
void |
setNextToken(String nextToken)
If response is truncated, SageMaker includes a token in the response.
|
void |
setTags(Collection<Tag> tags)
An array of
Tag objects, each with a tag key and a value. |
String |
toString()
Returns a string representation of this object.
|
ListTagsResult |
withNextToken(String nextToken)
If response is truncated, SageMaker includes a token in the response.
|
ListTagsResult |
withTags(Collection<Tag> tags)
An array of
Tag objects, each with a tag key and a value. |
ListTagsResult |
withTags(Tag... tags)
An array of
Tag objects, each with a tag key and a value. |
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public List<Tag> getTags()
An array of Tag
objects, each with a tag key and a value.
Tag
objects, each with a tag key and a value.public void setTags(Collection<Tag> tags)
An array of Tag
objects, each with a tag key and a value.
tags
- An array of Tag
objects, each with a tag key and a value.public ListTagsResult withTags(Tag... tags)
An array of Tag
objects, each with a tag key and a value.
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 of Tag
objects, each with a tag key and a value.public ListTagsResult withTags(Collection<Tag> tags)
An array of Tag
objects, each with a tag key and a value.
tags
- An array of Tag
objects, each with a tag key and a value.public void setNextToken(String nextToken)
If response is truncated, SageMaker includes a token in the response. You can use this token in your subsequent request to fetch next set of tokens.
nextToken
- If response is truncated, SageMaker includes a token in the response. You can use this token in your
subsequent request to fetch next set of tokens.public String getNextToken()
If response is truncated, SageMaker includes a token in the response. You can use this token in your subsequent request to fetch next set of tokens.
public ListTagsResult withNextToken(String nextToken)
If response is truncated, SageMaker includes a token in the response. You can use this token in your subsequent request to fetch next set of tokens.
nextToken
- If response is truncated, SageMaker includes a token in the response. You can use this token in your
subsequent request to fetch next set of tokens.public String toString()
toString
in class Object
Object.toString()
public ListTagsResult clone()