Interface ListPhoneNumbersV2Response.Builder
- All Superinterfaces:
AwsResponse.Builder,Buildable,ConnectResponse.Builder,CopyableBuilder<ListPhoneNumbersV2Response.Builder,,ListPhoneNumbersV2Response> SdkBuilder<ListPhoneNumbersV2Response.Builder,,ListPhoneNumbersV2Response> SdkPojo,SdkResponse.Builder
- Enclosing class:
ListPhoneNumbersV2Response
public static interface ListPhoneNumbersV2Response.Builder
extends ConnectResponse.Builder, SdkPojo, CopyableBuilder<ListPhoneNumbersV2Response.Builder,ListPhoneNumbersV2Response>
-
Method Summary
Modifier and TypeMethodDescriptionlistPhoneNumbersSummaryList(Collection<ListPhoneNumbersSummary> listPhoneNumbersSummaryList) Information about phone numbers that have been claimed to your Amazon Connect instances or traffic distribution groups.listPhoneNumbersSummaryList(Consumer<ListPhoneNumbersSummary.Builder>... listPhoneNumbersSummaryList) Information about phone numbers that have been claimed to your Amazon Connect instances or traffic distribution groups.listPhoneNumbersSummaryList(ListPhoneNumbersSummary... listPhoneNumbersSummaryList) Information about phone numbers that have been claimed to your Amazon Connect instances or traffic distribution groups.If there are additional results, this is the token for the next set of results.Methods inherited from interface software.amazon.awssdk.services.connect.model.ConnectResponse.Builder
build, responseMetadata, responseMetadataMethods 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, sdkFieldNameToField, sdkFieldsMethods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
Method Details
-
nextToken
If there are additional results, this is the token for the next set of results.
- Parameters:
nextToken- If there are additional results, this is the token for the next set of results.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
listPhoneNumbersSummaryList
ListPhoneNumbersV2Response.Builder listPhoneNumbersSummaryList(Collection<ListPhoneNumbersSummary> listPhoneNumbersSummaryList) Information about phone numbers that have been claimed to your Amazon Connect instances or traffic distribution groups.
- Parameters:
listPhoneNumbersSummaryList- Information about phone numbers that have been claimed to your Amazon Connect instances or traffic distribution groups.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
listPhoneNumbersSummaryList
ListPhoneNumbersV2Response.Builder listPhoneNumbersSummaryList(ListPhoneNumbersSummary... listPhoneNumbersSummaryList) Information about phone numbers that have been claimed to your Amazon Connect instances or traffic distribution groups.
- Parameters:
listPhoneNumbersSummaryList- Information about phone numbers that have been claimed to your Amazon Connect instances or traffic distribution groups.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
listPhoneNumbersSummaryList
ListPhoneNumbersV2Response.Builder listPhoneNumbersSummaryList(Consumer<ListPhoneNumbersSummary.Builder>... listPhoneNumbersSummaryList) Information about phone numbers that have been claimed to your Amazon Connect instances or traffic distribution groups.
This is a convenience method that creates an instance of theListPhoneNumbersSummary.Builderavoiding the need to create one manually viaListPhoneNumbersSummary.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tolistPhoneNumbersSummaryList(List<ListPhoneNumbersSummary>).- Parameters:
listPhoneNumbersSummaryList- a consumer that will call methods onListPhoneNumbersSummary.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-