@Generated(value="com.amazonaws:aws-java-sdk-code-generator") 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.
|
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, setSdkResponseMetadata
public 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.TaggableResourceType
public String getResourceType()
The type of the tagged ML object.
TaggableResourceType
public DescribeTagsResult withResourceType(String resourceType)
The type of the tagged ML object.
resourceType
- The type of the tagged ML object.TaggableResourceType
public void setResourceType(TaggableResourceType resourceType)
The type of the tagged ML object.
resourceType
- The type of the tagged ML object.TaggableResourceType
public DescribeTagsResult withResourceType(TaggableResourceType resourceType)
The type of the tagged ML object.
resourceType
- The type of the tagged ML object.TaggableResourceType
public 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 Object
Object.toString()
public DescribeTagsResult clone()