@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class PutLabelRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP| Constructor and Description |
|---|
PutLabelRequest() |
| Modifier and Type | Method and Description |
|---|---|
PutLabelRequest |
clone() |
boolean |
equals(Object obj) |
String |
getDescription()
The label description.
|
String |
getName()
The label name.
|
List<Tag> |
getTags()
|
int |
hashCode() |
void |
setDescription(String description)
The label description.
|
void |
setName(String name)
The label name.
|
void |
setTags(Collection<Tag> tags)
|
String |
toString()
Returns a string representation of this object.
|
PutLabelRequest |
withDescription(String description)
The label description.
|
PutLabelRequest |
withName(String name)
The label name.
|
PutLabelRequest |
withTags(Collection<Tag> tags)
|
PutLabelRequest |
withTags(Tag... tags)
|
addHandlerContext, copyBaseTo, getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getHandlerContext, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestCredentialsProvider, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestCredentialsProvider, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestCredentialsProvider, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeoutpublic void setName(String name)
The label name.
name - The label name.public String getName()
The label name.
public PutLabelRequest withName(String name)
The label name.
name - The label name.public void setDescription(String description)
The label description.
description - The label description.public String getDescription()
The label description.
public PutLabelRequest withDescription(String description)
The label description.
description - The label description.public void setTags(Collection<Tag> tags)
tags - public PutLabelRequest withTags(Tag... tags)
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 - public PutLabelRequest withTags(Collection<Tag> tags)
tags - public String toString()
toString in class ObjectObject.toString()public PutLabelRequest clone()
clone in class AmazonWebServiceRequestCopyright © 2020. All rights reserved.