Class ManagedApplicationAutoScalingPolicy

    • Method Detail

      • arn

        public final String arn()

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

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

        public final String statusReason()

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

        Returns:
        Information about why the Application Auto Scaling policy is in the current status.
      • updatedAt

        public final Instant updatedAt()

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

        Returns:
        The Unix timestamp for when the Application Auto Scaling policy was last updated.
      • policyType

        public final String policyType()

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

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

        public final Double targetValue()

        The target value for the auto scaling metric.

        Returns:
        The target value for the auto scaling metric.
      • metric

        public final String metric()

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

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

        public final int hashCode()
        Overrides:
        hashCode in class Object
      • equals

        public final boolean equals​(Object obj)
        Overrides:
        equals in class Object
      • 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
      • getValueForField

        public final <T> Optional<T> getValueForField​(String fieldName,
                                                      Class<T> clazz)