Interface GetContactListResponse.Builder

    • Method Detail

      • contactListName

        GetContactListResponse.Builder contactListName​(String contactListName)

        The name of the contact list.

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

        GetContactListResponse.Builder topics​(Collection<Topic> topics)

        An interest group, theme, or label within a list. A contact list can have multiple topics.

        Parameters:
        topics - An interest group, theme, or label within a list. A contact list can have multiple topics.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • topics

        GetContactListResponse.Builder topics​(Topic... topics)

        An interest group, theme, or label within a list. A contact list can have multiple topics.

        Parameters:
        topics - An interest group, theme, or label within a list. A contact list can have multiple topics.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • topics

        GetContactListResponse.Builder topics​(Consumer<Topic.Builder>... topics)

        An interest group, theme, or label within a list. A contact list can have multiple topics.

        This is a convenience method that creates an instance of the Topic.Builder avoiding the need to create one manually via Topic.builder().

        When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to #topics(List).

        Parameters:
        topics - a consumer that will call methods on Topic.Builder
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        #topics(java.util.Collection)
      • description

        GetContactListResponse.Builder description​(String description)

        A description of what the contact list is about.

        Parameters:
        description - A description of what the contact list is about.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • createdTimestamp

        GetContactListResponse.Builder createdTimestamp​(Instant createdTimestamp)

        A timestamp noting when the contact list was created.

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

        GetContactListResponse.Builder lastUpdatedTimestamp​(Instant lastUpdatedTimestamp)

        A timestamp noting the last time the contact list was updated.

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

        GetContactListResponse.Builder tags​(Collection<Tag> tags)

        The tags associated with a contact list.

        Parameters:
        tags - The tags associated with a contact list.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • tags

        GetContactListResponse.Builder tags​(Tag... tags)

        The tags associated with a contact list.

        Parameters:
        tags - The tags associated with a contact list.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • tags

        GetContactListResponse.Builder tags​(Consumer<Tag.Builder>... tags)

        The tags associated with a contact list.

        This is a convenience method that creates an instance of the Tag.Builder avoiding the need to create one manually via Tag.builder().

        When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to #tags(List).

        Parameters:
        tags - a consumer that will call methods on Tag.Builder
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        #tags(java.util.Collection)