Interface ListAddressListsResponse.Builder
-
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<ListAddressListsResponse.Builder,ListAddressListsResponse>,MailManagerResponse.Builder,SdkBuilder<ListAddressListsResponse.Builder,ListAddressListsResponse>,SdkPojo,SdkResponse.Builder
- Enclosing class:
- ListAddressListsResponse
public static interface ListAddressListsResponse.Builder extends MailManagerResponse.Builder, SdkPojo, CopyableBuilder<ListAddressListsResponse.Builder,ListAddressListsResponse>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ListAddressListsResponse.BuilderaddressLists(Collection<AddressList> addressLists)The list of address lists.ListAddressListsResponse.BuilderaddressLists(Consumer<AddressList.Builder>... addressLists)The list of address lists.ListAddressListsResponse.BuilderaddressLists(AddressList... addressLists)The list of address lists.ListAddressListsResponse.BuildernextToken(String nextToken)If NextToken is returned, there are more results available.-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.services.mailmanager.model.MailManagerResponse.Builder
build, responseMetadata, responseMetadata
-
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
-
-
-
-
Method Detail
-
addressLists
ListAddressListsResponse.Builder addressLists(Collection<AddressList> addressLists)
The list of address lists.
- Parameters:
addressLists- The list of address lists.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
addressLists
ListAddressListsResponse.Builder addressLists(AddressList... addressLists)
The list of address lists.
- Parameters:
addressLists- The list of address lists.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
addressLists
ListAddressListsResponse.Builder addressLists(Consumer<AddressList.Builder>... addressLists)
The list of address lists.
This is a convenience method that creates an instance of theAddressList.Builderavoiding the need to create one manually viaAddressList.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#addressLists(List.) - Parameters:
addressLists- a consumer that will call methods onAddressList.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
#addressLists(java.util.Collection)
-
nextToken
ListAddressListsResponse.Builder nextToken(String nextToken)
If NextToken is returned, there are more results available. The value of NextToken is a unique pagination token for each page. Make the call again using the returned token to retrieve the next page.
- Parameters:
nextToken- If NextToken is returned, there are more results available. The value of NextToken is a unique pagination token for each page. Make the call again using the returned token to retrieve the next page.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-