Interface ListPhoneNumbersResponse.Builder
- All Superinterfaces:
AwsResponse.Builder,Buildable,ConnectResponse.Builder,CopyableBuilder<ListPhoneNumbersResponse.Builder,,ListPhoneNumbersResponse> SdkBuilder<ListPhoneNumbersResponse.Builder,,ListPhoneNumbersResponse> SdkPojo,SdkResponse.Builder
- Enclosing class:
ListPhoneNumbersResponse
public static interface ListPhoneNumbersResponse.Builder
extends ConnectResponse.Builder, SdkPojo, CopyableBuilder<ListPhoneNumbersResponse.Builder,ListPhoneNumbersResponse>
-
Method Summary
Modifier and TypeMethodDescriptionIf there are additional results, this is the token for the next set of results.phoneNumberSummaryList(Collection<PhoneNumberSummary> phoneNumberSummaryList) Information about the phone numbers.phoneNumberSummaryList(Consumer<PhoneNumberSummary.Builder>... phoneNumberSummaryList) Information about the phone numbers.phoneNumberSummaryList(PhoneNumberSummary... phoneNumberSummaryList) Information about the phone numbers.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, sdkFieldsMethods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
Method Details
-
phoneNumberSummaryList
ListPhoneNumbersResponse.Builder phoneNumberSummaryList(Collection<PhoneNumberSummary> phoneNumberSummaryList) Information about the phone numbers.
- Parameters:
phoneNumberSummaryList- Information about the phone numbers.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
phoneNumberSummaryList
ListPhoneNumbersResponse.Builder phoneNumberSummaryList(PhoneNumberSummary... phoneNumberSummaryList) Information about the phone numbers.
- Parameters:
phoneNumberSummaryList- Information about the phone numbers.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
phoneNumberSummaryList
ListPhoneNumbersResponse.Builder phoneNumberSummaryList(Consumer<PhoneNumberSummary.Builder>... phoneNumberSummaryList) Information about the phone numbers.
This is a convenience method that creates an instance of thePhoneNumberSummary.Builderavoiding the need to create one manually viaPhoneNumberSummary.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tophoneNumberSummaryList(List<PhoneNumberSummary>).- Parameters:
phoneNumberSummaryList- a consumer that will call methods onPhoneNumberSummary.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
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.
-