public static class ListWafLogsRequest.Builder extends Object implements BmcRequest.Builder<ListWafLogsRequest,Void>
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
ListWafLogsRequest.Builder |
accessRuleKey(List<String> accessRuleKey)
Filters logs by access rule key.
|
ListWafLogsRequest.Builder |
accessRuleKey(String singularValue)
Singular setter.
|
ListWafLogsRequest.Builder |
action(List<ListWafLogsRequest.Action> action)
Filters logs by Web Application Firewall action.
|
ListWafLogsRequest.Builder |
action(ListWafLogsRequest.Action singularValue)
Singular setter.
|
ListWafLogsRequest |
build()
Build the instance of ListWafLogsRequest as configured by this builder
|
ListWafLogsRequest |
buildWithoutInvocationCallback()
Build the instance of ListWafLogsRequest as configured by this builder
|
ListWafLogsRequest.Builder |
clientAddress(List<String> clientAddress)
Filters logs by client IP address.
|
ListWafLogsRequest.Builder |
clientAddress(String singularValue)
Singular setter.
|
ListWafLogsRequest.Builder |
copy(ListWafLogsRequest o)
Copy method to populate the builder with values from the given instance.
|
ListWafLogsRequest.Builder |
countryCode(List<String> countryCode)
Filters logs by country code.
|
ListWafLogsRequest.Builder |
countryCode(String singularValue)
Singular setter.
|
ListWafLogsRequest.Builder |
countryName(List<String> countryName)
Filter logs by country name.
|
ListWafLogsRequest.Builder |
countryName(String singularValue)
Singular setter.
|
ListWafLogsRequest.Builder |
fingerprint(List<String> fingerprint)
Filter logs by device fingerprint.
|
ListWafLogsRequest.Builder |
fingerprint(String singularValue)
Singular setter.
|
ListWafLogsRequest.Builder |
httpMethod(List<ListWafLogsRequest.HttpMethod> httpMethod)
Filter logs by HTTP method.
|
ListWafLogsRequest.Builder |
httpMethod(ListWafLogsRequest.HttpMethod singularValue)
Singular setter.
|
ListWafLogsRequest.Builder |
incidentKey(List<String> incidentKey)
Filter logs by incident key.
|
ListWafLogsRequest.Builder |
incidentKey(String singularValue)
Singular setter.
|
ListWafLogsRequest.Builder |
invocationCallback(com.oracle.bmc.http.client.RequestInterceptor invocationCallback)
Set the invocation callback for the request to be built.
|
ListWafLogsRequest.Builder |
limit(Integer limit)
The maximum number of items to return in a paginated call.
|
ListWafLogsRequest.Builder |
logType(List<ListWafLogsRequest.LogType> logType)
Filter by log type.
|
ListWafLogsRequest.Builder |
logType(ListWafLogsRequest.LogType singularValue)
Singular setter.
|
ListWafLogsRequest.Builder |
opcRequestId(String opcRequestId)
The unique Oracle-assigned identifier for the request.
|
ListWafLogsRequest.Builder |
originAddress(List<String> originAddress)
Filter by origin IP address.
|
ListWafLogsRequest.Builder |
originAddress(String singularValue)
Singular setter.
|
ListWafLogsRequest.Builder |
page(String page)
The value of the
opc-next-page response header from the previous paginated call. |
ListWafLogsRequest.Builder |
protectionRuleKey(List<String> protectionRuleKey)
Filter by protection rule key.
|
ListWafLogsRequest.Builder |
protectionRuleKey(String singularValue)
Singular setter.
|
ListWafLogsRequest.Builder |
referrer(List<String> referrer)
Filter by referrer.
|
ListWafLogsRequest.Builder |
referrer(String singularValue)
Singular setter.
|
ListWafLogsRequest.Builder |
requestUrl(List<String> requestUrl)
Filter by request URL.
|
ListWafLogsRequest.Builder |
requestUrl(String singularValue)
Singular setter.
|
ListWafLogsRequest.Builder |
responseCode(Integer singularValue)
Singular setter.
|
ListWafLogsRequest.Builder |
responseCode(List<Integer> responseCode)
Filter by response code.
|
ListWafLogsRequest.Builder |
retryConfiguration(RetryConfiguration retryConfiguration)
Set the retry configuration for the request to be built.
|
ListWafLogsRequest.Builder |
textContains(String textContains)
A full text search for logs.
|
ListWafLogsRequest.Builder |
threatFeedKey(List<String> threatFeedKey)
Filter by threat feed key.
|
ListWafLogsRequest.Builder |
threatFeedKey(String singularValue)
Singular setter.
|
ListWafLogsRequest.Builder |
timeObservedGreaterThanOrEqualTo(Date timeObservedGreaterThanOrEqualTo)
A filter that matches log entries where the observed event occurred on or after a date
and time specified in RFC 3339 format.
|
ListWafLogsRequest.Builder |
timeObservedLessThan(Date timeObservedLessThan)
A filter that matches log entries where the observed event occurred before a date and
time, specified in RFC 3339 format.
|
ListWafLogsRequest.Builder |
userAgent(List<String> userAgent)
Filter by user agent.
|
ListWafLogsRequest.Builder |
userAgent(String singularValue)
Singular setter.
|
ListWafLogsRequest.Builder |
waasPolicyId(String waasPolicyId)
The OCID of the
WAAS policy.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
body$
public ListWafLogsRequest.Builder waasPolicyId(String waasPolicyId)
The OCID of the WAAS policy.
waasPolicyId
- the value to setpublic ListWafLogsRequest.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.
opcRequestId
- the value to setpublic ListWafLogsRequest.Builder limit(Integer limit)
The maximum number of items to return in a paginated call. If unspecified, defaults to
20
.
limit
- the value to setpublic ListWafLogsRequest.Builder page(String page)
The value of the opc-next-page
response header from the previous paginated call.
page
- the value to setpublic ListWafLogsRequest.Builder timeObservedGreaterThanOrEqualTo(Date timeObservedGreaterThanOrEqualTo)
A filter that matches log entries where the observed event occurred on or after a date and time specified in RFC 3339 format. If unspecified, defaults to two hours before receipt of the request.
timeObservedGreaterThanOrEqualTo
- the value to setpublic ListWafLogsRequest.Builder timeObservedLessThan(Date timeObservedLessThan)
A filter that matches log entries where the observed event occurred before a date and time, specified in RFC 3339 format.
timeObservedLessThan
- the value to setpublic ListWafLogsRequest.Builder textContains(String textContains)
A full text search for logs.
textContains
- the value to setpublic ListWafLogsRequest.Builder accessRuleKey(List<String> accessRuleKey)
Filters logs by access rule key.
accessRuleKey
- the value to setpublic ListWafLogsRequest.Builder accessRuleKey(String singularValue)
Singular setter. Filters logs by access rule key.
singularValue
- the singular value to setpublic ListWafLogsRequest.Builder action(List<ListWafLogsRequest.Action> action)
Filters logs by Web Application Firewall action.
action
- the value to setpublic ListWafLogsRequest.Builder action(ListWafLogsRequest.Action singularValue)
Singular setter. Filters logs by Web Application Firewall action.
singularValue
- the singular value to setpublic ListWafLogsRequest.Builder clientAddress(List<String> clientAddress)
Filters logs by client IP address.
clientAddress
- the value to setpublic ListWafLogsRequest.Builder clientAddress(String singularValue)
Singular setter. Filters logs by client IP address.
singularValue
- the singular value to setpublic ListWafLogsRequest.Builder countryCode(List<String> countryCode)
Filters logs by country code. Country codes are in ISO 3166-1 alpha-2 format. For a list of codes, see ISO’s website.
countryCode
- the value to setpublic ListWafLogsRequest.Builder countryCode(String singularValue)
Singular setter. Filters logs by country code. Country codes are in ISO 3166-1 alpha-2 format. For a list of codes, see ISO’s website.
singularValue
- the singular value to setpublic ListWafLogsRequest.Builder countryName(List<String> countryName)
Filter logs by country name.
countryName
- the value to setpublic ListWafLogsRequest.Builder countryName(String singularValue)
Singular setter. Filter logs by country name.
singularValue
- the singular value to setpublic ListWafLogsRequest.Builder fingerprint(List<String> fingerprint)
Filter logs by device fingerprint.
fingerprint
- the value to setpublic ListWafLogsRequest.Builder fingerprint(String singularValue)
Singular setter. Filter logs by device fingerprint.
singularValue
- the singular value to setpublic ListWafLogsRequest.Builder httpMethod(List<ListWafLogsRequest.HttpMethod> httpMethod)
Filter logs by HTTP method.
httpMethod
- the value to setpublic ListWafLogsRequest.Builder httpMethod(ListWafLogsRequest.HttpMethod singularValue)
Singular setter. Filter logs by HTTP method.
singularValue
- the singular value to setpublic ListWafLogsRequest.Builder incidentKey(List<String> incidentKey)
Filter logs by incident key.
incidentKey
- the value to setpublic ListWafLogsRequest.Builder incidentKey(String singularValue)
Singular setter. Filter logs by incident key.
singularValue
- the singular value to setpublic ListWafLogsRequest.Builder logType(List<ListWafLogsRequest.LogType> logType)
Filter by log type. For more information about WAF logs, see Logs.
logType
- the value to setpublic ListWafLogsRequest.Builder logType(ListWafLogsRequest.LogType singularValue)
Singular setter. Filter by log type. For more information about WAF logs, see Logs.
singularValue
- the singular value to setpublic ListWafLogsRequest.Builder originAddress(List<String> originAddress)
Filter by origin IP address.
originAddress
- the value to setpublic ListWafLogsRequest.Builder originAddress(String singularValue)
Singular setter. Filter by origin IP address.
singularValue
- the singular value to setpublic ListWafLogsRequest.Builder referrer(List<String> referrer)
Filter by referrer.
referrer
- the value to setpublic ListWafLogsRequest.Builder referrer(String singularValue)
Singular setter. Filter by referrer.
singularValue
- the singular value to setpublic ListWafLogsRequest.Builder requestUrl(List<String> requestUrl)
Filter by request URL.
requestUrl
- the value to setpublic ListWafLogsRequest.Builder requestUrl(String singularValue)
Singular setter. Filter by request URL.
singularValue
- the singular value to setpublic ListWafLogsRequest.Builder responseCode(List<Integer> responseCode)
Filter by response code.
responseCode
- the value to setpublic ListWafLogsRequest.Builder responseCode(Integer singularValue)
Singular setter. Filter by response code.
singularValue
- the singular value to setpublic ListWafLogsRequest.Builder threatFeedKey(List<String> threatFeedKey)
Filter by threat feed key.
threatFeedKey
- the value to setpublic ListWafLogsRequest.Builder threatFeedKey(String singularValue)
Singular setter. Filter by threat feed key.
singularValue
- the singular value to setpublic ListWafLogsRequest.Builder userAgent(List<String> userAgent)
Filter by user agent.
userAgent
- the value to setpublic ListWafLogsRequest.Builder userAgent(String singularValue)
Singular setter. Filter by user agent.
singularValue
- the singular value to setpublic ListWafLogsRequest.Builder protectionRuleKey(List<String> protectionRuleKey)
Filter by protection rule key.
protectionRuleKey
- the value to setpublic ListWafLogsRequest.Builder protectionRuleKey(String singularValue)
Singular setter. Filter by protection rule key.
singularValue
- the singular value to setpublic ListWafLogsRequest.Builder invocationCallback(com.oracle.bmc.http.client.RequestInterceptor invocationCallback)
Set the invocation callback for the request to be built.
invocationCallback
- the invocation callback to be set for the requestpublic ListWafLogsRequest.Builder retryConfiguration(RetryConfiguration retryConfiguration)
Set the retry configuration for the request to be built.
retryConfiguration
- the retry configuration to be used for the requestpublic ListWafLogsRequest.Builder copy(ListWafLogsRequest o)
Copy method to populate the builder with values from the given instance.
copy
in interface BmcRequest.Builder<ListWafLogsRequest,Void>
o
- other request from which to copy valuespublic ListWafLogsRequest build()
Build the instance of ListWafLogsRequest as configured by this builder
Note that this method takes calls to invocationCallback(com.oracle.bmc.http.client.RequestInterceptor)
into account,
while the method buildWithoutInvocationCallback()
does not.
This is the preferred method to build an instance.
build
in interface BmcRequest.Builder<ListWafLogsRequest,Void>
public ListWafLogsRequest buildWithoutInvocationCallback()
Build the instance of ListWafLogsRequest as configured by this builder
Note that this method does not take calls to invocationCallback(com.oracle.bmc.http.client.RequestInterceptor)
into account,
while the method build()
does
Copyright © 2016–2024. All rights reserved.