Interface DescribePoolsRequest.Builder
-
- All Superinterfaces:
AwsRequest.Builder,Buildable,CopyableBuilder<DescribePoolsRequest.Builder,DescribePoolsRequest>,PinpointSmsVoiceV2Request.Builder,SdkBuilder<DescribePoolsRequest.Builder,DescribePoolsRequest>,SdkPojo,SdkRequest.Builder
- Enclosing class:
- DescribePoolsRequest
public static interface DescribePoolsRequest.Builder extends PinpointSmsVoiceV2Request.Builder, SdkPojo, CopyableBuilder<DescribePoolsRequest.Builder,DescribePoolsRequest>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description DescribePoolsRequest.Builderfilters(Collection<PoolFilter> filters)An array of PoolFilter objects to filter the results.DescribePoolsRequest.Builderfilters(Consumer<PoolFilter.Builder>... filters)An array of PoolFilter objects to filter the results.DescribePoolsRequest.Builderfilters(PoolFilter... filters)An array of PoolFilter objects to filter the results.DescribePoolsRequest.BuildermaxResults(Integer maxResults)The maximum number of results to return per each request.DescribePoolsRequest.BuildernextToken(String nextToken)The token to be used for the next set of paginated results.DescribePoolsRequest.BuilderoverrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)DescribePoolsRequest.BuilderoverrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)DescribePoolsRequest.BuilderpoolIds(String... poolIds)The unique identifier of pools to find.DescribePoolsRequest.BuilderpoolIds(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, sdkFields
-
-
-
-
Method Detail
-
poolIds
DescribePoolsRequest.Builder poolIds(Collection<String> poolIds)
The unique identifier of pools to find. This is an array of strings that can be either the PoolId or PoolArn.
- Parameters:
poolIds- The unique identifier of pools to find. This is an array of strings that can be either the PoolId or PoolArn.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
poolIds
DescribePoolsRequest.Builder poolIds(String... poolIds)
The unique identifier of pools to find. This is an array of strings that can be either the PoolId or PoolArn.
- Parameters:
poolIds- The unique identifier of pools to find. This is an array of strings that can be either the PoolId or PoolArn.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
filters
DescribePoolsRequest.Builder filters(Collection<PoolFilter> 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
DescribePoolsRequest.Builder filters(PoolFilter... 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
DescribePoolsRequest.Builder filters(Consumer<PoolFilter.Builder>... filters)
An array of PoolFilter objects to filter the results.
This is a convenience method that creates an instance of thePoolFilter.Builderavoiding the need to create one manually viaPoolFilter.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 onPoolFilter.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
#filters(java.util.Collection)
-
nextToken
DescribePoolsRequest.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
DescribePoolsRequest.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.
-
overrideConfiguration
DescribePoolsRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
overrideConfiguration
DescribePoolsRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
-