Class UpdateThreatFeedsRequest.Builder
- java.lang.Object
-
- com.oracle.bmc.waas.requests.UpdateThreatFeedsRequest.Builder
-
- All Implemented Interfaces:
BmcRequest.Builder<UpdateThreatFeedsRequest,List<ThreatFeedAction>>
- Enclosing class:
- UpdateThreatFeedsRequest
public static class UpdateThreatFeedsRequest.Builder extends Object implements BmcRequest.Builder<UpdateThreatFeedsRequest,List<ThreatFeedAction>>
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description UpdateThreatFeedsRequest.Builderbody$(List<ThreatFeedAction> body)Alternative setter for the body parameter.UpdateThreatFeedsRequestbuild()Build the instance of UpdateThreatFeedsRequest as configured by this builderUpdateThreatFeedsRequestbuildWithoutInvocationCallback()Build the instance of UpdateThreatFeedsRequest as configured by this builderUpdateThreatFeedsRequest.Buildercopy(UpdateThreatFeedsRequest o)Copy method to populate the builder with values from the given instance.UpdateThreatFeedsRequest.BuilderifMatch(String ifMatch)For optimistic concurrency control.UpdateThreatFeedsRequest.BuilderinvocationCallback(com.oracle.bmc.http.client.RequestInterceptor invocationCallback)Set the invocation callback for the request to be built.UpdateThreatFeedsRequest.BuilderopcRequestId(String opcRequestId)The unique Oracle-assigned identifier for the request.UpdateThreatFeedsRequest.BuilderretryConfiguration(RetryConfiguration retryConfiguration)Set the retry configuration for the request to be built.UpdateThreatFeedsRequest.BuilderthreatFeeds(ThreatFeedAction singularValue)Singular setter.UpdateThreatFeedsRequest.BuilderthreatFeeds(List<ThreatFeedAction> threatFeeds)A list of threat feeds for which to update the actions.UpdateThreatFeedsRequest.BuilderwaasPolicyId(String waasPolicyId)The OCID of the WAAS policy.
-
-
-
Method Detail
-
waasPolicyId
public UpdateThreatFeedsRequest.Builder waasPolicyId(String waasPolicyId)
The OCID of the WAAS policy.- Parameters:
waasPolicyId- the value to set- Returns:
- this builder instance
-
threatFeeds
public UpdateThreatFeedsRequest.Builder threatFeeds(List<ThreatFeedAction> threatFeeds)
A list of threat feeds for which to update the actions.- Parameters:
threatFeeds- the value to set- Returns:
- this builder instance
-
threatFeeds
public UpdateThreatFeedsRequest.Builder threatFeeds(ThreatFeedAction singularValue)
Singular setter.A list of threat feeds for which to update the actions.
- Parameters:
singularValue- the singular value to set- Returns:
- this builder instance
-
opcRequestId
public 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.
- Parameters:
opcRequestId- the value to set- Returns:
- this builder instance
-
ifMatch
public 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.
- Parameters:
ifMatch- the value to set- Returns:
- this builder instance
-
invocationCallback
public UpdateThreatFeedsRequest.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 UpdateThreatFeedsRequest.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 UpdateThreatFeedsRequest.Builder copy(UpdateThreatFeedsRequest o)
Copy method to populate the builder with values from the given instance.- Specified by:
copyin interfaceBmcRequest.Builder<UpdateThreatFeedsRequest,List<ThreatFeedAction>>- Parameters:
o- other request from which to copy values- Returns:
- this builder instance
-
build
public UpdateThreatFeedsRequest build()
Build the instance of UpdateThreatFeedsRequest 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<UpdateThreatFeedsRequest,List<ThreatFeedAction>>- Returns:
- instance of UpdateThreatFeedsRequest
-
body$
public UpdateThreatFeedsRequest.Builder body$(List<ThreatFeedAction> body)
Alternative setter for the body parameter.- Specified by:
body$in interfaceBmcRequest.Builder<UpdateThreatFeedsRequest,List<ThreatFeedAction>>- Parameters:
body- the body parameter- Returns:
- this builder instance
-
buildWithoutInvocationCallback
public UpdateThreatFeedsRequest buildWithoutInvocationCallback()
Build the instance of UpdateThreatFeedsRequest 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 UpdateThreatFeedsRequest
-
-