public static final class L2VPNTunnelEncapsulation.Builder
extends java.lang.Object
L2VPNTunnelEncapsulation.| Constructor and Description |
|---|
Builder()
Constructor with parameters for the required properties of
L2VPNTunnelEncapsulation. |
| Modifier and Type | Method and Description |
|---|---|
L2VPNTunnelEncapsulation |
build() |
L2VPNTunnelEncapsulation.Builder |
setLocalEndpointAddress(java.lang.String localEndpointAddress)
IP Address of the local tunnel port.
|
L2VPNTunnelEncapsulation.Builder |
setPeerEndpointAddress(java.lang.String peerEndpointAddress)
IP Address of the peer tunnel port.
|
L2VPNTunnelEncapsulation.Builder |
setProtocol(java.lang.String protocol)
Possible values are:
L2VPNTunnelEncapsulation.PROTOCOL_GRE
Encapsulation protocol used by the tunnel. |
public Builder()
L2VPNTunnelEncapsulation.public L2VPNTunnelEncapsulation.Builder setLocalEndpointAddress(java.lang.String localEndpointAddress)
localEndpointAddress - New value for the property.public L2VPNTunnelEncapsulation.Builder setPeerEndpointAddress(java.lang.String peerEndpointAddress)
peerEndpointAddress - New value for the property.public L2VPNTunnelEncapsulation.Builder setProtocol(java.lang.String protocol)
protocol - New value for the property.public L2VPNTunnelEncapsulation build()