Interface ListContactListsResponse.Builder

All Superinterfaces:
AwsResponse.Builder, Buildable, CopyableBuilder<ListContactListsResponse.Builder,ListContactListsResponse>, SdkBuilder<ListContactListsResponse.Builder,ListContactListsResponse>, SdkPojo, SdkResponse.Builder, SesV2Response.Builder
Enclosing class:
ListContactListsResponse

public static interface ListContactListsResponse.Builder extends SesV2Response.Builder, SdkPojo, CopyableBuilder<ListContactListsResponse.Builder,ListContactListsResponse>
  • Method Details

    • contactLists

      The available contact lists.

      Parameters:
      contactLists - The available contact lists.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • contactLists

      ListContactListsResponse.Builder contactLists(ContactList... contactLists)

      The available contact lists.

      Parameters:
      contactLists - The available contact lists.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • contactLists

      The available contact lists.

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

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to contactLists(List<ContactList>).

      Parameters:
      contactLists - a consumer that will call methods on ContactList.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • nextToken

      A string token indicating that there might be additional contact lists available to be listed. Copy this token to a subsequent call to ListContactLists with the same parameters to retrieve the next page of contact lists.

      Parameters:
      nextToken - A string token indicating that there might be additional contact lists available to be listed. Copy this token to a subsequent call to ListContactLists with the same parameters to retrieve the next page of contact lists.
      Returns:
      Returns a reference to this object so that method calls can be chained together.