Package com.oracle.bmc.database.requests
Class RegisterAutonomousDatabaseDataSafeRequest.Builder
- java.lang.Object
-
- com.oracle.bmc.database.requests.RegisterAutonomousDatabaseDataSafeRequest.Builder
-
- All Implemented Interfaces:
BmcRequest.Builder<RegisterAutonomousDatabaseDataSafeRequest,RegisterAutonomousDatabaseDataSafeDetails>
- Enclosing class:
- RegisterAutonomousDatabaseDataSafeRequest
public static class RegisterAutonomousDatabaseDataSafeRequest.Builder extends Object implements BmcRequest.Builder<RegisterAutonomousDatabaseDataSafeRequest,RegisterAutonomousDatabaseDataSafeDetails>
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description RegisterAutonomousDatabaseDataSafeRequest.BuilderautonomousDatabaseId(String autonomousDatabaseId)The database OCID.RegisterAutonomousDatabaseDataSafeRequest.Builderbody$(RegisterAutonomousDatabaseDataSafeDetails body)Alternative setter for the body parameter.RegisterAutonomousDatabaseDataSafeRequestbuild()Build the instance of RegisterAutonomousDatabaseDataSafeRequest as configured by this builderRegisterAutonomousDatabaseDataSafeRequestbuildWithoutInvocationCallback()Build the instance of RegisterAutonomousDatabaseDataSafeRequest as configured by this builderRegisterAutonomousDatabaseDataSafeRequest.Buildercopy(RegisterAutonomousDatabaseDataSafeRequest o)Copy method to populate the builder with values from the given instance.RegisterAutonomousDatabaseDataSafeRequest.BuilderinvocationCallback(com.oracle.bmc.http.client.RequestInterceptor invocationCallback)Set the invocation callback for the request to be built.RegisterAutonomousDatabaseDataSafeRequest.BuilderopcDryRun(Boolean opcDryRun)Indicates that the request is a dry run, if set to “true”.RegisterAutonomousDatabaseDataSafeRequest.BuilderopcRequestId(String opcRequestId)Unique identifier for the request.RegisterAutonomousDatabaseDataSafeRequest.BuilderregisterAutonomousDatabaseDataSafeDetails(RegisterAutonomousDatabaseDataSafeDetails registerAutonomousDatabaseDataSafeDetails)Request to register an Autonomous Database with Data Safe.RegisterAutonomousDatabaseDataSafeRequest.BuilderretryConfiguration(RetryConfiguration retryConfiguration)Set the retry configuration for the request to be built.
-
-
-
Method Detail
-
autonomousDatabaseId
public RegisterAutonomousDatabaseDataSafeRequest.Builder autonomousDatabaseId(String autonomousDatabaseId)
The database OCID.- Parameters:
autonomousDatabaseId- the value to set- Returns:
- this builder instance
-
opcRequestId
public RegisterAutonomousDatabaseDataSafeRequest.Builder opcRequestId(String opcRequestId)
Unique identifier for the request.- Parameters:
opcRequestId- the value to set- Returns:
- this builder instance
-
opcDryRun
public RegisterAutonomousDatabaseDataSafeRequest.Builder opcDryRun(Boolean opcDryRun)
Indicates that the request is a dry run, if set to “true”.A dry run request does not actually creating or updating a resource and is used only to perform validation on the submitted data.
- Parameters:
opcDryRun- the value to set- Returns:
- this builder instance
-
registerAutonomousDatabaseDataSafeDetails
public RegisterAutonomousDatabaseDataSafeRequest.Builder registerAutonomousDatabaseDataSafeDetails(RegisterAutonomousDatabaseDataSafeDetails registerAutonomousDatabaseDataSafeDetails)
Request to register an Autonomous Database with Data Safe.- Parameters:
registerAutonomousDatabaseDataSafeDetails- the value to set- Returns:
- this builder instance
-
invocationCallback
public RegisterAutonomousDatabaseDataSafeRequest.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 RegisterAutonomousDatabaseDataSafeRequest.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 RegisterAutonomousDatabaseDataSafeRequest.Builder copy(RegisterAutonomousDatabaseDataSafeRequest o)
Copy method to populate the builder with values from the given instance.- Specified by:
copyin interfaceBmcRequest.Builder<RegisterAutonomousDatabaseDataSafeRequest,RegisterAutonomousDatabaseDataSafeDetails>- Parameters:
o- other request from which to copy values- Returns:
- this builder instance
-
build
public RegisterAutonomousDatabaseDataSafeRequest build()
Build the instance of RegisterAutonomousDatabaseDataSafeRequest 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<RegisterAutonomousDatabaseDataSafeRequest,RegisterAutonomousDatabaseDataSafeDetails>- Returns:
- instance of RegisterAutonomousDatabaseDataSafeRequest
-
body$
public RegisterAutonomousDatabaseDataSafeRequest.Builder body$(RegisterAutonomousDatabaseDataSafeDetails body)
Alternative setter for the body parameter.- Specified by:
body$in interfaceBmcRequest.Builder<RegisterAutonomousDatabaseDataSafeRequest,RegisterAutonomousDatabaseDataSafeDetails>- Parameters:
body- the body parameter- Returns:
- this builder instance
-
buildWithoutInvocationCallback
public RegisterAutonomousDatabaseDataSafeRequest buildWithoutInvocationCallback()
Build the instance of RegisterAutonomousDatabaseDataSafeRequest 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 RegisterAutonomousDatabaseDataSafeRequest
-
-