public static class BlockVolumeReplica.Builder extends Object
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
BlockVolumeReplica.Builder |
availabilityDomain(String availabilityDomain)
The availability domain of the block volume replica.
|
BlockVolumeReplica.Builder |
blockVolumeId(String blockVolumeId)
The OCID of the source block volume.
|
BlockVolumeReplica |
build() |
BlockVolumeReplica.Builder |
compartmentId(String compartmentId)
The OCID of the compartment that contains the block volume replica.
|
BlockVolumeReplica.Builder |
copy(BlockVolumeReplica model) |
BlockVolumeReplica.Builder |
definedTags(Map<String,Map<String,Object>> definedTags)
Defined tags for this resource.
|
BlockVolumeReplica.Builder |
displayName(String displayName)
A user-friendly name.
|
BlockVolumeReplica.Builder |
freeformTags(Map<String,String> freeformTags)
Free-form tags for this resource.
|
BlockVolumeReplica.Builder |
id(String id)
The block volume replica’s Oracle ID (OCID).
|
BlockVolumeReplica.Builder |
lifecycleState(BlockVolumeReplica.LifecycleState lifecycleState)
The current state of a block volume replica.
|
BlockVolumeReplica.Builder |
sizeInGBs(Long sizeInGBs)
The size of the source block volume, in GBs.
|
BlockVolumeReplica.Builder |
timeCreated(Date timeCreated)
The date and time the block volume replica was created.
|
BlockVolumeReplica.Builder |
timeLastSynced(Date timeLastSynced)
The date and time the block volume replica was last synced from the source block volume.
|
BlockVolumeReplica.Builder |
totalDataTransferredInGBs(Long totalDataTransferredInGBs)
The total size of the data transferred from the source block volume to the block volume
replica, in GBs.
|
BlockVolumeReplica.Builder |
volumeGroupReplicaId(String volumeGroupReplicaId)
The OCID of the volume group replica.
|
public BlockVolumeReplica.Builder availabilityDomain(String availabilityDomain)
The availability domain of the block volume replica.
Example: Uocm:PHX-AD-1
availabilityDomain
- the value to setpublic BlockVolumeReplica.Builder compartmentId(String compartmentId)
The OCID of the compartment that contains the block volume replica.
compartmentId
- the value to setpublic BlockVolumeReplica.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 BlockVolumeReplica.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 BlockVolumeReplica.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 BlockVolumeReplica.Builder id(String id)
The block volume replica’s Oracle ID (OCID).
id
- the value to setpublic BlockVolumeReplica.Builder lifecycleState(BlockVolumeReplica.LifecycleState lifecycleState)
The current state of a block volume replica.
lifecycleState
- the value to setpublic BlockVolumeReplica.Builder sizeInGBs(Long sizeInGBs)
The size of the source block volume, in GBs.
sizeInGBs
- the value to setpublic BlockVolumeReplica.Builder timeCreated(Date timeCreated)
The date and time the block volume replica was created. Format defined by RFC3339.
timeCreated
- the value to setpublic BlockVolumeReplica.Builder timeLastSynced(Date timeLastSynced)
The date and time the block volume replica was last synced from the source block volume. Format defined by RFC3339.
timeLastSynced
- the value to setpublic BlockVolumeReplica.Builder blockVolumeId(String blockVolumeId)
The OCID of the source block volume.
blockVolumeId
- the value to setpublic BlockVolumeReplica.Builder totalDataTransferredInGBs(Long totalDataTransferredInGBs)
The total size of the data transferred from the source block volume to the block volume replica, in GBs.
totalDataTransferredInGBs
- the value to setpublic BlockVolumeReplica.Builder volumeGroupReplicaId(String volumeGroupReplicaId)
The OCID of the volume group replica.
volumeGroupReplicaId
- the value to setpublic BlockVolumeReplica build()
public BlockVolumeReplica.Builder copy(BlockVolumeReplica model)
Copyright © 2016–2023. All rights reserved.