public static final class RemoteTunnelEndpoint.Builder
extends java.lang.Object
RemoteTunnelEndpoint
.Constructor and Description |
---|
Builder()
Constructor with parameters for the required properties of
RemoteTunnelEndpoint . |
Modifier and Type | Method and Description |
---|---|
RemoteTunnelEndpoint |
build() |
RemoteTunnelEndpoint.Builder |
setDefaultGateway(java.lang.String defaultGateway)
Gateway IP format: ip
This property may be present in responses from the server, but if it is present
in a request to server it will be ignored.
|
RemoteTunnelEndpoint.Builder |
setDeviceName(java.lang.String deviceName)
Name of the virtual tunnel endpoint
This property may be present in responses from the server, but if it is present
in a request to server it will be ignored.
|
RemoteTunnelEndpoint.Builder |
setIp(java.lang.String ip)
Depending upon the EndpointIpConfig used in HostSwitch, IP could be allocated
either from DHCP (default) or from Static IP Pool.
|
RemoteTunnelEndpoint.Builder |
setIpv6(IPv6EndPoint ipv6) |
RemoteTunnelEndpoint.Builder |
setLabel(java.lang.Long label)
Unique label for this Endpoint format: int32
This property may be present in responses from the server, but if it is present
in a request to server it will be ignored.
|
RemoteTunnelEndpoint.Builder |
setMac(java.lang.String mac)
MAC address format: mac-address
This property may be present in responses from the server, but if it is present
in a request to server it will be ignored.
|
RemoteTunnelEndpoint.Builder |
setSubnetMask(java.lang.String subnetMask)
Subnet mask format: ip
This property may be present in responses from the server, but if it is present
in a request to server it will be ignored.
|
RemoteTunnelEndpoint.Builder |
setVlan(java.lang.Long vlan)
Vlan id format: int64
This property may be present in responses from the server, but if it is present
in a request to server it will be ignored.
|
public Builder()
RemoteTunnelEndpoint
.public RemoteTunnelEndpoint.Builder setDefaultGateway(java.lang.String defaultGateway)
defaultGateway
- New value for the property.public RemoteTunnelEndpoint.Builder setDeviceName(java.lang.String deviceName)
deviceName
- New value for the property.public RemoteTunnelEndpoint.Builder setIp(java.lang.String ip)
ip
- New value for the property.public RemoteTunnelEndpoint.Builder setIpv6(IPv6EndPoint ipv6)
ipv6
- New value for the property.public RemoteTunnelEndpoint.Builder setLabel(java.lang.Long label)
label
- New value for the property.public RemoteTunnelEndpoint.Builder setMac(java.lang.String mac)
mac
- New value for the property.public RemoteTunnelEndpoint.Builder setSubnetMask(java.lang.String subnetMask)
subnetMask
- New value for the property.public RemoteTunnelEndpoint.Builder setVlan(java.lang.Long vlan)
vlan
- New value for the property.public RemoteTunnelEndpoint build()