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 TypeMethodDescriptionANextTokenstring is returned when you call theListSMSSandboxPhoneNumbersInputoperation 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
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldsMethods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponseMethods 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.Builderavoiding the need to create one manually viaSMSSandboxPhoneNumber.builder().When the
Consumercompletes,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
NextTokenstring is returned when you call theListSMSSandboxPhoneNumbersInputoperation if additional pages of records are available.- Parameters:
nextToken- ANextTokenstring is returned when you call theListSMSSandboxPhoneNumbersInputoperation if additional pages of records are available.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-