public static final class L2VPNSessionData.Builder
extends java.lang.Object
L2VPNSessionData.| Constructor and Description |
|---|
Builder()
Constructor with parameters for the required properties of
L2VPNSessionData. |
| Modifier and Type | Method and Description |
|---|---|
L2VPNSessionData |
build() |
L2VPNSessionData.Builder |
setDescription(java.lang.String description)
Description of L2VPN Session
|
L2VPNSessionData.Builder |
setDisplayName(java.lang.String displayName)
Defaults to id if not set.
|
L2VPNSessionData.Builder |
setEnabled(java.lang.Boolean enabled)
Enable to extend all the associated segments.
|
L2VPNSessionData.Builder |
setTransportTunnels(java.util.List<L2VPNSessionTransportTunnelData> transportTunnels)
List of L2VPN transport tunnel data.
|
public Builder()
L2VPNSessionData.public L2VPNSessionData.Builder setDescription(java.lang.String description)
description - New value for the property.public L2VPNSessionData.Builder setDisplayName(java.lang.String displayName)
displayName - New value for the property.public L2VPNSessionData.Builder setEnabled(java.lang.Boolean enabled)
enabled - New value for the property.public L2VPNSessionData.Builder setTransportTunnels(java.util.List<L2VPNSessionTransportTunnelData> transportTunnels)
transportTunnels - New value for the property.public L2VPNSessionData build()