Interface DescribePoliciesRequest.Builder

All Superinterfaces:
AutoScalingRequest.Builder, AwsRequest.Builder, Buildable, CopyableBuilder<DescribePoliciesRequest.Builder,DescribePoliciesRequest>, SdkBuilder<DescribePoliciesRequest.Builder,DescribePoliciesRequest>, SdkPojo, SdkRequest.Builder
Enclosing class:
DescribePoliciesRequest

public static interface DescribePoliciesRequest.Builder extends AutoScalingRequest.Builder, SdkPojo, CopyableBuilder<DescribePoliciesRequest.Builder,DescribePoliciesRequest>
  • Method Details

    • autoScalingGroupName

      DescribePoliciesRequest.Builder autoScalingGroupName(String autoScalingGroupName)

      The name of the Auto Scaling group.

      Parameters:
      autoScalingGroupName - The name of the Auto Scaling group.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • policyNames

      The names of one or more policies. If you omit this property, all policies are described. If a group name is provided, the results are limited to that group. If you specify an unknown policy name, it is ignored with no error.

      Array Members: Maximum number of 50 items.

      Parameters:
      policyNames - The names of one or more policies. If you omit this property, all policies are described. If a group name is provided, the results are limited to that group. If you specify an unknown policy name, it is ignored with no error.

      Array Members: Maximum number of 50 items.

      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • policyNames

      DescribePoliciesRequest.Builder policyNames(String... policyNames)

      The names of one or more policies. If you omit this property, all policies are described. If a group name is provided, the results are limited to that group. If you specify an unknown policy name, it is ignored with no error.

      Array Members: Maximum number of 50 items.

      Parameters:
      policyNames - The names of one or more policies. If you omit this property, all policies are described. If a group name is provided, the results are limited to that group. If you specify an unknown policy name, it is ignored with no error.

      Array Members: Maximum number of 50 items.

      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • policyTypes

      One or more policy types. The valid values are SimpleScaling, StepScaling, TargetTrackingScaling, and PredictiveScaling.

      Parameters:
      policyTypes - One or more policy types. The valid values are SimpleScaling, StepScaling, TargetTrackingScaling, and PredictiveScaling.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • policyTypes

      DescribePoliciesRequest.Builder policyTypes(String... policyTypes)

      One or more policy types. The valid values are SimpleScaling, StepScaling, TargetTrackingScaling, and PredictiveScaling.

      Parameters:
      policyTypes - One or more policy types. The valid values are SimpleScaling, StepScaling, TargetTrackingScaling, and PredictiveScaling.
      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

      DescribePoliciesRequest.Builder maxRecords(Integer maxRecords)

      The maximum number of items to be returned with each call. The default value is 50 and the maximum value is 100.

      Parameters:
      maxRecords - The maximum number of items to be returned with each 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.
    • overrideConfiguration

      DescribePoliciesRequest.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.