Class InsightSummary

    • Method Detail

      • id

        public final String id()

        The ID of the insight.

        Returns:
        The ID of the insight.
      • name

        public final String name()

        The name of the insight.

        Returns:
        The name of the insight.
      • category

        public final Category category()

        The category of the insight.

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

        Returns:
        The category of the insight.
        See Also:
        Category
      • categoryAsString

        public final String categoryAsString()

        The category of the insight.

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

        Returns:
        The category of the insight.
        See Also:
        Category
      • kubernetesVersion

        public final String kubernetesVersion()

        The Kubernetes minor version associated with an insight if applicable.

        Returns:
        The Kubernetes minor version associated with an insight if applicable.
      • lastRefreshTime

        public final Instant lastRefreshTime()

        The time Amazon EKS last successfully completed a refresh of this insight check on the cluster.

        Returns:
        The time Amazon EKS last successfully completed a refresh of this insight check on the cluster.
      • lastTransitionTime

        public final Instant lastTransitionTime()

        The time the status of the insight last changed.

        Returns:
        The time the status of the insight last changed.
      • description

        public final String description()

        The description of the insight which includes alert criteria, remediation recommendation, and additional resources (contains Markdown).

        Returns:
        The description of the insight which includes alert criteria, remediation recommendation, and additional resources (contains Markdown).
      • insightStatus

        public final InsightStatus insightStatus()

        An object containing more detail on the status of the insight.

        Returns:
        An object containing more detail on the status of the insight.
      • 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)