Class ImageUsageReportEntry

    • Method Detail

      • resourceType

        public final String resourceType()

        The type of resource (ec2:Instance or ec2:LaunchTemplate).

        Returns:
        The type of resource (ec2:Instance or ec2:LaunchTemplate).
      • reportId

        public final String reportId()

        The ID of the report.

        Returns:
        The ID of the report.
      • usageCount

        public final Long usageCount()

        The number of times resources of this type reference this image in the account.

        Returns:
        The number of times resources of this type reference this image in the account.
      • accountId

        public final String accountId()

        The ID of the account that uses the image.

        Returns:
        The ID of the account that uses the image.
      • imageId

        public final String imageId()

        The ID of the image.

        Returns:
        The ID of the image.
      • reportCreationTime

        public final Instant reportCreationTime()

        The date and time the report creation was initiated.

        Returns:
        The date and time the report creation was initiated.
      • 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)