JavaScript is disabled on your browser.
Skip navigation links

AWS SDK for Java 1.x API Reference - 1.12.793

We announced the upcoming end-of-support for AWS SDK for Java (v1). We recommend that you migrate to AWS SDK for Java v2. For dates, additional details, and information on how to migrate, please refer to the linked announcement.
com.amazonaws.services.simpleemailv2.model

Class GetContactResult

    • Constructor Detail

      • GetContactResult

        public GetContactResult()
    • Method Detail

      • setContactListName

        public void setContactListName(String contactListName)

        The name of the contact list to which the contact belongs.

        Parameters:
        contactListName - The name of the contact list to which the contact belongs.
      • getContactListName

        public String getContactListName()

        The name of the contact list to which the contact belongs.

        Returns:
        The name of the contact list to which the contact belongs.
      • withContactListName

        public GetContactResult withContactListName(String contactListName)

        The name of the contact list to which the contact belongs.

        Parameters:
        contactListName - The name of the contact list to which the contact belongs.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • setEmailAddress

        public void setEmailAddress(String emailAddress)

        The contact's email address.

        Parameters:
        emailAddress - The contact's email address.
      • getEmailAddress

        public String getEmailAddress()

        The contact's email address.

        Returns:
        The contact's email address.
      • withEmailAddress

        public GetContactResult withEmailAddress(String emailAddress)

        The contact's email address.

        Parameters:
        emailAddress - The contact's email address.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • getTopicPreferences

        public List<TopicPreference> getTopicPreferences()

        The contact's preference for being opted-in to or opted-out of a topic.>

        Returns:
        The contact's preference for being opted-in to or opted-out of a topic.>
      • setTopicPreferences

        public void setTopicPreferences(Collection<TopicPreference> topicPreferences)

        The contact's preference for being opted-in to or opted-out of a topic.>

        Parameters:
        topicPreferences - The contact's preference for being opted-in to or opted-out of a topic.>
      • withTopicPreferences

        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.

        Parameters:
        topicPreferences - The contact's preference for being opted-in to or opted-out of a topic.>
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • withTopicPreferences

        public GetContactResult withTopicPreferences(Collection<TopicPreference> topicPreferences)

        The contact's preference for being opted-in to or opted-out of a topic.>

        Parameters:
        topicPreferences - The contact's preference for being opted-in to or opted-out of a topic.>
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • getTopicDefaultPreferences

        public List<TopicPreference> getTopicDefaultPreferences()

        The default topic preferences applied to the contact.

        Returns:
        The default topic preferences applied to the contact.
      • setTopicDefaultPreferences

        public void setTopicDefaultPreferences(Collection<TopicPreference> topicDefaultPreferences)

        The default topic preferences applied to the contact.

        Parameters:
        topicDefaultPreferences - The default topic preferences applied to the contact.
      • withTopicDefaultPreferences

        public GetContactResult withTopicDefaultPreferences(Collection<TopicPreference> topicDefaultPreferences)

        The default topic preferences applied to the contact.

        Parameters:
        topicDefaultPreferences - The default topic preferences applied to the contact.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • setUnsubscribeAll

        public void setUnsubscribeAll(Boolean unsubscribeAll)

        A boolean value status noting if the contact is unsubscribed from all contact list topics.

        Parameters:
        unsubscribeAll - A boolean value status noting if the contact is unsubscribed from all contact list topics.
      • getUnsubscribeAll

        public Boolean getUnsubscribeAll()

        A boolean value status noting if the contact is unsubscribed from all contact list topics.

        Returns:
        A boolean value status noting if the contact is unsubscribed from all contact list topics.
      • withUnsubscribeAll

        public GetContactResult withUnsubscribeAll(Boolean unsubscribeAll)

        A boolean value status noting if the contact is unsubscribed from all contact list topics.

        Parameters:
        unsubscribeAll - A boolean value status noting if the contact is unsubscribed from all contact list topics.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • isUnsubscribeAll

        public Boolean isUnsubscribeAll()

        A boolean value status noting if the contact is unsubscribed from all contact list topics.

        Returns:
        A boolean value status noting if the contact is unsubscribed from all contact list topics.
      • setAttributesData

        public void setAttributesData(String attributesData)

        The attribute data attached to a contact.

        Parameters:
        attributesData - The attribute data attached to a contact.
      • getAttributesData

        public String getAttributesData()

        The attribute data attached to a contact.

        Returns:
        The attribute data attached to a contact.
      • withAttributesData

        public GetContactResult withAttributesData(String attributesData)

        The attribute data attached to a contact.

        Parameters:
        attributesData - The attribute data attached to a contact.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • setCreatedTimestamp

        public void setCreatedTimestamp(Date createdTimestamp)

        A timestamp noting when the contact was created.

        Parameters:
        createdTimestamp - A timestamp noting when the contact was created.
      • getCreatedTimestamp

        public Date getCreatedTimestamp()

        A timestamp noting when the contact was created.

        Returns:
        A timestamp noting when the contact was created.
      • withCreatedTimestamp

        public GetContactResult withCreatedTimestamp(Date createdTimestamp)

        A timestamp noting when the contact was created.

        Parameters:
        createdTimestamp - A timestamp noting when the contact was created.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • setLastUpdatedTimestamp

        public void setLastUpdatedTimestamp(Date lastUpdatedTimestamp)

        A timestamp noting the last time the contact's information was updated.

        Parameters:
        lastUpdatedTimestamp - A timestamp noting the last time the contact's information was updated.
      • getLastUpdatedTimestamp

        public Date getLastUpdatedTimestamp()

        A timestamp noting the last time the contact's information was updated.

        Returns:
        A timestamp noting the last time the contact's information was updated.
      • withLastUpdatedTimestamp

        public GetContactResult withLastUpdatedTimestamp(Date lastUpdatedTimestamp)

        A timestamp noting the last time the contact's information was updated.

        Parameters:
        lastUpdatedTimestamp - A timestamp noting the last time the contact's information was updated.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • toString

        public String toString()
        Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value.
        Overrides:
        toString in class Object
        Returns:
        A string representation of this object.
        See Also:
        Object.toString()
Skip navigation links

AltStyle によって変換されたページ (->オリジナル) /