Interface DescribeAutoScalingGroupsRequest.Builder
-
- All Superinterfaces:
AutoScalingRequest.Builder,AwsRequest.Builder,Buildable,CopyableBuilder<DescribeAutoScalingGroupsRequest.Builder,DescribeAutoScalingGroupsRequest>,SdkBuilder<DescribeAutoScalingGroupsRequest.Builder,DescribeAutoScalingGroupsRequest>,SdkPojo,SdkRequest.Builder
- Enclosing class:
- DescribeAutoScalingGroupsRequest
public static interface DescribeAutoScalingGroupsRequest.Builder extends AutoScalingRequest.Builder, SdkPojo, CopyableBuilder<DescribeAutoScalingGroupsRequest.Builder,DescribeAutoScalingGroupsRequest>
-
-
Method Summary
-
Methods inherited from interface software.amazon.awssdk.services.autoscaling.model.AutoScalingRequest.Builder
build
-
Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfiguration
-
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, sdkFieldNameToField, sdkFields
-
-
-
-
Method Detail
-
autoScalingGroupNames
DescribeAutoScalingGroupsRequest.Builder autoScalingGroupNames(Collection<String> autoScalingGroupNames)
The names of the Auto Scaling groups. By default, you can only specify up to 50 names. You can optionally increase this limit using the
MaxRecordsproperty.If you omit this property, all Auto Scaling groups are described.
- Parameters:
autoScalingGroupNames- The names of the Auto Scaling groups. By default, you can only specify up to 50 names. You can optionally increase this limit using theMaxRecordsproperty.If you omit this property, all Auto Scaling groups are described.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
autoScalingGroupNames
DescribeAutoScalingGroupsRequest.Builder autoScalingGroupNames(String... autoScalingGroupNames)
The names of the Auto Scaling groups. By default, you can only specify up to 50 names. You can optionally increase this limit using the
MaxRecordsproperty.If you omit this property, all Auto Scaling groups are described.
- Parameters:
autoScalingGroupNames- The names of the Auto Scaling groups. By default, you can only specify up to 50 names. You can optionally increase this limit using theMaxRecordsproperty.If you omit this property, all Auto Scaling groups are described.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
nextToken
DescribeAutoScalingGroupsRequest.Builder nextToken(String nextToken)
The token for the next set of items to return. (You received this token from a previous call.)
- Parameters:
nextToken- The token for the next set of items to return. (You received this token from a previous call.)- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
maxRecords
DescribeAutoScalingGroupsRequest.Builder maxRecords(Integer maxRecords)
The maximum number of items to return with this call. The default value is
50and the maximum value is100.- Parameters:
maxRecords- The maximum number of items to return with this call. The default value is50and the maximum value is100.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
filters
DescribeAutoScalingGroupsRequest.Builder filters(Collection<Filter> filters)
One or more filters to limit the results based on specific tags.
- Parameters:
filters- One or more filters to limit the results based on specific tags.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
filters
DescribeAutoScalingGroupsRequest.Builder filters(Filter... filters)
One or more filters to limit the results based on specific tags.
- Parameters:
filters- One or more filters to limit the results based on specific tags.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
filters
DescribeAutoScalingGroupsRequest.Builder filters(Consumer<Filter.Builder>... filters)
One or more filters to limit the results based on specific tags.
This is a convenience method that creates an instance of theFilter.Builderavoiding the need to create one manually viaFilter.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#filters(List.) - Parameters:
filters- a consumer that will call methods onFilter.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
#filters(java.util.Collection)
-
overrideConfiguration
DescribeAutoScalingGroupsRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
overrideConfiguration
DescribeAutoScalingGroupsRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
-