public static class LaunchCreateVolumeFromAttributes.Builder extends Object
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and 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.
|
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.
compartmentId
- the value to setpublic LaunchCreateVolumeFromAttributes.Builder displayName(String displayName)
A user-friendly name. Does not have to be unique, and it’s changeable. Avoid entering confidential information.
displayName
- the value to setpublic LaunchCreateVolumeFromAttributes.Builder kmsKeyId(String kmsKeyId)
The OCID of the Vault service key to assign as the master encryption key for the volume.
kmsKeyId
- the value to setpublic 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.
vpusPerGB
- the value to setpublic LaunchCreateVolumeFromAttributes.Builder sizeInGBs(Long sizeInGBs)
The size of the volume in GBs.
sizeInGBs
- the value to setpublic LaunchCreateVolumeFromAttributes build()
public LaunchCreateVolumeFromAttributes.Builder copy(LaunchCreateVolumeFromAttributes model)
Copyright © 2016–2024. All rights reserved.