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.
      • 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)