Interface DescribeOptOutListsResponse.Builder
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,CopyableBuilder<DescribeOptOutListsResponse.Builder,
,DescribeOptOutListsResponse> PinpointSmsVoiceV2Response.Builder
,SdkBuilder<DescribeOptOutListsResponse.Builder,
,DescribeOptOutListsResponse> SdkPojo
,SdkResponse.Builder
- Enclosing class:
DescribeOptOutListsResponse
@Mutable
@NotThreadSafe
public static interface DescribeOptOutListsResponse.Builder
extends PinpointSmsVoiceV2Response.Builder, SdkPojo, CopyableBuilder<DescribeOptOutListsResponse.Builder,DescribeOptOutListsResponse>
-
Method Summary
Modifier and TypeMethodDescriptionThe token to be used for the next set of paginated results.optOutLists
(Collection<OptOutListInformation> optOutLists) An array of OptOutListInformation objects that contain the details for the requested OptOutLists.optOutLists
(Consumer<OptOutListInformation.Builder>... optOutLists) An array of OptOutListInformation objects that contain the details for the requested OptOutLists.optOutLists
(OptOutListInformation... optOutLists) An array of OptOutListInformation objects that contain the details for the requested OptOutLists.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.services.pinpointsmsvoicev2.model.PinpointSmsVoiceV2Response.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 Details
-
optOutLists
An array of OptOutListInformation objects that contain the details for the requested OptOutLists.
- Parameters:
optOutLists
- An array of OptOutListInformation objects that contain the details for the requested OptOutLists.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
optOutLists
An array of OptOutListInformation objects that contain the details for the requested OptOutLists.
- Parameters:
optOutLists
- An array of OptOutListInformation objects that contain the details for the requested OptOutLists.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
optOutLists
DescribeOptOutListsResponse.Builder optOutLists(Consumer<OptOutListInformation.Builder>... optOutLists) An array of OptOutListInformation objects that contain the details for the requested OptOutLists.
This is a convenience method that creates an instance of theOptOutListInformation.Builder
avoiding the need to create one manually viaOptOutListInformation.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tooptOutLists(List<OptOutListInformation>)
.- Parameters:
optOutLists
- a consumer that will call methods onOptOutListInformation.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
nextToken
The token to be used for the next set of paginated results. If this field is empty then there are no more results.
- Parameters:
nextToken
- The token to be used for the next set of paginated results. If this field is empty then there are no more results.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-