Class UpdateTunnelCpeDeviceConfigRequest.Builder
- java.lang.Object
-
- com.oracle.bmc.core.requests.UpdateTunnelCpeDeviceConfigRequest.Builder
-
- All Implemented Interfaces:
BmcRequest.Builder<UpdateTunnelCpeDeviceConfigRequest,UpdateTunnelCpeDeviceConfigDetails>
- Enclosing class:
- UpdateTunnelCpeDeviceConfigRequest
public static class UpdateTunnelCpeDeviceConfigRequest.Builder extends Object implements BmcRequest.Builder<UpdateTunnelCpeDeviceConfigRequest,UpdateTunnelCpeDeviceConfigDetails>
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description UpdateTunnelCpeDeviceConfigRequest.Builderbody$(UpdateTunnelCpeDeviceConfigDetails body)Alternative setter for the body parameter.UpdateTunnelCpeDeviceConfigRequestbuild()Build the instance of UpdateTunnelCpeDeviceConfigRequest as configured by this builderUpdateTunnelCpeDeviceConfigRequestbuildWithoutInvocationCallback()Build the instance of UpdateTunnelCpeDeviceConfigRequest as configured by this builderUpdateTunnelCpeDeviceConfigRequest.Buildercopy(UpdateTunnelCpeDeviceConfigRequest o)Copy method to populate the builder with values from the given instance.UpdateTunnelCpeDeviceConfigRequest.BuilderifMatch(String ifMatch)For optimistic concurrency control.UpdateTunnelCpeDeviceConfigRequest.BuilderinvocationCallback(com.oracle.bmc.http.client.RequestInterceptor invocationCallback)Set the invocation callback for the request to be built.UpdateTunnelCpeDeviceConfigRequest.BuilderipscId(String ipscId)The OCID of the IPSec connection.UpdateTunnelCpeDeviceConfigRequest.BuilderopcRequestId(String opcRequestId)Unique identifier for the request.UpdateTunnelCpeDeviceConfigRequest.BuilderopcRetryToken(String opcRetryToken)A token that uniquely identifies a request so it can be retried in case of a timeout or server error without risk of executing that same action again.UpdateTunnelCpeDeviceConfigRequest.BuilderretryConfiguration(RetryConfiguration retryConfiguration)Set the retry configuration for the request to be built.UpdateTunnelCpeDeviceConfigRequest.BuildertunnelId(String tunnelId)The OCID of the tunnel.UpdateTunnelCpeDeviceConfigRequest.BuilderupdateTunnelCpeDeviceConfigDetails(UpdateTunnelCpeDeviceConfigDetails updateTunnelCpeDeviceConfigDetails)Request to input the tunnel’s cpe configuration parameters
-
-
-
Method Detail
-
ipscId
public UpdateTunnelCpeDeviceConfigRequest.Builder ipscId(String ipscId)
The OCID of the IPSec connection.- Parameters:
ipscId- the value to set- Returns:
- this builder instance
-
tunnelId
public UpdateTunnelCpeDeviceConfigRequest.Builder tunnelId(String tunnelId)
The OCID of the tunnel.- Parameters:
tunnelId- the value to set- Returns:
- this builder instance
-
updateTunnelCpeDeviceConfigDetails
public UpdateTunnelCpeDeviceConfigRequest.Builder updateTunnelCpeDeviceConfigDetails(UpdateTunnelCpeDeviceConfigDetails updateTunnelCpeDeviceConfigDetails)
Request to input the tunnel’s cpe configuration parameters- Parameters:
updateTunnelCpeDeviceConfigDetails- the value to set- Returns:
- this builder instance
-
ifMatch
public UpdateTunnelCpeDeviceConfigRequest.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
-
opcRetryToken
public UpdateTunnelCpeDeviceConfigRequest.Builder opcRetryToken(String opcRetryToken)
A token that uniquely identifies a request so it can be retried in case of a timeout or server error without risk of executing that same action again.Retry tokens expire after 24 hours, but can be invalidated before then due to conflicting operations (for example, if a resource has been deleted and purged from the system, then a retry of the original creation request may be rejected).
- Parameters:
opcRetryToken- the value to set- Returns:
- this builder instance
-
opcRequestId
public UpdateTunnelCpeDeviceConfigRequest.Builder opcRequestId(String opcRequestId)
Unique 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
-
invocationCallback
public UpdateTunnelCpeDeviceConfigRequest.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 UpdateTunnelCpeDeviceConfigRequest.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 UpdateTunnelCpeDeviceConfigRequest.Builder copy(UpdateTunnelCpeDeviceConfigRequest o)
Copy method to populate the builder with values from the given instance.- Specified by:
copyin interfaceBmcRequest.Builder<UpdateTunnelCpeDeviceConfigRequest,UpdateTunnelCpeDeviceConfigDetails>- Parameters:
o- other request from which to copy values- Returns:
- this builder instance
-
build
public UpdateTunnelCpeDeviceConfigRequest build()
Build the instance of UpdateTunnelCpeDeviceConfigRequest 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<UpdateTunnelCpeDeviceConfigRequest,UpdateTunnelCpeDeviceConfigDetails>- Returns:
- instance of UpdateTunnelCpeDeviceConfigRequest
-
body$
public UpdateTunnelCpeDeviceConfigRequest.Builder body$(UpdateTunnelCpeDeviceConfigDetails body)
Alternative setter for the body parameter.- Specified by:
body$in interfaceBmcRequest.Builder<UpdateTunnelCpeDeviceConfigRequest,UpdateTunnelCpeDeviceConfigDetails>- Parameters:
body- the body parameter- Returns:
- this builder instance
-
buildWithoutInvocationCallback
public UpdateTunnelCpeDeviceConfigRequest buildWithoutInvocationCallback()
Build the instance of UpdateTunnelCpeDeviceConfigRequest 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 UpdateTunnelCpeDeviceConfigRequest
-
-