Class DrProtectionGroupMemberComputeInstanceMovable.Builder
- java.lang.Object
-
- com.oracle.bmc.disasterrecovery.model.DrProtectionGroupMemberComputeInstanceMovable.Builder
-
- Enclosing class:
- DrProtectionGroupMemberComputeInstanceMovable
public static class DrProtectionGroupMemberComputeInstanceMovable.Builder extends Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
-
-
-
Method Detail
-
memberId
public DrProtectionGroupMemberComputeInstanceMovable.Builder memberId(String memberId)
-
isRetainFaultDomain
public DrProtectionGroupMemberComputeInstanceMovable.Builder isRetainFaultDomain(Boolean isRetainFaultDomain)
A flag indicating if the compute instance should be moved to the same fault domain in the destination region.The compute instance launch will fail if this flag is set to true and capacity is not available in the specified fault domain in the destination region.
Example: false
- Parameters:
isRetainFaultDomain
- the value to set- Returns:
- this builder
-
destinationCapacityReservationId
public DrProtectionGroupMemberComputeInstanceMovable.Builder destinationCapacityReservationId(String destinationCapacityReservationId)
The OCID of a capacity reservation in the destination region which will be used to launch the compute instance.Example: ocid1.capacityreservation.oc1..uniqueID
- Parameters:
destinationCapacityReservationId
- the value to set- Returns:
- this builder
-
vnicMappings
public DrProtectionGroupMemberComputeInstanceMovable.Builder vnicMappings(List<ComputeInstanceMovableVnicMapping> vnicMappings)
A list of compute instance VNIC mappings.- Parameters:
vnicMappings
- the value to set- Returns:
- this builder
-
destinationCompartmentId
public DrProtectionGroupMemberComputeInstanceMovable.Builder destinationCompartmentId(String destinationCompartmentId)
The OCID of a compartment in the destination region in which the compute instance should be launched.Example: ocid1.compartment.oc1..uniqueID
- Parameters:
destinationCompartmentId
- the value to set- Returns:
- this builder
-
destinationDedicatedVmHostId
public DrProtectionGroupMemberComputeInstanceMovable.Builder destinationDedicatedVmHostId(String destinationDedicatedVmHostId)
The OCID of a dedicated VM host in the destination region where the compute instance should be launched.Example: ocid1.dedicatedvmhost.oc1..uniqueID
- Parameters:
destinationDedicatedVmHostId
- the value to set- Returns:
- this builder
-
fileSystemOperations
public DrProtectionGroupMemberComputeInstanceMovable.Builder fileSystemOperations(List<ComputeInstanceMovableFileSystemOperation> fileSystemOperations)
A list of details of operations performed on file systems.- Parameters:
fileSystemOperations
- the value to set- Returns:
- this builder
-
build
public DrProtectionGroupMemberComputeInstanceMovable build()
-
copy
public DrProtectionGroupMemberComputeInstanceMovable.Builder copy(DrProtectionGroupMemberComputeInstanceMovable model)
-
-