Interface DescribePoolsResponse.Builder
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<DescribePoolsResponse.Builder,,DescribePoolsResponse> PinpointSmsVoiceV2Response.Builder,SdkBuilder<DescribePoolsResponse.Builder,,DescribePoolsResponse> SdkPojo,SdkResponse.Builder
- Enclosing class:
DescribePoolsResponse
@Mutable
@NotThreadSafe
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
copyMethods inherited from interface software.amazon.awssdk.services.pinpointsmsvoicev2.model.PinpointSmsVoiceV2Response.Builder
build, responseMetadata, responseMetadataMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFieldsMethods 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.Builderavoiding the need to create one manually viaPoolInformation.builder().When the
Consumercompletes,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.
-