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 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 the MaxRecords 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

      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 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 the MaxRecords 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 is 100.

      Parameters:
      maxRecords - The maximum number of items to return with this call. The default value is 50 and the maximum value is 100.
      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 the Filter.Builder avoiding the need to create one manually via Filter.builder().

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to filters(List<Filter>).

      Parameters:
      filters - a consumer that will call methods on Filter.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 interface AwsRequest.Builder
      Parameters:
      overrideConfiguration - The override configuration.
      Returns:
      This object for method chaining.
    • overrideConfiguration

      Description copied from interface: AwsRequest.Builder
      Add an optional request override configuration.
      Specified by:
      overrideConfiguration in interface AwsRequest.Builder
      Parameters:
      builderConsumer - A Consumer to which an empty AwsRequestOverrideConfiguration.Builder will be given.
      Returns:
      This object for method chaining.