Class SqlTuningTaskPlanStats.Builder
- java.lang.Object
-
- com.oracle.bmc.databasemanagement.model.SqlTuningTaskPlanStats.Builder
-
- Enclosing class:
- SqlTuningTaskPlanStats
public static class SqlTuningTaskPlanStats.Builder extends Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description SqlTuningTaskPlanStatsbuild()SqlTuningTaskPlanStats.Buildercopy(SqlTuningTaskPlanStats model)SqlTuningTaskPlanStats.BuilderplanStats(Map<String,Double> planStats)A map contains the statistics for the SQL execution using the plan.SqlTuningTaskPlanStats.BuilderplanStatus(SqlTuningTaskPlanStats.PlanStatus planStatus)The status of the execution using the plan.SqlTuningTaskPlanStats.BuilderplanType(String planType)The type of the original or modified plan with profile, index, and so on.
-
-
-
Method Detail
-
planType
public SqlTuningTaskPlanStats.Builder planType(String planType)
The type of the original or modified plan with profile, index, and so on.- Parameters:
planType- the value to set- Returns:
- this builder
-
planStats
public SqlTuningTaskPlanStats.Builder planStats(Map<String,Double> planStats)
A map contains the statistics for the SQL execution using the plan.The key of the map is the metric’s name. The value of the map is the metric’s value.
- Parameters:
planStats- the value to set- Returns:
- this builder
-
planStatus
public SqlTuningTaskPlanStats.Builder planStatus(SqlTuningTaskPlanStats.PlanStatus planStatus)
The status of the execution using the plan.- Parameters:
planStatus- the value to set- Returns:
- this builder
-
build
public SqlTuningTaskPlanStats build()
-
copy
public SqlTuningTaskPlanStats.Builder copy(SqlTuningTaskPlanStats model)
-
-