Package com.vmware.nsx_policy.model
Class AggregateL2VpnPeerConfig.Builder
- java.lang.Object
-
- com.vmware.nsx_policy.model.AggregateL2VpnPeerConfig.Builder
-
- Enclosing class:
- AggregateL2VpnPeerConfig
public static final class AggregateL2VpnPeerConfig.Builder extends java.lang.Object
Builder class forAggregateL2VpnPeerConfig
.
-
-
Constructor Summary
Constructors Constructor Description Builder()
Constructor with parameters for the required properties ofAggregateL2VpnPeerConfig
.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description AggregateL2VpnPeerConfig
build()
AggregateL2VpnPeerConfig.Builder
setL2vpnPath(java.lang.String l2vpnPath)
Policy path referencing the L2Vpn.AggregateL2VpnPeerConfig.Builder
setL2vpnPeerConfigPerEnforcementPoint(java.util.List<com.vmware.vapi.bindings.Structure> l2vpnPeerConfigPerEnforcementPoint)
List of L2Vpn peer config per Enforcement Point.
-
-
-
Constructor Detail
-
Builder
public Builder()
Constructor with parameters for the required properties ofAggregateL2VpnPeerConfig
.
-
-
Method Detail
-
setL2vpnPath
public AggregateL2VpnPeerConfig.Builder setL2vpnPath(java.lang.String l2vpnPath)
Policy path referencing the L2Vpn.- Parameters:
l2vpnPath
- New value for the property.
-
setL2vpnPeerConfigPerEnforcementPoint
public AggregateL2VpnPeerConfig.Builder setL2vpnPeerConfigPerEnforcementPoint(java.util.List<com.vmware.vapi.bindings.Structure> l2vpnPeerConfigPerEnforcementPoint)
List of L2Vpn peer config per Enforcement Point. This property may be present in responses from the server, but if it is present in a request to server it will be ignored.- Parameters:
l2vpnPeerConfigPerEnforcementPoint
- New value for the property. When clients pass a value of this class as a parameter, the property must contain all the properties defined inL2VpnPeerConfigPerEnforcementPoint
. When methods return a value of this class as a return value, the property will contain all the properties defined inL2VpnPeerConfigPerEnforcementPoint
.
-
build
public AggregateL2VpnPeerConfig build()
-
-