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