public static class UpdateBootVolumeDetails.Builder extends Object
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and 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.
|
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"}}
definedTags
- the value to setpublic UpdateBootVolumeDetails.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 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"}
freeformTags
- the value to setpublic UpdateBootVolumeDetails.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 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.
vpusPerGB
- the value to setpublic 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.
isAutoTuneEnabled
- the value to setpublic 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.
bootVolumeReplicas
- the value to setpublic UpdateBootVolumeDetails.Builder autotunePolicies(List<AutotunePolicy> autotunePolicies)
The list of autotune policies to be enabled for this volume.
autotunePolicies
- the value to setpublic UpdateBootVolumeDetails build()
public UpdateBootVolumeDetails.Builder copy(UpdateBootVolumeDetails model)
Copyright © 2016–2024. All rights reserved.