Interface DescribeVerifiedDestinationNumbersResponse.Builder
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,CopyableBuilder<DescribeVerifiedDestinationNumbersResponse.Builder,
,DescribeVerifiedDestinationNumbersResponse> PinpointSmsVoiceV2Response.Builder
,SdkBuilder<DescribeVerifiedDestinationNumbersResponse.Builder,
,DescribeVerifiedDestinationNumbersResponse> SdkPojo
,SdkResponse.Builder
- Enclosing class:
DescribeVerifiedDestinationNumbersResponse
public static interface DescribeVerifiedDestinationNumbersResponse.Builder
extends PinpointSmsVoiceV2Response.Builder, SdkPojo, CopyableBuilder<DescribeVerifiedDestinationNumbersResponse.Builder,DescribeVerifiedDestinationNumbersResponse>
-
Method Summary
Modifier and TypeMethodDescriptionThe token to be used for the next set of paginated results.verifiedDestinationNumbers
(Collection<VerifiedDestinationNumberInformation> verifiedDestinationNumbers) An array of VerifiedDestinationNumberInformation objectsverifiedDestinationNumbers
(Consumer<VerifiedDestinationNumberInformation.Builder>... verifiedDestinationNumbers) An array of VerifiedDestinationNumberInformation objectsverifiedDestinationNumbers
(VerifiedDestinationNumberInformation... verifiedDestinationNumbers) An array of VerifiedDestinationNumberInformation objectsMethods 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, sdkFields
Methods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
Method Details
-
verifiedDestinationNumbers
DescribeVerifiedDestinationNumbersResponse.Builder verifiedDestinationNumbers(Collection<VerifiedDestinationNumberInformation> verifiedDestinationNumbers) An array of VerifiedDestinationNumberInformation objects
- Parameters:
verifiedDestinationNumbers
- An array of VerifiedDestinationNumberInformation objects- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
verifiedDestinationNumbers
DescribeVerifiedDestinationNumbersResponse.Builder verifiedDestinationNumbers(VerifiedDestinationNumberInformation... verifiedDestinationNumbers) An array of VerifiedDestinationNumberInformation objects
- Parameters:
verifiedDestinationNumbers
- An array of VerifiedDestinationNumberInformation objects- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
verifiedDestinationNumbers
DescribeVerifiedDestinationNumbersResponse.Builder verifiedDestinationNumbers(Consumer<VerifiedDestinationNumberInformation.Builder>... verifiedDestinationNumbers) An array of VerifiedDestinationNumberInformation objects
This is a convenience method that creates an instance of theVerifiedDestinationNumberInformation.Builder
avoiding the need to create one manually viaVerifiedDestinationNumberInformation.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toverifiedDestinationNumbers(List<VerifiedDestinationNumberInformation>)
.- Parameters:
verifiedDestinationNumbers
- a consumer that will call methods onVerifiedDestinationNumberInformation.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. You don't need to supply a value for this field in the initial request.
- Parameters:
nextToken
- The token to be used for the next set of paginated results. You don't need to supply a value for this field in the initial request.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-