Constructor and Description |
---|
Builder()
Constructor with parameters for the required properties of
Endpoint . |
Modifier and Type | Method and Description |
---|---|
Endpoint |
build() |
Endpoint.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.
|
Endpoint.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.
|
Endpoint.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.
|
Endpoint.Builder |
setIpv6(IPv6EndPoint ipv6) |
Endpoint.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.
|
Endpoint.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.
|
Endpoint.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.
|
public Builder()
Endpoint
.public Endpoint.Builder setDefaultGateway(java.lang.String defaultGateway)
defaultGateway
- New value for the property.public Endpoint.Builder setDeviceName(java.lang.String deviceName)
deviceName
- New value for the property.public Endpoint.Builder setIp(java.lang.String ip)
ip
- New value for the property.public Endpoint.Builder setIpv6(IPv6EndPoint ipv6)
ipv6
- New value for the property.public Endpoint.Builder setLabel(java.lang.Long label)
label
- New value for the property.public Endpoint.Builder setMac(java.lang.String mac)
mac
- New value for the property.public Endpoint.Builder setSubnetMask(java.lang.String subnetMask)
subnetMask
- New value for the property.public Endpoint build()