Interface DescribePoolsResponse.Builder
-
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<DescribePoolsResponse.Builder,DescribePoolsResponse>,PinpointSmsVoiceV2Response.Builder,SdkBuilder<DescribePoolsResponse.Builder,DescribePoolsResponse>,SdkPojo,SdkResponse.Builder
- Enclosing class:
- DescribePoolsResponse
public static interface DescribePoolsResponse.Builder extends PinpointSmsVoiceV2Response.Builder, SdkPojo, CopyableBuilder<DescribePoolsResponse.Builder,DescribePoolsResponse>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description DescribePoolsResponse.BuildernextToken(String nextToken)The token to be used for the next set of paginated results.DescribePoolsResponse.Builderpools(Collection<PoolInformation> pools)An array of PoolInformation objects that contain the details for the requested pools.DescribePoolsResponse.Builderpools(Consumer<PoolInformation.Builder>... pools)An array of PoolInformation objects that contain the details for the requested pools.DescribePoolsResponse.Builderpools(PoolInformation... pools)An array of PoolInformation objects that contain the details for the requested pools.-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.services.pinpointsmsvoicev2.model.PinpointSmsVoiceV2Response.Builder
build, responseMetadata, responseMetadata
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Methods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
-
-
-
Method Detail
-
pools
DescribePoolsResponse.Builder pools(Collection<PoolInformation> 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
DescribePoolsResponse.Builder pools(PoolInformation... 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
DescribePoolsResponse.Builder pools(Consumer<PoolInformation.Builder>... pools)
An array of PoolInformation objects that contain the details for the requested pools.
This is a convenience method that creates an instance of thePoolInformation.Builderavoiding the need to create one manually viaPoolInformation.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#pools(List.) - Parameters:
pools- a consumer that will call methods onPoolInformation.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
#pools(java.util.Collection)
-
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.
-
-