public static class ComputeInstanceMovableVnicMapping.Builder extends Object
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
ComputeInstanceMovableVnicMapping |
build() |
ComputeInstanceMovableVnicMapping.Builder |
copy(ComputeInstanceMovableVnicMapping model) |
ComputeInstanceMovableVnicMapping.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.
|
ComputeInstanceMovableVnicMapping.Builder |
destinationPrimaryPrivateIpAddress(String destinationPrimaryPrivateIpAddress)
The private IP address to be assigned as the VNIC’s primary IP address in the destination
subnet.
|
ComputeInstanceMovableVnicMapping.Builder |
destinationPrimaryPrivateIpHostnameLabel(String destinationPrimaryPrivateIpHostnameLabel)
The hostname label to be assigned in the destination subnet for the primary private IP of
the source VNIC.
|
ComputeInstanceMovableVnicMapping.Builder |
destinationSubnetId(String destinationSubnetId)
The OCID of the destination subnet to which the source VNIC should connect.
|
ComputeInstanceMovableVnicMapping.Builder |
sourceVnicId(String sourceVnicId)
The OCID of the source VNIC.
|
public ComputeInstanceMovableVnicMapping.Builder sourceVnicId(String sourceVnicId)
The OCID of the source VNIC.
Example: ocid1.vnic.oc1..uniqueID
sourceVnicId
- the value to setpublic ComputeInstanceMovableVnicMapping.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 ComputeInstanceMovableVnicMapping.Builder destinationPrimaryPrivateIpAddress(String destinationPrimaryPrivateIpAddress)
The private IP address to be assigned as the VNIC’s primary IP address in the destination subnet. This must be a valid IP address in the destination subnet and the IP address must be available.
Example: 10.0.3.3
destinationPrimaryPrivateIpAddress
- the value to setpublic ComputeInstanceMovableVnicMapping.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
destinationPrimaryPrivateIpHostnameLabel
- the value to setpublic ComputeInstanceMovableVnicMapping.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 ]
destinationNsgIdList
- the value to setpublic ComputeInstanceMovableVnicMapping build()
public ComputeInstanceMovableVnicMapping.Builder copy(ComputeInstanceMovableVnicMapping model)
Copyright © 2016–2024. All rights reserved.