@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class CreateAddressBookRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP
Constructor and Description |
---|
CreateAddressBookRequest() |
Modifier and Type | Method and Description |
---|---|
CreateAddressBookRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
String |
getClientRequestToken()
A unique, user-specified identifier for the request that ensures idempotency.
|
String |
getDescription()
The description of the address book.
|
String |
getName()
The name of the address book.
|
List<Tag> |
getTags()
The tags to be added to the specified resource.
|
int |
hashCode() |
void |
setClientRequestToken(String clientRequestToken)
A unique, user-specified identifier for the request that ensures idempotency.
|
void |
setDescription(String description)
The description of the address book.
|
void |
setName(String name)
The name of the address book.
|
void |
setTags(Collection<Tag> tags)
The tags to be added to the specified resource.
|
String |
toString()
Returns a string representation of this object.
|
CreateAddressBookRequest |
withClientRequestToken(String clientRequestToken)
A unique, user-specified identifier for the request that ensures idempotency.
|
CreateAddressBookRequest |
withDescription(String description)
The description of the address book.
|
CreateAddressBookRequest |
withName(String name)
The name of the address book.
|
CreateAddressBookRequest |
withTags(Collection<Tag> tags)
The tags to be added to the specified resource.
|
CreateAddressBookRequest |
withTags(Tag... tags)
The tags to be added to the specified resource.
|
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 address book.
name
- The name of the address book.public String getName()
The name of the address book.
public CreateAddressBookRequest withName(String name)
The name of the address book.
name
- The name of the address book.public void setDescription(String description)
The description of the address book.
description
- The description of the address book.public String getDescription()
The description of the address book.
public CreateAddressBookRequest withDescription(String description)
The description of the address book.
description
- The description of the address book.public void setClientRequestToken(String clientRequestToken)
A unique, user-specified identifier for the request that ensures idempotency.
clientRequestToken
- A unique, user-specified identifier for the request that ensures idempotency.public String getClientRequestToken()
A unique, user-specified identifier for the request that ensures idempotency.
public CreateAddressBookRequest withClientRequestToken(String clientRequestToken)
A unique, user-specified identifier for the request that ensures idempotency.
clientRequestToken
- A unique, user-specified identifier for the request that ensures idempotency.public List<Tag> getTags()
The tags to be added to the specified resource. Do not provide system tags.
public void setTags(Collection<Tag> tags)
The tags to be added to the specified resource. Do not provide system tags.
tags
- The tags to be added to the specified resource. Do not provide system tags.public CreateAddressBookRequest withTags(Tag... tags)
The tags to be added to the specified resource. Do not provide system 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
- The tags to be added to the specified resource. Do not provide system tags.public CreateAddressBookRequest withTags(Collection<Tag> tags)
The tags to be added to the specified resource. Do not provide system tags.
tags
- The tags to be added to the specified resource. Do not provide system tags.public String toString()
toString
in class Object
Object.toString()
public CreateAddressBookRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()