Package com.oracle.bmc.waf.requests
Class UpdateNetworkAddressListRequest.Builder
- java.lang.Object
-
- com.oracle.bmc.waf.requests.UpdateNetworkAddressListRequest.Builder
-
- All Implemented Interfaces:
BmcRequest.Builder<UpdateNetworkAddressListRequest,UpdateNetworkAddressListDetails>
- Enclosing class:
- UpdateNetworkAddressListRequest
public static class UpdateNetworkAddressListRequest.Builder extends Object implements BmcRequest.Builder<UpdateNetworkAddressListRequest,UpdateNetworkAddressListDetails>
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description UpdateNetworkAddressListRequest.Builderbody$(UpdateNetworkAddressListDetails body)Alternative setter for the body parameter.UpdateNetworkAddressListRequestbuild()Build the instance of UpdateNetworkAddressListRequest as configured by this builderUpdateNetworkAddressListRequestbuildWithoutInvocationCallback()Build the instance of UpdateNetworkAddressListRequest as configured by this builderUpdateNetworkAddressListRequest.Buildercopy(UpdateNetworkAddressListRequest o)Copy method to populate the builder with values from the given instance.UpdateNetworkAddressListRequest.BuilderifMatch(String ifMatch)For optimistic concurrency control.UpdateNetworkAddressListRequest.BuilderinvocationCallback(com.oracle.bmc.http.client.RequestInterceptor invocationCallback)Set the invocation callback for the request to be built.UpdateNetworkAddressListRequest.BuildernetworkAddressListId(String networkAddressListId)The OCID of the NetworkAddressList.UpdateNetworkAddressListRequest.BuilderopcRequestId(String opcRequestId)The client request ID for tracing.UpdateNetworkAddressListRequest.BuilderretryConfiguration(RetryConfiguration retryConfiguration)Set the retry configuration for the request to be built.UpdateNetworkAddressListRequest.BuilderupdateNetworkAddressListDetails(UpdateNetworkAddressListDetails updateNetworkAddressListDetails)The information to be updated.
-
-
-
Method Detail
-
networkAddressListId
public UpdateNetworkAddressListRequest.Builder networkAddressListId(String networkAddressListId)
The OCID of the NetworkAddressList.- Parameters:
networkAddressListId- the value to set- Returns:
- this builder instance
-
updateNetworkAddressListDetails
public UpdateNetworkAddressListRequest.Builder updateNetworkAddressListDetails(UpdateNetworkAddressListDetails updateNetworkAddressListDetails)
The information to be updated.- Parameters:
updateNetworkAddressListDetails- the value to set- Returns:
- this builder instance
-
ifMatch
public UpdateNetworkAddressListRequest.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 UpdateNetworkAddressListRequest.Builder opcRequestId(String opcRequestId)
The client request ID for tracing.- Parameters:
opcRequestId- the value to set- Returns:
- this builder instance
-
invocationCallback
public UpdateNetworkAddressListRequest.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 UpdateNetworkAddressListRequest.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 UpdateNetworkAddressListRequest.Builder copy(UpdateNetworkAddressListRequest o)
Copy method to populate the builder with values from the given instance.- Specified by:
copyin interfaceBmcRequest.Builder<UpdateNetworkAddressListRequest,UpdateNetworkAddressListDetails>- Parameters:
o- other request from which to copy values- Returns:
- this builder instance
-
build
public UpdateNetworkAddressListRequest build()
Build the instance of UpdateNetworkAddressListRequest 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<UpdateNetworkAddressListRequest,UpdateNetworkAddressListDetails>- Returns:
- instance of UpdateNetworkAddressListRequest
-
body$
public UpdateNetworkAddressListRequest.Builder body$(UpdateNetworkAddressListDetails body)
Alternative setter for the body parameter.- Specified by:
body$in interfaceBmcRequest.Builder<UpdateNetworkAddressListRequest,UpdateNetworkAddressListDetails>- Parameters:
body- the body parameter- Returns:
- this builder instance
-
buildWithoutInvocationCallback
public UpdateNetworkAddressListRequest buildWithoutInvocationCallback()
Build the instance of UpdateNetworkAddressListRequest 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 UpdateNetworkAddressListRequest
-
-