public static class ComputeInstanceVnicMapping.Builder extends Object
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
ComputeInstanceVnicMapping |
build() |
ComputeInstanceVnicMapping.Builder |
copy(ComputeInstanceVnicMapping model) |
ComputeInstanceVnicMapping.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.
|
ComputeInstanceVnicMapping.Builder |
destinationSubnetId(String destinationSubnetId)
The OCID of the destination subnet to which the source VNIC should connect.
|
ComputeInstanceVnicMapping.Builder |
sourceVnicId(String sourceVnicId)
The OCID of the VNIC.
|
public ComputeInstanceVnicMapping.Builder sourceVnicId(String sourceVnicId)
The OCID of the VNIC.
Example: ocid1.vnic.oc1..uniqueID
sourceVnicId
- the value to setpublic ComputeInstanceVnicMapping.Builder destinationSubnetId(String destinationSubnetId)
The OCID of the destination subnet to which the source VNIC should connect.
Example: ocid1.subnet.oc1..uniqueID
destinationSubnetId
- the value to setpublic ComputeInstanceVnicMapping.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..uniqueID1,
ocid1.networksecuritygroup.oc1..uniqueID2 ]
destinationNsgIdList
- the value to setpublic ComputeInstanceVnicMapping build()
public ComputeInstanceVnicMapping.Builder copy(ComputeInstanceVnicMapping model)
Copyright © 2016–2024. All rights reserved.