Interface ListContactListsResponse.Builder
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<ListContactListsResponse.Builder,,ListContactListsResponse> SdkBuilder<ListContactListsResponse.Builder,,ListContactListsResponse> SdkPojo,SdkResponse.Builder,SesV2Response.Builder
- Enclosing class:
ListContactListsResponse
@Mutable
@NotThreadSafe
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
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFieldsMethods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponseMethods 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.Builderavoiding the need to create one manually viaContactList.builder().When the
Consumercompletes,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
ListContactListswith 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 toListContactListswith 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.
-