Class SqlTuningAdvisorTaskRecommendationSummary.Builder
- java.lang.Object
-
- com.oracle.bmc.databasemanagement.model.SqlTuningAdvisorTaskRecommendationSummary.Builder
-
- Enclosing class:
- SqlTuningAdvisorTaskRecommendationSummary
public static class SqlTuningAdvisorTaskRecommendationSummary.Builder extends Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
-
-
-
Method Detail
-
sqlTuningAdvisorTaskId
public SqlTuningAdvisorTaskRecommendationSummary.Builder sqlTuningAdvisorTaskId(Long sqlTuningAdvisorTaskId)
The unique identifier of the task.This is not the OCID.
- Parameters:
sqlTuningAdvisorTaskId
- the value to set- Returns:
- this builder
-
sqlTuningAdvisorTaskObjectId
public SqlTuningAdvisorTaskRecommendationSummary.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
-
recommendationKey
public SqlTuningAdvisorTaskRecommendationSummary.Builder recommendationKey(Integer recommendationKey)
The unique identifier of the recommendation in the scope of the task.- Parameters:
recommendationKey
- the value to set- Returns:
- this builder
-
recommendationType
public SqlTuningAdvisorTaskRecommendationSummary.Builder recommendationType(SqlTuningAdvisorTaskRecommendationSummary.RecommendationType recommendationType)
Type of recommendation.- Parameters:
recommendationType
- the value to set- Returns:
- this builder
-
finding
public SqlTuningAdvisorTaskRecommendationSummary.Builder finding(String finding)
Summary of the issue found in the SQL statement.- Parameters:
finding
- the value to set- Returns:
- this builder
-
recommendation
public SqlTuningAdvisorTaskRecommendationSummary.Builder recommendation(String recommendation)
The recommendation for a specific finding.- Parameters:
recommendation
- the value to set- Returns:
- this builder
-
rationale
public SqlTuningAdvisorTaskRecommendationSummary.Builder rationale(String rationale)
Describes the reasoning behind the recommendation and how it relates to the finding.- Parameters:
rationale
- the value to set- Returns:
- this builder
-
benefit
public SqlTuningAdvisorTaskRecommendationSummary.Builder benefit(Float benefit)
The percentage benefit of this implementation.- Parameters:
benefit
- the value to set- Returns:
- this builder
-
implementActionSql
public SqlTuningAdvisorTaskRecommendationSummary.Builder implementActionSql(String implementActionSql)
Action sql to be implemented based on the recommendation result.- Parameters:
implementActionSql
- the value to set- Returns:
- this builder
-
isParallelExecution
public SqlTuningAdvisorTaskRecommendationSummary.Builder isParallelExecution(Boolean isParallelExecution)
Indicates whether a SQL Profile recommendation uses parallel execution.- Parameters:
isParallelExecution
- the value to set- Returns:
- this builder
-
build
public SqlTuningAdvisorTaskRecommendationSummary build()
-
copy
public SqlTuningAdvisorTaskRecommendationSummary.Builder copy(SqlTuningAdvisorTaskRecommendationSummary model)
-
-