Class IngestSqlPlanLinesRequest.Builder
- java.lang.Object
-
- com.oracle.bmc.opsi.requests.IngestSqlPlanLinesRequest.Builder
-
- All Implemented Interfaces:
BmcRequest.Builder<IngestSqlPlanLinesRequest,IngestSqlPlanLinesDetails>
- Enclosing class:
- IngestSqlPlanLinesRequest
public static class IngestSqlPlanLinesRequest.Builder extends Object implements BmcRequest.Builder<IngestSqlPlanLinesRequest,IngestSqlPlanLinesDetails>
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description IngestSqlPlanLinesRequest.Builderbody$(IngestSqlPlanLinesDetails body)Alternative setter for the body parameter.IngestSqlPlanLinesRequestbuild()Build the instance of IngestSqlPlanLinesRequest as configured by this builderIngestSqlPlanLinesRequestbuildWithoutInvocationCallback()Build the instance of IngestSqlPlanLinesRequest as configured by this builderIngestSqlPlanLinesRequest.BuildercompartmentId(String compartmentId)The OCID of the compartment.IngestSqlPlanLinesRequest.Buildercopy(IngestSqlPlanLinesRequest o)Copy method to populate the builder with values from the given instance.IngestSqlPlanLinesRequest.BuilderdatabaseId(String databaseId)Optional OCID of the associated DBaaS entity.IngestSqlPlanLinesRequest.Builderid(String id)OCID of the database insight resource.IngestSqlPlanLinesRequest.BuilderifMatch(String ifMatch)Used for optimistic concurrency control.IngestSqlPlanLinesRequest.BuilderingestSqlPlanLinesDetails(IngestSqlPlanLinesDetails ingestSqlPlanLinesDetails)Collection of SQL plan line objects for a particular database.IngestSqlPlanLinesRequest.BuilderinvocationCallback(com.oracle.bmc.http.client.RequestInterceptor invocationCallback)Set the invocation callback for the request to be built.IngestSqlPlanLinesRequest.BuilderopcRequestId(String opcRequestId)Unique Oracle-assigned identifier for the request.IngestSqlPlanLinesRequest.BuilderopcRetryToken(String opcRetryToken)A token that uniquely identifies a request that can be retried in case of a timeout or server error without risk of executing the same action again.IngestSqlPlanLinesRequest.BuilderretryConfiguration(RetryConfiguration retryConfiguration)Set the retry configuration for the request to be built.
-
-
-
Method Detail
-
ingestSqlPlanLinesDetails
public IngestSqlPlanLinesRequest.Builder ingestSqlPlanLinesDetails(IngestSqlPlanLinesDetails ingestSqlPlanLinesDetails)
Collection of SQL plan line objects for a particular database.- Parameters:
ingestSqlPlanLinesDetails- the value to set- Returns:
- this builder instance
-
compartmentId
public IngestSqlPlanLinesRequest.Builder compartmentId(String compartmentId)
The OCID of the compartment.- Parameters:
compartmentId- the value to set- Returns:
- this builder instance
-
databaseId
public IngestSqlPlanLinesRequest.Builder databaseId(String databaseId)
Optional OCID of the associated DBaaS entity.- Parameters:
databaseId- the value to set- Returns:
- this builder instance
-
id
public IngestSqlPlanLinesRequest.Builder id(String id)
OCID of the database insight resource.- Parameters:
id- the value to set- Returns:
- this builder instance
-
opcRequestId
public IngestSqlPlanLinesRequest.Builder opcRequestId(String opcRequestId)
Unique Oracle-assigned identifier for the request.If you need to contact Oracle about a particular request, please provide the request ID.
- Parameters:
opcRequestId- the value to set- Returns:
- this builder instance
-
ifMatch
public IngestSqlPlanLinesRequest.Builder ifMatch(String ifMatch)
Used for optimistic concurrency control.In the update or delete call for a resource, set the if-match parameter to the value of the etag from a previous get, create, or update response for that resource. The resource will be updated or deleted only if the etag you provide matches the resource’s current etag value.
- Parameters:
ifMatch- the value to set- Returns:
- this builder instance
-
opcRetryToken
public IngestSqlPlanLinesRequest.Builder opcRetryToken(String opcRetryToken)
A token that uniquely identifies a request that can be retried in case of a timeout or server error without risk of executing the same action again.Retry tokens expire after 24 hours.
Note:* Retry tokens can be invalidated before the 24 hour time limit due to conflicting operations, such as a resource being deleted or purged from the system.
- Parameters:
opcRetryToken- the value to set- Returns:
- this builder instance
-
invocationCallback
public IngestSqlPlanLinesRequest.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 IngestSqlPlanLinesRequest.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 IngestSqlPlanLinesRequest.Builder copy(IngestSqlPlanLinesRequest o)
Copy method to populate the builder with values from the given instance.- Specified by:
copyin interfaceBmcRequest.Builder<IngestSqlPlanLinesRequest,IngestSqlPlanLinesDetails>- Parameters:
o- other request from which to copy values- Returns:
- this builder instance
-
build
public IngestSqlPlanLinesRequest build()
Build the instance of IngestSqlPlanLinesRequest 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<IngestSqlPlanLinesRequest,IngestSqlPlanLinesDetails>- Returns:
- instance of IngestSqlPlanLinesRequest
-
body$
public IngestSqlPlanLinesRequest.Builder body$(IngestSqlPlanLinesDetails body)
Alternative setter for the body parameter.- Specified by:
body$in interfaceBmcRequest.Builder<IngestSqlPlanLinesRequest,IngestSqlPlanLinesDetails>- Parameters:
body- the body parameter- Returns:
- this builder instance
-
buildWithoutInvocationCallback
public IngestSqlPlanLinesRequest buildWithoutInvocationCallback()
Build the instance of IngestSqlPlanLinesRequest 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 IngestSqlPlanLinesRequest
-
-