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
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ListContactListsResponse.BuildercontactLists(Collection<ContactList> contactLists)The available contact lists.ListContactListsResponse.BuildercontactLists(Consumer<ContactList.Builder>... contactLists)The available contact lists.ListContactListsResponse.BuildercontactLists(ContactList... contactLists)The available contact lists.ListContactListsResponse.BuildernextToken(String nextToken)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, sdkFieldNameToField, 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 Detail
-
contactLists
ListContactListsResponse.Builder contactLists(Collection<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
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
ListContactListsResponse.Builder contactLists(Consumer<ContactList.Builder>... 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 to#contactLists(List.) - 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:
#contactLists(java.util.Collection)
-
nextToken
ListContactListsResponse.Builder nextToken(String 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.
-
-