Interface DescribeAutoScalingGroupsResponse.Builder
- All Superinterfaces:
AutoScalingResponse.Builder,AwsResponse.Builder,Buildable,CopyableBuilder<DescribeAutoScalingGroupsResponse.Builder,,DescribeAutoScalingGroupsResponse> SdkBuilder<DescribeAutoScalingGroupsResponse.Builder,,DescribeAutoScalingGroupsResponse> SdkPojo,SdkResponse.Builder
- Enclosing class:
DescribeAutoScalingGroupsResponse
@Mutable
@NotThreadSafe
public static interface DescribeAutoScalingGroupsResponse.Builder
extends AutoScalingResponse.Builder, SdkPojo, CopyableBuilder<DescribeAutoScalingGroupsResponse.Builder,DescribeAutoScalingGroupsResponse>
-
Method Summary
Modifier and TypeMethodDescriptionautoScalingGroups(Collection<AutoScalingGroup> autoScalingGroups) The groups.autoScalingGroups(Consumer<AutoScalingGroup.Builder>... autoScalingGroups) The groups.autoScalingGroups(AutoScalingGroup... autoScalingGroups) The groups.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, responseMetadataMethods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods 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
-
autoScalingGroups
DescribeAutoScalingGroupsResponse.Builder autoScalingGroups(Collection<AutoScalingGroup> autoScalingGroups) The groups.
- Parameters:
autoScalingGroups- The groups.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
autoScalingGroups
The groups.
- Parameters:
autoScalingGroups- The groups.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
autoScalingGroups
DescribeAutoScalingGroupsResponse.Builder autoScalingGroups(Consumer<AutoScalingGroup.Builder>... autoScalingGroups) The groups.
This is a convenience method that creates an instance of theAutoScalingGroup.Builderavoiding the need to create one manually viaAutoScalingGroup.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toautoScalingGroups(List<AutoScalingGroup>).- Parameters:
autoScalingGroups- a consumer that will call methods onAutoScalingGroup.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
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.
-