Interface ListSmsSandboxPhoneNumbersResponse.Builder
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,CopyableBuilder<ListSmsSandboxPhoneNumbersResponse.Builder,
,ListSmsSandboxPhoneNumbersResponse> SdkBuilder<ListSmsSandboxPhoneNumbersResponse.Builder,
,ListSmsSandboxPhoneNumbersResponse> SdkPojo
,SdkResponse.Builder
,SnsResponse.Builder
- Enclosing class:
ListSmsSandboxPhoneNumbersResponse
public static interface ListSmsSandboxPhoneNumbersResponse.Builder
extends SnsResponse.Builder, SdkPojo, CopyableBuilder<ListSmsSandboxPhoneNumbersResponse.Builder,ListSmsSandboxPhoneNumbersResponse>
-
Method Summary
Modifier and TypeMethodDescriptionANextToken
string is returned when you call theListSMSSandboxPhoneNumbersInput
operation if additional pages of records are available.phoneNumbers
(Collection<SMSSandboxPhoneNumber> phoneNumbers) A list of the calling account's pending and verified phone numbers.phoneNumbers
(Consumer<SMSSandboxPhoneNumber.Builder>... phoneNumbers) A list of the calling account's pending and verified phone numbers.phoneNumbers
(SMSSandboxPhoneNumber... phoneNumbers) A list of the calling account's pending and verified phone 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 Details
-
phoneNumbers
ListSmsSandboxPhoneNumbersResponse.Builder phoneNumbers(Collection<SMSSandboxPhoneNumber> phoneNumbers) A list of the calling account's pending and verified phone numbers.
- Parameters:
phoneNumbers
- A list of the calling account's pending and verified phone numbers.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
phoneNumbers
A list of the calling account's pending and verified phone numbers.
- Parameters:
phoneNumbers
- A list of the calling account's pending and verified phone numbers.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
phoneNumbers
ListSmsSandboxPhoneNumbersResponse.Builder phoneNumbers(Consumer<SMSSandboxPhoneNumber.Builder>... phoneNumbers) A list of the calling account's pending and verified phone numbers.
This is a convenience method that creates an instance of theSMSSandboxPhoneNumber.Builder
avoiding the need to create one manually viaSMSSandboxPhoneNumber.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tophoneNumbers(List<SMSSandboxPhoneNumber>)
.- Parameters:
phoneNumbers
- a consumer that will call methods onSMSSandboxPhoneNumber.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
nextToken
A
NextToken
string is returned when you call theListSMSSandboxPhoneNumbersInput
operation if additional pages of records are available.- Parameters:
nextToken
- ANextToken
string is returned when you call theListSMSSandboxPhoneNumbersInput
operation if additional pages of records are available.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-