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
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ListSmsSandboxPhoneNumbersResponse.Builder
nextToken(String nextToken)
ANextToken
string is returned when you call theListSMSSandboxPhoneNumbersInput
operation if additional pages of records are available.ListSmsSandboxPhoneNumbersResponse.Builder
phoneNumbers(Collection<SMSSandboxPhoneNumber> phoneNumbers)
A list of the calling account's pending and verified phone numbers.ListSmsSandboxPhoneNumbersResponse.Builder
phoneNumbers(Consumer<SMSSandboxPhoneNumber.Builder>... phoneNumbers)
A list of the calling account's pending and verified phone numbers.ListSmsSandboxPhoneNumbersResponse.Builder
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 Detail
-
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
ListSmsSandboxPhoneNumbersResponse.Builder phoneNumbers(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
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 to#phoneNumbers(List
.) - 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:
#phoneNumbers(java.util.Collection
)
-
nextToken
ListSmsSandboxPhoneNumbersResponse.Builder nextToken(String 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.
-
-