Package com.vmware.nsx_policy.model
Class IPSecVPNTrafficCounters.Builder
- java.lang.Object
-
- com.vmware.nsx_policy.model.IPSecVPNTrafficCounters.Builder
-
- Enclosing class:
- IPSecVPNTrafficCounters
public static final class IPSecVPNTrafficCounters.Builder extends java.lang.Object
Builder class forIPSecVPNTrafficCounters
.
-
-
Constructor Summary
Constructors Constructor Description Builder()
Constructor with parameters for the required properties ofIPSecVPNTrafficCounters
.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description IPSecVPNTrafficCounters
build()
IPSecVPNTrafficCounters.Builder
setBytesIn(java.lang.Long bytesIn)
Total number of bytes recevied.IPSecVPNTrafficCounters.Builder
setBytesOut(java.lang.Long bytesOut)
Total number of bytes sent.IPSecVPNTrafficCounters.Builder
setDroppedPacketsIn(java.lang.Long droppedPacketsIn)
Total number of incoming packets dropped on inbound security association.IPSecVPNTrafficCounters.Builder
setDroppedPacketsOut(java.lang.Long droppedPacketsOut)
Total number of outgoing packets dropped on outbound security association.IPSecVPNTrafficCounters.Builder
setPacketsIn(java.lang.Long packetsIn)
Total number of packets received.IPSecVPNTrafficCounters.Builder
setPacketsOut(java.lang.Long packetsOut)
Total number of packets sent.
-
-
-
Constructor Detail
-
Builder
public Builder()
Constructor with parameters for the required properties ofIPSecVPNTrafficCounters
.
-
-
Method Detail
-
setBytesIn
public IPSecVPNTrafficCounters.Builder setBytesIn(java.lang.Long bytesIn)
Total number of bytes recevied. 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.- Parameters:
bytesIn
- New value for the property.
-
setBytesOut
public IPSecVPNTrafficCounters.Builder setBytesOut(java.lang.Long bytesOut)
Total number of bytes sent. 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.- Parameters:
bytesOut
- New value for the property.
-
setDroppedPacketsIn
public IPSecVPNTrafficCounters.Builder setDroppedPacketsIn(java.lang.Long droppedPacketsIn)
Total number of incoming packets dropped on inbound security association. 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.- Parameters:
droppedPacketsIn
- New value for the property.
-
setDroppedPacketsOut
public IPSecVPNTrafficCounters.Builder setDroppedPacketsOut(java.lang.Long droppedPacketsOut)
Total number of outgoing packets dropped on outbound security association. 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.- Parameters:
droppedPacketsOut
- New value for the property.
-
setPacketsIn
public IPSecVPNTrafficCounters.Builder setPacketsIn(java.lang.Long packetsIn)
Total number of packets received. 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.- Parameters:
packetsIn
- New value for the property.
-
setPacketsOut
public IPSecVPNTrafficCounters.Builder setPacketsOut(java.lang.Long packetsOut)
Total number of packets sent. 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.- Parameters:
packetsOut
- New value for the property.
-
build
public IPSecVPNTrafficCounters build()
-
-