public static class UpdateThreatFeedsRequest.Builder extends Object implements BmcRequest.Builder<UpdateThreatFeedsRequest,List<ThreatFeedAction>>
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
UpdateThreatFeedsRequest.Builder |
body$(List<ThreatFeedAction> body)
Alternative setter for the body parameter.
|
UpdateThreatFeedsRequest |
build()
Build the instance of UpdateThreatFeedsRequest as configured by this builder
|
UpdateThreatFeedsRequest |
buildWithoutInvocationCallback()
Build the instance of UpdateThreatFeedsRequest as configured by this builder
|
UpdateThreatFeedsRequest.Builder |
copy(UpdateThreatFeedsRequest o)
Copy method to populate the builder with values from the given instance.
|
UpdateThreatFeedsRequest.Builder |
ifMatch(String ifMatch)
For optimistic concurrency control.
|
UpdateThreatFeedsRequest.Builder |
invocationCallback(com.oracle.bmc.http.client.RequestInterceptor invocationCallback)
Set the invocation callback for the request to be built.
|
UpdateThreatFeedsRequest.Builder |
opcRequestId(String opcRequestId)
The unique Oracle-assigned identifier for the request.
|
UpdateThreatFeedsRequest.Builder |
retryConfiguration(RetryConfiguration retryConfiguration)
Set the retry configuration for the request to be built.
|
UpdateThreatFeedsRequest.Builder |
threatFeeds(List<ThreatFeedAction> threatFeeds)
A list of threat feeds for which to update the actions.
|
UpdateThreatFeedsRequest.Builder |
threatFeeds(ThreatFeedAction singularValue)
Singular setter.
|
UpdateThreatFeedsRequest.Builder |
waasPolicyId(String waasPolicyId)
The OCID of the
WAAS policy.
|
public UpdateThreatFeedsRequest.Builder waasPolicyId(String waasPolicyId)
The OCID of the WAAS policy.
waasPolicyId
- the value to setpublic UpdateThreatFeedsRequest.Builder threatFeeds(List<ThreatFeedAction> threatFeeds)
A list of threat feeds for which to update the actions.
threatFeeds
- the value to setpublic UpdateThreatFeedsRequest.Builder threatFeeds(ThreatFeedAction singularValue)
Singular setter. A list of threat feeds for which to update the actions.
singularValue
- the singular value to setpublic UpdateThreatFeedsRequest.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 UpdateThreatFeedsRequest.Builder ifMatch(String ifMatch)
For optimistic concurrency control. In the PUT
or DELETE
call for a
resource, set the if-match
parameter to the value of the etag from a previous
GET
or POST
response for that resource. The resource will be updated or
deleted only if the etag provided matches the resource’s current etag value.
ifMatch
- the value to setpublic UpdateThreatFeedsRequest.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 UpdateThreatFeedsRequest.Builder retryConfiguration(RetryConfiguration retryConfiguration)
Set the retry configuration for the request to be built.
retryConfiguration
- the retry configuration to be used for the requestpublic UpdateThreatFeedsRequest.Builder copy(UpdateThreatFeedsRequest o)
Copy method to populate the builder with values from the given instance.
copy
in interface BmcRequest.Builder<UpdateThreatFeedsRequest,List<ThreatFeedAction>>
o
- other request from which to copy valuespublic UpdateThreatFeedsRequest build()
Build the instance of UpdateThreatFeedsRequest 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<UpdateThreatFeedsRequest,List<ThreatFeedAction>>
public UpdateThreatFeedsRequest.Builder body$(List<ThreatFeedAction> body)
Alternative setter for the body parameter.
body$
in interface BmcRequest.Builder<UpdateThreatFeedsRequest,List<ThreatFeedAction>>
body
- the body parameterpublic UpdateThreatFeedsRequest buildWithoutInvocationCallback()
Build the instance of UpdateThreatFeedsRequest 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.