Class InstanceSourceViaImageDetails.Builder
- java.lang.Object
-
- com.oracle.bmc.cloudmigrations.model.InstanceSourceViaImageDetails.Builder
-
- Enclosing class:
- InstanceSourceViaImageDetails
public static class InstanceSourceViaImageDetails.Builder extends Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method 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.
-
-
-
Method Detail
-
bootVolumeSizeInGBs
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).
- Parameters:
bootVolumeSizeInGBs
- the value to set- Returns:
- this builder
-
imageId
public InstanceSourceViaImageDetails.Builder imageId(String imageId)
The OCID of the image used to boot the instance.- Parameters:
imageId
- the value to set- Returns:
- this builder
-
kmsKeyId
public InstanceSourceViaImageDetails.Builder kmsKeyId(String kmsKeyId)
The OCID of the key management key to assign as the master encryption key for the boot volume.- Parameters:
kmsKeyId
- the value to set- Returns:
- this builder
-
bootVolumeVpusPerGB
public 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.
- Parameters:
bootVolumeVpusPerGB
- the value to set- Returns:
- this builder
-
build
public InstanceSourceViaImageDetails build()
-
copy
public InstanceSourceViaImageDetails.Builder copy(InstanceSourceViaImageDetails model)
-
-