Package com.vmware.nsx_policy.model
Class BridgeProfileConfig.Builder
- java.lang.Object
-
- com.vmware.nsx_policy.model.BridgeProfileConfig.Builder
-
- Enclosing class:
- BridgeProfileConfig
public static final class BridgeProfileConfig.Builder extends java.lang.Object
Builder class forBridgeProfileConfig
.
-
-
Constructor Summary
Constructors Constructor Description Builder()
Constructor with parameters for the required properties ofBridgeProfileConfig
.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description BridgeProfileConfig
build()
BridgeProfileConfig.Builder
setBridgeProfilePath(java.lang.String bridgeProfilePath)
Same bridge profile can be configured on different segments.BridgeProfileConfig.Builder
setUplinkTeamingPolicyName(java.lang.String uplinkTeamingPolicyName)
The name of the switching uplink teaming policy for the bridge endpoint.BridgeProfileConfig.Builder
setVlanIds(java.util.List<java.lang.String> vlanIds)
VLAN specification for bridge endpoint.BridgeProfileConfig.Builder
setVlanTransportZonePath(java.lang.String vlanTransportZonePath)
The path of the VLAN transport zone that represents the underlay L2 zone in which the VLANs will be bridged to overlay segments.
-
-
-
Constructor Detail
-
Builder
public Builder()
Constructor with parameters for the required properties ofBridgeProfileConfig
.
-
-
Method Detail
-
setBridgeProfilePath
public BridgeProfileConfig.Builder setBridgeProfilePath(java.lang.String bridgeProfilePath)
Same bridge profile can be configured on different segments. Each bridge profile on a segment must unique.- Parameters:
bridgeProfilePath
- New value for the property.
-
setUplinkTeamingPolicyName
public BridgeProfileConfig.Builder setUplinkTeamingPolicyName(java.lang.String uplinkTeamingPolicyName)
The name of the switching uplink teaming policy for the bridge endpoint. This name corresponds to one of the switching uplink teaming policy names listed in the VLAN transport zone specified by the property \"vlan_transport_zone_path\". When this property is not specified, the default teaming policy of the host-switch is assigned. Do not set a value when the 'bridge_profile_path' is the path of L2DistributedBridgeEndpointProfile.- Parameters:
uplinkTeamingPolicyName
- New value for the property.
-
setVlanIds
public BridgeProfileConfig.Builder setVlanIds(java.util.List<java.lang.String> vlanIds)
VLAN specification for bridge endpoint. Either VLAN ID or VLAN ranges can be specified. Not both.- Parameters:
vlanIds
- New value for the property.
-
setVlanTransportZonePath
public BridgeProfileConfig.Builder setVlanTransportZonePath(java.lang.String vlanTransportZonePath)
The path of the VLAN transport zone that represents the underlay L2 zone in which the VLANs will be bridged to overlay segments. A unique VLAN transport zone should be assigned to each underlay L2 zone when needed for bridging. If two VLANs in two underlay L2 zones are combined together as one L2 broadcast-domain by certain L2 extension, the two underlay L2 zones still should have two different VLAN transport zones assigned to them. It is optional for distributed-bridging but required for other bridging modes. If it is not given, the distributed bridge will span all ESX transport nodes in the overlay transport zone of the segment that contains this profile.- Parameters:
vlanTransportZonePath
- New value for the property.
-
build
public BridgeProfileConfig build()
-
-