Class ListWafBlockedRequestsRequest.Builder
- java.lang.Object
-
- com.oracle.bmc.waas.requests.ListWafBlockedRequestsRequest.Builder
-
- All Implemented Interfaces:
BmcRequest.Builder<ListWafBlockedRequestsRequest,Void>
- Enclosing class:
- ListWafBlockedRequestsRequest
public static class ListWafBlockedRequestsRequest.Builder extends Object implements BmcRequest.Builder<ListWafBlockedRequestsRequest,Void>
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ListWafBlockedRequestsRequest
build()
Build the instance of ListWafBlockedRequestsRequest as configured by this builderListWafBlockedRequestsRequest
buildWithoutInvocationCallback()
Build the instance of ListWafBlockedRequestsRequest as configured by this builderListWafBlockedRequestsRequest.Builder
copy(ListWafBlockedRequestsRequest o)
Copy method to populate the builder with values from the given instance.ListWafBlockedRequestsRequest.Builder
invocationCallback(com.oracle.bmc.http.client.RequestInterceptor invocationCallback)
Set the invocation callback for the request to be built.ListWafBlockedRequestsRequest.Builder
limit(Integer limit)
The maximum number of items to return in a paginated call.ListWafBlockedRequestsRequest.Builder
opcRequestId(String opcRequestId)
The unique Oracle-assigned identifier for the request.ListWafBlockedRequestsRequest.Builder
page(String page)
The value of the opc-next-page response header from the previous paginated call.ListWafBlockedRequestsRequest.Builder
retryConfiguration(RetryConfiguration retryConfiguration)
Set the retry configuration for the request to be built.ListWafBlockedRequestsRequest.Builder
timeObservedGreaterThanOrEqualTo(Date timeObservedGreaterThanOrEqualTo)
A filter that limits returned events to those occurring on or after a date and time, specified in RFC 3339 format.ListWafBlockedRequestsRequest.Builder
timeObservedLessThan(Date timeObservedLessThan)
A filter that limits returned events to those occurring before a date and time, specified in RFC 3339 format.ListWafBlockedRequestsRequest.Builder
waasPolicyId(String waasPolicyId)
The OCID of the WAAS policy.ListWafBlockedRequestsRequest.Builder
wafFeature(ListWafBlockedRequestsRequest.WafFeature singularValue)
Singular setter.ListWafBlockedRequestsRequest.Builder
wafFeature(List<ListWafBlockedRequestsRequest.WafFeature> wafFeature)
Filter stats by the Web Application Firewall feature that triggered the block action.-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface com.oracle.bmc.requests.BmcRequest.Builder
body$
-
-
-
-
Method Detail
-
waasPolicyId
public ListWafBlockedRequestsRequest.Builder waasPolicyId(String waasPolicyId)
The OCID of the WAAS policy.- Parameters:
waasPolicyId
- the value to set- Returns:
- this builder instance
-
opcRequestId
public ListWafBlockedRequestsRequest.Builder opcRequestId(String opcRequestId)
The unique Oracle-assigned identifier for the request.If you need to contact Oracle about a particular request, please provide the request ID.
- Parameters:
opcRequestId
- the value to set- Returns:
- this builder instance
-
timeObservedGreaterThanOrEqualTo
public ListWafBlockedRequestsRequest.Builder timeObservedGreaterThanOrEqualTo(Date timeObservedGreaterThanOrEqualTo)
A filter that limits returned events to those occurring on or after a date and time, specified in RFC 3339 format.If unspecified, defaults to 30 minutes before receipt of the request.
- Parameters:
timeObservedGreaterThanOrEqualTo
- the value to set- Returns:
- this builder instance
-
timeObservedLessThan
public ListWafBlockedRequestsRequest.Builder timeObservedLessThan(Date timeObservedLessThan)
A filter that limits returned events to those occurring before a date and time, specified in RFC 3339 format.- Parameters:
timeObservedLessThan
- the value to set- Returns:
- this builder instance
-
limit
public ListWafBlockedRequestsRequest.Builder limit(Integer limit)
The maximum number of items to return in a paginated call.If unspecified, defaults to 10.
- Parameters:
limit
- the value to set- Returns:
- this builder instance
-
page
public ListWafBlockedRequestsRequest.Builder page(String page)
The value of the opc-next-page response header from the previous paginated call.- Parameters:
page
- the value to set- Returns:
- this builder instance
-
wafFeature
public ListWafBlockedRequestsRequest.Builder wafFeature(List<ListWafBlockedRequestsRequest.WafFeature> wafFeature)
Filter stats by the Web Application Firewall feature that triggered the block action.If unspecified, data for all WAF features will be returned.
- Parameters:
wafFeature
- the value to set- Returns:
- this builder instance
-
wafFeature
public ListWafBlockedRequestsRequest.Builder wafFeature(ListWafBlockedRequestsRequest.WafFeature singularValue)
Singular setter.Filter stats by the Web Application Firewall feature that triggered the block action. If unspecified, data for all WAF features will be returned.
- Parameters:
singularValue
- the singular value to set- Returns:
- this builder instance
-
invocationCallback
public ListWafBlockedRequestsRequest.Builder invocationCallback(com.oracle.bmc.http.client.RequestInterceptor invocationCallback)
Set the invocation callback for the request to be built.- Parameters:
invocationCallback
- the invocation callback to be set for the request- Returns:
- this builder instance
-
retryConfiguration
public ListWafBlockedRequestsRequest.Builder retryConfiguration(RetryConfiguration retryConfiguration)
Set the retry configuration for the request to be built.- Parameters:
retryConfiguration
- the retry configuration to be used for the request- Returns:
- this builder instance
-
copy
public ListWafBlockedRequestsRequest.Builder copy(ListWafBlockedRequestsRequest o)
Copy method to populate the builder with values from the given instance.- Specified by:
copy
in interfaceBmcRequest.Builder<ListWafBlockedRequestsRequest,Void>
- Parameters:
o
- other request from which to copy values- Returns:
- this builder instance
-
build
public ListWafBlockedRequestsRequest build()
Build the instance of ListWafBlockedRequestsRequest as configured by this builderNote that this method takes calls to
invocationCallback(com.oracle.bmc.http.client.RequestInterceptor)
into account, while the methodbuildWithoutInvocationCallback()
does not.This is the preferred method to build an instance.
- Specified by:
build
in interfaceBmcRequest.Builder<ListWafBlockedRequestsRequest,Void>
- Returns:
- instance of ListWafBlockedRequestsRequest
-
buildWithoutInvocationCallback
public ListWafBlockedRequestsRequest buildWithoutInvocationCallback()
Build the instance of ListWafBlockedRequestsRequest as configured by this builderNote that this method does not take calls to
invocationCallback(com.oracle.bmc.http.client.RequestInterceptor)
into account, while the methodbuild()
does- Returns:
- instance of ListWafBlockedRequestsRequest
-
-