Class SqlTuningAdvisorTaskFindingSummary.Builder
- java.lang.Object
-
- com.oracle.bmc.databasemanagement.model.SqlTuningAdvisorTaskFindingSummary.Builder
-
- Enclosing class:
- SqlTuningAdvisorTaskFindingSummary
public static class SqlTuningAdvisorTaskFindingSummary.Builder extends Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description SqlTuningAdvisorTaskFindingSummarybuild()SqlTuningAdvisorTaskFindingSummary.Buildercopy(SqlTuningAdvisorTaskFindingSummary model)SqlTuningAdvisorTaskFindingSummary.BuilderdbTimeBenefit(Float dbTimeBenefit)The time benefit (in seconds) for the highest-rated finding for this object.SqlTuningAdvisorTaskFindingSummary.BuilderisAlternativePlanFindingPresent(Boolean isAlternativePlanFindingPresent)Indicates whether an alternative execution plan was reported for this SQL statement.SqlTuningAdvisorTaskFindingSummary.BuilderisErrorFindingPresent(Boolean isErrorFindingPresent)Indicates whether there is an error in this SQL statement.SqlTuningAdvisorTaskFindingSummary.BuilderisIndexFindingPresent(Boolean isIndexFindingPresent)Indicates whether an index recommendation was reported for this SQL statement.SqlTuningAdvisorTaskFindingSummary.BuilderisMiscellaneousFindingPresent(Boolean isMiscellaneousFindingPresent)Indicates whether a miscellaneous finding was reported for this SQL statement.SqlTuningAdvisorTaskFindingSummary.BuilderisRestructureSqlFindingPresent(Boolean isRestructureSqlFindingPresent)Indicates whether a restructure SQL recommendation was reported for this SQL statement.SqlTuningAdvisorTaskFindingSummary.BuilderisSqlProfileFindingImplemented(Boolean isSqlProfileFindingImplemented)Indicates whether a SQL Profile recommendation has been implemented for this SQL statement.SqlTuningAdvisorTaskFindingSummary.BuilderisSqlProfileFindingPresent(Boolean isSqlProfileFindingPresent)Indicates whether a SQL Profile recommendation was reported for this SQL statement.SqlTuningAdvisorTaskFindingSummary.BuilderisStatsFindingPresent(Boolean isStatsFindingPresent)Indicates whether a statistics recommendation was reported for this SQL statement.SqlTuningAdvisorTaskFindingSummary.BuilderisTimeoutFindingPresent(Boolean isTimeoutFindingPresent)Indicates whether the task timed out.SqlTuningAdvisorTaskFindingSummary.BuilderparsingSchema(String parsingSchema)The parsing schema of the object.SqlTuningAdvisorTaskFindingSummary.BuilderperExecutionPercentage(Integer perExecutionPercentage)The per-execution percentage benefit.SqlTuningAdvisorTaskFindingSummary.BuildersqlKey(String sqlKey)The unique key of this SQL statement.SqlTuningAdvisorTaskFindingSummary.BuildersqlText(String sqlText)The text of the SQL statement.SqlTuningAdvisorTaskFindingSummary.BuildersqlTuningAdvisorTaskId(Long sqlTuningAdvisorTaskId)The unique identifier of the SQL Tuning Advisor task.SqlTuningAdvisorTaskFindingSummary.BuildersqlTuningAdvisorTaskObjectExecutionId(Long sqlTuningAdvisorTaskObjectExecutionId)The execution id of the analyzed SQL object.SqlTuningAdvisorTaskFindingSummary.BuildersqlTuningAdvisorTaskObjectId(Long sqlTuningAdvisorTaskObjectId)The key of the object to which these recommendations apply.
-
-
-
Method Detail
-
sqlTuningAdvisorTaskId
public SqlTuningAdvisorTaskFindingSummary.Builder sqlTuningAdvisorTaskId(Long sqlTuningAdvisorTaskId)
The unique identifier of the SQL Tuning Advisor task.This is not the OCID.
- Parameters:
sqlTuningAdvisorTaskId- the value to set- Returns:
- this builder
-
sqlTuningAdvisorTaskObjectId
public SqlTuningAdvisorTaskFindingSummary.Builder sqlTuningAdvisorTaskObjectId(Long sqlTuningAdvisorTaskObjectId)
The key of the object to which these recommendations apply.This is not the OCID.
- Parameters:
sqlTuningAdvisorTaskObjectId- the value to set- Returns:
- this builder
-
sqlTuningAdvisorTaskObjectExecutionId
public SqlTuningAdvisorTaskFindingSummary.Builder sqlTuningAdvisorTaskObjectExecutionId(Long sqlTuningAdvisorTaskObjectExecutionId)
The execution id of the analyzed SQL object.This is not the OCID.
- Parameters:
sqlTuningAdvisorTaskObjectExecutionId- the value to set- Returns:
- this builder
-
sqlText
public SqlTuningAdvisorTaskFindingSummary.Builder sqlText(String sqlText)
The text of the SQL statement.- Parameters:
sqlText- the value to set- Returns:
- this builder
-
parsingSchema
public SqlTuningAdvisorTaskFindingSummary.Builder parsingSchema(String parsingSchema)
The parsing schema of the object.- Parameters:
parsingSchema- the value to set- Returns:
- this builder
-
sqlKey
public SqlTuningAdvisorTaskFindingSummary.Builder sqlKey(String sqlKey)
The unique key of this SQL statement.- Parameters:
sqlKey- the value to set- Returns:
- this builder
-
dbTimeBenefit
public SqlTuningAdvisorTaskFindingSummary.Builder dbTimeBenefit(Float dbTimeBenefit)
The time benefit (in seconds) for the highest-rated finding for this object.- Parameters:
dbTimeBenefit- the value to set- Returns:
- this builder
-
perExecutionPercentage
public SqlTuningAdvisorTaskFindingSummary.Builder perExecutionPercentage(Integer perExecutionPercentage)
The per-execution percentage benefit.- Parameters:
perExecutionPercentage- the value to set- Returns:
- this builder
-
isStatsFindingPresent
public SqlTuningAdvisorTaskFindingSummary.Builder isStatsFindingPresent(Boolean isStatsFindingPresent)
Indicates whether a statistics recommendation was reported for this SQL statement.- Parameters:
isStatsFindingPresent- the value to set- Returns:
- this builder
-
isSqlProfileFindingPresent
public SqlTuningAdvisorTaskFindingSummary.Builder isSqlProfileFindingPresent(Boolean isSqlProfileFindingPresent)
Indicates whether a SQL Profile recommendation was reported for this SQL statement.- Parameters:
isSqlProfileFindingPresent- the value to set- Returns:
- this builder
-
isSqlProfileFindingImplemented
public SqlTuningAdvisorTaskFindingSummary.Builder isSqlProfileFindingImplemented(Boolean isSqlProfileFindingImplemented)
Indicates whether a SQL Profile recommendation has been implemented for this SQL statement.- Parameters:
isSqlProfileFindingImplemented- the value to set- Returns:
- this builder
-
isIndexFindingPresent
public SqlTuningAdvisorTaskFindingSummary.Builder isIndexFindingPresent(Boolean isIndexFindingPresent)
Indicates whether an index recommendation was reported for this SQL statement.- Parameters:
isIndexFindingPresent- the value to set- Returns:
- this builder
-
isRestructureSqlFindingPresent
public SqlTuningAdvisorTaskFindingSummary.Builder isRestructureSqlFindingPresent(Boolean isRestructureSqlFindingPresent)
Indicates whether a restructure SQL recommendation was reported for this SQL statement.- Parameters:
isRestructureSqlFindingPresent- the value to set- Returns:
- this builder
-
isAlternativePlanFindingPresent
public SqlTuningAdvisorTaskFindingSummary.Builder isAlternativePlanFindingPresent(Boolean isAlternativePlanFindingPresent)
Indicates whether an alternative execution plan was reported for this SQL statement.- Parameters:
isAlternativePlanFindingPresent- the value to set- Returns:
- this builder
-
isMiscellaneousFindingPresent
public SqlTuningAdvisorTaskFindingSummary.Builder isMiscellaneousFindingPresent(Boolean isMiscellaneousFindingPresent)
Indicates whether a miscellaneous finding was reported for this SQL statement.- Parameters:
isMiscellaneousFindingPresent- the value to set- Returns:
- this builder
-
isErrorFindingPresent
public SqlTuningAdvisorTaskFindingSummary.Builder isErrorFindingPresent(Boolean isErrorFindingPresent)
Indicates whether there is an error in this SQL statement.- Parameters:
isErrorFindingPresent- the value to set- Returns:
- this builder
-
isTimeoutFindingPresent
public SqlTuningAdvisorTaskFindingSummary.Builder isTimeoutFindingPresent(Boolean isTimeoutFindingPresent)
Indicates whether the task timed out.- Parameters:
isTimeoutFindingPresent- the value to set- Returns:
- this builder
-
build
public SqlTuningAdvisorTaskFindingSummary build()
-
copy
public SqlTuningAdvisorTaskFindingSummary.Builder copy(SqlTuningAdvisorTaskFindingSummary model)
-
-