Interface DescribePhoneNumbersRequest.Builder
-
- All Superinterfaces:
AwsRequest.Builder,Buildable,CopyableBuilder<DescribePhoneNumbersRequest.Builder,DescribePhoneNumbersRequest>,PinpointSmsVoiceV2Request.Builder,SdkBuilder<DescribePhoneNumbersRequest.Builder,DescribePhoneNumbersRequest>,SdkPojo,SdkRequest.Builder
- Enclosing class:
- DescribePhoneNumbersRequest
public static interface DescribePhoneNumbersRequest.Builder extends PinpointSmsVoiceV2Request.Builder, SdkPojo, CopyableBuilder<DescribePhoneNumbersRequest.Builder,DescribePhoneNumbersRequest>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description DescribePhoneNumbersRequest.Builderfilters(Collection<PhoneNumberFilter> filters)An array of PhoneNumberFilter objects to filter the results.DescribePhoneNumbersRequest.Builderfilters(Consumer<PhoneNumberFilter.Builder>... filters)An array of PhoneNumberFilter objects to filter the results.DescribePhoneNumbersRequest.Builderfilters(PhoneNumberFilter... filters)An array of PhoneNumberFilter objects to filter the results.DescribePhoneNumbersRequest.BuildermaxResults(Integer maxResults)The maximum number of results to return per each request.DescribePhoneNumbersRequest.BuildernextToken(String nextToken)The token to be used for the next set of paginated results.DescribePhoneNumbersRequest.BuilderoverrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)DescribePhoneNumbersRequest.BuilderoverrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)DescribePhoneNumbersRequest.Builderowner(String owner)UseSELFto filter the list of phone numbers to ones your account owns or useSHAREDto filter on phone numbers shared with your account.DescribePhoneNumbersRequest.Builderowner(Owner owner)UseSELFto filter the list of phone numbers to ones your account owns or useSHAREDto filter on phone numbers shared with your account.DescribePhoneNumbersRequest.BuilderphoneNumberIds(String... phoneNumberIds)The unique identifier of phone numbers to find information about.DescribePhoneNumbersRequest.BuilderphoneNumberIds(Collection<String> phoneNumberIds)The unique identifier of phone numbers to find information about.-
Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfiguration
-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.services.pinpointsmsvoicev2.model.PinpointSmsVoiceV2Request.Builder
build
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
-
-
-
Method Detail
-
phoneNumberIds
DescribePhoneNumbersRequest.Builder phoneNumberIds(Collection<String> phoneNumberIds)
The unique identifier of phone numbers to find information about. This is an array of strings that can be either the PhoneNumberId or PhoneNumberArn.
If you are using a shared AWS End User Messaging SMS and Voice resource then you must use the full Amazon Resource Name(ARN).
- Parameters:
phoneNumberIds- The unique identifier of phone numbers to find information about. This is an array of strings that can be either the PhoneNumberId or PhoneNumberArn.If you are using a shared AWS End User Messaging SMS and Voice resource then you must use the full Amazon Resource Name(ARN).
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
phoneNumberIds
DescribePhoneNumbersRequest.Builder phoneNumberIds(String... phoneNumberIds)
The unique identifier of phone numbers to find information about. This is an array of strings that can be either the PhoneNumberId or PhoneNumberArn.
If you are using a shared AWS End User Messaging SMS and Voice resource then you must use the full Amazon Resource Name(ARN).
- Parameters:
phoneNumberIds- The unique identifier of phone numbers to find information about. This is an array of strings that can be either the PhoneNumberId or PhoneNumberArn.If you are using a shared AWS End User Messaging SMS and Voice resource then you must use the full Amazon Resource Name(ARN).
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
filters
DescribePhoneNumbersRequest.Builder filters(Collection<PhoneNumberFilter> filters)
An array of PhoneNumberFilter objects to filter the results.
- Parameters:
filters- An array of PhoneNumberFilter objects to filter the results.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
filters
DescribePhoneNumbersRequest.Builder filters(PhoneNumberFilter... filters)
An array of PhoneNumberFilter objects to filter the results.
- Parameters:
filters- An array of PhoneNumberFilter objects to filter the results.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
filters
DescribePhoneNumbersRequest.Builder filters(Consumer<PhoneNumberFilter.Builder>... filters)
An array of PhoneNumberFilter objects to filter the results.
This is a convenience method that creates an instance of thePhoneNumberFilter.Builderavoiding the need to create one manually viaPhoneNumberFilter.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#filters(List.) - Parameters:
filters- a consumer that will call methods onPhoneNumberFilter.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
#filters(java.util.Collection)
-
nextToken
DescribePhoneNumbersRequest.Builder nextToken(String nextToken)
The token to be used for the next set of paginated results. You don't need to supply a value for this field in the initial request.
- Parameters:
nextToken- The token to be used for the next set of paginated results. You don't need to supply a value for this field in the initial request.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
maxResults
DescribePhoneNumbersRequest.Builder maxResults(Integer maxResults)
The maximum number of results to return per each request.
- Parameters:
maxResults- The maximum number of results to return per each request.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
owner
DescribePhoneNumbersRequest.Builder owner(String owner)
Use
SELFto filter the list of phone numbers to ones your account owns or useSHAREDto filter on phone numbers shared with your account. TheOwnerandPhoneNumberIdsparameters can't be used at the same time.- Parameters:
owner- UseSELFto filter the list of phone numbers to ones your account owns or useSHAREDto filter on phone numbers shared with your account. TheOwnerandPhoneNumberIdsparameters can't be used at the same time.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
Owner,Owner
-
owner
DescribePhoneNumbersRequest.Builder owner(Owner owner)
Use
SELFto filter the list of phone numbers to ones your account owns or useSHAREDto filter on phone numbers shared with your account. TheOwnerandPhoneNumberIdsparameters can't be used at the same time.- Parameters:
owner- UseSELFto filter the list of phone numbers to ones your account owns or useSHAREDto filter on phone numbers shared with your account. TheOwnerandPhoneNumberIdsparameters can't be used at the same time.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
Owner,Owner
-
overrideConfiguration
DescribePhoneNumbersRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
overrideConfiguration
DescribePhoneNumbersRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
-