Interface ManagedApplicationAutoScalingPolicy.Builder

    • Method Detail

      • arn

        ManagedApplicationAutoScalingPolicy.Builder arn​(String arn)

        The Amazon Resource Name (ARN) of the Application Auto Scaling policy associated with the Express service.

        Parameters:
        arn - The Amazon Resource Name (ARN) of the Application Auto Scaling policy associated with the Express service.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • statusReason

        ManagedApplicationAutoScalingPolicy.Builder statusReason​(String statusReason)

        Information about why the Application Auto Scaling policy is in the current status.

        Parameters:
        statusReason - Information about why the Application Auto Scaling policy is in the current status.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • updatedAt

        ManagedApplicationAutoScalingPolicy.Builder updatedAt​(Instant updatedAt)

        The Unix timestamp for when the Application Auto Scaling policy was last updated.

        Parameters:
        updatedAt - The Unix timestamp for when the Application Auto Scaling policy was last updated.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • policyType

        ManagedApplicationAutoScalingPolicy.Builder policyType​(String policyType)

        The type of Application Auto Scaling policy associated with the Express service. Valid values are TargetTrackingScaling, StepScaling, and PredictiveScaling.

        Parameters:
        policyType - The type of Application Auto Scaling policy associated with the Express service. Valid values are TargetTrackingScaling, StepScaling, and PredictiveScaling.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • targetValue

        ManagedApplicationAutoScalingPolicy.Builder targetValue​(Double targetValue)

        The target value for the auto scaling metric.

        Parameters:
        targetValue - The target value for the auto scaling metric.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • metric

        ManagedApplicationAutoScalingPolicy.Builder metric​(String metric)

        The metric used for auto scaling decisions. The available metrics are ECSServiceAverageCPUUtilization, ECSServiceAverageMemoryUtilization, and ALBRequestCOuntPerTarget.

        Parameters:
        metric - The metric used for auto scaling decisions. The available metrics are ECSServiceAverageCPUUtilization, ECSServiceAverageMemoryUtilization, and ALBRequestCOuntPerTarget.
        Returns:
        Returns a reference to this object so that method calls can be chained together.