Class EC2ResourceUtilization

    • Method Detail

      • maxCpuUtilizationPercentage

        public final String maxCpuUtilizationPercentage()

        The maximum observed or expected CPU utilization of the instance.

        Returns:
        The maximum observed or expected CPU utilization of the instance.
      • maxMemoryUtilizationPercentage

        public final String maxMemoryUtilizationPercentage()

        The maximum observed or expected memory utilization of the instance.

        Returns:
        The maximum observed or expected memory utilization of the instance.
      • maxStorageUtilizationPercentage

        public final String maxStorageUtilizationPercentage()

        The maximum observed or expected storage utilization of the instance. This doesn't include EBS storage.

        Returns:
        The maximum observed or expected storage utilization of the instance. This doesn't include EBS storage.
      • ebsResourceUtilization

        public final EBSResourceUtilization ebsResourceUtilization()

        The EBS field that contains a list of EBS metrics that are associated with the current instance.

        Returns:
        The EBS field that contains a list of EBS metrics that are associated with the current instance.
      • diskResourceUtilization

        public final DiskResourceUtilization diskResourceUtilization()

        The field that contains a list of disk (local storage) metrics that are associated with the current instance.

        Returns:
        The field that contains a list of disk (local storage) metrics that are associated with the current instance.
      • networkResourceUtilization

        public final NetworkResourceUtilization networkResourceUtilization()

        The network field that contains a list of network metrics that are associated with the current instance.

        Returns:
        The network field that contains a list of network metrics that are associated with the current instance.
      • 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)