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
Modifier and TypeMethodDescriptionThe token to be used for the next set of paginated results.pools
(Collection<PoolInformation> pools) An array of PoolInformation objects that contain the details for the requested pools.pools
(Consumer<PoolInformation.Builder>... pools) An array of PoolInformation objects that contain the details for the requested pools.pools
(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 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 thePoolInformation.Builder
avoiding the need to create one manually viaPoolInformation.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed topools(List<PoolInformation>)
.- 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:
-
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.
-