Class FindingSummaryV2

    • Method Detail

      • analyzedAt

        public final Instant analyzedAt()

        The time at which the resource-based policy or IAM entity that generated the finding was analyzed.

        Returns:
        The time at which the resource-based policy or IAM entity that generated the finding was analyzed.
      • createdAt

        public final Instant createdAt()

        The time at which the finding was created.

        Returns:
        The time at which the finding was created.
      • error

        public final String error()

        The error that resulted in an Error finding.

        Returns:
        The error that resulted in an Error finding.
      • id

        public final String id()

        The ID of the finding.

        Returns:
        The ID of the finding.
      • resource

        public final String resource()

        The resource that the external principal has access to.

        Returns:
        The resource that the external principal has access to.
      • resourceTypeAsString

        public final String resourceTypeAsString()

        The type of the resource that the external principal has access to.

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

        Returns:
        The type of the resource that the external principal has access to.
        See Also:
        ResourceType
      • resourceOwnerAccount

        public final String resourceOwnerAccount()

        The Amazon Web Services account ID that owns the resource.

        Returns:
        The Amazon Web Services account ID that owns the resource.
      • updatedAt

        public final Instant updatedAt()

        The time at which the finding was most recently updated.

        Returns:
        The time at which the finding was most recently updated.
      • findingTypeAsString

        public final String findingTypeAsString()

        The type of the external access or unused access finding.

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

        Returns:
        The type of the external access or unused access finding.
        See Also:
        FindingType
      • 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)