Package com.oracle.bmc.dblm.model
Class ImageDetails
- java.lang.Object
-
- com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
-
- com.oracle.bmc.dblm.model.ImageDetails
-
@Generated(value="OracleSDKGenerator", comments="API Version: 20240102") public final class ImageDetails extends com.oracle.bmc.http.client.internal.ExplicitlySetBmcModelImage details containing the subscribed image, its status, version, owner and time of creation.
Note: Objects should always be created or deserialized using theImageDetails.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 theImageDetails.Builder, which maintain a set of all explicitly set fields calledImageDetails.Builder.__explicitlySet__. ThehashCode()andequals(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).
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classImageDetails.Builderstatic classImageDetails.ImageStatusImage status.
-
Constructor Summary
Constructors Constructor Description ImageDetails(String imageId, String subscribedImage, String currentVersion, ImageDetails.ImageStatus imageStatus, String imageVersion, String imageOwner, String createdBy, Date timeImageCreation, String upToDateImageVersion)Deprecated.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static ImageDetails.Builderbuilder()Create a new builder.booleanequals(Object o)StringgetCreatedBy()Name of the person who created the image.StringgetCurrentVersion()Name of the image version marked as current of the image.StringgetImageId()Image identifier.StringgetImageOwner()Owner of the image.ImageDetails.ImageStatusgetImageStatus()Image status.StringgetImageVersion()Release version of the image.StringgetSubscribedImage()Subscribed image.DategetTimeImageCreation()Date when the image was created.StringgetUpToDateImageVersion()An image version name, that is up to date and has no recommendations.inthashCode()ImageDetails.BuildertoBuilder()StringtoString()StringtoString(boolean includeByteArrayContents)Return a string representation of the object.
-
-
-
Constructor Detail
-
ImageDetails
@Deprecated @ConstructorProperties({"imageId","subscribedImage","currentVersion","imageStatus","imageVersion","imageOwner","createdBy","timeImageCreation","upToDateImageVersion"}) public ImageDetails(String imageId, String subscribedImage, String currentVersion, ImageDetails.ImageStatus imageStatus, String imageVersion, String imageOwner, String createdBy, Date timeImageCreation, String upToDateImageVersion)
Deprecated.
-
-
Method Detail
-
builder
public static ImageDetails.Builder builder()
Create a new builder.
-
toBuilder
public ImageDetails.Builder toBuilder()
-
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
-
getImageStatus
public ImageDetails.ImageStatus getImageStatus()
Image status.- 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:
toStringin classcom.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:
equalsin classcom.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
-
hashCode
public int hashCode()
- Overrides:
hashCodein classcom.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
-
-