public static class InstanceSourceViaImageDetails.Builder extends Object
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
InstanceSourceViaImageDetails.Builder |
bootVolumeSizeInGBs(Long bootVolumeSizeInGBs)
The size of the boot volume in GBs.
|
InstanceSourceViaImageDetails.Builder |
bootVolumeVpusPerGB(Long bootVolumeVpusPerGB)
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.
|
InstanceSourceViaImageDetails |
build() |
InstanceSourceViaImageDetails.Builder |
copy(InstanceSourceViaImageDetails model) |
InstanceSourceViaImageDetails.Builder |
imageId(String imageId)
The OCID of the image used to boot the instance.
|
InstanceSourceViaImageDetails.Builder |
kmsKeyId(String kmsKeyId)
The OCID of the key management key to assign as the master encryption key for the boot
volume.
|
public InstanceSourceViaImageDetails.Builder bootVolumeSizeInGBs(Long bootVolumeSizeInGBs)
The size of the boot volume in GBs. The minimum value is 50 GB and the maximum value is 32,768 GB (32 TB).
bootVolumeSizeInGBs
- the value to setpublic InstanceSourceViaImageDetails.Builder imageId(String imageId)
The OCID of the image used to boot the instance.
imageId
- the value to setpublic InstanceSourceViaImageDetails.Builder kmsKeyId(String kmsKeyId)
The OCID of the key management key to assign as the master encryption key for the boot volume.
kmsKeyId
- the value to setpublic InstanceSourceViaImageDetails.Builder bootVolumeVpusPerGB(Long bootVolumeVpusPerGB)
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.
bootVolumeVpusPerGB
- the value to setpublic InstanceSourceViaImageDetails build()
public InstanceSourceViaImageDetails.Builder copy(InstanceSourceViaImageDetails model)
Copyright © 2016–2024. All rights reserved.