Interface DescribeOptOutListsResponse.Builder
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<DescribeOptOutListsResponse.Builder,,DescribeOptOutListsResponse> PinpointSmsVoiceV2Response.Builder,SdkBuilder<DescribeOptOutListsResponse.Builder,,DescribeOptOutListsResponse> SdkPojo,SdkResponse.Builder
- Enclosing class:
DescribeOptOutListsResponse
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
copyMethods inherited from interface software.amazon.awssdk.services.pinpointsmsvoicev2.model.PinpointSmsVoiceV2Response.Builder
build, responseMetadata, responseMetadataMethods 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, 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.Builderavoiding the need to create one manually viaOptOutListInformation.builder().When the
Consumercompletes,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.
-