Class UpdateDetectorRecipeDetectorRuleRequest.Builder
- java.lang.Object
-
- com.oracle.bmc.cloudguard.requests.UpdateDetectorRecipeDetectorRuleRequest.Builder
-
- All Implemented Interfaces:
BmcRequest.Builder<UpdateDetectorRecipeDetectorRuleRequest,UpdateDetectorRecipeDetectorRuleDetails>
- Enclosing class:
- UpdateDetectorRecipeDetectorRuleRequest
public static class UpdateDetectorRecipeDetectorRuleRequest.Builder extends Object implements BmcRequest.Builder<UpdateDetectorRecipeDetectorRuleRequest,UpdateDetectorRecipeDetectorRuleDetails>
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description UpdateDetectorRecipeDetectorRuleRequest.Builderbody$(UpdateDetectorRecipeDetectorRuleDetails body)Alternative setter for the body parameter.UpdateDetectorRecipeDetectorRuleRequestbuild()Build the instance of UpdateDetectorRecipeDetectorRuleRequest as configured by this builderUpdateDetectorRecipeDetectorRuleRequestbuildWithoutInvocationCallback()Build the instance of UpdateDetectorRecipeDetectorRuleRequest as configured by this builderUpdateDetectorRecipeDetectorRuleRequest.Buildercopy(UpdateDetectorRecipeDetectorRuleRequest o)Copy method to populate the builder with values from the given instance.UpdateDetectorRecipeDetectorRuleRequest.BuilderdetectorRecipeId(String detectorRecipeId)Detector recipe OCIDUpdateDetectorRecipeDetectorRuleRequest.BuilderdetectorRuleId(String detectorRuleId)The unique identifier of a detector rule.UpdateDetectorRecipeDetectorRuleRequest.BuilderifMatch(String ifMatch)For optimistic concurrency control.UpdateDetectorRecipeDetectorRuleRequest.BuilderinvocationCallback(com.oracle.bmc.http.client.RequestInterceptor invocationCallback)Set the invocation callback for the request to be built.UpdateDetectorRecipeDetectorRuleRequest.BuilderopcRequestId(String opcRequestId)The client request ID for tracing.UpdateDetectorRecipeDetectorRuleRequest.BuilderretryConfiguration(RetryConfiguration retryConfiguration)Set the retry configuration for the request to be built.UpdateDetectorRecipeDetectorRuleRequest.BuilderupdateDetectorRecipeDetectorRuleDetails(UpdateDetectorRecipeDetectorRuleDetails updateDetectorRecipeDetectorRuleDetails)The details to be updated for DetectorRule
-
-
-
Method Detail
-
detectorRecipeId
public UpdateDetectorRecipeDetectorRuleRequest.Builder detectorRecipeId(String detectorRecipeId)
Detector recipe OCID- Parameters:
detectorRecipeId- the value to set- Returns:
- this builder instance
-
detectorRuleId
public UpdateDetectorRecipeDetectorRuleRequest.Builder detectorRuleId(String detectorRuleId)
The unique identifier of a detector rule.- Parameters:
detectorRuleId- the value to set- Returns:
- this builder instance
-
updateDetectorRecipeDetectorRuleDetails
public UpdateDetectorRecipeDetectorRuleRequest.Builder updateDetectorRecipeDetectorRuleDetails(UpdateDetectorRecipeDetectorRuleDetails updateDetectorRecipeDetectorRuleDetails)
The details to be updated for DetectorRule- Parameters:
updateDetectorRecipeDetectorRuleDetails- the value to set- Returns:
- this builder instance
-
ifMatch
public UpdateDetectorRecipeDetectorRuleRequest.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 you provide matches the resource’s current etag value.
- Parameters:
ifMatch- the value to set- Returns:
- this builder instance
-
opcRequestId
public UpdateDetectorRecipeDetectorRuleRequest.Builder opcRequestId(String opcRequestId)
The client request ID for tracing.- Parameters:
opcRequestId- the value to set- Returns:
- this builder instance
-
invocationCallback
public UpdateDetectorRecipeDetectorRuleRequest.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 UpdateDetectorRecipeDetectorRuleRequest.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 UpdateDetectorRecipeDetectorRuleRequest.Builder copy(UpdateDetectorRecipeDetectorRuleRequest o)
Copy method to populate the builder with values from the given instance.- Specified by:
copyin interfaceBmcRequest.Builder<UpdateDetectorRecipeDetectorRuleRequest,UpdateDetectorRecipeDetectorRuleDetails>- Parameters:
o- other request from which to copy values- Returns:
- this builder instance
-
build
public UpdateDetectorRecipeDetectorRuleRequest build()
Build the instance of UpdateDetectorRecipeDetectorRuleRequest 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<UpdateDetectorRecipeDetectorRuleRequest,UpdateDetectorRecipeDetectorRuleDetails>- Returns:
- instance of UpdateDetectorRecipeDetectorRuleRequest
-
body$
public UpdateDetectorRecipeDetectorRuleRequest.Builder body$(UpdateDetectorRecipeDetectorRuleDetails body)
Alternative setter for the body parameter.- Specified by:
body$in interfaceBmcRequest.Builder<UpdateDetectorRecipeDetectorRuleRequest,UpdateDetectorRecipeDetectorRuleDetails>- Parameters:
body- the body parameter- Returns:
- this builder instance
-
buildWithoutInvocationCallback
public UpdateDetectorRecipeDetectorRuleRequest buildWithoutInvocationCallback()
Build the instance of UpdateDetectorRecipeDetectorRuleRequest 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 UpdateDetectorRecipeDetectorRuleRequest
-
-