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