Class ListWafLogsRequest.Builder

    • Constructor Detail

      • Builder

        public Builder()
    • 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
      • 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
      • 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
      • 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​(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​(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