Interface DescribeScalingPlansRequest.Builder

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

  • Method Details

    • scalingPlanNames

      DescribeScalingPlansRequest.Builder scalingPlanNames(Collection<String> scalingPlanNames)

      The names of the scaling plans (up to 10). If you specify application sources, you cannot specify scaling plan names.

      Parameters:
      scalingPlanNames - The names of the scaling plans (up to 10). If you specify application sources, you cannot specify scaling plan names.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • scalingPlanNames

      DescribeScalingPlansRequest.Builder scalingPlanNames(String... scalingPlanNames)

      The names of the scaling plans (up to 10). If you specify application sources, you cannot specify scaling plan names.

      Parameters:
      scalingPlanNames - The names of the scaling plans (up to 10). If you specify application sources, you cannot specify scaling plan names.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • scalingPlanVersion

      DescribeScalingPlansRequest.Builder scalingPlanVersion(Long scalingPlanVersion)

      The version number of the scaling plan. Currently, the only valid value is 1.

      If you specify a scaling plan version, you must also specify a scaling plan name.

      Parameters:
      scalingPlanVersion - The version number of the scaling plan. Currently, the only valid value is 1.

      If you specify a scaling plan version, you must also specify a scaling plan name.

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

      DescribeScalingPlansRequest.Builder applicationSources(Collection<ApplicationSource> applicationSources)

      The sources for the applications (up to 10). If you specify scaling plan names, you cannot specify application sources.

      Parameters:
      applicationSources - The sources for the applications (up to 10). If you specify scaling plan names, you cannot specify application sources.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • applicationSources

      DescribeScalingPlansRequest.Builder applicationSources(ApplicationSource... applicationSources)

      The sources for the applications (up to 10). If you specify scaling plan names, you cannot specify application sources.

      Parameters:
      applicationSources - The sources for the applications (up to 10). If you specify scaling plan names, you cannot specify application sources.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • applicationSources

      DescribeScalingPlansRequest.Builder applicationSources(Consumer<ApplicationSource.Builder>... applicationSources)

      The sources for the applications (up to 10). If you specify scaling plan names, you cannot specify application sources.

      This is a convenience method that creates an instance of the ApplicationSource.Builder avoiding the need to create one manually via ApplicationSource.builder().

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

      Parameters:
      applicationSources - a consumer that will call methods on ApplicationSource.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • maxResults

      The maximum number of scalable resources to return. This value can be between 1 and 50. The default value is 50.

      Parameters:
      maxResults - The maximum number of scalable resources to return. This value can be between 1 and 50. The default value is 50.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • nextToken

      The token for the next set of results.

      Parameters:
      nextToken - The token for the next set of results.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • overrideConfiguration

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