Interface DescribePhoneNumbersResponse.Builder
-
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<DescribePhoneNumbersResponse.Builder,DescribePhoneNumbersResponse>,PinpointSmsVoiceV2Response.Builder,SdkBuilder<DescribePhoneNumbersResponse.Builder,DescribePhoneNumbersResponse>,SdkPojo,SdkResponse.Builder
- Enclosing class:
- DescribePhoneNumbersResponse
public static interface DescribePhoneNumbersResponse.Builder extends PinpointSmsVoiceV2Response.Builder, SdkPojo, CopyableBuilder<DescribePhoneNumbersResponse.Builder,DescribePhoneNumbersResponse>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description DescribePhoneNumbersResponse.BuildernextToken(String nextToken)The token to be used for the next set of paginated results.DescribePhoneNumbersResponse.BuilderphoneNumbers(Collection<PhoneNumberInformation> phoneNumbers)An array of PhoneNumberInformation objects that contain the details for the requested phone numbers.DescribePhoneNumbersResponse.BuilderphoneNumbers(Consumer<PhoneNumberInformation.Builder>... phoneNumbers)An array of PhoneNumberInformation objects that contain the details for the requested phone numbers.DescribePhoneNumbersResponse.BuilderphoneNumbers(PhoneNumberInformation... phoneNumbers)An array of PhoneNumberInformation objects that contain the details for the requested phone numbers.-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.services.pinpointsmsvoicev2.model.PinpointSmsVoiceV2Response.Builder
build, responseMetadata, responseMetadata
-
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
-
phoneNumbers
DescribePhoneNumbersResponse.Builder phoneNumbers(Collection<PhoneNumberInformation> phoneNumbers)
An array of PhoneNumberInformation objects that contain the details for the requested phone numbers.
- Parameters:
phoneNumbers- An array of PhoneNumberInformation objects that contain the details for the requested phone numbers.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
phoneNumbers
DescribePhoneNumbersResponse.Builder phoneNumbers(PhoneNumberInformation... phoneNumbers)
An array of PhoneNumberInformation objects that contain the details for the requested phone numbers.
- Parameters:
phoneNumbers- An array of PhoneNumberInformation objects that contain the details for the requested phone numbers.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
phoneNumbers
DescribePhoneNumbersResponse.Builder phoneNumbers(Consumer<PhoneNumberInformation.Builder>... phoneNumbers)
An array of PhoneNumberInformation objects that contain the details for the requested phone numbers.
This is a convenience method that creates an instance of thePhoneNumberInformation.Builderavoiding the need to create one manually viaPhoneNumberInformation.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#phoneNumbers(List.) - Parameters:
phoneNumbers- a consumer that will call methods onPhoneNumberInformation.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
#phoneNumbers(java.util.Collection)
-
nextToken
DescribePhoneNumbersResponse.Builder nextToken(String nextToken)
The token to be used for the next set of paginated results. If this field is empty then there are no more results.
- Parameters:
nextToken- The token to be used for the next set of paginated results. If this field is empty then there are no more results.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-