@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class UpdateContactListRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP
Constructor and Description |
---|
UpdateContactListRequest() |
Modifier and Type | Method and Description |
---|---|
UpdateContactListRequest |
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<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 |
setTopics(Collection<Topic> topics)
An interest group, theme, or label within a list.
|
String |
toString()
Returns a string representation of this object.
|
UpdateContactListRequest |
withContactListName(String contactListName)
The name of the contact list.
|
UpdateContactListRequest |
withDescription(String description)
A description of what the contact list is about.
|
UpdateContactListRequest |
withTopics(Collection<Topic> topics)
An interest group, theme, or label within a list.
|
UpdateContactListRequest |
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, withSdkRequestTimeout
public 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 UpdateContactListRequest 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 UpdateContactListRequest 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 UpdateContactListRequest 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 UpdateContactListRequest withDescription(String description)
A description of what the contact list is about.
description
- A description of what the contact list is about.public String toString()
toString
in class Object
Object.toString()
public UpdateContactListRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()