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 Details

    • 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

      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 the PoolFilter.Builder avoiding the need to create one manually via PoolFilter.builder() .

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to filters(List<PoolFilter>).

      Parameters:
      filters - a consumer that will call methods on PoolFilter.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • 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)
      Description copied from interface: AwsRequest.Builder
      Add an optional request override configuration.
      Specified by:
      overrideConfiguration in interface AwsRequest.Builder
      Parameters:
      overrideConfiguration - The override configuration.
      Returns:
      This object for method chaining.
    • overrideConfiguration

      Description copied from interface: AwsRequest.Builder
      Add an optional request override configuration.
      Specified by:
      overrideConfiguration in interface AwsRequest.Builder
      Parameters:
      builderConsumer - A Consumer to which an empty AwsRequestOverrideConfiguration.Builder will be given.
      Returns:
      This object for method chaining.