Interface DescribeScalingPlansRequest.Builder

    • Method Detail

      • 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.
      • maxResults

        DescribeScalingPlansRequest.Builder maxResults​(Integer 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

        DescribeScalingPlansRequest.Builder nextToken​(String 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.