Package com.oracle.bmc.core.model
Class UpdateVolumeGroupDetails.Builder
- java.lang.Object
-
- com.oracle.bmc.core.model.UpdateVolumeGroupDetails.Builder
-
- Enclosing class:
- UpdateVolumeGroupDetails
public static class UpdateVolumeGroupDetails.Builder extends Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description UpdateVolumeGroupDetailsbuild()UpdateVolumeGroupDetails.Buildercopy(UpdateVolumeGroupDetails model)UpdateVolumeGroupDetails.BuilderdefinedTags(Map<String,Map<String,Object>> definedTags)Defined tags for this resource.UpdateVolumeGroupDetails.BuilderdisplayName(String displayName)A user-friendly name.UpdateVolumeGroupDetails.BuilderfreeformTags(Map<String,String> freeformTags)Free-form tags for this resource.UpdateVolumeGroupDetails.BuildervolumeGroupReplicas(List<VolumeGroupReplicaDetails> volumeGroupReplicas)The list of volume group replicas that this volume group will be updated to have in the specified destination availability domains.UpdateVolumeGroupDetails.BuildervolumeIds(List<String> volumeIds)OCIDs for the volumes in this volume group.
-
-
-
Method Detail
-
definedTags
public UpdateVolumeGroupDetails.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 UpdateVolumeGroupDetails.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 UpdateVolumeGroupDetails.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
-
volumeIds
public UpdateVolumeGroupDetails.Builder volumeIds(List<String> volumeIds)
OCIDs for the volumes in this volume group.- Parameters:
volumeIds- the value to set- Returns:
- this builder
-
volumeGroupReplicas
public UpdateVolumeGroupDetails.Builder volumeGroupReplicas(List<VolumeGroupReplicaDetails> volumeGroupReplicas)
The list of volume group replicas that this volume group will be updated to have in the specified destination availability domains.- Parameters:
volumeGroupReplicas- the value to set- Returns:
- this builder
-
build
public UpdateVolumeGroupDetails build()
-
copy
public UpdateVolumeGroupDetails.Builder copy(UpdateVolumeGroupDetails model)
-
-