public static final class IPSecVPNTunnelTrafficStatistics.Builder
extends java.lang.Object
IPSecVPNTunnelTrafficStatistics
.Constructor and Description |
---|
Builder()
Constructor with parameters for the required properties of
IPSecVPNTunnelTrafficStatistics . |
Modifier and Type | Method and Description |
---|---|
IPSecVPNTunnelTrafficStatistics |
build() |
IPSecVPNTunnelTrafficStatistics.Builder |
setBytesIn(java.lang.Long bytesIn)
Total number of incoming bytes on inbound Security association (SA).
|
IPSecVPNTunnelTrafficStatistics.Builder |
setBytesOut(java.lang.Long bytesOut)
Total number of outgoing bytes on outbound Security association (SA).
|
IPSecVPNTunnelTrafficStatistics.Builder |
setDecryptionFailures(java.lang.Long decryptionFailures)
Total number of packets dropped due to decryption failures.
|
IPSecVPNTunnelTrafficStatistics.Builder |
setDroppedPacketsIn(java.lang.Long droppedPacketsIn)
Total number of incoming packets dropped on inbound security association.
|
IPSecVPNTunnelTrafficStatistics.Builder |
setDroppedPacketsOut(java.lang.Long droppedPacketsOut)
Total number of outgoing packets dropped on outbound security association.
|
IPSecVPNTunnelTrafficStatistics.Builder |
setEncryptionFailures(java.lang.Long encryptionFailures)
Total number of packets dropped because of failure in encryption.
|
IPSecVPNTunnelTrafficStatistics.Builder |
setIntegrityFailures(java.lang.Long integrityFailures)
Total number of packets dropped due to integrity failures.
|
IPSecVPNTunnelTrafficStatistics.Builder |
setLocalSubnet(java.lang.String localSubnet)
Local subnet to which a tunnel belongs.
|
IPSecVPNTunnelTrafficStatistics.Builder |
setNomatchingPolicyErrors(java.lang.Long nomatchingPolicyErrors)
Number of packets dropped because of no matching policy is available.
|
IPSecVPNTunnelTrafficStatistics.Builder |
setPacketsIn(java.lang.Long packetsIn)
Total number of incoming packets on inbound Security association (SA).
|
IPSecVPNTunnelTrafficStatistics.Builder |
setPacketsOut(java.lang.Long packetsOut)
Total number of outgoing packets on outbound Security association (SA).
|
IPSecVPNTunnelTrafficStatistics.Builder |
setPacketsReceiveOtherError(java.lang.Long packetsReceiveOtherError)
Total number of incoming packets dropped on inbound Security association
(SA)(misc).
|
IPSecVPNTunnelTrafficStatistics.Builder |
setPacketsSentOtherError(java.lang.Long packetsSentOtherError)
Total number of packets dropped while sending for any reason.
|
IPSecVPNTunnelTrafficStatistics.Builder |
setPeerSubnet(java.lang.String peerSubnet)
Peer subnet to which a tunnel belongs.
|
IPSecVPNTunnelTrafficStatistics.Builder |
setPolicyId(java.lang.String policyId)
Policy UUID of IPSec Tunnel.
|
IPSecVPNTunnelTrafficStatistics.Builder |
setReplayErrors(java.lang.Long replayErrors)
Total number of packets dropped due to replay check on that Security association
(SA).
|
IPSecVPNTunnelTrafficStatistics.Builder |
setSaMismatchErrorsIn(java.lang.Long saMismatchErrorsIn)
Totoal number of security association (SA) mismatch errors on incoming packets.
|
IPSecVPNTunnelTrafficStatistics.Builder |
setSaMismatchErrorsOut(java.lang.Long saMismatchErrorsOut)
Totoal number of security association (SA) mismatch errors on outgoing packets.
|
IPSecVPNTunnelTrafficStatistics.Builder |
setSeqNumberOverflowError(java.lang.Long seqNumberOverflowError)
Total number of packets dropped while sending due to overflow in sequence
number.
|
IPSecVPNTunnelTrafficStatistics.Builder |
setTunnelDownReason(java.lang.String tunnelDownReason)
Gives the detailed reason about the tunnel when it is down.
|
IPSecVPNTunnelTrafficStatistics.Builder |
setTunnelStatus(java.lang.String tunnelStatus)
Possible values are:
IPSecVPNTunnelTrafficStatistics.TUNNEL_STATUS_UP
IPSecVPNTunnelTrafficStatistics.TUNNEL_STATUS_DOWN
IPSecVPNTunnelTrafficStatistics.TUNNEL_STATUS_NEGOTIATING
Specifies the status of tunnel. |
public Builder()
IPSecVPNTunnelTrafficStatistics
.public IPSecVPNTunnelTrafficStatistics.Builder setBytesIn(java.lang.Long bytesIn)
bytesIn
- New value for the property.public IPSecVPNTunnelTrafficStatistics.Builder setBytesOut(java.lang.Long bytesOut)
bytesOut
- New value for the property.public IPSecVPNTunnelTrafficStatistics.Builder setDecryptionFailures(java.lang.Long decryptionFailures)
decryptionFailures
- New value for the property.public IPSecVPNTunnelTrafficStatistics.Builder setDroppedPacketsIn(java.lang.Long droppedPacketsIn)
droppedPacketsIn
- New value for the property.public IPSecVPNTunnelTrafficStatistics.Builder setDroppedPacketsOut(java.lang.Long droppedPacketsOut)
droppedPacketsOut
- New value for the property.public IPSecVPNTunnelTrafficStatistics.Builder setEncryptionFailures(java.lang.Long encryptionFailures)
encryptionFailures
- New value for the property.public IPSecVPNTunnelTrafficStatistics.Builder setIntegrityFailures(java.lang.Long integrityFailures)
integrityFailures
- New value for the property.public IPSecVPNTunnelTrafficStatistics.Builder setLocalSubnet(java.lang.String localSubnet)
localSubnet
- New value for the property.public IPSecVPNTunnelTrafficStatistics.Builder setNomatchingPolicyErrors(java.lang.Long nomatchingPolicyErrors)
nomatchingPolicyErrors
- New value for the property.public IPSecVPNTunnelTrafficStatistics.Builder setPacketsIn(java.lang.Long packetsIn)
packetsIn
- New value for the property.public IPSecVPNTunnelTrafficStatistics.Builder setPacketsOut(java.lang.Long packetsOut)
packetsOut
- New value for the property.public IPSecVPNTunnelTrafficStatistics.Builder setPacketsReceiveOtherError(java.lang.Long packetsReceiveOtherError)
packetsReceiveOtherError
- New value for the property.public IPSecVPNTunnelTrafficStatistics.Builder setPacketsSentOtherError(java.lang.Long packetsSentOtherError)
packetsSentOtherError
- New value for the property.public IPSecVPNTunnelTrafficStatistics.Builder setPeerSubnet(java.lang.String peerSubnet)
peerSubnet
- New value for the property.public IPSecVPNTunnelTrafficStatistics.Builder setPolicyId(java.lang.String policyId)
policyId
- New value for the property.public IPSecVPNTunnelTrafficStatistics.Builder setReplayErrors(java.lang.Long replayErrors)
replayErrors
- New value for the property.public IPSecVPNTunnelTrafficStatistics.Builder setSaMismatchErrorsIn(java.lang.Long saMismatchErrorsIn)
saMismatchErrorsIn
- New value for the property.public IPSecVPNTunnelTrafficStatistics.Builder setSaMismatchErrorsOut(java.lang.Long saMismatchErrorsOut)
saMismatchErrorsOut
- New value for the property.public IPSecVPNTunnelTrafficStatistics.Builder setSeqNumberOverflowError(java.lang.Long seqNumberOverflowError)
seqNumberOverflowError
- New value for the property.public IPSecVPNTunnelTrafficStatistics.Builder setTunnelDownReason(java.lang.String tunnelDownReason)
tunnelDownReason
- New value for the property.public IPSecVPNTunnelTrafficStatistics.Builder setTunnelStatus(java.lang.String tunnelStatus)
tunnelStatus
- New value for the property.public IPSecVPNTunnelTrafficStatistics build()