Interface ListOriginationNumbersResponse.Builder
-
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,CopyableBuilder<ListOriginationNumbersResponse.Builder,ListOriginationNumbersResponse>
,SdkBuilder<ListOriginationNumbersResponse.Builder,ListOriginationNumbersResponse>
,SdkPojo
,SdkResponse.Builder
,SnsResponse.Builder
- Enclosing class:
- ListOriginationNumbersResponse
public static interface ListOriginationNumbersResponse.Builder extends SnsResponse.Builder, SdkPojo, CopyableBuilder<ListOriginationNumbersResponse.Builder,ListOriginationNumbersResponse>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ListOriginationNumbersResponse.Builder
nextToken(String nextToken)
ANextToken
string is returned when you call theListOriginationNumbers
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.-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
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
-
Methods inherited from interface software.amazon.awssdk.services.sns.model.SnsResponse.Builder
build, responseMetadata, responseMetadata
-
-
-
-
Method Detail
-
nextToken
ListOriginationNumbersResponse.Builder nextToken(String nextToken)
A
NextToken
string is returned when you call theListOriginationNumbers
operation if additional pages of records are available.- Parameters:
nextToken
- ANextToken
string is returned when you call theListOriginationNumbers
operation if additional pages of records are available.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
phoneNumbers
ListOriginationNumbersResponse.Builder phoneNumbers(Collection<PhoneNumberInformation> phoneNumbers)
A list of the calling account's verified and pending origination numbers.
- Parameters:
phoneNumbers
- A list of the calling account's verified and pending origination numbers.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
phoneNumbers
ListOriginationNumbersResponse.Builder phoneNumbers(PhoneNumberInformation... phoneNumbers)
A list of the calling account's verified and pending origination numbers.
- Parameters:
phoneNumbers
- A list of the calling account's verified and pending origination numbers.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
phoneNumbers
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 viaPhoneNumberInformation.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed to#phoneNumbers(List
.) - Parameters:
phoneNumbers
- a consumer that will call methods onPhoneNumberInformation.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
#phoneNumbers(java.util.Collection
)
-
-