public static class WafMeterDatum.Builder extends Object
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
WafMeterDatum |
build() |
WafMeterDatum.Builder |
compartmentId(String compartmentId)
The compartment OCID of the data.
|
WafMeterDatum.Builder |
copy(WafMeterDatum model) |
WafMeterDatum.Builder |
isBotEnabled(Boolean isBotEnabled)
True if bot manager is enabled.
|
WafMeterDatum.Builder |
isOciOrigin(Boolean isOciOrigin)
True if origin (endpoint) is an OCI resource.
|
WafMeterDatum.Builder |
requestCount(Integer requestCount)
The number of incoming requests.
|
WafMeterDatum.Builder |
tagSlug(byte[] tagSlug)
The tag slug for the specified
waasPolicyId . |
WafMeterDatum.Builder |
tenancyId(String tenancyId)
The tenancy OCID of the data.
|
WafMeterDatum.Builder |
timeObserved(Date timeObserved)
The date and time the traffic was observed, rounded down to the start of a range, and
expressed in RFC 3339 timestamp format.
|
WafMeterDatum.Builder |
timeRangeInSeconds(Integer timeRangeInSeconds)
The number of seconds this data covers.
|
WafMeterDatum.Builder |
trafficInBytes(Integer trafficInBytes)
Traffic in bytes.
|
WafMeterDatum.Builder |
waasPolicyId(String waasPolicyId)
The policy OCID of the data.
|
public WafMeterDatum.Builder timeObserved(Date timeObserved)
The date and time the traffic was observed, rounded down to the start of a range, and expressed in RFC 3339 timestamp format.
timeObserved
- the value to setpublic WafMeterDatum.Builder timeRangeInSeconds(Integer timeRangeInSeconds)
The number of seconds this data covers.
timeRangeInSeconds
- the value to setpublic WafMeterDatum.Builder tenancyId(String tenancyId)
The tenancy OCID of the data.
tenancyId
- the value to setpublic WafMeterDatum.Builder compartmentId(String compartmentId)
The compartment OCID of the data.
compartmentId
- the value to setpublic WafMeterDatum.Builder waasPolicyId(String waasPolicyId)
The policy OCID of the data.
waasPolicyId
- the value to setpublic WafMeterDatum.Builder isOciOrigin(Boolean isOciOrigin)
True if origin (endpoint) is an OCI resource. False if external.
isOciOrigin
- the value to setpublic WafMeterDatum.Builder isBotEnabled(Boolean isBotEnabled)
True if bot manager is enabled.
isBotEnabled
- the value to setpublic WafMeterDatum.Builder requestCount(Integer requestCount)
The number of incoming requests.
requestCount
- the value to setpublic WafMeterDatum.Builder trafficInBytes(Integer trafficInBytes)
Traffic in bytes.
trafficInBytes
- the value to setpublic WafMeterDatum.Builder tagSlug(byte[] tagSlug)
The tag slug for the specified waasPolicyId
.
tagSlug
- the value to setpublic WafMeterDatum build()
public WafMeterDatum.Builder copy(WafMeterDatum model)
Copyright © 2016–2024. All rights reserved.