public static class AttachVnicDetails.Builder extends Object
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
AttachVnicDetails |
build() |
AttachVnicDetails.Builder |
copy(AttachVnicDetails model) |
AttachVnicDetails.Builder |
createVnicDetails(CreateVnicDetails createVnicDetails) |
AttachVnicDetails.Builder |
displayName(String displayName)
A user-friendly name.
|
AttachVnicDetails.Builder |
instanceId(String instanceId)
The OCID of the instance.
|
AttachVnicDetails.Builder |
nicIndex(Integer nicIndex)
Which physical network interface card (NIC) the VNIC will use.
|
public AttachVnicDetails.Builder createVnicDetails(CreateVnicDetails createVnicDetails)
public AttachVnicDetails.Builder displayName(String displayName)
A user-friendly name. Does not have to be unique, and it’s changeable. Avoid entering confidential information.
displayName
- the value to setpublic AttachVnicDetails.Builder instanceId(String instanceId)
The OCID of the instance.
instanceId
- the value to setpublic AttachVnicDetails.Builder nicIndex(Integer nicIndex)
Which physical network interface card (NIC) the VNIC will use. Defaults to 0. Certain bare metal instance shapes have two active physical NICs (0 and 1). If you add a secondary VNIC to one of these instances, you can specify which NIC the VNIC will use. For more information, see Virtual Network Interface Cards (VNICs).
nicIndex
- the value to setpublic AttachVnicDetails build()
public AttachVnicDetails.Builder copy(AttachVnicDetails model)
Copyright © 2016–2024. All rights reserved.