@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class UpdateContactRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP| Constructor and Description |
|---|
UpdateContactRequest() |
| Modifier and Type | Method and Description |
|---|---|
UpdateContactRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
String |
getAttributesData()
The attribute data attached to a contact.
|
String |
getContactListName()
The name of the contact list.
|
String |
getEmailAddress()
The contact's email address.
|
List<TopicPreference> |
getTopicPreferences()
The contact's preference for being opted-in to or opted-out of a topic.
|
Boolean |
getUnsubscribeAll()
A boolean value status noting if the contact is unsubscribed from all contact list topics.
|
int |
hashCode() |
Boolean |
isUnsubscribeAll()
A boolean value status noting if the contact is unsubscribed from all contact list topics.
|
void |
setAttributesData(String attributesData)
The attribute data attached to a contact.
|
void |
setContactListName(String contactListName)
The name of the contact list.
|
void |
setEmailAddress(String emailAddress)
The contact's email address.
|
void |
setTopicPreferences(Collection<TopicPreference> topicPreferences)
The contact's preference for being opted-in to or opted-out of a topic.
|
void |
setUnsubscribeAll(Boolean unsubscribeAll)
A boolean value status noting if the contact is unsubscribed from all contact list topics.
|
String |
toString()
Returns a string representation of this object.
|
UpdateContactRequest |
withAttributesData(String attributesData)
The attribute data attached to a contact.
|
UpdateContactRequest |
withContactListName(String contactListName)
The name of the contact list.
|
UpdateContactRequest |
withEmailAddress(String emailAddress)
The contact's email address.
|
UpdateContactRequest |
withTopicPreferences(Collection<TopicPreference> topicPreferences)
The contact's preference for being opted-in to or opted-out of a topic.
|
UpdateContactRequest |
withTopicPreferences(TopicPreference... topicPreferences)
The contact's preference for being opted-in to or opted-out of a topic.
|
UpdateContactRequest |
withUnsubscribeAll(Boolean unsubscribeAll)
A boolean value status noting if the contact is unsubscribed from all contact list topics.
|
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 UpdateContactRequest withContactListName(String contactListName)
The name of the contact list.
contactListName - The name of the contact list.public void setEmailAddress(String emailAddress)
The contact's email address.
emailAddress - The contact's email address.public String getEmailAddress()
The contact's email address.
public UpdateContactRequest withEmailAddress(String emailAddress)
The contact's email address.
emailAddress - The contact's email address.public List<TopicPreference> getTopicPreferences()
The contact's preference for being opted-in to or opted-out of a topic.
public void setTopicPreferences(Collection<TopicPreference> topicPreferences)
The contact's preference for being opted-in to or opted-out of a topic.
topicPreferences - The contact's preference for being opted-in to or opted-out of a topic.public UpdateContactRequest withTopicPreferences(TopicPreference... topicPreferences)
The contact's preference for being opted-in to or opted-out of a topic.
NOTE: This method appends the values to the existing list (if any). Use
setTopicPreferences(java.util.Collection) or withTopicPreferences(java.util.Collection) if you
want to override the existing values.
topicPreferences - The contact's preference for being opted-in to or opted-out of a topic.public UpdateContactRequest withTopicPreferences(Collection<TopicPreference> topicPreferences)
The contact's preference for being opted-in to or opted-out of a topic.
topicPreferences - The contact's preference for being opted-in to or opted-out of a topic.public void setUnsubscribeAll(Boolean unsubscribeAll)
A boolean value status noting if the contact is unsubscribed from all contact list topics.
unsubscribeAll - A boolean value status noting if the contact is unsubscribed from all contact list topics.public Boolean getUnsubscribeAll()
A boolean value status noting if the contact is unsubscribed from all contact list topics.
public UpdateContactRequest withUnsubscribeAll(Boolean unsubscribeAll)
A boolean value status noting if the contact is unsubscribed from all contact list topics.
unsubscribeAll - A boolean value status noting if the contact is unsubscribed from all contact list topics.public Boolean isUnsubscribeAll()
A boolean value status noting if the contact is unsubscribed from all contact list topics.
public void setAttributesData(String attributesData)
The attribute data attached to a contact.
attributesData - The attribute data attached to a contact.public String getAttributesData()
The attribute data attached to a contact.
public UpdateContactRequest withAttributesData(String attributesData)
The attribute data attached to a contact.
attributesData - The attribute data attached to a contact.public String toString()
toString in class ObjectObject.toString()public UpdateContactRequest clone()
AmazonWebServiceRequestclone in class AmazonWebServiceRequestObject.clone()