Class SetLoadBasedAutoScalingRequest

    • Method Detail

      • layerId

        public final String layerId()

        The layer ID.

        Returns:
        The layer ID.
      • enable

        public final Boolean enable()

        Enables load-based auto scaling for the layer.

        Returns:
        Enables load-based auto scaling for the layer.
      • upScaling

        public final AutoScalingThresholds upScaling()

        An AutoScalingThresholds object with the upscaling threshold configuration. If the load exceeds these thresholds for a specified amount of time, AWS OpsWorks Stacks starts a specified number of instances.

        Returns:
        An AutoScalingThresholds object with the upscaling threshold configuration. If the load exceeds these thresholds for a specified amount of time, AWS OpsWorks Stacks starts a specified number of instances.
      • downScaling

        public final AutoScalingThresholds downScaling()

        An AutoScalingThresholds object with the downscaling threshold configuration. If the load falls below these thresholds for a specified amount of time, AWS OpsWorks Stacks stops a specified number of instances.

        Returns:
        An AutoScalingThresholds object with the downscaling threshold configuration. If the load falls below these thresholds for a specified amount of time, AWS OpsWorks Stacks stops a specified number of instances.
      • toString

        public final String toString()
        Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value.
        Overrides:
        toString in class Object