Class ImageDetails


  • @Generated(value="OracleSDKGenerator",
               comments="API Version: 20240102")
    public final class ImageDetails
    extends com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
    Image details containing the subscribed image, its status, version, owner and time of creation.
    Note: Objects should always be created or deserialized using the ImageDetails.Builder. This model distinguishes fields that are null because they are unset from fields that are explicitly set to null. This is done in the setter methods of the ImageDetails.Builder, which maintain a set of all explicitly set fields called ImageDetails.Builder.__explicitlySet__. The hashCode() and equals(Object) methods are implemented to take the explicitly set fields into account. The constructor, on the other hand, does not take the explicitly set fields into account (since the constructor cannot distinguish explicit null from unset null).
    • Method Detail

      • getImageId

        public String getImageId()
        Image identifier.
        Returns:
        the value
      • getSubscribedImage

        public String getSubscribedImage()
        Subscribed image.
        Returns:
        the value
      • getCurrentVersion

        public String getCurrentVersion()
        Name of the image version marked as current of the image.
        Returns:
        the value
      • getImageVersion

        public String getImageVersion()
        Release version of the image.
        Returns:
        the value
      • getImageOwner

        public String getImageOwner()
        Owner of the image.
        Returns:
        the value
      • getCreatedBy

        public String getCreatedBy()
        Name of the person who created the image.
        Returns:
        the value
      • getTimeImageCreation

        public Date getTimeImageCreation()
        Date when the image was created.
        Returns:
        the value
      • getUpToDateImageVersion

        public String getUpToDateImageVersion()
        An image version name, that is up to date and has no recommendations.
        Returns:
        the value
      • toString

        public String toString()
        Overrides:
        toString in class com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
      • toString

        public String toString​(boolean includeByteArrayContents)
        Return a string representation of the object.
        Parameters:
        includeByteArrayContents - true to include the full contents of byte arrays
        Returns:
        string representation
      • equals

        public boolean equals​(Object o)
        Overrides:
        equals in class com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel