Interface ScalingPlan.Builder

    • Method Detail

      • scalingPlanName

        ScalingPlan.Builder scalingPlanName​(String scalingPlanName)

        The name of the scaling plan.

        Parameters:
        scalingPlanName - The name of the scaling plan.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • scalingPlanVersion

        ScalingPlan.Builder scalingPlanVersion​(Long scalingPlanVersion)

        The version number of the scaling plan.

        Parameters:
        scalingPlanVersion - The version number of the scaling plan.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • applicationSource

        ScalingPlan.Builder applicationSource​(ApplicationSource applicationSource)

        A CloudFormation stack or a set of tags. You can create one scaling plan per application source.

        Parameters:
        applicationSource - A CloudFormation stack or a set of tags. You can create one scaling plan per application source.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • scalingInstructions

        ScalingPlan.Builder scalingInstructions​(Collection<ScalingInstruction> scalingInstructions)

        The scaling instructions.

        Parameters:
        scalingInstructions - The scaling instructions.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • scalingInstructions

        ScalingPlan.Builder scalingInstructions​(ScalingInstruction... scalingInstructions)

        The scaling instructions.

        Parameters:
        scalingInstructions - The scaling instructions.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • statusCode

        ScalingPlan.Builder statusCode​(String statusCode)

        The status of the scaling plan.

        • Active - The scaling plan is active.

        • ActiveWithProblems - The scaling plan is active, but the scaling configuration for one or more resources could not be applied.

        • CreationInProgress - The scaling plan is being created.

        • CreationFailed - The scaling plan could not be created.

        • DeletionInProgress - The scaling plan is being deleted.

        • DeletionFailed - The scaling plan could not be deleted.

        • UpdateInProgress - The scaling plan is being updated.

        • UpdateFailed - The scaling plan could not be updated.

        Parameters:
        statusCode - The status of the scaling plan.

        • Active - The scaling plan is active.

        • ActiveWithProblems - The scaling plan is active, but the scaling configuration for one or more resources could not be applied.

        • CreationInProgress - The scaling plan is being created.

        • CreationFailed - The scaling plan could not be created.

        • DeletionInProgress - The scaling plan is being deleted.

        • DeletionFailed - The scaling plan could not be deleted.

        • UpdateInProgress - The scaling plan is being updated.

        • UpdateFailed - The scaling plan could not be updated.

        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        ScalingPlanStatusCode, ScalingPlanStatusCode
      • statusCode

        ScalingPlan.Builder statusCode​(ScalingPlanStatusCode statusCode)

        The status of the scaling plan.

        • Active - The scaling plan is active.

        • ActiveWithProblems - The scaling plan is active, but the scaling configuration for one or more resources could not be applied.

        • CreationInProgress - The scaling plan is being created.

        • CreationFailed - The scaling plan could not be created.

        • DeletionInProgress - The scaling plan is being deleted.

        • DeletionFailed - The scaling plan could not be deleted.

        • UpdateInProgress - The scaling plan is being updated.

        • UpdateFailed - The scaling plan could not be updated.

        Parameters:
        statusCode - The status of the scaling plan.

        • Active - The scaling plan is active.

        • ActiveWithProblems - The scaling plan is active, but the scaling configuration for one or more resources could not be applied.

        • CreationInProgress - The scaling plan is being created.

        • CreationFailed - The scaling plan could not be created.

        • DeletionInProgress - The scaling plan is being deleted.

        • DeletionFailed - The scaling plan could not be deleted.

        • UpdateInProgress - The scaling plan is being updated.

        • UpdateFailed - The scaling plan could not be updated.

        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        ScalingPlanStatusCode, ScalingPlanStatusCode
      • statusMessage

        ScalingPlan.Builder statusMessage​(String statusMessage)

        A simple message about the current status of the scaling plan.

        Parameters:
        statusMessage - A simple message about the current status of the scaling plan.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • statusStartTime

        ScalingPlan.Builder statusStartTime​(Instant statusStartTime)

        The Unix time stamp when the scaling plan entered the current status.

        Parameters:
        statusStartTime - The Unix time stamp when the scaling plan entered the current status.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • creationTime

        ScalingPlan.Builder creationTime​(Instant creationTime)

        The Unix time stamp when the scaling plan was created.

        Parameters:
        creationTime - The Unix time stamp when the scaling plan was created.
        Returns:
        Returns a reference to this object so that method calls can be chained together.