@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 Amazon SageMaker resource.
|
int |
hashCode() |
void |
setTags(Collection<Tag> tags)
A list of tags associated with the Amazon SageMaker resource.
|
String |
toString()
Returns a string representation of this object.
|
AddTagsResult |
withTags(Collection<Tag> tags)
A list of tags associated with the Amazon SageMaker resource.
|
AddTagsResult |
withTags(Tag... tags)
A list of tags associated with the Amazon SageMaker resource.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadatapublic List<Tag> getTags()
A list of tags associated with the Amazon SageMaker resource.
public void setTags(Collection<Tag> tags)
A list of tags associated with the Amazon SageMaker resource.
tags - A list of tags associated with the Amazon SageMaker resource.public AddTagsResult withTags(Tag... tags)
A list of tags associated with the Amazon 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 Amazon SageMaker resource.public AddTagsResult withTags(Collection<Tag> tags)
A list of tags associated with the Amazon SageMaker resource.
tags - A list of tags associated with the Amazon SageMaker resource.public String toString()
toString in class ObjectObject.toString()public AddTagsResult clone()
Copyright © 2022. All rights reserved.