@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class CreateContactListRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP| Constructor and Description |
|---|
CreateContactListRequest() |
| Modifier and Type | Method and Description |
|---|---|
CreateContactListRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
String |
getContactListName()
The name of the contact list.
|
String |
getDescription()
A description of what the contact list is about.
|
List<Tag> |
getTags()
The tags associated with a contact list.
|
List<Topic> |
getTopics()
An interest group, theme, or label within a list.
|
int |
hashCode() |
void |
setContactListName(String contactListName)
The name of the contact list.
|
void |
setDescription(String description)
A description of what the contact list is about.
|
void |
setTags(Collection<Tag> tags)
The tags associated with a contact list.
|
void |
setTopics(Collection<Topic> topics)
An interest group, theme, or label within a list.
|
String |
toString()
Returns a string representation of this object.
|
CreateContactListRequest |
withContactListName(String contactListName)
The name of the contact list.
|
CreateContactListRequest |
withDescription(String description)
A description of what the contact list is about.
|
CreateContactListRequest |
withTags(Collection<Tag> tags)
The tags associated with a contact list.
|
CreateContactListRequest |
withTags(Tag... tags)
The tags associated with a contact list.
|
CreateContactListRequest |
withTopics(Collection<Topic> topics)
An interest group, theme, or label within a list.
|
CreateContactListRequest |
withTopics(Topic... topics)
An interest group, theme, or label within a list.
|
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, withSdkRequestTimeoutpublic void setContactListName(String contactListName)
The name of the contact list.
contactListName - The name of the contact list.public String getContactListName()
The name of the contact list.
public CreateContactListRequest withContactListName(String contactListName)
The name of the contact list.
contactListName - The name of the contact list.public List<Topic> getTopics()
An interest group, theme, or label within a list. A contact list can have multiple topics.
public void setTopics(Collection<Topic> topics)
An interest group, theme, or label within a list. A contact list can have multiple topics.
topics - An interest group, theme, or label within a list. A contact list can have multiple topics.public CreateContactListRequest withTopics(Topic... topics)
An interest group, theme, or label within a list. A contact list can have multiple topics.
NOTE: This method appends the values to the existing list (if any). Use
setTopics(java.util.Collection) or withTopics(java.util.Collection) if you want to override the
existing values.
topics - An interest group, theme, or label within a list. A contact list can have multiple topics.public CreateContactListRequest withTopics(Collection<Topic> topics)
An interest group, theme, or label within a list. A contact list can have multiple topics.
topics - An interest group, theme, or label within a list. A contact list can have multiple topics.public void setDescription(String description)
A description of what the contact list is about.
description - A description of what the contact list is about.public String getDescription()
A description of what the contact list is about.
public CreateContactListRequest withDescription(String description)
A description of what the contact list is about.
description - A description of what the contact list is about.public List<Tag> getTags()
The tags associated with a contact list.
public void setTags(Collection<Tag> tags)
The tags associated with a contact list.
tags - The tags associated with a contact list.public CreateContactListRequest withTags(Tag... tags)
The tags associated with a contact list.
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 associated with a contact list.public CreateContactListRequest withTags(Collection<Tag> tags)
The tags associated with a contact list.
tags - The tags associated with a contact list.public String toString()
toString in class ObjectObject.toString()public CreateContactListRequest clone()
AmazonWebServiceRequestclone in class AmazonWebServiceRequestObject.clone()