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