Package com.oracle.bmc.opsi.model
Class AddmDbRecommendationAggregation.Builder
- java.lang.Object
-
- com.oracle.bmc.opsi.model.AddmDbRecommendationAggregation.Builder
-
- Enclosing class:
- AddmDbRecommendationAggregation
public static class AddmDbRecommendationAggregation.Builder extends Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description AddmDbRecommendationAggregationbuild()AddmDbRecommendationAggregation.Buildercopy(AddmDbRecommendationAggregation model)AddmDbRecommendationAggregation.BuilderfrequencyCount(Integer frequencyCount)Number of occurrences for this recommendationAddmDbRecommendationAggregation.Builderid(String id)The OCID of the Database insight.AddmDbRecommendationAggregation.BuilderimplementActions(List<String> implementActions)Actions that can be performed to implement the recommendation (such as ‘ALTER PARAMETER’, ‘RUN SQL TUNING ADVISOR’)AddmDbRecommendationAggregation.BuildermaxBenefitAvgActiveSessions(Double maxBenefitAvgActiveSessions)Maximum estimated benefit in terms of average active sessionsAddmDbRecommendationAggregation.BuildermaxBenefitPercent(Double maxBenefitPercent)Maximum estimated benefit in terms of percentage of total activityAddmDbRecommendationAggregation.Buildermessage(String message)Recommendation messageAddmDbRecommendationAggregation.BuilderoverallBenefitPercent(Double overallBenefitPercent)Overall estimated benefit in terms of percentage of total activityAddmDbRecommendationAggregation.Builderrationale(String rationale)Recommendation messageAddmDbRecommendationAggregation.BuilderrelatedObject(RelatedObjectTypeDetails relatedObject)AddmDbRecommendationAggregation.BuilderrequiresDbRestart(String requiresDbRestart)Indicates implementation of the recommended action requires a database restart in order for it to take effect.AddmDbRecommendationAggregation.Buildertype(String type)Type of recommendation
-
-
-
Method Detail
-
id
public AddmDbRecommendationAggregation.Builder id(String id)
The OCID of the Database insight.- Parameters:
id- the value to set- Returns:
- this builder
-
type
public AddmDbRecommendationAggregation.Builder type(String type)
Type of recommendation- Parameters:
type- the value to set- Returns:
- this builder
-
message
public AddmDbRecommendationAggregation.Builder message(String message)
Recommendation message- Parameters:
message- the value to set- Returns:
- this builder
-
requiresDbRestart
public AddmDbRecommendationAggregation.Builder requiresDbRestart(String requiresDbRestart)
Indicates implementation of the recommended action requires a database restart in order for it to take effect.Possible values “Y”, “N” and null.
- Parameters:
requiresDbRestart- the value to set- Returns:
- this builder
-
implementActions
public AddmDbRecommendationAggregation.Builder implementActions(List<String> implementActions)
Actions that can be performed to implement the recommendation (such as ‘ALTER PARAMETER’, ‘RUN SQL TUNING ADVISOR’)- Parameters:
implementActions- the value to set- Returns:
- this builder
-
rationale
public AddmDbRecommendationAggregation.Builder rationale(String rationale)
Recommendation message- Parameters:
rationale- the value to set- Returns:
- this builder
-
maxBenefitPercent
public AddmDbRecommendationAggregation.Builder maxBenefitPercent(Double maxBenefitPercent)
Maximum estimated benefit in terms of percentage of total activity- Parameters:
maxBenefitPercent- the value to set- Returns:
- this builder
-
overallBenefitPercent
public AddmDbRecommendationAggregation.Builder overallBenefitPercent(Double overallBenefitPercent)
Overall estimated benefit in terms of percentage of total activity- Parameters:
overallBenefitPercent- the value to set- Returns:
- this builder
-
maxBenefitAvgActiveSessions
public AddmDbRecommendationAggregation.Builder maxBenefitAvgActiveSessions(Double maxBenefitAvgActiveSessions)
Maximum estimated benefit in terms of average active sessions- Parameters:
maxBenefitAvgActiveSessions- the value to set- Returns:
- this builder
-
frequencyCount
public AddmDbRecommendationAggregation.Builder frequencyCount(Integer frequencyCount)
Number of occurrences for this recommendation- Parameters:
frequencyCount- the value to set- Returns:
- this builder
-
relatedObject
public AddmDbRecommendationAggregation.Builder relatedObject(RelatedObjectTypeDetails relatedObject)
-
build
public AddmDbRecommendationAggregation build()
-
copy
public AddmDbRecommendationAggregation.Builder copy(AddmDbRecommendationAggregation model)
-
-