Package com.oracle.bmc.waas.model
Class WafMeterDatum.Builder
- java.lang.Object
 - 
- com.oracle.bmc.waas.model.WafMeterDatum.Builder
 
 
- 
- Enclosing class:
 - WafMeterDatum
 
public static class WafMeterDatum.Builder extends Object
 
- 
- 
Constructor Summary
Constructors Constructor Description Builder() 
- 
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description WafMeterDatumbuild()WafMeterDatum.BuildercompartmentId(String compartmentId)The compartment OCID of the data.WafMeterDatum.Buildercopy(WafMeterDatum model)WafMeterDatum.BuilderisBotEnabled(Boolean isBotEnabled)True if bot manager is enabled.WafMeterDatum.BuilderisOciOrigin(Boolean isOciOrigin)True if origin (endpoint) is an OCI resource.WafMeterDatum.BuilderrequestCount(Integer requestCount)The number of incoming requests.WafMeterDatum.BuildertagSlug(byte[] tagSlug)The tag slug for the specified waasPolicyId.WafMeterDatum.BuildertenancyId(String tenancyId)The tenancy OCID of the data.WafMeterDatum.BuildertimeObserved(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.BuildertimeRangeInSeconds(Integer timeRangeInSeconds)The number of seconds this data covers.WafMeterDatum.BuildertrafficInBytes(Integer trafficInBytes)Traffic in bytes.WafMeterDatum.BuilderwaasPolicyId(String waasPolicyId)The policy OCID of the data. 
 - 
 
- 
- 
Method Detail
- 
timeObserved
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.- Parameters:
 timeObserved- the value to set- Returns:
 - this builder
 
 
- 
timeRangeInSeconds
public WafMeterDatum.Builder timeRangeInSeconds(Integer timeRangeInSeconds)
The number of seconds this data covers.- Parameters:
 timeRangeInSeconds- the value to set- Returns:
 - this builder
 
 
- 
tenancyId
public WafMeterDatum.Builder tenancyId(String tenancyId)
The tenancy OCID of the data.- Parameters:
 tenancyId- the value to set- Returns:
 - this builder
 
 
- 
compartmentId
public WafMeterDatum.Builder compartmentId(String compartmentId)
The compartment OCID of the data.- Parameters:
 compartmentId- the value to set- Returns:
 - this builder
 
 
- 
waasPolicyId
public WafMeterDatum.Builder waasPolicyId(String waasPolicyId)
The policy OCID of the data.- Parameters:
 waasPolicyId- the value to set- Returns:
 - this builder
 
 
- 
isOciOrigin
public WafMeterDatum.Builder isOciOrigin(Boolean isOciOrigin)
True if origin (endpoint) is an OCI resource.False if external.
- Parameters:
 isOciOrigin- the value to set- Returns:
 - this builder
 
 
- 
isBotEnabled
public WafMeterDatum.Builder isBotEnabled(Boolean isBotEnabled)
True if bot manager is enabled.- Parameters:
 isBotEnabled- the value to set- Returns:
 - this builder
 
 
- 
requestCount
public WafMeterDatum.Builder requestCount(Integer requestCount)
The number of incoming requests.- Parameters:
 requestCount- the value to set- Returns:
 - this builder
 
 
- 
trafficInBytes
public WafMeterDatum.Builder trafficInBytes(Integer trafficInBytes)
Traffic in bytes.- Parameters:
 trafficInBytes- the value to set- Returns:
 - this builder
 
 
- 
tagSlug
public WafMeterDatum.Builder tagSlug(byte[] tagSlug)
The tag slug for the specified waasPolicyId.- Parameters:
 tagSlug- the value to set- Returns:
 - this builder
 
 
- 
build
public WafMeterDatum build()
 
- 
copy
public WafMeterDatum.Builder copy(WafMeterDatum model)
 
 - 
 
 -