public static class VolumeGroupReplica.Builder extends Object
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
VolumeGroupReplica.Builder |
availabilityDomain(String availabilityDomain)
The availability domain of the volume group replica.
|
VolumeGroupReplica |
build() |
VolumeGroupReplica.Builder |
compartmentId(String compartmentId)
The OCID of the compartment that contains the volume group replica.
|
VolumeGroupReplica.Builder |
copy(VolumeGroupReplica model) |
VolumeGroupReplica.Builder |
definedTags(Map<String,Map<String,Object>> definedTags)
Defined tags for this resource.
|
VolumeGroupReplica.Builder |
displayName(String displayName)
A user-friendly name.
|
VolumeGroupReplica.Builder |
freeformTags(Map<String,String> freeformTags)
Free-form tags for this resource.
|
VolumeGroupReplica.Builder |
id(String id)
The OCID for the volume group replica.
|
VolumeGroupReplica.Builder |
lifecycleState(VolumeGroupReplica.LifecycleState lifecycleState)
The current state of a volume group.
|
VolumeGroupReplica.Builder |
memberReplicas(List<MemberReplica> memberReplicas)
Volume replicas within this volume group replica.
|
VolumeGroupReplica.Builder |
sizeInGBs(Long sizeInGBs)
The aggregate size of the volume group replica in GBs.
|
VolumeGroupReplica.Builder |
timeCreated(Date timeCreated)
The date and time the volume group replica was created.
|
VolumeGroupReplica.Builder |
timeLastSynced(Date timeLastSynced)
The date and time the volume group replica was last synced from the source volume group.
|
VolumeGroupReplica.Builder |
volumeGroupId(String volumeGroupId)
The OCID of the source volume group.
|
public VolumeGroupReplica.Builder availabilityDomain(String availabilityDomain)
The availability domain of the volume group replica.
availabilityDomain
- the value to setpublic VolumeGroupReplica.Builder compartmentId(String compartmentId)
The OCID of the compartment that contains the volume group replica.
compartmentId
- the value to setpublic VolumeGroupReplica.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 VolumeGroupReplica.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 VolumeGroupReplica.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 VolumeGroupReplica.Builder id(String id)
The OCID for the volume group replica.
id
- the value to setpublic VolumeGroupReplica.Builder lifecycleState(VolumeGroupReplica.LifecycleState lifecycleState)
The current state of a volume group.
lifecycleState
- the value to setpublic VolumeGroupReplica.Builder sizeInGBs(Long sizeInGBs)
The aggregate size of the volume group replica in GBs.
sizeInGBs
- the value to setpublic VolumeGroupReplica.Builder volumeGroupId(String volumeGroupId)
The OCID of the source volume group.
volumeGroupId
- the value to setpublic VolumeGroupReplica.Builder timeCreated(Date timeCreated)
The date and time the volume group replica was created. Format defined by RFC3339.
timeCreated
- the value to setpublic VolumeGroupReplica.Builder memberReplicas(List<MemberReplica> memberReplicas)
Volume replicas within this volume group replica.
memberReplicas
- the value to setpublic VolumeGroupReplica.Builder timeLastSynced(Date timeLastSynced)
The date and time the volume group replica was last synced from the source volume group. Format defined by RFC3339.
timeLastSynced
- the value to setpublic VolumeGroupReplica build()
public VolumeGroupReplica.Builder copy(VolumeGroupReplica model)
Copyright © 2016–2024. All rights reserved.