@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 InstanceSourceViaImageDetails.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
).Modifier and Type | Class and Description |
---|---|
static class |
InstanceSourceViaImageDetails.Builder |
EXPLICITLY_SET_FILTER_NAME, EXPLICITLY_SET_PROPERTY_NAME
Constructor and Description |
---|
InstanceSourceViaImageDetails(Long bootVolumeSizeInGBs,
String imageId,
String kmsKeyId,
Long bootVolumeVpusPerGB,
InstanceSourceImageFilterDetails instanceSourceImageFilterDetails)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
static InstanceSourceViaImageDetails.Builder |
builder()
Create a new builder.
|
boolean |
equals(Object o) |
Long |
getBootVolumeSizeInGBs()
The size of the boot volume in GBs.
|
Long |
getBootVolumeVpusPerGB()
The number of volume performance units (VPUs) that will be applied to this volume per GB,
representing the Block Volume service’s elastic performance options.
|
String |
getImageId()
The OCID of the image used to boot the instance.
|
InstanceSourceImageFilterDetails |
getInstanceSourceImageFilterDetails() |
String |
getKmsKeyId()
The OCID of the Vault service key to assign as the master encryption key for the boot volume.
|
int |
hashCode() |
InstanceSourceViaImageDetails.Builder |
toBuilder() |
String |
toString() |
String |
toString(boolean includeByteArrayContents)
Return a string representation of the object.
|
markPropertyAsExplicitlySet, wasPropertyExplicitlySet
@Deprecated public InstanceSourceViaImageDetails(Long bootVolumeSizeInGBs, String imageId, String kmsKeyId, Long bootVolumeVpusPerGB, InstanceSourceImageFilterDetails instanceSourceImageFilterDetails)
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 32,768 GB (32 TB).
public String getImageId()
The OCID of the image used to boot the instance.
public String getKmsKeyId()
The OCID of the Vault service key to assign as the master encryption key for the boot volume.
public Long getBootVolumeVpusPerGB()
The number of volume performance units (VPUs) that will be applied to this volume per GB, representing the Block Volume service’s elastic performance options. See Block Volume Performance Levels for more information.
Allowed values:
10
: Represents Balanced option.
20
: Represents Higher Performance option.
30
-120
: Represents the Ultra High Performance option.
For volumes with the auto-tuned performance feature enabled, this is set to the default (minimum) VPUs/GB.
public InstanceSourceImageFilterDetails getInstanceSourceImageFilterDetails()
public String toString()
toString
in class InstanceSourceDetails
public String toString(boolean includeByteArrayContents)
Return a string representation of the object.
toString
in class InstanceSourceDetails
includeByteArrayContents
- true to include the full contents of byte arrayspublic boolean equals(Object o)
equals
in class InstanceSourceDetails
public int hashCode()
hashCode
in class InstanceSourceDetails
Copyright © 2016–2024. All rights reserved.