Class ImageVersion

    • Method Detail

      • creationTime

        public final Instant creationTime()

        When the version was created.

        Returns:
        When the version was created.
      • failureReason

        public final String failureReason()

        When a create or delete operation fails, the reason for the failure.

        Returns:
        When a create or delete operation fails, the reason for the failure.
      • imageArn

        public final String imageArn()

        The ARN of the image the version is based on.

        Returns:
        The ARN of the image the version is based on.
      • imageVersionArn

        public final String imageVersionArn()

        The ARN of the version.

        Returns:
        The ARN of the version.
      • lastModifiedTime

        public final Instant lastModifiedTime()

        When the version was last modified.

        Returns:
        When the version was last modified.
      • version

        public final Integer version()

        The version number.

        Returns:
        The version number.
      • 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)