public static interface ListOriginationNumbersResponse.Builder extends SnsResponse.Builder, SdkPojo, CopyableBuilder<ListOriginationNumbersResponse.Builder,ListOriginationNumbersResponse>
Modifier and Type | Method and Description |
---|---|
ListOriginationNumbersResponse.Builder |
nextToken(String nextToken)
A
NextToken string is returned when you call the ListOriginationNumbers operation
if additional pages of records are available. |
ListOriginationNumbersResponse.Builder |
phoneNumbers(Collection<PhoneNumberInformation> phoneNumbers)
A list of the calling account's verified and pending origination numbers.
|
ListOriginationNumbersResponse.Builder |
phoneNumbers(Consumer<PhoneNumberInformation.Builder>... phoneNumbers)
A list of the calling account's verified and pending origination numbers.
|
ListOriginationNumbersResponse.Builder |
phoneNumbers(PhoneNumberInformation... phoneNumbers)
A list of the calling account's verified and pending origination numbers.
|
build, responseMetadata, responseMetadata
sdkHttpResponse, sdkHttpResponse
equalsBySdkFields, sdkFields
copy
applyMutation, build
ListOriginationNumbersResponse.Builder nextToken(String nextToken)
A NextToken
string is returned when you call the ListOriginationNumbers
operation
if additional pages of records are available.
nextToken
- A NextToken
string is returned when you call the ListOriginationNumbers
operation if additional pages of records are available.ListOriginationNumbersResponse.Builder phoneNumbers(Collection<PhoneNumberInformation> phoneNumbers)
A list of the calling account's verified and pending origination numbers.
phoneNumbers
- A list of the calling account's verified and pending origination numbers.ListOriginationNumbersResponse.Builder phoneNumbers(PhoneNumberInformation... phoneNumbers)
A list of the calling account's verified and pending origination numbers.
phoneNumbers
- A list of the calling account's verified and pending origination numbers.ListOriginationNumbersResponse.Builder phoneNumbers(Consumer<PhoneNumberInformation.Builder>... phoneNumbers)
A list of the calling account's verified and pending origination 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)
Copyright © 2023. All rights reserved.