Interface DescribeWarmPoolResponse.Builder
- All Superinterfaces:
AutoScalingResponse.Builder
,AwsResponse.Builder
,Buildable
,CopyableBuilder<DescribeWarmPoolResponse.Builder,
,DescribeWarmPoolResponse> SdkBuilder<DescribeWarmPoolResponse.Builder,
,DescribeWarmPoolResponse> SdkPojo
,SdkResponse.Builder
- Enclosing class:
DescribeWarmPoolResponse
-
Method Summary
Modifier and TypeMethodDescriptioninstances
(Collection<Instance> instances) The instances that are currently in the warm pool.instances
(Consumer<Instance.Builder>... instances) The instances that are currently in the warm pool.The instances that are currently in the warm pool.This string indicates that the response contains more items than can be returned in a single response.default DescribeWarmPoolResponse.Builder
warmPoolConfiguration
(Consumer<WarmPoolConfiguration.Builder> warmPoolConfiguration) The warm pool configuration details.warmPoolConfiguration
(WarmPoolConfiguration warmPoolConfiguration) The warm pool configuration details.Methods inherited from interface software.amazon.awssdk.services.autoscaling.model.AutoScalingResponse.Builder
build, responseMetadata, responseMetadata
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
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
-
warmPoolConfiguration
The warm pool configuration details.
- Parameters:
warmPoolConfiguration
- The warm pool configuration details.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
warmPoolConfiguration
default DescribeWarmPoolResponse.Builder warmPoolConfiguration(Consumer<WarmPoolConfiguration.Builder> warmPoolConfiguration) The warm pool configuration details.
This is a convenience method that creates an instance of theWarmPoolConfiguration.Builder
avoiding the need to create one manually viaWarmPoolConfiguration.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed towarmPoolConfiguration(WarmPoolConfiguration)
.- Parameters:
warmPoolConfiguration
- a consumer that will call methods onWarmPoolConfiguration.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
instances
The instances that are currently in the warm pool.
- Parameters:
instances
- The instances that are currently in the warm pool.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
instances
The instances that are currently in the warm pool.
- Parameters:
instances
- The instances that are currently in the warm pool.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
instances
The instances that are currently in the warm pool.
This is a convenience method that creates an instance of theInstance.Builder
avoiding the need to create one manually viaInstance.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toinstances(List<Instance>)
.- Parameters:
instances
- a consumer that will call methods onInstance.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
nextToken
This string indicates that the response contains more items than can be returned in a single response. To receive additional items, specify this string for the
NextToken
value when requesting the next set of items. This value is null when there are no more items to return.- Parameters:
nextToken
- This string indicates that the response contains more items than can be returned in a single response. To receive additional items, specify this string for theNextToken
value when requesting the next set of items. This value is null when there are no more items to return.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-