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()
-
-