@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class AddTagsResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
Constructor and Description |
---|
AddTagsResult() |
Modifier and Type | Method and Description |
---|---|
AddTagsResult |
clone() |
boolean |
equals(Object obj) |
List<Tag> |
getTags()
A list of tags associated with the SageMaker resource.
|
int |
hashCode() |
void |
setTags(Collection<Tag> tags)
A list of tags associated with the SageMaker resource.
|
String |
toString()
Returns a string representation of this object.
|
AddTagsResult |
withTags(Collection<Tag> tags)
A list of tags associated with the SageMaker resource.
|
AddTagsResult |
withTags(Tag... tags)
A list of tags associated with the SageMaker resource.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public List<Tag> getTags()
A list of tags associated with the SageMaker resource.
public void setTags(Collection<Tag> tags)
A list of tags associated with the SageMaker resource.
tags
- A list of tags associated with the SageMaker resource.public AddTagsResult withTags(Tag... tags)
A list of tags associated with the SageMaker resource.
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 SageMaker resource.public AddTagsResult withTags(Collection<Tag> tags)
A list of tags associated with the SageMaker resource.
tags
- A list of tags associated with the SageMaker resource.public String toString()
toString
in class Object
Object.toString()
public AddTagsResult clone()