Package com.oracle.bmc.opsi.model
Class SqlInsightThresholds.Builder
- java.lang.Object
- 
- com.oracle.bmc.opsi.model.SqlInsightThresholds.Builder
 
- 
- Enclosing class:
- SqlInsightThresholds
 
 public static class SqlInsightThresholds.Builder extends Object 
- 
- 
Constructor SummaryConstructors Constructor Description Builder()
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description SqlInsightThresholdsbuild()SqlInsightThresholds.Buildercopy(SqlInsightThresholds model)SqlInsightThresholds.BuilderdegradationInPct(Integer degradationInPct)Degradation Percent Threshold is used to derive degrading SQLs.SqlInsightThresholds.BuilderimprovedInPct(Integer improvedInPct)Improved Percent Threshold is used to derive improving SQLs.SqlInsightThresholds.BuilderincreaseInCPUInPct(Integer increaseInCPUInPct)PctIncreaseInCPU is used for deriving insights for SQLs which are degrading or variant or inefficient.SqlInsightThresholds.BuilderincreaseInInefficientWaitInPct(Integer increaseInInefficientWaitInPct)PctIncreaseInIO is used for deriving insights for SQLs which are degrading or variant or inefficient.SqlInsightThresholds.BuilderincreaseInIOInPct(Integer increaseInIOInPct)PctIncreaseInIO is used for deriving insights for SQLs which are degrading or variant or inefficient.SqlInsightThresholds.BuilderinefficiencyInPct(Integer inefficiencyInPct)Inefficiency Percent Threshold is used to derive inefficient SQLs.SqlInsightThresholds.Buildervariability(Float variability)Variability Percent Threshold is used to derive variant SQLs.
 
- 
- 
- 
Method Detail- 
degradationInPctpublic SqlInsightThresholds.Builder degradationInPct(Integer degradationInPct) Degradation Percent Threshold is used to derive degrading SQLs.- Parameters:
- degradationInPct- the value to set
- Returns:
- this builder
 
 - 
variabilitypublic SqlInsightThresholds.Builder variability(Float variability) Variability Percent Threshold is used to derive variant SQLs.- Parameters:
- variability- the value to set
- Returns:
- this builder
 
 - 
inefficiencyInPctpublic SqlInsightThresholds.Builder inefficiencyInPct(Integer inefficiencyInPct) Inefficiency Percent Threshold is used to derive inefficient SQLs.- Parameters:
- inefficiencyInPct- the value to set
- Returns:
- this builder
 
 - 
increaseInIOInPctpublic SqlInsightThresholds.Builder increaseInIOInPct(Integer increaseInIOInPct) PctIncreaseInIO is used for deriving insights for SQLs which are degrading or variant or inefficient.And these SQLs should also have increasing change in IO Time beyond threshold. Insights are derived using linear regression. - Parameters:
- increaseInIOInPct- the value to set
- Returns:
- this builder
 
 - 
increaseInCPUInPctpublic SqlInsightThresholds.Builder increaseInCPUInPct(Integer increaseInCPUInPct) PctIncreaseInCPU is used for deriving insights for SQLs which are degrading or variant or inefficient.And these SQLs should also have increasing change in CPU Time beyond threshold. Insights are derived using linear regression. - Parameters:
- increaseInCPUInPct- the value to set
- Returns:
- this builder
 
 - 
increaseInInefficientWaitInPctpublic SqlInsightThresholds.Builder increaseInInefficientWaitInPct(Integer increaseInInefficientWaitInPct) PctIncreaseInIO is used for deriving insights for SQLs which are degrading or variant or inefficient.And these SQLs should also have increasing change in Other Wait Time beyond threshold. Insights are derived using linear regression. - Parameters:
- increaseInInefficientWaitInPct- the value to set
- Returns:
- this builder
 
 - 
improvedInPctpublic SqlInsightThresholds.Builder improvedInPct(Integer improvedInPct) Improved Percent Threshold is used to derive improving SQLs.- Parameters:
- improvedInPct- the value to set
- Returns:
- this builder
 
 - 
buildpublic SqlInsightThresholds build() 
 - 
copypublic SqlInsightThresholds.Builder copy(SqlInsightThresholds model) 
 
- 
 
-