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
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ListPhoneNumbersV2Response.BuilderlistPhoneNumbersSummaryList(Collection<ListPhoneNumbersSummary> listPhoneNumbersSummaryList)Information about phone numbers that have been claimed to your Amazon Connect instances or traffic distribution groups.ListPhoneNumbersV2Response.BuilderlistPhoneNumbersSummaryList(Consumer<ListPhoneNumbersSummary.Builder>... listPhoneNumbersSummaryList)Information about phone numbers that have been claimed to your Amazon Connect instances or traffic distribution groups.ListPhoneNumbersV2Response.BuilderlistPhoneNumbersSummaryList(ListPhoneNumbersSummary... listPhoneNumbersSummaryList)Information about phone numbers that have been claimed to your Amazon Connect instances or traffic distribution groups.ListPhoneNumbersV2Response.BuildernextToken(String nextToken)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, responseMetadata
-
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
-
-
-
-
Method Detail
-
nextToken
ListPhoneNumbersV2Response.Builder nextToken(String 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 to#listPhoneNumbersSummaryList(List.) - 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:
#listPhoneNumbersSummaryList(java.util.Collection)
-
-