Class ComputeInstanceVnicMappingDetails.Builder
- java.lang.Object
-
- com.oracle.bmc.disasterrecovery.model.ComputeInstanceVnicMappingDetails.Builder
-
- Enclosing class:
- ComputeInstanceVnicMappingDetails
public static class ComputeInstanceVnicMappingDetails.Builder extends Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ComputeInstanceVnicMappingDetails
build()
ComputeInstanceVnicMappingDetails.Builder
copy(ComputeInstanceVnicMappingDetails model)
ComputeInstanceVnicMappingDetails.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.ComputeInstanceVnicMappingDetails.Builder
destinationPrimaryPrivateIpAddress(String destinationPrimaryPrivateIpAddress)
The primary private IP address to be assigned to the VNIC in the destination region.ComputeInstanceVnicMappingDetails.Builder
destinationPrimaryPrivateIpHostnameLabel(String destinationPrimaryPrivateIpHostnameLabel)
The hostname label to be assigned in the destination subnet for the primary private IP of the source VNIC.ComputeInstanceVnicMappingDetails.Builder
destinationSubnetId(String destinationSubnetId)
The OCID of the destination subnet to which this source VNIC should connect.ComputeInstanceVnicMappingDetails.Builder
sourceVnicId(String sourceVnicId)
The OCID of the VNIC.
-
-
-
Method Detail
-
sourceVnicId
public ComputeInstanceVnicMappingDetails.Builder sourceVnicId(String sourceVnicId)
The OCID of the VNIC.Example: ocid1.vnic.oc1..uniqueID
- Parameters:
sourceVnicId
- the value to set- Returns:
- this builder
-
destinationSubnetId
public ComputeInstanceVnicMappingDetails.Builder destinationSubnetId(String destinationSubnetId)
The OCID of the destination subnet to which this source VNIC should connect.Example: ocid1.subnet.oc1..uniqueID
- Parameters:
destinationSubnetId
- the value to set- Returns:
- this builder
-
destinationPrimaryPrivateIpAddress
public ComputeInstanceVnicMappingDetails.Builder destinationPrimaryPrivateIpAddress(String destinationPrimaryPrivateIpAddress)
The primary private IP address to be assigned to the VNIC in the destination region.This address must belong to the destination subnet.
Example: 10.0.3.3
- Parameters:
destinationPrimaryPrivateIpAddress
- the value to set- Returns:
- this builder
-
destinationPrimaryPrivateIpHostnameLabel
public ComputeInstanceVnicMappingDetails.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
-
destinationNsgIdList
public ComputeInstanceVnicMappingDetails.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
-
build
public ComputeInstanceVnicMappingDetails build()
-
copy
public ComputeInstanceVnicMappingDetails.Builder copy(ComputeInstanceVnicMappingDetails model)
-
-