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 SummaryConstructors Constructor Description Builder()
 - 
Method SummaryAll 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- 
managedDatabaseIdpublic EnableAutomaticInitialPlanCaptureRequest.Builder managedDatabaseId(String managedDatabaseId) The OCID of the Managed Database.- Parameters:
- managedDatabaseId- the value to set
- Returns:
- this builder instance
 
 - 
enableAutomaticInitialPlanCaptureDetailspublic EnableAutomaticInitialPlanCaptureRequest.Builder enableAutomaticInitialPlanCaptureDetails(EnableAutomaticInitialPlanCaptureDetails enableAutomaticInitialPlanCaptureDetails) The details required to enable automatic initial plan capture.- Parameters:
- enableAutomaticInitialPlanCaptureDetails- the value to set
- Returns:
- this builder instance
 
 - 
opcRequestIdpublic EnableAutomaticInitialPlanCaptureRequest.Builder opcRequestId(String opcRequestId) The client request ID for tracing.- Parameters:
- opcRequestId- the value to set
- Returns:
- this builder instance
 
 - 
invocationCallbackpublic 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
 
 - 
retryConfigurationpublic 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
 
 - 
copypublic EnableAutomaticInitialPlanCaptureRequest.Builder copy(EnableAutomaticInitialPlanCaptureRequest o) Copy method to populate the builder with values from the given instance.- Specified by:
- copyin interface- BmcRequest.Builder<EnableAutomaticInitialPlanCaptureRequest,EnableAutomaticInitialPlanCaptureDetails>
- Parameters:
- o- other request from which to copy values
- Returns:
- this builder instance
 
 - 
buildpublic 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 interface- BmcRequest.Builder<EnableAutomaticInitialPlanCaptureRequest,EnableAutomaticInitialPlanCaptureDetails>
- Returns:
- instance of EnableAutomaticInitialPlanCaptureRequest
 
 - 
body$public EnableAutomaticInitialPlanCaptureRequest.Builder body$(EnableAutomaticInitialPlanCaptureDetails body) Alternative setter for the body parameter.- Specified by:
- body$in interface- BmcRequest.Builder<EnableAutomaticInitialPlanCaptureRequest,EnableAutomaticInitialPlanCaptureDetails>
- Parameters:
- body- the body parameter
- Returns:
- this builder instance
 
 - 
buildWithoutInvocationCallbackpublic 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
 
 
- 
 
-