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.ExplicitlySetBmcModel
Image 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 class
ImageDetails.Builder
static class
ImageDetails.ImageStatus
Image 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.Builder
builder()
Create a new builder.boolean
equals(Object o)
String
getCreatedBy()
Name of the person who created the image.String
getCurrentVersion()
Name of the image version marked as current of the image.String
getImageId()
Image identifier.String
getImageOwner()
Owner of the image.ImageDetails.ImageStatus
getImageStatus()
Image status.String
getImageVersion()
Release version of the image.String
getSubscribedImage()
Subscribed image.Date
getTimeImageCreation()
Date when the image was created.String
getUpToDateImageVersion()
An image version name, that is up to date and has no recommendations.int
hashCode()
ImageDetails.Builder
toBuilder()
String
toString()
String
toString(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:
toString
in 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:
equals
in classcom.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classcom.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
-
-