Interface DescribeAutoScalingGroupsRequest.Builder
- All Superinterfaces:
AutoScalingRequest.Builder
,AwsRequest.Builder
,Buildable
,CopyableBuilder<DescribeAutoScalingGroupsRequest.Builder,
,DescribeAutoScalingGroupsRequest> SdkBuilder<DescribeAutoScalingGroupsRequest.Builder,
,DescribeAutoScalingGroupsRequest> SdkPojo
,SdkRequest.Builder
- Enclosing class:
DescribeAutoScalingGroupsRequest
-
Method Summary
Modifier and TypeMethodDescriptionautoScalingGroupNames
(String... autoScalingGroupNames) The names of the Auto Scaling groups.autoScalingGroupNames
(Collection<String> autoScalingGroupNames) The names of the Auto Scaling groups.filters
(Collection<Filter> filters) One or more filters to limit the results based on specific tags.filters
(Consumer<Filter.Builder>... filters) One or more filters to limit the results based on specific tags.One or more filters to limit the results based on specific tags.maxRecords
(Integer maxRecords) The maximum number of items to return with this call.The token for the next set of items to return.overrideConfiguration
(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration
(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.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, sdkFields
-
Method Details
-
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
MaxRecords
property.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 theMaxRecords
property.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
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
MaxRecords
property.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 theMaxRecords
property.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
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
The maximum number of items to return with this call. The default value is
50
and the maximum value is100
.- Parameters:
maxRecords
- The maximum number of items to return with this call. The default value is50
and the maximum value is100
.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
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
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
One or more filters to limit the results based on specific tags.
This is a convenience method that creates an instance of theFilter.Builder
avoiding the need to create one manually viaFilter.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tofilters(List<Filter>)
.- 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:
-
overrideConfiguration
DescribeAutoScalingGroupsRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Description copied from interface:AwsRequest.Builder
Add an optional request override configuration.- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
- Parameters:
overrideConfiguration
- The override configuration.- Returns:
- This object for method chaining.
-
overrideConfiguration
DescribeAutoScalingGroupsRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Description copied from interface:AwsRequest.Builder
Add an optional request override configuration.- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
- Parameters:
builderConsumer
- AConsumer
to which an emptyAwsRequestOverrideConfiguration.Builder
will be given.- Returns:
- This object for method chaining.
-