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