Class GetSqlTuningAdvisorTaskSummaryReportRequest.Builder
- java.lang.Object
-
- com.oracle.bmc.databasemanagement.requests.GetSqlTuningAdvisorTaskSummaryReportRequest.Builder
-
- All Implemented Interfaces:
BmcRequest.Builder<GetSqlTuningAdvisorTaskSummaryReportRequest,Void>
- Enclosing class:
- GetSqlTuningAdvisorTaskSummaryReportRequest
public static class GetSqlTuningAdvisorTaskSummaryReportRequest.Builder extends Object implements BmcRequest.Builder<GetSqlTuningAdvisorTaskSummaryReportRequest,Void>
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description GetSqlTuningAdvisorTaskSummaryReportRequest.BuilderbeginExecIdGreaterThanOrEqualTo(Long beginExecIdGreaterThanOrEqualTo)The optional greater than or equal to filter on the execution ID related to a specific SQL Tuning Advisor task.GetSqlTuningAdvisorTaskSummaryReportRequestbuild()Build the instance of GetSqlTuningAdvisorTaskSummaryReportRequest as configured by this builderGetSqlTuningAdvisorTaskSummaryReportRequestbuildWithoutInvocationCallback()Build the instance of GetSqlTuningAdvisorTaskSummaryReportRequest as configured by this builderGetSqlTuningAdvisorTaskSummaryReportRequest.Buildercopy(GetSqlTuningAdvisorTaskSummaryReportRequest o)Copy method to populate the builder with values from the given instance.GetSqlTuningAdvisorTaskSummaryReportRequest.BuilderendExecIdLessThanOrEqualTo(Long endExecIdLessThanOrEqualTo)The optional less than or equal to query parameter to filter on the execution ID related to a specific SQL Tuning Advisor task.GetSqlTuningAdvisorTaskSummaryReportRequest.BuilderinvocationCallback(com.oracle.bmc.http.client.RequestInterceptor invocationCallback)Set the invocation callback for the request to be built.GetSqlTuningAdvisorTaskSummaryReportRequest.BuildermanagedDatabaseId(String managedDatabaseId)The OCID of the Managed Database.GetSqlTuningAdvisorTaskSummaryReportRequest.BuilderopcNamedCredentialId(String opcNamedCredentialId)The OCID of the Named Credential.GetSqlTuningAdvisorTaskSummaryReportRequest.BuilderopcRequestId(String opcRequestId)The client request ID for tracing.GetSqlTuningAdvisorTaskSummaryReportRequest.BuilderretryConfiguration(RetryConfiguration retryConfiguration)Set the retry configuration for the request to be built.GetSqlTuningAdvisorTaskSummaryReportRequest.BuildersearchPeriod(GetSqlTuningAdvisorTaskSummaryReportRequest.SearchPeriod searchPeriod)How far back the API will search for begin and end exec id.GetSqlTuningAdvisorTaskSummaryReportRequest.BuildersqlTuningAdvisorTaskId(Long sqlTuningAdvisorTaskId)The SQL tuning task identifier.GetSqlTuningAdvisorTaskSummaryReportRequest.BuildertimeGreaterThanOrEqualTo(Date timeGreaterThanOrEqualTo)The optional greater than or equal to query parameter to filter the timestamp.GetSqlTuningAdvisorTaskSummaryReportRequest.BuildertimeLessThanOrEqualTo(Date timeLessThanOrEqualTo)The optional less than or equal to query parameter to filter the timestamp.-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface com.oracle.bmc.requests.BmcRequest.Builder
body$
-
-
-
-
Method Detail
-
managedDatabaseId
public GetSqlTuningAdvisorTaskSummaryReportRequest.Builder managedDatabaseId(String managedDatabaseId)
The OCID of the Managed Database.- Parameters:
managedDatabaseId- the value to set- Returns:
- this builder instance
-
sqlTuningAdvisorTaskId
public GetSqlTuningAdvisorTaskSummaryReportRequest.Builder sqlTuningAdvisorTaskId(Long sqlTuningAdvisorTaskId)
The SQL tuning task identifier.This is not the OCID.
- Parameters:
sqlTuningAdvisorTaskId- the value to set- Returns:
- this builder instance
-
searchPeriod
public GetSqlTuningAdvisorTaskSummaryReportRequest.Builder searchPeriod(GetSqlTuningAdvisorTaskSummaryReportRequest.SearchPeriod searchPeriod)
How far back the API will search for begin and end exec id.Unused if neither exec ids nor time filter query params are supplied. This is applicable only for Auto SQL Tuning tasks.
- Parameters:
searchPeriod- the value to set- Returns:
- this builder instance
-
timeGreaterThanOrEqualTo
public GetSqlTuningAdvisorTaskSummaryReportRequest.Builder timeGreaterThanOrEqualTo(Date timeGreaterThanOrEqualTo)
The optional greater than or equal to query parameter to filter the timestamp.This is applicable only for Auto SQL Tuning tasks.
- Parameters:
timeGreaterThanOrEqualTo- the value to set- Returns:
- this builder instance
-
timeLessThanOrEqualTo
public GetSqlTuningAdvisorTaskSummaryReportRequest.Builder timeLessThanOrEqualTo(Date timeLessThanOrEqualTo)
The optional less than or equal to query parameter to filter the timestamp.This is applicable only for Auto SQL Tuning tasks.
- Parameters:
timeLessThanOrEqualTo- the value to set- Returns:
- this builder instance
-
beginExecIdGreaterThanOrEqualTo
public GetSqlTuningAdvisorTaskSummaryReportRequest.Builder beginExecIdGreaterThanOrEqualTo(Long beginExecIdGreaterThanOrEqualTo)
The optional greater than or equal to filter on the execution ID related to a specific SQL Tuning Advisor task.This is applicable only for Auto SQL Tuning tasks.
- Parameters:
beginExecIdGreaterThanOrEqualTo- the value to set- Returns:
- this builder instance
-
endExecIdLessThanOrEqualTo
public GetSqlTuningAdvisorTaskSummaryReportRequest.Builder endExecIdLessThanOrEqualTo(Long endExecIdLessThanOrEqualTo)
The optional less than or equal to query parameter to filter on the execution ID related to a specific SQL Tuning Advisor task.This is applicable only for Auto SQL Tuning tasks.
- Parameters:
endExecIdLessThanOrEqualTo- the value to set- Returns:
- this builder instance
-
opcRequestId
public GetSqlTuningAdvisorTaskSummaryReportRequest.Builder opcRequestId(String opcRequestId)
The client request ID for tracing.- Parameters:
opcRequestId- the value to set- Returns:
- this builder instance
-
opcNamedCredentialId
public GetSqlTuningAdvisorTaskSummaryReportRequest.Builder opcNamedCredentialId(String opcNamedCredentialId)
The OCID of the Named Credential.- Parameters:
opcNamedCredentialId- the value to set- Returns:
- this builder instance
-
invocationCallback
public GetSqlTuningAdvisorTaskSummaryReportRequest.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 GetSqlTuningAdvisorTaskSummaryReportRequest.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 GetSqlTuningAdvisorTaskSummaryReportRequest.Builder copy(GetSqlTuningAdvisorTaskSummaryReportRequest o)
Copy method to populate the builder with values from the given instance.- Specified by:
copyin interfaceBmcRequest.Builder<GetSqlTuningAdvisorTaskSummaryReportRequest,Void>- Parameters:
o- other request from which to copy values- Returns:
- this builder instance
-
build
public GetSqlTuningAdvisorTaskSummaryReportRequest build()
Build the instance of GetSqlTuningAdvisorTaskSummaryReportRequest 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<GetSqlTuningAdvisorTaskSummaryReportRequest,Void>- Returns:
- instance of GetSqlTuningAdvisorTaskSummaryReportRequest
-
buildWithoutInvocationCallback
public GetSqlTuningAdvisorTaskSummaryReportRequest buildWithoutInvocationCallback()
Build the instance of GetSqlTuningAdvisorTaskSummaryReportRequest 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 GetSqlTuningAdvisorTaskSummaryReportRequest
-
-