public static interface DescribePhoneNumbersResponse.Builder extends PinpointSmsVoiceV2Response.Builder, SdkPojo, CopyableBuilder<DescribePhoneNumbersResponse.Builder,DescribePhoneNumbersResponse>
| Modifier and Type | Method and Description |
|---|---|
DescribePhoneNumbersResponse.Builder |
nextToken(String nextToken)
The token to be used for the next set of paginated results.
|
DescribePhoneNumbersResponse.Builder |
phoneNumbers(Collection<PhoneNumberInformation> phoneNumbers)
An array of PhoneNumberInformation objects that contain the details for the requested phone numbers.
|
DescribePhoneNumbersResponse.Builder |
phoneNumbers(Consumer<PhoneNumberInformation.Builder>... phoneNumbers)
An array of PhoneNumberInformation objects that contain the details for the requested phone numbers.
|
DescribePhoneNumbersResponse.Builder |
phoneNumbers(PhoneNumberInformation... phoneNumbers)
An array of PhoneNumberInformation objects that contain the details for the requested phone numbers.
|
build, responseMetadata, responseMetadatasdkHttpResponse, sdkHttpResponseequalsBySdkFields, sdkFieldscopyapplyMutation, buildDescribePhoneNumbersResponse.Builder phoneNumbers(Collection<PhoneNumberInformation> phoneNumbers)
An array of PhoneNumberInformation objects that contain the details for the requested phone numbers.
phoneNumbers - An array of PhoneNumberInformation objects that contain the details for the requested phone numbers.DescribePhoneNumbersResponse.Builder phoneNumbers(PhoneNumberInformation... phoneNumbers)
An array of PhoneNumberInformation objects that contain the details for the requested phone numbers.
phoneNumbers - An array of PhoneNumberInformation objects that contain the details for the requested phone numbers.DescribePhoneNumbersResponse.Builder phoneNumbers(Consumer<PhoneNumberInformation.Builder>... phoneNumbers)
An array of PhoneNumberInformation objects that contain the details for the requested phone numbers.
This is a convenience method that creates an instance of thePhoneNumberInformation.Builder avoiding the
need to create one manually via
PhoneNumberInformation.builder().
When the Consumer completes,
SdkBuilder.build() is
called immediately and its result is passed to #phoneNumbers(List.
phoneNumbers - a consumer that will call methods on
PhoneNumberInformation.Builder#phoneNumbers(java.util.Collection) DescribePhoneNumbersResponse.Builder nextToken(String nextToken)
The token to be used for the next set of paginated results. If this field is empty then there are no more results.
nextToken - The token to be used for the next set of paginated results. If this field is empty then there are no
more results.Copyright © 2023. All rights reserved.