Class ServiceHealth

    • Method Detail

      • serviceName

        public final ServiceName serviceName()

        The name of the Amazon Web Services service.

        If the service returns an enum value that is not available in the current SDK version, serviceName will return ServiceName.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from serviceNameAsString().

        Returns:
        The name of the Amazon Web Services service.
        See Also:
        ServiceName
      • serviceNameAsString

        public final String serviceNameAsString()

        The name of the Amazon Web Services service.

        If the service returns an enum value that is not available in the current SDK version, serviceName will return ServiceName.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from serviceNameAsString().

        Returns:
        The name of the Amazon Web Services service.
        See Also:
        ServiceName
      • insight

        public final ServiceInsightHealth insight()

        Represents the health of an Amazon Web Services service. This is a ServiceInsightHealth that contains the number of open proactive and reactive insights for this service.

        Returns:
        Represents the health of an Amazon Web Services service. This is a ServiceInsightHealth that contains the number of open proactive and reactive insights for this service.
      • analyzedResourceCount

        public final Long analyzedResourceCount()

        Number of resources that DevOps Guru is monitoring in an analyzed Amazon Web Services service.

        Returns:
        Number of resources that DevOps Guru is monitoring in an analyzed Amazon Web Services service.
      • 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)