Class UpdateBootVolumeDetails.Builder
- java.lang.Object
-
- com.oracle.bmc.core.model.UpdateBootVolumeDetails.Builder
-
- Enclosing class:
- UpdateBootVolumeDetails
public static class UpdateBootVolumeDetails.Builder extends Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description UpdateBootVolumeDetails.Builder
autotunePolicies(List<AutotunePolicy> autotunePolicies)
The list of autotune policies to be enabled for this volume.UpdateBootVolumeDetails.Builder
bootVolumeReplicas(List<BootVolumeReplicaDetails> bootVolumeReplicas)
The list of boot volume replicas that this boot volume will be updated to have in the specified destination availability domains.UpdateBootVolumeDetails
build()
UpdateBootVolumeDetails.Builder
copy(UpdateBootVolumeDetails model)
UpdateBootVolumeDetails.Builder
definedTags(Map<String,Map<String,Object>> definedTags)
Defined tags for this resource.UpdateBootVolumeDetails.Builder
displayName(String displayName)
A user-friendly name.UpdateBootVolumeDetails.Builder
freeformTags(Map<String,String> freeformTags)
Free-form tags for this resource.UpdateBootVolumeDetails.Builder
isAutoTuneEnabled(Boolean isAutoTuneEnabled)
Specifies whether the auto-tune performance is enabled for this boot volume.UpdateBootVolumeDetails.Builder
sizeInGBs(Long sizeInGBs)
The size to resize the volume to in GBs.UpdateBootVolumeDetails.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
-
definedTags
public UpdateBootVolumeDetails.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"}}
- Parameters:
definedTags
- the value to set- Returns:
- this builder
-
displayName
public UpdateBootVolumeDetails.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
-
freeformTags
public UpdateBootVolumeDetails.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"}
- Parameters:
freeformTags
- the value to set- Returns:
- this builder
-
sizeInGBs
public UpdateBootVolumeDetails.Builder sizeInGBs(Long sizeInGBs)
The size to resize the volume to in GBs.Has to be larger than the current size.
- Parameters:
sizeInGBs
- the value to set- Returns:
- this builder
-
vpusPerGB
public UpdateBootVolumeDetails.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:
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.
- Parameters:
vpusPerGB
- the value to set- Returns:
- this builder
-
isAutoTuneEnabled
public UpdateBootVolumeDetails.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.
- Parameters:
isAutoTuneEnabled
- the value to set- Returns:
- this builder
-
bootVolumeReplicas
public UpdateBootVolumeDetails.Builder bootVolumeReplicas(List<BootVolumeReplicaDetails> bootVolumeReplicas)
The list of boot volume replicas that this boot volume will be updated to have in the specified destination availability domains.- Parameters:
bootVolumeReplicas
- the value to set- Returns:
- this builder
-
autotunePolicies
public UpdateBootVolumeDetails.Builder autotunePolicies(List<AutotunePolicy> autotunePolicies)
The list of autotune policies to be enabled for this volume.- Parameters:
autotunePolicies
- the value to set- Returns:
- this builder
-
build
public UpdateBootVolumeDetails build()
-
copy
public UpdateBootVolumeDetails.Builder copy(UpdateBootVolumeDetails model)
-
-