Constructor and Description |
---|
Builder()
Constructor with parameters for the required properties of
Site . |
Modifier and Type | Method and Description |
---|---|
Site |
build() |
Site.Builder |
setDroppedRxPackets(java.lang.String droppedRxPackets)
Number of received packets dropped.
|
Site.Builder |
setDroppedTxPackets(java.lang.String droppedTxPackets)
Number of transmitted packets dropped.
|
Site.Builder |
setEstablishedDate(java.lang.String establishedDate)
Date tunnel was established.
|
Site.Builder |
setFailureMessage(java.lang.String failureMessage)
failure message.
|
Site.Builder |
setName(java.lang.String name)
Unique name for the site getting configured.
|
Site.Builder |
setPassword(java.lang.String password)
Site password.
|
Site.Builder |
setRxBytesOnLocalSubnet(java.lang.Long rxBytesOnLocalSubnet)
Bytes received on local network.
|
Site.Builder |
setSecureTraffic(java.lang.Boolean secureTraffic)
Enable/disable encription.
|
Site.Builder |
setTunnelStatus(java.lang.String tunnelStatus)
Possible values are:
Site.TUNNEL_STATUS_CONNECTED Site.TUNNEL_STATUS_DISCONNECTED Site.TUNNEL_STATUS_UNKNOWN Site tunnel status. |
Site.Builder |
setTxBytesFromLocalSubnet(java.lang.Long txBytesFromLocalSubnet)
Bytes transmitted from local subnet.
|
Site.Builder |
setUserId(java.lang.String userId)
Site user id.
|
public Builder()
Site
.public Site.Builder setPassword(java.lang.String password)
password
- New value for the property.public Site.Builder setUserId(java.lang.String userId)
userId
- New value for the property.public Site.Builder setName(java.lang.String name)
name
- New value for the property.public Site.Builder setRxBytesOnLocalSubnet(java.lang.Long rxBytesOnLocalSubnet)
rxBytesOnLocalSubnet
- New value for the property.public Site.Builder setSecureTraffic(java.lang.Boolean secureTraffic)
secureTraffic
- New value for the property.public Site.Builder setEstablishedDate(java.lang.String establishedDate)
establishedDate
- New value for the property.public Site.Builder setFailureMessage(java.lang.String failureMessage)
failureMessage
- New value for the property.public Site.Builder setDroppedTxPackets(java.lang.String droppedTxPackets)
droppedTxPackets
- New value for the property.public Site.Builder setDroppedRxPackets(java.lang.String droppedRxPackets)
droppedRxPackets
- New value for the property.public Site.Builder setTunnelStatus(java.lang.String tunnelStatus)
tunnelStatus
- New value for the property.public Site.Builder setTxBytesFromLocalSubnet(java.lang.Long txBytesFromLocalSubnet)
txBytesFromLocalSubnet
- New value for the property.public Site build()