Interface DescribeAutoScalingInstancesResponse.Builder
-
- All Superinterfaces:
AutoScalingResponse.Builder,AwsResponse.Builder,Buildable,CopyableBuilder<DescribeAutoScalingInstancesResponse.Builder,DescribeAutoScalingInstancesResponse>,SdkBuilder<DescribeAutoScalingInstancesResponse.Builder,DescribeAutoScalingInstancesResponse>,SdkPojo,SdkResponse.Builder
- Enclosing class:
- DescribeAutoScalingInstancesResponse
public static interface DescribeAutoScalingInstancesResponse.Builder extends AutoScalingResponse.Builder, SdkPojo, CopyableBuilder<DescribeAutoScalingInstancesResponse.Builder,DescribeAutoScalingInstancesResponse>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description DescribeAutoScalingInstancesResponse.BuilderautoScalingInstances(Collection<AutoScalingInstanceDetails> autoScalingInstances)The instances.DescribeAutoScalingInstancesResponse.BuilderautoScalingInstances(Consumer<AutoScalingInstanceDetails.Builder>... autoScalingInstances)The instances.DescribeAutoScalingInstancesResponse.BuilderautoScalingInstances(AutoScalingInstanceDetails... autoScalingInstances)The instances.DescribeAutoScalingInstancesResponse.BuildernextToken(String nextToken)A string that indicates that the response contains more items than can be returned in a single response.-
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 Detail
-
autoScalingInstances
DescribeAutoScalingInstancesResponse.Builder autoScalingInstances(Collection<AutoScalingInstanceDetails> autoScalingInstances)
The instances.
- Parameters:
autoScalingInstances- The instances.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
autoScalingInstances
DescribeAutoScalingInstancesResponse.Builder autoScalingInstances(AutoScalingInstanceDetails... autoScalingInstances)
The instances.
- Parameters:
autoScalingInstances- The instances.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
autoScalingInstances
DescribeAutoScalingInstancesResponse.Builder autoScalingInstances(Consumer<AutoScalingInstanceDetails.Builder>... autoScalingInstances)
The instances.
This is a convenience method that creates an instance of theAutoScalingInstanceDetails.Builderavoiding the need to create one manually viaAutoScalingInstanceDetails.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#autoScalingInstances(List.) - Parameters:
autoScalingInstances- a consumer that will call methods onAutoScalingInstanceDetails.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
#autoScalingInstances(java.util.Collection)
-
nextToken
DescribeAutoScalingInstancesResponse.Builder nextToken(String nextToken)
A string that indicates that the response contains more items than can be returned in a single response. To receive additional items, specify this string for the
NextTokenvalue when requesting the next set of items. This value is null when there are no more items to return.- Parameters:
nextToken- A string that indicates that the response contains more items than can be returned in a single response. To receive additional items, specify this string for theNextTokenvalue 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.
-
-