Package com.oracle.bmc.waas.model
Class WafTrafficDatum.Builder
- java.lang.Object
-
- com.oracle.bmc.waas.model.WafTrafficDatum.Builder
-
- Enclosing class:
- WafTrafficDatum
public static class WafTrafficDatum.Builder extends Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description WafTrafficDatum
build()
WafTrafficDatum.Builder
compartmentId(String compartmentId)
The compartment OCID of the data.WafTrafficDatum.Builder
copy(WafTrafficDatum model)
WafTrafficDatum.Builder
tenancyId(String tenancyId)
The tenancy OCID of the data.WafTrafficDatum.Builder
timeObserved(Date timeObserved)
The date and time the traffic was observed, rounded down to the start of the range, and expressed in RFC 3339 timestamp format.WafTrafficDatum.Builder
timeRangeInSeconds(Integer timeRangeInSeconds)
The number of seconds this data covers.WafTrafficDatum.Builder
trafficInBytes(Integer trafficInBytes)
Traffic in bytes.WafTrafficDatum.Builder
waasPolicyId(String waasPolicyId)
The policy OCID of the data.
-
-
-
Method Detail
-
timeObserved
public WafTrafficDatum.Builder timeObserved(Date timeObserved)
The date and time the traffic was observed, rounded down to the start of the range, and expressed in RFC 3339 timestamp format.- Parameters:
timeObserved
- the value to set- Returns:
- this builder
-
timeRangeInSeconds
public WafTrafficDatum.Builder timeRangeInSeconds(Integer timeRangeInSeconds)
The number of seconds this data covers.- Parameters:
timeRangeInSeconds
- the value to set- Returns:
- this builder
-
tenancyId
public WafTrafficDatum.Builder tenancyId(String tenancyId)
The tenancy OCID of the data.- Parameters:
tenancyId
- the value to set- Returns:
- this builder
-
compartmentId
public WafTrafficDatum.Builder compartmentId(String compartmentId)
The compartment OCID of the data.- Parameters:
compartmentId
- the value to set- Returns:
- this builder
-
waasPolicyId
public WafTrafficDatum.Builder waasPolicyId(String waasPolicyId)
The policy OCID of the data.- Parameters:
waasPolicyId
- the value to set- Returns:
- this builder
-
trafficInBytes
public WafTrafficDatum.Builder trafficInBytes(Integer trafficInBytes)
Traffic in bytes.- Parameters:
trafficInBytes
- the value to set- Returns:
- this builder
-
build
public WafTrafficDatum build()
-
copy
public WafTrafficDatum.Builder copy(WafTrafficDatum model)
-
-