public static class UpdateVolumeDetails.Builder extends Object
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
UpdateVolumeDetails.Builder |
autotunePolicies(List<AutotunePolicy> autotunePolicies)
The list of autotune policies enabled for this volume.
|
UpdateVolumeDetails.Builder |
blockVolumeReplicas(List<BlockVolumeReplicaDetails> blockVolumeReplicas)
The list of block volume replicas that this volume will be updated to have in the
specified destination availability domains.
|
UpdateVolumeDetails |
build() |
UpdateVolumeDetails.Builder |
copy(UpdateVolumeDetails model) |
UpdateVolumeDetails.Builder |
definedTags(Map<String,Map<String,Object>> definedTags)
Defined tags for this resource.
|
UpdateVolumeDetails.Builder |
displayName(String displayName)
A user-friendly name.
|
UpdateVolumeDetails.Builder |
freeformTags(Map<String,String> freeformTags)
Free-form tags for this resource.
|
UpdateVolumeDetails.Builder |
isAutoTuneEnabled(Boolean isAutoTuneEnabled)
Specifies whether the auto-tune performance is enabled for this volume.
|
UpdateVolumeDetails.Builder |
sizeInGBs(Long sizeInGBs)
The size to resize the volume to in GBs.
|
UpdateVolumeDetails.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 UpdateVolumeDetails.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 UpdateVolumeDetails.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 UpdateVolumeDetails.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 UpdateVolumeDetails.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 UpdateVolumeDetails.Builder sizeInGBs(Long sizeInGBs)
The size to resize the volume to in GBs. Has to be larger than the current size.
sizeInGBs
- the value to setpublic UpdateVolumeDetails.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 UpdateVolumeDetails.Builder blockVolumeReplicas(List<BlockVolumeReplicaDetails> blockVolumeReplicas)
The list of block volume replicas that this volume will be updated to have in the specified destination availability domains.
blockVolumeReplicas
- the value to setpublic UpdateVolumeDetails.Builder autotunePolicies(List<AutotunePolicy> autotunePolicies)
The list of autotune policies enabled for this volume.
autotunePolicies
- the value to setpublic UpdateVolumeDetails build()
public UpdateVolumeDetails.Builder copy(UpdateVolumeDetails model)
Copyright © 2016–2025. All rights reserved.