public static class InstanceConfigurationCreateVolumeDetails.Builder extends Object
Constructor and Description |
---|
Builder() |
public InstanceConfigurationCreateVolumeDetails.Builder availabilityDomain(String availabilityDomain)
The availability domain of the volume.
Example: Uocm:PHX-AD-1
availabilityDomain
- the value to setpublic InstanceConfigurationCreateVolumeDetails.Builder backupPolicyId(String backupPolicyId)
If provided, specifies the ID of the volume backup policy to assign to the newly created volume. If omitted, no policy will be assigned.
backupPolicyId
- the value to setpublic InstanceConfigurationCreateVolumeDetails.Builder compartmentId(String compartmentId)
The OCID of the compartment that contains the volume.
compartmentId
- the value to setpublic InstanceConfigurationCreateVolumeDetails.Builder definedTags(Map<String,Map<String,Object>> definedTags)
Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags.
Example: {"Operations": {"CostCenter": "42"}}
definedTags
- the value to setpublic InstanceConfigurationCreateVolumeDetails.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 InstanceConfigurationCreateVolumeDetails.Builder freeformTags(Map<String,String> freeformTags)
Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see Resource Tags.
Example: {"Department": "Finance"}
freeformTags
- the value to setpublic InstanceConfigurationCreateVolumeDetails.Builder kmsKeyId(String kmsKeyId)
The OCID of the Key Management key to assign as the master encryption key for the volume.
kmsKeyId
- the value to setpublic InstanceConfigurationCreateVolumeDetails.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 InstanceConfigurationCreateVolumeDetails.Builder sizeInGBs(Long sizeInGBs)
The size of the volume in GBs.
sizeInGBs
- the value to setpublic InstanceConfigurationCreateVolumeDetails.Builder sourceDetails(InstanceConfigurationVolumeSourceDetails sourceDetails)
public InstanceConfigurationCreateVolumeDetails build()
public InstanceConfigurationCreateVolumeDetails.Builder copy(InstanceConfigurationCreateVolumeDetails model)
Copyright © 2016–2022. All rights reserved.