Class EnableAutomaticInitialPlanCaptureRequest.Builder
- java.lang.Object
-
- com.oracle.bmc.databasemanagement.requests.EnableAutomaticInitialPlanCaptureRequest.Builder
-
- All Implemented Interfaces:
BmcRequest.Builder<EnableAutomaticInitialPlanCaptureRequest,EnableAutomaticInitialPlanCaptureDetails>
- Enclosing class:
- EnableAutomaticInitialPlanCaptureRequest
public static class EnableAutomaticInitialPlanCaptureRequest.Builder extends Object implements BmcRequest.Builder<EnableAutomaticInitialPlanCaptureRequest,EnableAutomaticInitialPlanCaptureDetails>
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description EnableAutomaticInitialPlanCaptureRequest.Builderbody$(EnableAutomaticInitialPlanCaptureDetails body)Alternative setter for the body parameter.EnableAutomaticInitialPlanCaptureRequestbuild()Build the instance of EnableAutomaticInitialPlanCaptureRequest as configured by this builderEnableAutomaticInitialPlanCaptureRequestbuildWithoutInvocationCallback()Build the instance of EnableAutomaticInitialPlanCaptureRequest as configured by this builderEnableAutomaticInitialPlanCaptureRequest.Buildercopy(EnableAutomaticInitialPlanCaptureRequest o)Copy method to populate the builder with values from the given instance.EnableAutomaticInitialPlanCaptureRequest.BuilderenableAutomaticInitialPlanCaptureDetails(EnableAutomaticInitialPlanCaptureDetails enableAutomaticInitialPlanCaptureDetails)The details required to enable automatic initial plan capture.EnableAutomaticInitialPlanCaptureRequest.BuilderinvocationCallback(com.oracle.bmc.http.client.RequestInterceptor invocationCallback)Set the invocation callback for the request to be built.EnableAutomaticInitialPlanCaptureRequest.BuildermanagedDatabaseId(String managedDatabaseId)The OCID of the Managed Database.EnableAutomaticInitialPlanCaptureRequest.BuilderopcRequestId(String opcRequestId)The client request ID for tracing.EnableAutomaticInitialPlanCaptureRequest.BuilderretryConfiguration(RetryConfiguration retryConfiguration)Set the retry configuration for the request to be built.
-
-
-
Method Detail
-
managedDatabaseId
public EnableAutomaticInitialPlanCaptureRequest.Builder managedDatabaseId(String managedDatabaseId)
The OCID of the Managed Database.- Parameters:
managedDatabaseId- the value to set- Returns:
- this builder instance
-
enableAutomaticInitialPlanCaptureDetails
public EnableAutomaticInitialPlanCaptureRequest.Builder enableAutomaticInitialPlanCaptureDetails(EnableAutomaticInitialPlanCaptureDetails enableAutomaticInitialPlanCaptureDetails)
The details required to enable automatic initial plan capture.- Parameters:
enableAutomaticInitialPlanCaptureDetails- the value to set- Returns:
- this builder instance
-
opcRequestId
public EnableAutomaticInitialPlanCaptureRequest.Builder opcRequestId(String opcRequestId)
The client request ID for tracing.- Parameters:
opcRequestId- the value to set- Returns:
- this builder instance
-
invocationCallback
public EnableAutomaticInitialPlanCaptureRequest.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 EnableAutomaticInitialPlanCaptureRequest.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 EnableAutomaticInitialPlanCaptureRequest.Builder copy(EnableAutomaticInitialPlanCaptureRequest o)
Copy method to populate the builder with values from the given instance.- Specified by:
copyin interfaceBmcRequest.Builder<EnableAutomaticInitialPlanCaptureRequest,EnableAutomaticInitialPlanCaptureDetails>- Parameters:
o- other request from which to copy values- Returns:
- this builder instance
-
build
public EnableAutomaticInitialPlanCaptureRequest build()
Build the instance of EnableAutomaticInitialPlanCaptureRequest 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<EnableAutomaticInitialPlanCaptureRequest,EnableAutomaticInitialPlanCaptureDetails>- Returns:
- instance of EnableAutomaticInitialPlanCaptureRequest
-
body$
public EnableAutomaticInitialPlanCaptureRequest.Builder body$(EnableAutomaticInitialPlanCaptureDetails body)
Alternative setter for the body parameter.- Specified by:
body$in interfaceBmcRequest.Builder<EnableAutomaticInitialPlanCaptureRequest,EnableAutomaticInitialPlanCaptureDetails>- Parameters:
body- the body parameter- Returns:
- this builder instance
-
buildWithoutInvocationCallback
public EnableAutomaticInitialPlanCaptureRequest buildWithoutInvocationCallback()
Build the instance of EnableAutomaticInitialPlanCaptureRequest 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 EnableAutomaticInitialPlanCaptureRequest
-
-