Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
Volume.Builder |
autoTunedVpusPerGB(Long autoTunedVpusPerGB)
The number of Volume Performance Units per GB that this volume is effectively tuned to.
|
Volume.Builder |
autotunePolicies(List<AutotunePolicy> autotunePolicies)
The list of autotune policies enabled for this volume.
|
Volume.Builder |
availabilityDomain(String availabilityDomain)
The availability domain of the volume.
|
Volume.Builder |
blockVolumeReplicas(List<BlockVolumeReplicaInfo> blockVolumeReplicas)
The list of block volume replicas of this volume.
|
Volume |
build() |
Volume.Builder |
clusterPlacementGroupId(String clusterPlacementGroupId)
The clusterPlacementGroup Id of the volume for volume placement.
|
Volume.Builder |
compartmentId(String compartmentId)
The OCID of the compartment that contains the volume.
|
Volume.Builder |
copy(Volume model) |
Volume.Builder |
definedTags(Map<String,Map<String,Object>> definedTags)
Defined tags for this resource.
|
Volume.Builder |
displayName(String displayName)
A user-friendly name.
|
Volume.Builder |
freeformTags(Map<String,String> freeformTags)
Free-form tags for this resource.
|
Volume.Builder |
id(String id)
The OCID of the volume.
|
Volume.Builder |
isAutoTuneEnabled(Boolean isAutoTuneEnabled)
Specifies whether the auto-tune performance is enabled for this volume.
|
Volume.Builder |
isHydrated(Boolean isHydrated)
Specifies whether the cloned volume’s data has finished copying from the source volume or
backup.
|
Volume.Builder |
kmsKeyId(String kmsKeyId)
The OCID of the Vault service key which is the master encryption key for the volume.
|
Volume.Builder |
lifecycleState(Volume.LifecycleState lifecycleState)
The current state of a volume.
|
Volume.Builder |
sizeInGBs(Long sizeInGBs)
The size of the volume in GBs.
|
Volume.Builder |
sizeInMBs(Long sizeInMBs)
The size of the volume in MBs.
|
Volume.Builder |
sourceDetails(VolumeSourceDetails sourceDetails) |
Volume.Builder |
systemTags(Map<String,Map<String,Object>> systemTags)
System tags for this resource.
|
Volume.Builder |
timeCreated(Date timeCreated)
The date and time the volume was created.
|
Volume.Builder |
volumeGroupId(String volumeGroupId)
The OCID of the source volume group.
|
Volume.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 Volume.Builder availabilityDomain(String availabilityDomain)
The availability domain of the volume.
Example: Uocm:PHX-AD-1
availabilityDomain
- the value to setpublic Volume.Builder compartmentId(String compartmentId)
The OCID of the compartment that contains the volume.
compartmentId
- the value to setpublic Volume.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 Volume.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 Volume.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 Volume.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 Volume.Builder id(String id)
The OCID of the volume.
id
- the value to setpublic Volume.Builder isHydrated(Boolean isHydrated)
Specifies whether the cloned volume’s data has finished copying from the source volume or backup.
isHydrated
- the value to setpublic Volume.Builder kmsKeyId(String kmsKeyId)
The OCID of the Vault service key which is the master encryption key for the volume.
kmsKeyId
- the value to setpublic Volume.Builder lifecycleState(Volume.LifecycleState lifecycleState)
The current state of a volume.
lifecycleState
- the value to setpublic Volume.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.
For performance autotune enabled volumes, It would be the Default(Minimum) VPUs/GB.
vpusPerGB
- the value to setpublic Volume.Builder clusterPlacementGroupId(String clusterPlacementGroupId)
The clusterPlacementGroup Id of the volume for volume placement.
clusterPlacementGroupId
- the value to setpublic Volume.Builder sizeInGBs(Long sizeInGBs)
The size of the volume in GBs.
sizeInGBs
- the value to setpublic Volume.Builder sizeInMBs(Long sizeInMBs)
The size of the volume in MBs. This field is deprecated. Use sizeInGBs instead.
sizeInMBs
- the value to setpublic Volume.Builder sourceDetails(VolumeSourceDetails sourceDetails)
public Volume.Builder timeCreated(Date timeCreated)
The date and time the volume was created. Format defined by RFC3339.
timeCreated
- the value to setpublic Volume.Builder volumeGroupId(String volumeGroupId)
The OCID of the source volume group.
volumeGroupId
- the value to setpublic Volume.Builder isAutoTuneEnabled(Boolean isAutoTuneEnabled)
Specifies whether the auto-tune performance is enabled for this volume. This field is
deprecated. Use the DetachedVolumeAutotunePolicy
instead to enable the volume for
detached autotune.
isAutoTuneEnabled
- the value to setpublic Volume.Builder autoTunedVpusPerGB(Long autoTunedVpusPerGB)
The number of Volume Performance Units per GB that this volume is effectively tuned to.
autoTunedVpusPerGB
- the value to setpublic Volume.Builder blockVolumeReplicas(List<BlockVolumeReplicaInfo> blockVolumeReplicas)
The list of block volume replicas of this volume.
blockVolumeReplicas
- the value to setpublic Volume.Builder autotunePolicies(List<AutotunePolicy> autotunePolicies)
The list of autotune policies enabled for this volume.
autotunePolicies
- the value to setpublic Volume build()
public Volume.Builder copy(Volume model)
Copyright © 2016–2024. All rights reserved.