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