Package com.oracle.bmc.core.model
Class LaunchCreateVolumeFromAttributes.Builder
- java.lang.Object
-
- com.oracle.bmc.core.model.LaunchCreateVolumeFromAttributes.Builder
-
- Enclosing class:
- LaunchCreateVolumeFromAttributes
public static class LaunchCreateVolumeFromAttributes.Builder extends Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description LaunchCreateVolumeFromAttributes
build()
LaunchCreateVolumeFromAttributes.Builder
compartmentId(String compartmentId)
The OCID of the compartment that contains the volume.LaunchCreateVolumeFromAttributes.Builder
copy(LaunchCreateVolumeFromAttributes model)
LaunchCreateVolumeFromAttributes.Builder
displayName(String displayName)
A user-friendly name.LaunchCreateVolumeFromAttributes.Builder
kmsKeyId(String kmsKeyId)
The OCID of the Vault service key to assign as the master encryption key for the volume.LaunchCreateVolumeFromAttributes.Builder
sizeInGBs(Long sizeInGBs)
The size of the volume in GBs.LaunchCreateVolumeFromAttributes.Builder
vpusPerGB(Long vpusPerGB)
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.
-
-
-
Method Detail
-
compartmentId
public LaunchCreateVolumeFromAttributes.Builder compartmentId(String compartmentId)
The OCID of the compartment that contains the volume.If not provided, it will be inherited from the instance.
- Parameters:
compartmentId
- the value to set- Returns:
- this builder
-
displayName
public LaunchCreateVolumeFromAttributes.Builder displayName(String displayName)
A user-friendly name.Does not have to be unique, and it’s changeable. Avoid entering confidential information.
- Parameters:
displayName
- the value to set- Returns:
- this builder
-
kmsKeyId
public LaunchCreateVolumeFromAttributes.Builder kmsKeyId(String kmsKeyId)
The OCID of the Vault service key to assign as the master encryption key for the volume.- Parameters:
kmsKeyId
- the value to set- Returns:
- this builder
-
vpusPerGB
public LaunchCreateVolumeFromAttributes.Builder vpusPerGB(Long vpusPerGB)
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:
0: Represents Lower Cost option.
10: Represents Balanced option.
20: Represents Higher Performance option.
30-120: Represents the Ultra High Performance option.
- Parameters:
vpusPerGB
- the value to set- Returns:
- this builder
-
sizeInGBs
public LaunchCreateVolumeFromAttributes.Builder sizeInGBs(Long sizeInGBs)
The size of the volume in GBs.- Parameters:
sizeInGBs
- the value to set- Returns:
- this builder
-
build
public LaunchCreateVolumeFromAttributes build()
-
copy
public LaunchCreateVolumeFromAttributes.Builder copy(LaunchCreateVolumeFromAttributes model)
-
-