public static final class FirewallStats.Builder
extends java.lang.Object
FirewallStats
.Constructor and Description |
---|
Builder()
Constructor with parameters for the required properties of
FirewallStats . |
Modifier and Type | Method and Description |
---|---|
FirewallStats |
build() |
FirewallStats.Builder |
setByteCount(java.lang.Long byteCount)
Aggregated number of bytes processed by the rule.
|
FirewallStats.Builder |
setHitCount(java.lang.Long hitCount)
Aggregated number of hits received by the rule.
|
FirewallStats.Builder |
setL7AcceptCount(java.lang.Long l7AcceptCount)
Aggregated number of L7 Profile Accepted counters received by the rule.
|
FirewallStats.Builder |
setL7RejectCount(java.lang.Long l7RejectCount)
Aggregated number of L7 Profile Rejected counters received by the rule.
|
FirewallStats.Builder |
setL7RejectWithResponseCount(java.lang.Long l7RejectWithResponseCount)
Aggregated number of L7 Profile Rejected with Response counters received by the
rule.
|
FirewallStats.Builder |
setLinks(java.util.List<ResourceLink> links)
The server will populate this field when returing the resource.
|
FirewallStats.Builder |
setMaxPopularityIndex(java.lang.Long maxPopularityIndex)
Maximum value of popularity index of all firewall rules of the type.
|
FirewallStats.Builder |
setMaxSessionCount(java.lang.Long maxSessionCount)
Maximum value of sessions count of all firewall rules of the type.
|
FirewallStats.Builder |
setPacketCount(java.lang.Long packetCount)
Aggregated number of packets processed by the rule.
|
FirewallStats.Builder |
setPopularityIndex(java.lang.Long popularityIndex)
This is calculated by sessions count divided by age of the rule.
|
FirewallStats.Builder |
setRuleId(java.lang.String ruleId)
Rule Identifier of the Firewall rule.
|
FirewallStats.Builder |
setSchema(java.lang.String schema)
Schema for this resource
This property may be present in responses from the server, but if it is present
in a request to server it will be ignored.
|
FirewallStats.Builder |
setSelf(SelfResourceLink self) |
FirewallStats.Builder |
setSessionCount(java.lang.Long sessionCount)
Aggregated number of sessions processed by the rule.
|
FirewallStats.Builder |
setTotalSessionCount(java.lang.Long totalSessionCount)
Aggregated number of sessions processed by the all firewall rules.
|
public Builder()
FirewallStats
.public FirewallStats.Builder setLinks(java.util.List<ResourceLink> links)
links
- New value for the property.public FirewallStats.Builder setSchema(java.lang.String schema)
schema
- New value for the property.public FirewallStats.Builder setSelf(SelfResourceLink self)
self
- New value for the property.public FirewallStats.Builder setByteCount(java.lang.Long byteCount)
byteCount
- New value for the property.public FirewallStats.Builder setHitCount(java.lang.Long hitCount)
hitCount
- New value for the property.public FirewallStats.Builder setL7AcceptCount(java.lang.Long l7AcceptCount)
l7AcceptCount
- New value for the property.public FirewallStats.Builder setL7RejectCount(java.lang.Long l7RejectCount)
l7RejectCount
- New value for the property.public FirewallStats.Builder setL7RejectWithResponseCount(java.lang.Long l7RejectWithResponseCount)
l7RejectWithResponseCount
- New value for the property.public FirewallStats.Builder setMaxPopularityIndex(java.lang.Long maxPopularityIndex)
maxPopularityIndex
- New value for the property.public FirewallStats.Builder setMaxSessionCount(java.lang.Long maxSessionCount)
maxSessionCount
- New value for the property.public FirewallStats.Builder setPacketCount(java.lang.Long packetCount)
packetCount
- New value for the property.public FirewallStats.Builder setPopularityIndex(java.lang.Long popularityIndex)
popularityIndex
- New value for the property.public FirewallStats.Builder setRuleId(java.lang.String ruleId)
ruleId
- New value for the property.public FirewallStats.Builder setSessionCount(java.lang.Long sessionCount)
sessionCount
- New value for the property.public FirewallStats.Builder setTotalSessionCount(java.lang.Long totalSessionCount)
totalSessionCount
- New value for the property.public FirewallStats build()