Class InstanceSourceViaImageDetails
- java.lang.Object
- 
- com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
- 
- com.oracle.bmc.cloudmigrations.model.InstanceSourceDetails
- 
- com.oracle.bmc.cloudmigrations.model.InstanceSourceViaImageDetails
 
 
 
- 
 @Generated(value="OracleSDKGenerator", comments="API Version: 20220919") public final class InstanceSourceViaImageDetails extends InstanceSourceDetails
 Note: Objects should always be created or deserialized using theInstanceSourceViaImageDetails.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 calledInstanceSourceViaImageDetails.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 SummaryNested Classes Modifier and Type Class Description static classInstanceSourceViaImageDetails.Builder
 - 
Constructor SummaryConstructors Constructor Description InstanceSourceViaImageDetails(Long bootVolumeSizeInGBs, String imageId, String kmsKeyId, Long bootVolumeVpusPerGB)Deprecated.
 - 
Method SummaryAll Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static InstanceSourceViaImageDetails.Builderbuilder()Create a new builder.booleanequals(Object o)LonggetBootVolumeSizeInGBs()The size of the boot volume in GBs.LonggetBootVolumeVpusPerGB()The number of volume performance units (VPUs) that will be applied to this volume per GB that represents the Block Volume service’s elastic performance options.StringgetImageId()The OCID of the image used to boot the instance.StringgetKmsKeyId()The OCID of the key management key to assign as the master encryption key for the boot volume.inthashCode()InstanceSourceViaImageDetails.BuildertoBuilder()StringtoString()StringtoString(boolean includeByteArrayContents)Return a string representation of the object.
 
- 
- 
- 
Constructor Detail- 
InstanceSourceViaImageDetails@Deprecated public InstanceSourceViaImageDetails(Long bootVolumeSizeInGBs, String imageId, String kmsKeyId, Long bootVolumeVpusPerGB) Deprecated.
 
- 
 - 
Method Detail- 
builderpublic static InstanceSourceViaImageDetails.Builder builder() Create a new builder.
 - 
toBuilderpublic InstanceSourceViaImageDetails.Builder toBuilder() 
 - 
getBootVolumeSizeInGBspublic Long getBootVolumeSizeInGBs() The size of the boot volume in GBs.The minimum value is 50 GB and the maximum value is 32,768 GB (32 TB). - Returns:
- the value
 
 - 
getImageIdpublic String getImageId() The OCID of the image used to boot the instance.- Returns:
- the value
 
 - 
getKmsKeyIdpublic String getKmsKeyId() The OCID of the key management key to assign as the master encryption key for the boot volume.- Returns:
- the value
 
 - 
getBootVolumeVpusPerGBpublic Long getBootVolumeVpusPerGB() The number of volume performance units (VPUs) that will be applied to this volume per GB that represents 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. - Returns:
- the value
 
 - 
toStringpublic String toString() - Overrides:
- toStringin class- InstanceSourceDetails
 
 - 
toStringpublic String toString(boolean includeByteArrayContents) Return a string representation of the object.- Overrides:
- toStringin class- InstanceSourceDetails
- Parameters:
- includeByteArrayContents- true to include the full contents of byte arrays
- Returns:
- string representation
 
 - 
equalspublic boolean equals(Object o) - Overrides:
- equalsin class- InstanceSourceDetails
 
 - 
hashCodepublic int hashCode() - Overrides:
- hashCodein class- InstanceSourceDetails
 
 
- 
 
-