Interface DescribePoolsResponse.Builder

All Superinterfaces:
AwsResponse.Builder, Buildable, CopyableBuilder<DescribePoolsResponse.Builder,DescribePoolsResponse>, PinpointSmsVoiceV2Response.Builder, SdkBuilder<DescribePoolsResponse.Builder,DescribePoolsResponse>, SdkPojo, SdkResponse.Builder
Enclosing class:
DescribePoolsResponse

  • Method Details

    • pools

      An array of PoolInformation objects that contain the details for the requested pools.

      Parameters:
      pools - An array of PoolInformation objects that contain the details for the requested pools.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • pools

      An array of PoolInformation objects that contain the details for the requested pools.

      Parameters:
      pools - An array of PoolInformation objects that contain the details for the requested pools.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • pools

      An array of PoolInformation objects that contain the details for the requested pools.

      This is a convenience method that creates an instance of the PoolInformation.Builder avoiding the need to create one manually via PoolInformation.builder().

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

      Parameters:
      pools - a consumer that will call methods on PoolInformation.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • nextToken

      DescribePoolsResponse.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.