Class UpdateResponderRecipeResponderRuleRequest.Builder
- java.lang.Object
-
- com.oracle.bmc.cloudguard.requests.UpdateResponderRecipeResponderRuleRequest.Builder
-
- All Implemented Interfaces:
BmcRequest.Builder<UpdateResponderRecipeResponderRuleRequest,UpdateResponderRecipeResponderRuleDetails>
- Enclosing class:
- UpdateResponderRecipeResponderRuleRequest
public static class UpdateResponderRecipeResponderRuleRequest.Builder extends Object implements BmcRequest.Builder<UpdateResponderRecipeResponderRuleRequest,UpdateResponderRecipeResponderRuleDetails>
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description UpdateResponderRecipeResponderRuleRequest.Builderbody$(UpdateResponderRecipeResponderRuleDetails body)Alternative setter for the body parameter.UpdateResponderRecipeResponderRuleRequestbuild()Build the instance of UpdateResponderRecipeResponderRuleRequest as configured by this builderUpdateResponderRecipeResponderRuleRequestbuildWithoutInvocationCallback()Build the instance of UpdateResponderRecipeResponderRuleRequest as configured by this builderUpdateResponderRecipeResponderRuleRequest.Buildercopy(UpdateResponderRecipeResponderRuleRequest o)Copy method to populate the builder with values from the given instance.UpdateResponderRecipeResponderRuleRequest.BuilderifMatch(String ifMatch)For optimistic concurrency control.UpdateResponderRecipeResponderRuleRequest.BuilderinvocationCallback(com.oracle.bmc.http.client.RequestInterceptor invocationCallback)Set the invocation callback for the request to be built.UpdateResponderRecipeResponderRuleRequest.BuilderopcRequestId(String opcRequestId)The client request ID for tracing.UpdateResponderRecipeResponderRuleRequest.BuilderresponderRecipeId(String responderRecipeId)OCID of the responder recipe.UpdateResponderRecipeResponderRuleRequest.BuilderresponderRuleId(String responderRuleId)Unique identifier of the responder rule.UpdateResponderRecipeResponderRuleRequest.BuilderretryConfiguration(RetryConfiguration retryConfiguration)Set the retry configuration for the request to be built.UpdateResponderRecipeResponderRuleRequest.BuilderupdateResponderRecipeResponderRuleDetails(UpdateResponderRecipeResponderRuleDetails updateResponderRecipeResponderRuleDetails)The details to be updated for responder rule
-
-
-
Method Detail
-
responderRecipeId
public UpdateResponderRecipeResponderRuleRequest.Builder responderRecipeId(String responderRecipeId)
OCID of the responder recipe.- Parameters:
responderRecipeId- the value to set- Returns:
- this builder instance
-
responderRuleId
public UpdateResponderRecipeResponderRuleRequest.Builder responderRuleId(String responderRuleId)
Unique identifier of the responder rule.- Parameters:
responderRuleId- the value to set- Returns:
- this builder instance
-
updateResponderRecipeResponderRuleDetails
public UpdateResponderRecipeResponderRuleRequest.Builder updateResponderRecipeResponderRuleDetails(UpdateResponderRecipeResponderRuleDetails updateResponderRecipeResponderRuleDetails)
The details to be updated for responder rule- Parameters:
updateResponderRecipeResponderRuleDetails- the value to set- Returns:
- this builder instance
-
ifMatch
public UpdateResponderRecipeResponderRuleRequest.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 UpdateResponderRecipeResponderRuleRequest.Builder opcRequestId(String opcRequestId)
The client request ID for tracing.- Parameters:
opcRequestId- the value to set- Returns:
- this builder instance
-
invocationCallback
public UpdateResponderRecipeResponderRuleRequest.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 UpdateResponderRecipeResponderRuleRequest.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 UpdateResponderRecipeResponderRuleRequest.Builder copy(UpdateResponderRecipeResponderRuleRequest o)
Copy method to populate the builder with values from the given instance.- Specified by:
copyin interfaceBmcRequest.Builder<UpdateResponderRecipeResponderRuleRequest,UpdateResponderRecipeResponderRuleDetails>- Parameters:
o- other request from which to copy values- Returns:
- this builder instance
-
build
public UpdateResponderRecipeResponderRuleRequest build()
Build the instance of UpdateResponderRecipeResponderRuleRequest 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<UpdateResponderRecipeResponderRuleRequest,UpdateResponderRecipeResponderRuleDetails>- Returns:
- instance of UpdateResponderRecipeResponderRuleRequest
-
body$
public UpdateResponderRecipeResponderRuleRequest.Builder body$(UpdateResponderRecipeResponderRuleDetails body)
Alternative setter for the body parameter.- Specified by:
body$in interfaceBmcRequest.Builder<UpdateResponderRecipeResponderRuleRequest,UpdateResponderRecipeResponderRuleDetails>- Parameters:
body- the body parameter- Returns:
- this builder instance
-
buildWithoutInvocationCallback
public UpdateResponderRecipeResponderRuleRequest buildWithoutInvocationCallback()
Build the instance of UpdateResponderRecipeResponderRuleRequest 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 UpdateResponderRecipeResponderRuleRequest
-
-