public static class BootVolume.Builder extends Object
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
BootVolume.Builder |
autoTunedVpusPerGB(Long autoTunedVpusPerGB)
The number of Volume Performance Units per GB that this boot volume is effectively tuned
to.
|
BootVolume.Builder |
autotunePolicies(List<AutotunePolicy> autotunePolicies)
The list of autotune policies enabled for this volume.
|
BootVolume.Builder |
availabilityDomain(String availabilityDomain)
The availability domain of the boot volume.
|
BootVolume.Builder |
bootVolumeReplicas(List<BootVolumeReplicaInfo> bootVolumeReplicas)
The list of boot volume replicas of this boot volume
|
BootVolume |
build() |
BootVolume.Builder |
clusterPlacementGroupId(String clusterPlacementGroupId)
The clusterPlacementGroup Id of the volume for volume placement.
|
BootVolume.Builder |
compartmentId(String compartmentId)
The OCID of the compartment that contains the boot volume.
|
BootVolume.Builder |
copy(BootVolume model) |
BootVolume.Builder |
definedTags(Map<String,Map<String,Object>> definedTags)
Defined tags for this resource.
|
BootVolume.Builder |
displayName(String displayName)
A user-friendly name.
|
BootVolume.Builder |
freeformTags(Map<String,String> freeformTags)
Free-form tags for this resource.
|
BootVolume.Builder |
id(String id)
The boot volume’s Oracle ID (OCID).
|
BootVolume.Builder |
imageId(String imageId)
The image OCID used to create the boot volume.
|
BootVolume.Builder |
isAutoTuneEnabled(Boolean isAutoTuneEnabled)
Specifies whether the auto-tune performance is enabled for this boot volume.
|
BootVolume.Builder |
isHydrated(Boolean isHydrated)
Specifies whether the boot volume’s data has finished copying from the source boot volume
or boot volume backup.
|
BootVolume.Builder |
kmsKeyId(String kmsKeyId)
The OCID of the Vault service master encryption key assigned to the boot volume.
|
BootVolume.Builder |
lifecycleState(BootVolume.LifecycleState lifecycleState)
The current state of a boot volume.
|
BootVolume.Builder |
sizeInGBs(Long sizeInGBs)
The size of the boot volume in GBs.
|
BootVolume.Builder |
sizeInMBs(Long sizeInMBs)
The size of the volume in MBs.
|
BootVolume.Builder |
sourceDetails(BootVolumeSourceDetails sourceDetails) |
BootVolume.Builder |
systemTags(Map<String,Map<String,Object>> systemTags)
System tags for this resource.
|
BootVolume.Builder |
timeCreated(Date timeCreated)
The date and time the boot volume was created.
|
BootVolume.Builder |
volumeGroupId(String volumeGroupId)
The OCID of the source volume group.
|
BootVolume.Builder |
vpusPerGB(Long vpusPerGB)
The number of volume performance units (VPUs) that will be applied to this boot volume
per GB, representing the Block Volume service’s elastic performance options.
|
public BootVolume.Builder availabilityDomain(String availabilityDomain)
The availability domain of the boot volume.
Example: Uocm:PHX-AD-1
availabilityDomain
- the value to setpublic BootVolume.Builder compartmentId(String compartmentId)
The OCID of the compartment that contains the boot volume.
compartmentId
- the value to setpublic BootVolume.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 BootVolume.Builder systemTags(Map<String,Map<String,Object>> systemTags)
System tags for this resource. Each key is predefined and scoped to a namespace. Example:
{"foo-namespace": {"bar-key": "value"}}
systemTags
- the value to setpublic BootVolume.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 BootVolume.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 BootVolume.Builder id(String id)
The boot volume’s Oracle ID (OCID).
id
- the value to setpublic BootVolume.Builder imageId(String imageId)
The image OCID used to create the boot volume.
imageId
- the value to setpublic BootVolume.Builder isHydrated(Boolean isHydrated)
Specifies whether the boot volume’s data has finished copying from the source boot volume or boot volume backup.
isHydrated
- the value to setpublic BootVolume.Builder clusterPlacementGroupId(String clusterPlacementGroupId)
The clusterPlacementGroup Id of the volume for volume placement.
clusterPlacementGroupId
- the value to setpublic BootVolume.Builder vpusPerGB(Long vpusPerGB)
The number of volume performance units (VPUs) that will be applied to this boot volume per GB, representing 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 performance autotune enabled volumes, it would be the Default(Minimum) VPUs/GB.
vpusPerGB
- the value to setpublic BootVolume.Builder lifecycleState(BootVolume.LifecycleState lifecycleState)
The current state of a boot volume.
lifecycleState
- the value to setpublic BootVolume.Builder sizeInGBs(Long sizeInGBs)
The size of the boot volume in GBs.
sizeInGBs
- the value to setpublic BootVolume.Builder sizeInMBs(Long sizeInMBs)
The size of the volume in MBs. The value must be a multiple of 1024. This field is deprecated. Please use sizeInGBs.
sizeInMBs
- the value to setpublic BootVolume.Builder sourceDetails(BootVolumeSourceDetails sourceDetails)
public BootVolume.Builder timeCreated(Date timeCreated)
The date and time the boot volume was created. Format defined by RFC3339.
timeCreated
- the value to setpublic BootVolume.Builder volumeGroupId(String volumeGroupId)
The OCID of the source volume group.
volumeGroupId
- the value to setpublic BootVolume.Builder kmsKeyId(String kmsKeyId)
The OCID of the Vault service master encryption key assigned to the boot volume.
kmsKeyId
- the value to setpublic BootVolume.Builder isAutoTuneEnabled(Boolean isAutoTuneEnabled)
Specifies whether the auto-tune performance is enabled for this boot volume. This field
is deprecated. Use the DetachedVolumeAutotunePolicy
instead to enable the volume
for detached autotune.
isAutoTuneEnabled
- the value to setpublic BootVolume.Builder autoTunedVpusPerGB(Long autoTunedVpusPerGB)
The number of Volume Performance Units per GB that this boot volume is effectively tuned to.
autoTunedVpusPerGB
- the value to setpublic BootVolume.Builder bootVolumeReplicas(List<BootVolumeReplicaInfo> bootVolumeReplicas)
The list of boot volume replicas of this boot volume
bootVolumeReplicas
- the value to setpublic BootVolume.Builder autotunePolicies(List<AutotunePolicy> autotunePolicies)
The list of autotune policies enabled for this volume.
autotunePolicies
- the value to setpublic BootVolume build()
public BootVolume.Builder copy(BootVolume model)
Copyright © 2016–2024. All rights reserved.