@Generated(value="OracleSDKGenerator", comments="API Version: 20160918") public final class InstanceSourceViaImageDetails extends InstanceSourceDetails
InstanceSourceViaImageDetails.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 InstanceSourceViaImageDetails.Builder, which maintain a set of all explicitly set fields called
__explicitlySet__. The hashCode() and equals(Object) methods are implemented to take
__explicitlySet__ into account. The constructor, on the other hand, does not set __explicitlySet__
(since the constructor cannot distinguish explicit null from unset null).| Modifier and Type | Class and Description |
|---|---|
static class |
InstanceSourceViaImageDetails.Builder |
| Constructor and Description |
|---|
InstanceSourceViaImageDetails(Long bootVolumeSizeInGBs,
String imageId,
String kmsKeyId)
Deprecated.
|
| Modifier and Type | Method and Description |
|---|---|
static InstanceSourceViaImageDetails.Builder |
builder()
Create a new builder.
|
protected boolean |
canEqual(Object other) |
boolean |
equals(Object o) |
Set<String> |
get__explicitlySet__() |
Long |
getBootVolumeSizeInGBs()
The size of the boot volume in GBs.
|
String |
getImageId()
The OCID of the image used to boot the instance.
|
String |
getKmsKeyId()
The OCID of the Key Management key to assign as the master encryption key for the boot volume.
|
int |
hashCode() |
InstanceSourceViaImageDetails.Builder |
toBuilder() |
String |
toString() |
@Deprecated public InstanceSourceViaImageDetails(Long bootVolumeSizeInGBs, String imageId, String kmsKeyId)
public static InstanceSourceViaImageDetails.Builder builder()
Create a new builder.
public InstanceSourceViaImageDetails.Builder toBuilder()
public Long getBootVolumeSizeInGBs()
The size of the boot volume in GBs. Minimum value is 50 GB and maximum value is 16384 GB (16TB).
public String getImageId()
The OCID of the image used to boot the instance.
public String getKmsKeyId()
The OCID of the Key Management key to assign as the master encryption key for the boot volume.
public String toString()
toString in class InstanceSourceDetailspublic boolean equals(Object o)
equals in class InstanceSourceDetailsprotected boolean canEqual(Object other)
canEqual in class InstanceSourceDetailspublic int hashCode()
hashCode in class InstanceSourceDetailsCopyright © 2016–2021. All rights reserved.