Package com.oracle.bmc.core.requests
Class UpdateSecurityListRequest.Builder
- java.lang.Object
-
- com.oracle.bmc.core.requests.UpdateSecurityListRequest.Builder
-
- All Implemented Interfaces:
BmcRequest.Builder<UpdateSecurityListRequest,UpdateSecurityListDetails>
- Enclosing class:
- UpdateSecurityListRequest
public static class UpdateSecurityListRequest.Builder extends Object implements BmcRequest.Builder<UpdateSecurityListRequest,UpdateSecurityListDetails>
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description UpdateSecurityListRequest.Builderbody$(UpdateSecurityListDetails body)Alternative setter for the body parameter.UpdateSecurityListRequestbuild()Build the instance of UpdateSecurityListRequest as configured by this builderUpdateSecurityListRequestbuildWithoutInvocationCallback()Build the instance of UpdateSecurityListRequest as configured by this builderUpdateSecurityListRequest.Buildercopy(UpdateSecurityListRequest o)Copy method to populate the builder with values from the given instance.UpdateSecurityListRequest.BuilderifMatch(String ifMatch)For optimistic concurrency control.UpdateSecurityListRequest.BuilderinvocationCallback(com.oracle.bmc.http.client.RequestInterceptor invocationCallback)Set the invocation callback for the request to be built.UpdateSecurityListRequest.BuilderretryConfiguration(RetryConfiguration retryConfiguration)Set the retry configuration for the request to be built.UpdateSecurityListRequest.BuildersecurityListId(String securityListId)The OCID of the security list.UpdateSecurityListRequest.BuilderupdateSecurityListDetails(UpdateSecurityListDetails updateSecurityListDetails)Updated details for the security list.
-
-
-
Method Detail
-
securityListId
public UpdateSecurityListRequest.Builder securityListId(String securityListId)
The OCID of the security list.- Parameters:
securityListId- the value to set- Returns:
- this builder instance
-
updateSecurityListDetails
public UpdateSecurityListRequest.Builder updateSecurityListDetails(UpdateSecurityListDetails updateSecurityListDetails)
Updated details for the security list.- Parameters:
updateSecurityListDetails- the value to set- Returns:
- this builder instance
-
ifMatch
public UpdateSecurityListRequest.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
-
invocationCallback
public UpdateSecurityListRequest.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 UpdateSecurityListRequest.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 UpdateSecurityListRequest.Builder copy(UpdateSecurityListRequest o)
Copy method to populate the builder with values from the given instance.- Specified by:
copyin interfaceBmcRequest.Builder<UpdateSecurityListRequest,UpdateSecurityListDetails>- Parameters:
o- other request from which to copy values- Returns:
- this builder instance
-
build
public UpdateSecurityListRequest build()
Build the instance of UpdateSecurityListRequest 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<UpdateSecurityListRequest,UpdateSecurityListDetails>- Returns:
- instance of UpdateSecurityListRequest
-
body$
public UpdateSecurityListRequest.Builder body$(UpdateSecurityListDetails body)
Alternative setter for the body parameter.- Specified by:
body$in interfaceBmcRequest.Builder<UpdateSecurityListRequest,UpdateSecurityListDetails>- Parameters:
body- the body parameter- Returns:
- this builder instance
-
buildWithoutInvocationCallback
public UpdateSecurityListRequest buildWithoutInvocationCallback()
Build the instance of UpdateSecurityListRequest 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 UpdateSecurityListRequest
-
-