Class CreateDrProtectionGroupMemberComputeInstanceMovableDetails.Builder
- java.lang.Object
-
- com.oracle.bmc.disasterrecovery.model.CreateDrProtectionGroupMemberComputeInstanceMovableDetails.Builder
-
- Enclosing class:
- CreateDrProtectionGroupMemberComputeInstanceMovableDetails
public static class CreateDrProtectionGroupMemberComputeInstanceMovableDetails.Builder extends Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
-
-
-
Method Detail
-
memberId
public CreateDrProtectionGroupMemberComputeInstanceMovableDetails.Builder memberId(String memberId)
-
isRetainFaultDomain
public CreateDrProtectionGroupMemberComputeInstanceMovableDetails.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 CreateDrProtectionGroupMemberComputeInstanceMovableDetails.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 CreateDrProtectionGroupMemberComputeInstanceMovableDetails.Builder vnicMappings(List<ComputeInstanceMovableVnicMappingDetails> vnicMappings)
A list of compute instance VNIC mappings.- Parameters:
vnicMappings
- the value to set- Returns:
- this builder
-
destinationCompartmentId
public CreateDrProtectionGroupMemberComputeInstanceMovableDetails.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 CreateDrProtectionGroupMemberComputeInstanceMovableDetails.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 CreateDrProtectionGroupMemberComputeInstanceMovableDetails.Builder fileSystemOperations(List<CreateComputeInstanceMovableFileSystemOperationDetails> fileSystemOperations)
A list of operations performed on file systems used by the compute instance.- Parameters:
fileSystemOperations
- the value to set- Returns:
- this builder
-
build
public CreateDrProtectionGroupMemberComputeInstanceMovableDetails build()
-
-