Class ComputeInstanceMovableVnicMappingDetails.Builder
- java.lang.Object
- 
- com.oracle.bmc.disasterrecovery.model.ComputeInstanceMovableVnicMappingDetails.Builder
 
- 
- Enclosing class:
- ComputeInstanceMovableVnicMappingDetails
 
 public static class ComputeInstanceMovableVnicMappingDetails.Builder extends Object 
- 
- 
Constructor SummaryConstructors Constructor Description Builder()
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description ComputeInstanceMovableVnicMappingDetailsbuild()ComputeInstanceMovableVnicMappingDetails.Buildercopy(ComputeInstanceMovableVnicMappingDetails model)ComputeInstanceMovableVnicMappingDetails.BuilderdestinationNsgIdList(List<String> destinationNsgIdList)A list of OCIDs of network security groups (NSG) in the destination region which should be assigned to the source VNIC.ComputeInstanceMovableVnicMappingDetails.BuilderdestinationPrimaryPrivateIpAddress(String destinationPrimaryPrivateIpAddress)The primary private IP address to be assigned to the source VNIC in the destination subnet.ComputeInstanceMovableVnicMappingDetails.BuilderdestinationPrimaryPrivateIpHostnameLabel(String destinationPrimaryPrivateIpHostnameLabel)The hostname label to be assigned in the destination subnet for the primary private IP of the source VNIC.ComputeInstanceMovableVnicMappingDetails.BuilderdestinationReservedPublicIpId(String destinationReservedPublicIpId)The OCID of the reserved public IP address to be assigned to the compute instance in the destination region.ComputeInstanceMovableVnicMappingDetails.BuilderdestinationSubnetId(String destinationSubnetId)The OCID of the destination subnet to which the source VNIC should connect.ComputeInstanceMovableVnicMappingDetails.BuildersourceVnicId(String sourceVnicId)The OCID of the source VNIC.
 
- 
- 
- 
Method Detail- 
sourceVnicIdpublic ComputeInstanceMovableVnicMappingDetails.Builder sourceVnicId(String sourceVnicId) The OCID of the source VNIC.Example: ocid1.vnic.oc1..uniqueID - Parameters:
- sourceVnicId- the value to set
- Returns:
- this builder
 
 - 
destinationSubnetIdpublic ComputeInstanceMovableVnicMappingDetails.Builder destinationSubnetId(String destinationSubnetId) The OCID of the destination subnet to which the source VNIC should connect.Example: ocid1.subnet.oc1..uniqueID - Parameters:
- destinationSubnetId- the value to set
- Returns:
- this builder
 
 - 
destinationPrimaryPrivateIpAddresspublic ComputeInstanceMovableVnicMappingDetails.Builder destinationPrimaryPrivateIpAddress(String destinationPrimaryPrivateIpAddress) The primary private IP address to be assigned to the source VNIC in the destination subnet.This IP address must belong to the destination subnet. Example: 10.0.3.3 - Parameters:
- destinationPrimaryPrivateIpAddress- the value to set
- Returns:
- this builder
 
 - 
destinationPrimaryPrivateIpHostnameLabelpublic ComputeInstanceMovableVnicMappingDetails.Builder destinationPrimaryPrivateIpHostnameLabel(String destinationPrimaryPrivateIpHostnameLabel) The hostname label to be assigned in the destination subnet for the primary private IP of the source VNIC.This label is the hostname portion of the private IP’s fully qualified domain name (FQDN) (for example, ‘myhost1’ in the FQDN ‘myhost1.subnet123.vcn1.oraclevcn.com’). Example: myhost1 - Parameters:
- destinationPrimaryPrivateIpHostnameLabel- the value to set
- Returns:
- this builder
 
 - 
destinationReservedPublicIpIdpublic ComputeInstanceMovableVnicMappingDetails.Builder destinationReservedPublicIpId(String destinationReservedPublicIpId) The OCID of the reserved public IP address to be assigned to the compute instance in the destination region.Example: ocid1.publicip.oc1..uniqueID - Parameters:
- destinationReservedPublicIpId- the value to set
- Returns:
- this builder
 
 - 
destinationNsgIdListpublic ComputeInstanceMovableVnicMappingDetails.Builder destinationNsgIdList(List<String> destinationNsgIdList) A list of OCIDs of network security groups (NSG) in the destination region which should be assigned to the source VNIC.Example: [ ocid1.networksecuritygroup.oc1..uniqueID, ocid1.networksecuritygroup.oc1..uniqueID ] - Parameters:
- destinationNsgIdList- the value to set
- Returns:
- this builder
 
 - 
buildpublic ComputeInstanceMovableVnicMappingDetails build() 
 - 
copypublic ComputeInstanceMovableVnicMappingDetails.Builder copy(ComputeInstanceMovableVnicMappingDetails model) 
 
- 
 
-