Interface ScalingRule.Builder

    • Method Detail

      • name

        ScalingRule.Builder name​(String name)

        The name used to identify an automatic scaling rule. Rule names must be unique within a scaling policy.

        Parameters:
        name - The name used to identify an automatic scaling rule. Rule names must be unique within a scaling policy.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • description

        ScalingRule.Builder description​(String description)

        A friendly, more verbose description of the automatic scaling rule.

        Parameters:
        description - A friendly, more verbose description of the automatic scaling rule.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • action

        ScalingRule.Builder action​(ScalingAction action)

        The conditions that trigger an automatic scaling activity.

        Parameters:
        action - The conditions that trigger an automatic scaling activity.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • trigger

        ScalingRule.Builder trigger​(ScalingTrigger trigger)

        The CloudWatch alarm definition that determines when automatic scaling activity is triggered.

        Parameters:
        trigger - The CloudWatch alarm definition that determines when automatic scaling activity is triggered.
        Returns:
        Returns a reference to this object so that method calls can be chained together.