Class CoverageResource

    • Method Detail

      • resourceId

        public final String resourceId()

        The unique ID of the resource.

        Returns:
        The unique ID of the resource.
      • detectorId

        public final String detectorId()

        The unique ID of the GuardDuty detector associated with the resource.

        Returns:
        The unique ID of the GuardDuty detector associated with the resource.
      • accountId

        public final String accountId()

        The unique ID of the Amazon Web Services account.

        Returns:
        The unique ID of the Amazon Web Services account.
      • resourceDetails

        public final CoverageResourceDetails resourceDetails()

        Information about the resource for which the coverage statistics are retrieved.

        Returns:
        Information about the resource for which the coverage statistics are retrieved.
      • coverageStatusAsString

        public final String coverageStatusAsString()

        Represents the status of the EKS cluster coverage.

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

        Returns:
        Represents the status of the EKS cluster coverage.
        See Also:
        CoverageStatus
      • issue

        public final String issue()

        Represents the reason why a coverage status was UNHEALTHY for the EKS cluster.

        Returns:
        Represents the reason why a coverage status was UNHEALTHY for the EKS cluster.
      • updatedAt

        public final Instant updatedAt()

        The timestamp at which the coverage details for the resource were last updated. This is in UTC format.

        Returns:
        The timestamp at which the coverage details for the resource were last updated. This is in UTC format.
      • 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)