Class ListWafLogsRequest.Builder
- java.lang.Object
-
- com.oracle.bmc.waas.requests.ListWafLogsRequest.Builder
-
- All Implemented Interfaces:
BmcRequest.Builder<ListWafLogsRequest,Void>
- Enclosing class:
- ListWafLogsRequest
public static class ListWafLogsRequest.Builder extends Object implements BmcRequest.Builder<ListWafLogsRequest,Void>
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ListWafLogsRequest.BuilderaccessRuleKey(String singularValue)Singular setter.ListWafLogsRequest.BuilderaccessRuleKey(List<String> accessRuleKey)Filters logs by access rule key.ListWafLogsRequest.Builderaction(ListWafLogsRequest.Action singularValue)Singular setter.ListWafLogsRequest.Builderaction(List<ListWafLogsRequest.Action> action)Filters logs by Web Application Firewall action.ListWafLogsRequestbuild()Build the instance of ListWafLogsRequest as configured by this builderListWafLogsRequestbuildWithoutInvocationCallback()Build the instance of ListWafLogsRequest as configured by this builderListWafLogsRequest.BuilderclientAddress(String singularValue)Singular setter.ListWafLogsRequest.BuilderclientAddress(List<String> clientAddress)Filters logs by client IP address.ListWafLogsRequest.Buildercopy(ListWafLogsRequest o)Copy method to populate the builder with values from the given instance.ListWafLogsRequest.BuildercountryCode(String singularValue)Singular setter.ListWafLogsRequest.BuildercountryCode(List<String> countryCode)Filters logs by country code.ListWafLogsRequest.BuildercountryName(String singularValue)Singular setter.ListWafLogsRequest.BuildercountryName(List<String> countryName)Filter logs by country name.ListWafLogsRequest.Builderfingerprint(String singularValue)Singular setter.ListWafLogsRequest.Builderfingerprint(List<String> fingerprint)Filter logs by device fingerprint.ListWafLogsRequest.BuilderhttpMethod(ListWafLogsRequest.HttpMethod singularValue)Singular setter.ListWafLogsRequest.BuilderhttpMethod(List<ListWafLogsRequest.HttpMethod> httpMethod)Filter logs by HTTP method.ListWafLogsRequest.BuilderincidentKey(String singularValue)Singular setter.ListWafLogsRequest.BuilderincidentKey(List<String> incidentKey)Filter logs by incident key.ListWafLogsRequest.BuilderinvocationCallback(com.oracle.bmc.http.client.RequestInterceptor invocationCallback)Set the invocation callback for the request to be built.ListWafLogsRequest.Builderlimit(Integer limit)The maximum number of items to return in a paginated call.ListWafLogsRequest.BuilderlogType(ListWafLogsRequest.LogType singularValue)Singular setter.ListWafLogsRequest.BuilderlogType(List<ListWafLogsRequest.LogType> logType)Filter by log type.ListWafLogsRequest.BuilderopcRequestId(String opcRequestId)The unique Oracle-assigned identifier for the request.ListWafLogsRequest.BuilderoriginAddress(String singularValue)Singular setter.ListWafLogsRequest.BuilderoriginAddress(List<String> originAddress)Filter by origin IP address.ListWafLogsRequest.Builderpage(String page)The value of the opc-next-page response header from the previous paginated call.ListWafLogsRequest.BuilderprotectionRuleKey(String singularValue)Singular setter.ListWafLogsRequest.BuilderprotectionRuleKey(List<String> protectionRuleKey)Filter by protection rule key.ListWafLogsRequest.Builderreferrer(String singularValue)Singular setter.ListWafLogsRequest.Builderreferrer(List<String> referrer)Filter by referrer.ListWafLogsRequest.BuilderrequestUrl(String singularValue)Singular setter.ListWafLogsRequest.BuilderrequestUrl(List<String> requestUrl)Filter by request URL.ListWafLogsRequest.BuilderresponseCode(Integer singularValue)Singular setter.ListWafLogsRequest.BuilderresponseCode(List<Integer> responseCode)Filter by response code.ListWafLogsRequest.BuilderretryConfiguration(RetryConfiguration retryConfiguration)Set the retry configuration for the request to be built.ListWafLogsRequest.BuildertextContains(String textContains)A full text search for logs.ListWafLogsRequest.BuilderthreatFeedKey(String singularValue)Singular setter.ListWafLogsRequest.BuilderthreatFeedKey(List<String> threatFeedKey)Filter by threat feed key.ListWafLogsRequest.BuildertimeObservedGreaterThanOrEqualTo(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.BuildertimeObservedLessThan(Date timeObservedLessThan)A filter that matches log entries where the observed event occurred before a date and time, specified in RFC 3339 format.ListWafLogsRequest.BuilderuserAgent(String singularValue)Singular setter.ListWafLogsRequest.BuilderuserAgent(List<String> userAgent)Filter by user agent.ListWafLogsRequest.BuilderwaasPolicyId(String waasPolicyId)The OCID of the WAAS policy.-
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 ListWafLogsRequest.Builder waasPolicyId(String waasPolicyId)
The OCID of the WAAS policy.- Parameters:
waasPolicyId- the value to set- Returns:
- this builder instance
-
opcRequestId
public 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.
- Parameters:
opcRequestId- the value to set- Returns:
- this builder instance
-
limit
public ListWafLogsRequest.Builder limit(Integer limit)
The maximum number of items to return in a paginated call.If unspecified, defaults to 20.
- Parameters:
limit- the value to set- Returns:
- this builder instance
-
page
public ListWafLogsRequest.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
-
timeObservedGreaterThanOrEqualTo
public 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.
- Parameters:
timeObservedGreaterThanOrEqualTo- the value to set- Returns:
- this builder instance
-
timeObservedLessThan
public 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.- Parameters:
timeObservedLessThan- the value to set- Returns:
- this builder instance
-
textContains
public ListWafLogsRequest.Builder textContains(String textContains)
A full text search for logs.- Parameters:
textContains- the value to set- Returns:
- this builder instance
-
accessRuleKey
public ListWafLogsRequest.Builder accessRuleKey(List<String> accessRuleKey)
Filters logs by access rule key.- Parameters:
accessRuleKey- the value to set- Returns:
- this builder instance
-
accessRuleKey
public ListWafLogsRequest.Builder accessRuleKey(String singularValue)
Singular setter.Filters logs by access rule key.
- Parameters:
singularValue- the singular value to set- Returns:
- this builder instance
-
action
public ListWafLogsRequest.Builder action(List<ListWafLogsRequest.Action> action)
Filters logs by Web Application Firewall action.- Parameters:
action- the value to set- Returns:
- this builder instance
-
action
public ListWafLogsRequest.Builder action(ListWafLogsRequest.Action singularValue)
Singular setter.Filters logs by Web Application Firewall action.
- Parameters:
singularValue- the singular value to set- Returns:
- this builder instance
-
clientAddress
public ListWafLogsRequest.Builder clientAddress(List<String> clientAddress)
Filters logs by client IP address.- Parameters:
clientAddress- the value to set- Returns:
- this builder instance
-
clientAddress
public ListWafLogsRequest.Builder clientAddress(String singularValue)
Singular setter.Filters logs by client IP address.
- Parameters:
singularValue- the singular value to set- Returns:
- this builder instance
-
countryCode
public 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.
- Parameters:
countryCode- the value to set- Returns:
- this builder instance
-
countryCode
public 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.
- Parameters:
singularValue- the singular value to set- Returns:
- this builder instance
-
countryName
public ListWafLogsRequest.Builder countryName(List<String> countryName)
Filter logs by country name.- Parameters:
countryName- the value to set- Returns:
- this builder instance
-
countryName
public ListWafLogsRequest.Builder countryName(String singularValue)
Singular setter.Filter logs by country name.
- Parameters:
singularValue- the singular value to set- Returns:
- this builder instance
-
fingerprint
public ListWafLogsRequest.Builder fingerprint(List<String> fingerprint)
Filter logs by device fingerprint.- Parameters:
fingerprint- the value to set- Returns:
- this builder instance
-
fingerprint
public ListWafLogsRequest.Builder fingerprint(String singularValue)
Singular setter.Filter logs by device fingerprint.
- Parameters:
singularValue- the singular value to set- Returns:
- this builder instance
-
httpMethod
public ListWafLogsRequest.Builder httpMethod(List<ListWafLogsRequest.HttpMethod> httpMethod)
Filter logs by HTTP method.- Parameters:
httpMethod- the value to set- Returns:
- this builder instance
-
httpMethod
public ListWafLogsRequest.Builder httpMethod(ListWafLogsRequest.HttpMethod singularValue)
Singular setter.Filter logs by HTTP method.
- Parameters:
singularValue- the singular value to set- Returns:
- this builder instance
-
incidentKey
public ListWafLogsRequest.Builder incidentKey(List<String> incidentKey)
Filter logs by incident key.- Parameters:
incidentKey- the value to set- Returns:
- this builder instance
-
incidentKey
public ListWafLogsRequest.Builder incidentKey(String singularValue)
Singular setter.Filter logs by incident key.
- Parameters:
singularValue- the singular value to set- Returns:
- this builder instance
-
logType
public ListWafLogsRequest.Builder logType(List<ListWafLogsRequest.LogType> logType)
Filter by log type.For more information about WAF logs, see Logs.
- Parameters:
logType- the value to set- Returns:
- this builder instance
-
logType
public ListWafLogsRequest.Builder logType(ListWafLogsRequest.LogType singularValue)
Singular setter.Filter by log type. For more information about WAF logs, see Logs.
- Parameters:
singularValue- the singular value to set- Returns:
- this builder instance
-
originAddress
public ListWafLogsRequest.Builder originAddress(List<String> originAddress)
Filter by origin IP address.- Parameters:
originAddress- the value to set- Returns:
- this builder instance
-
originAddress
public ListWafLogsRequest.Builder originAddress(String singularValue)
Singular setter.Filter by origin IP address.
- Parameters:
singularValue- the singular value to set- Returns:
- this builder instance
-
referrer
public ListWafLogsRequest.Builder referrer(List<String> referrer)
Filter by referrer.- Parameters:
referrer- the value to set- Returns:
- this builder instance
-
referrer
public ListWafLogsRequest.Builder referrer(String singularValue)
Singular setter.Filter by referrer.
- Parameters:
singularValue- the singular value to set- Returns:
- this builder instance
-
requestUrl
public ListWafLogsRequest.Builder requestUrl(List<String> requestUrl)
Filter by request URL.- Parameters:
requestUrl- the value to set- Returns:
- this builder instance
-
requestUrl
public ListWafLogsRequest.Builder requestUrl(String singularValue)
Singular setter.Filter by request URL.
- Parameters:
singularValue- the singular value to set- Returns:
- this builder instance
-
responseCode
public ListWafLogsRequest.Builder responseCode(List<Integer> responseCode)
Filter by response code.- Parameters:
responseCode- the value to set- Returns:
- this builder instance
-
responseCode
public ListWafLogsRequest.Builder responseCode(Integer singularValue)
Singular setter.Filter by response code.
- Parameters:
singularValue- the singular value to set- Returns:
- this builder instance
-
threatFeedKey
public ListWafLogsRequest.Builder threatFeedKey(List<String> threatFeedKey)
Filter by threat feed key.- Parameters:
threatFeedKey- the value to set- Returns:
- this builder instance
-
threatFeedKey
public ListWafLogsRequest.Builder threatFeedKey(String singularValue)
Singular setter.Filter by threat feed key.
- Parameters:
singularValue- the singular value to set- Returns:
- this builder instance
-
userAgent
public ListWafLogsRequest.Builder userAgent(List<String> userAgent)
Filter by user agent.- Parameters:
userAgent- the value to set- Returns:
- this builder instance
-
userAgent
public ListWafLogsRequest.Builder userAgent(String singularValue)
Singular setter.Filter by user agent.
- Parameters:
singularValue- the singular value to set- Returns:
- this builder instance
-
protectionRuleKey
public ListWafLogsRequest.Builder protectionRuleKey(List<String> protectionRuleKey)
Filter by protection rule key.- Parameters:
protectionRuleKey- the value to set- Returns:
- this builder instance
-
protectionRuleKey
public ListWafLogsRequest.Builder protectionRuleKey(String singularValue)
Singular setter.Filter by protection rule key.
- Parameters:
singularValue- the singular value to set- Returns:
- this builder instance
-
invocationCallback
public ListWafLogsRequest.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 ListWafLogsRequest.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 ListWafLogsRequest.Builder copy(ListWafLogsRequest o)
Copy method to populate the builder with values from the given instance.- Specified by:
copyin interfaceBmcRequest.Builder<ListWafLogsRequest,Void>- Parameters:
o- other request from which to copy values- Returns:
- this builder instance
-
build
public ListWafLogsRequest build()
Build the instance of ListWafLogsRequest 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:
buildin interfaceBmcRequest.Builder<ListWafLogsRequest,Void>- Returns:
- instance of ListWafLogsRequest
-
buildWithoutInvocationCallback
public ListWafLogsRequest buildWithoutInvocationCallback()
Build the instance of ListWafLogsRequest 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 ListWafLogsRequest
-
-