Package com.vmware.nsx_policy.model
Class VirtualNetworkInterfaceRuntimeInfo.Builder
- java.lang.Object
-
- com.vmware.nsx_policy.model.VirtualNetworkInterfaceRuntimeInfo.Builder
-
- Enclosing class:
- VirtualNetworkInterfaceRuntimeInfo
public static final class VirtualNetworkInterfaceRuntimeInfo.Builder extends java.lang.Object
Builder class forVirtualNetworkInterfaceRuntimeInfo
.
-
-
Constructor Summary
Constructors Constructor Description Builder()
Constructor with parameters for the required properties ofVirtualNetworkInterfaceRuntimeInfo
.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description VirtualNetworkInterfaceRuntimeInfo
build()
VirtualNetworkInterfaceRuntimeInfo.Builder
setExternalId(java.lang.String externalId)
External Id of virtual network inferfaceVirtualNetworkInterfaceRuntimeInfo.Builder
setUptv2Active(java.lang.String uptv2Active)
Possible values are:VirtualNetworkInterfaceRuntimeInfo.UPTV2ACTIVE_NONE
This flag specifies whether UPTv2 (Universal Pass-through version 2) is active on the virtual network interface or not.
-
-
-
Constructor Detail
-
Builder
public Builder()
Constructor with parameters for the required properties ofVirtualNetworkInterfaceRuntimeInfo
.
-
-
Method Detail
-
setExternalId
public VirtualNetworkInterfaceRuntimeInfo.Builder setExternalId(java.lang.String externalId)
External Id of virtual network inferface- Parameters:
externalId
- New value for the property.
-
setUptv2Active
public VirtualNetworkInterfaceRuntimeInfo.Builder setUptv2Active(java.lang.String uptv2Active)
Possible values are: This flag specifies whether UPTv2 (Universal Pass-through version 2) is active on the virtual network interface or not. If TRUE, then the virtual network interface works in the pass-through mode. If FALSE, then the virtual network interface still has network connectivity but works in emulated mode and pass-through is not enabled. This flag is NONE, if it is not applicable.- Parameters:
uptv2Active
- New value for the property.
-
build
public VirtualNetworkInterfaceRuntimeInfo build()
-
-