Interface DescribePoolsRequest.Builder
- All Superinterfaces:
AwsRequest.Builder
,Buildable
,CopyableBuilder<DescribePoolsRequest.Builder,
,DescribePoolsRequest> PinpointSmsVoiceV2Request.Builder
,SdkBuilder<DescribePoolsRequest.Builder,
,DescribePoolsRequest> SdkPojo
,SdkRequest.Builder
- Enclosing class:
DescribePoolsRequest
-
Method Summary
Modifier and TypeMethodDescriptionfilters
(Collection<PoolFilter> filters) An array of PoolFilter objects to filter the results.filters
(Consumer<PoolFilter.Builder>... filters) An array of PoolFilter objects to filter the results.filters
(PoolFilter... filters) An array of PoolFilter objects to filter the results.maxResults
(Integer maxResults) The maximum number of results to return per each request.The token to be used for the next set of paginated results.overrideConfiguration
(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration
(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.UseSELF
to filter the list of Pools to ones your account owns or useSHARED
to filter on Pools shared with your account.UseSELF
to filter the list of Pools to ones your account owns or useSHARED
to filter on Pools shared with your account.The unique identifier of pools to find.poolIds
(Collection<String> poolIds) The unique identifier of pools to find.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 Details
-
poolIds
The unique identifier of pools to find. This is an array of strings that can be either the PoolId or PoolArn.
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:
poolIds
- The unique identifier of pools to find. This is an array of strings that can be either the PoolId or PoolArn.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.
-
poolIds
The unique identifier of pools to find. This is an array of strings that can be either the PoolId or PoolArn.
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:
poolIds
- The unique identifier of pools to find. This is an array of strings that can be either the PoolId or PoolArn.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
An array of PoolFilter objects to filter the results.
- Parameters:
filters
- An array of PoolFilter objects to filter the results.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
filters
An array of PoolFilter objects to filter the results.
- Parameters:
filters
- An array of PoolFilter objects to filter the results.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
filters
An array of PoolFilter objects to filter the results.
This is a convenience method that creates an instance of thePoolFilter.Builder
avoiding the need to create one manually viaPoolFilter.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tofilters(List<PoolFilter>)
.- Parameters:
filters
- a consumer that will call methods onPoolFilter.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
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
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
Use
SELF
to filter the list of Pools to ones your account owns or useSHARED
to filter on Pools shared with your account. TheOwner
andPoolIds
parameters can't be used at the same time.- Parameters:
owner
- UseSELF
to filter the list of Pools to ones your account owns or useSHARED
to filter on Pools shared with your account. TheOwner
andPoolIds
parameters 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
Use
SELF
to filter the list of Pools to ones your account owns or useSHARED
to filter on Pools shared with your account. TheOwner
andPoolIds
parameters can't be used at the same time.- Parameters:
owner
- UseSELF
to filter the list of Pools to ones your account owns or useSHARED
to filter on Pools shared with your account. TheOwner
andPoolIds
parameters 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:
-
overrideConfiguration
DescribePoolsRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Description copied from interface:AwsRequest.Builder
Add an optional request override configuration.- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
- Parameters:
overrideConfiguration
- The override configuration.- Returns:
- This object for method chaining.
-
overrideConfiguration
DescribePoolsRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Description copied from interface:AwsRequest.Builder
Add an optional request override configuration.- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
- Parameters:
builderConsumer
- AConsumer
to which an emptyAwsRequestOverrideConfiguration.Builder
will be given.- Returns:
- This object for method chaining.
-