@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class GetContactResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
Constructor and Description |
---|
GetContactResult() |
Modifier and Type | Method and Description |
---|---|
GetContactResult |
clone() |
boolean |
equals(Object obj) |
String |
getAttributesData()
The attribute data attached to a contact.
|
String |
getContactListName()
The name of the contact list to which the contact belongs.
|
Date |
getCreatedTimestamp()
A timestamp noting when the contact was created.
|
String |
getEmailAddress()
The contact's email address.
|
Date |
getLastUpdatedTimestamp()
A timestamp noting the last time the contact's information was updated.
|
List<TopicPreference> |
getTopicDefaultPreferences()
The default topic preferences applied to the contact.
|
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 to which the contact belongs.
|
void |
setCreatedTimestamp(Date createdTimestamp)
A timestamp noting when the contact was created.
|
void |
setEmailAddress(String emailAddress)
The contact's email address.
|
void |
setLastUpdatedTimestamp(Date lastUpdatedTimestamp)
A timestamp noting the last time the contact's information was updated.
|
void |
setTopicDefaultPreferences(Collection<TopicPreference> topicDefaultPreferences)
The default topic preferences applied to the contact.
|
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.
|
GetContactResult |
withAttributesData(String attributesData)
The attribute data attached to a contact.
|
GetContactResult |
withContactListName(String contactListName)
The name of the contact list to which the contact belongs.
|
GetContactResult |
withCreatedTimestamp(Date createdTimestamp)
A timestamp noting when the contact was created.
|
GetContactResult |
withEmailAddress(String emailAddress)
The contact's email address.
|
GetContactResult |
withLastUpdatedTimestamp(Date lastUpdatedTimestamp)
A timestamp noting the last time the contact's information was updated.
|
GetContactResult |
withTopicDefaultPreferences(Collection<TopicPreference> topicDefaultPreferences)
The default topic preferences applied to the contact.
|
GetContactResult |
withTopicDefaultPreferences(TopicPreference... topicDefaultPreferences)
The default topic preferences applied to the contact.
|
GetContactResult |
withTopicPreferences(Collection<TopicPreference> topicPreferences)
The contact's preference for being opted-in to or opted-out of a topic.>
|
GetContactResult |
withTopicPreferences(TopicPreference... topicPreferences)
The contact's preference for being opted-in to or opted-out of a topic.>
|
GetContactResult |
withUnsubscribeAll(Boolean unsubscribeAll)
A boolean value status noting if the contact is unsubscribed from all contact list topics.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public void setContactListName(String contactListName)
The name of the contact list to which the contact belongs.
contactListName
- The name of the contact list to which the contact belongs.public String getContactListName()
The name of the contact list to which the contact belongs.
public GetContactResult withContactListName(String contactListName)
The name of the contact list to which the contact belongs.
contactListName
- The name of the contact list to which the contact belongs.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 GetContactResult 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 GetContactResult 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 GetContactResult 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 List<TopicPreference> getTopicDefaultPreferences()
The default topic preferences applied to the contact.
public void setTopicDefaultPreferences(Collection<TopicPreference> topicDefaultPreferences)
The default topic preferences applied to the contact.
topicDefaultPreferences
- The default topic preferences applied to the contact.public GetContactResult withTopicDefaultPreferences(TopicPreference... topicDefaultPreferences)
The default topic preferences applied to the contact.
NOTE: This method appends the values to the existing list (if any). Use
setTopicDefaultPreferences(java.util.Collection)
or
withTopicDefaultPreferences(java.util.Collection)
if you want to override the existing values.
topicDefaultPreferences
- The default topic preferences applied to the contact.public GetContactResult withTopicDefaultPreferences(Collection<TopicPreference> topicDefaultPreferences)
The default topic preferences applied to the contact.
topicDefaultPreferences
- The default topic preferences applied to the contact.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 GetContactResult 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 GetContactResult withAttributesData(String attributesData)
The attribute data attached to a contact.
attributesData
- The attribute data attached to a contact.public void setCreatedTimestamp(Date createdTimestamp)
A timestamp noting when the contact was created.
createdTimestamp
- A timestamp noting when the contact was created.public Date getCreatedTimestamp()
A timestamp noting when the contact was created.
public GetContactResult withCreatedTimestamp(Date createdTimestamp)
A timestamp noting when the contact was created.
createdTimestamp
- A timestamp noting when the contact was created.public void setLastUpdatedTimestamp(Date lastUpdatedTimestamp)
A timestamp noting the last time the contact's information was updated.
lastUpdatedTimestamp
- A timestamp noting the last time the contact's information was updated.public Date getLastUpdatedTimestamp()
A timestamp noting the last time the contact's information was updated.
public GetContactResult withLastUpdatedTimestamp(Date lastUpdatedTimestamp)
A timestamp noting the last time the contact's information was updated.
lastUpdatedTimestamp
- A timestamp noting the last time the contact's information was updated.public String toString()
toString
in class Object
Object.toString()
public GetContactResult clone()