@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class PutEntityTypeRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP
Constructor and Description |
---|
PutEntityTypeRequest() |
Modifier and Type | Method and Description |
---|---|
PutEntityTypeRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
String |
getDescription()
The description.
|
String |
getName()
The name of the entity type.
|
List<Tag> |
getTags()
A collection of key and value pairs.
|
int |
hashCode() |
void |
setDescription(String description)
The description.
|
void |
setName(String name)
The name of the entity type.
|
void |
setTags(Collection<Tag> tags)
A collection of key and value pairs.
|
String |
toString()
Returns a string representation of this object.
|
PutEntityTypeRequest |
withDescription(String description)
The description.
|
PutEntityTypeRequest |
withName(String name)
The name of the entity type.
|
PutEntityTypeRequest |
withTags(Collection<Tag> tags)
A collection of key and value pairs.
|
PutEntityTypeRequest |
withTags(Tag... tags)
A collection of key and value pairs.
|
addHandlerContext, 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, withSdkRequestTimeout
public void setName(String name)
The name of the entity type.
name
- The name of the entity type.public String getName()
The name of the entity type.
public PutEntityTypeRequest withName(String name)
The name of the entity type.
name
- The name of the entity type.public void setDescription(String description)
The description.
description
- The description.public String getDescription()
The description.
public PutEntityTypeRequest withDescription(String description)
The description.
description
- The description.public List<Tag> getTags()
A collection of key and value pairs.
public void setTags(Collection<Tag> tags)
A collection of key and value pairs.
tags
- A collection of key and value pairs.public PutEntityTypeRequest withTags(Tag... tags)
A collection of key and value pairs.
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 collection of key and value pairs.public PutEntityTypeRequest withTags(Collection<Tag> tags)
A collection of key and value pairs.
tags
- A collection of key and value pairs.public String toString()
toString
in class Object
Object.toString()
public PutEntityTypeRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()