public static class VolumeGroup.Builder extends Object
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
VolumeGroup.Builder |
availabilityDomain(String availabilityDomain)
The availability domain of the volume group.
|
VolumeGroup |
build() |
VolumeGroup.Builder |
compartmentId(String compartmentId)
The OCID of the compartment that contains the volume group.
|
VolumeGroup.Builder |
copy(VolumeGroup model) |
VolumeGroup.Builder |
definedTags(Map<String,Map<String,Object>> definedTags)
Defined tags for this resource.
|
VolumeGroup.Builder |
displayName(String displayName)
A user-friendly name.
|
VolumeGroup.Builder |
freeformTags(Map<String,String> freeformTags)
Free-form tags for this resource.
|
VolumeGroup.Builder |
id(String id)
The OCID for the volume group.
|
VolumeGroup.Builder |
isHydrated(Boolean isHydrated)
Specifies whether the newly created cloned volume group’s data has finished copying from
the source volume group or backup.
|
VolumeGroup.Builder |
lifecycleState(VolumeGroup.LifecycleState lifecycleState)
The current state of a volume group.
|
VolumeGroup.Builder |
sizeInGBs(Long sizeInGBs)
The aggregate size of the volume group in GBs.
|
VolumeGroup.Builder |
sizeInMBs(Long sizeInMBs)
The aggregate size of the volume group in MBs.
|
VolumeGroup.Builder |
sourceDetails(VolumeGroupSourceDetails sourceDetails) |
VolumeGroup.Builder |
timeCreated(Date timeCreated)
The date and time the volume group was created.
|
VolumeGroup.Builder |
volumeGroupReplicas(List<VolumeGroupReplicaInfo> volumeGroupReplicas)
The list of volume group replicas of this volume group.
|
VolumeGroup.Builder |
volumeIds(List<String> volumeIds)
OCIDs for the volumes in this volume group.
|
public VolumeGroup.Builder availabilityDomain(String availabilityDomain)
The availability domain of the volume group.
availabilityDomain
- the value to setpublic VolumeGroup.Builder compartmentId(String compartmentId)
The OCID of the compartment that contains the volume group.
compartmentId
- the value to setpublic VolumeGroup.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 VolumeGroup.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 VolumeGroup.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 VolumeGroup.Builder id(String id)
The OCID for the volume group.
id
- the value to setpublic VolumeGroup.Builder lifecycleState(VolumeGroup.LifecycleState lifecycleState)
The current state of a volume group.
lifecycleState
- the value to setpublic VolumeGroup.Builder sizeInMBs(Long sizeInMBs)
The aggregate size of the volume group in MBs.
sizeInMBs
- the value to setpublic VolumeGroup.Builder sizeInGBs(Long sizeInGBs)
The aggregate size of the volume group in GBs.
sizeInGBs
- the value to setpublic VolumeGroup.Builder sourceDetails(VolumeGroupSourceDetails sourceDetails)
public VolumeGroup.Builder timeCreated(Date timeCreated)
The date and time the volume group was created. Format defined by RFC3339.
timeCreated
- the value to setpublic VolumeGroup.Builder volumeIds(List<String> volumeIds)
OCIDs for the volumes in this volume group.
volumeIds
- the value to setpublic VolumeGroup.Builder isHydrated(Boolean isHydrated)
Specifies whether the newly created cloned volume group’s data has finished copying from the source volume group or backup.
isHydrated
- the value to setpublic VolumeGroup.Builder volumeGroupReplicas(List<VolumeGroupReplicaInfo> volumeGroupReplicas)
The list of volume group replicas of this volume group.
volumeGroupReplicas
- the value to setpublic VolumeGroup build()
public VolumeGroup.Builder copy(VolumeGroup model)
Copyright © 2016–2024. All rights reserved.