public class DescribeTagsResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
Amazon ML returns the following elements.
| Constructor and Description |
|---|
DescribeTagsResult() |
| Modifier and Type | Method and Description |
|---|---|
DescribeTagsResult |
clone() |
boolean |
equals(Object obj) |
String |
getResourceId()
The ID of the tagged ML object.
|
String |
getResourceType()
The type of the tagged ML object.
|
List<Tag> |
getTags()
A list of tags associated with the ML object.
|
int |
hashCode() |
void |
setResourceId(String resourceId)
The ID of the tagged ML object.
|
void |
setResourceType(String resourceType)
The type of the tagged ML object.
|
void |
setResourceType(TaggableResourceType resourceType)
The type of the tagged ML object.
|
void |
setTags(Collection<Tag> tags)
A list of tags associated with the ML object.
|
String |
toString()
Returns a string representation of this object; useful for testing and debugging.
|
DescribeTagsResult |
withResourceId(String resourceId)
The ID of the tagged ML object.
|
DescribeTagsResult |
withResourceType(String resourceType)
The type of the tagged ML object.
|
DescribeTagsResult |
withResourceType(TaggableResourceType resourceType)
The type of the tagged ML object.
|
DescribeTagsResult |
withTags(Collection<Tag> tags)
A list of tags associated with the ML object.
|
DescribeTagsResult |
withTags(Tag... tags)
A list of tags associated with the ML object.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadatapublic void setResourceId(String resourceId)
The ID of the tagged ML object.
resourceId - The ID of the tagged ML object.public String getResourceId()
The ID of the tagged ML object.
public DescribeTagsResult withResourceId(String resourceId)
The ID of the tagged ML object.
resourceId - The ID of the tagged ML object.public void setResourceType(String resourceType)
The type of the tagged ML object.
resourceType - The type of the tagged ML object.TaggableResourceTypepublic String getResourceType()
The type of the tagged ML object.
TaggableResourceTypepublic DescribeTagsResult withResourceType(String resourceType)
The type of the tagged ML object.
resourceType - The type of the tagged ML object.TaggableResourceTypepublic void setResourceType(TaggableResourceType resourceType)
The type of the tagged ML object.
resourceType - The type of the tagged ML object.TaggableResourceTypepublic DescribeTagsResult withResourceType(TaggableResourceType resourceType)
The type of the tagged ML object.
resourceType - The type of the tagged ML object.TaggableResourceTypepublic List<Tag> getTags()
A list of tags associated with the ML object.
public void setTags(Collection<Tag> tags)
A list of tags associated with the ML object.
tags - A list of tags associated with the ML object.public DescribeTagsResult withTags(Tag... tags)
A list of tags associated with the ML object.
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 associated with the ML object.public DescribeTagsResult withTags(Collection<Tag> tags)
A list of tags associated with the ML object.
tags - A list of tags associated with the ML object.public String toString()
toString in class ObjectObject.toString()public DescribeTagsResult clone()
Copyright © 2016. All rights reserved.