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 Summary
Modifier and TypeMethodDescriptioncontactLists
(Collection<ContactList> contactLists) The available contact lists.contactLists
(Consumer<ContactList.Builder>... contactLists) The available contact lists.contactLists
(ContactList... contactLists) The available contact lists.A string token indicating that there might be additional contact lists available to be listed.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
Methods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
Methods inherited from interface software.amazon.awssdk.services.sesv2.model.SesV2Response.Builder
build, responseMetadata, responseMetadata
-
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
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 theContactList.Builder
avoiding the need to create one manually viaContactList.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tocontactLists(List<ContactList>)
.- Parameters:
contactLists
- a consumer that will call methods onContactList.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 toListContactLists
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.
-