Package com.oracle.bmc.psql.model
Class OdspInsight.Builder
- java.lang.Object
-
- com.oracle.bmc.psql.model.OdspInsight.Builder
-
- Enclosing class:
- OdspInsight
public static class OdspInsight.Builder extends Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description OdspInsightbuild()OdspInsight.Buildercopy(OdspInsight model)OdspInsight.BuilderinsightType(OdspInsight.InsightType insightType)Type of Insight collected for the database system.OdspInsight.BuilderretentionPeriodInDays(Integer retentionPeriodInDays)Retention period for Insight data, in days.
-
-
-
Method Detail
-
insightType
public OdspInsight.Builder insightType(OdspInsight.InsightType insightType)
Type of Insight collected for the database system.- Parameters:
insightType- the value to set- Returns:
- this builder
-
retentionPeriodInDays
public OdspInsight.Builder retentionPeriodInDays(Integer retentionPeriodInDays)
Retention period for Insight data, in days.Current supported value is 7 days. the system default is 7 days.
- Parameters:
retentionPeriodInDays- the value to set- Returns:
- this builder
-
build
public OdspInsight build()
-
copy
public OdspInsight.Builder copy(OdspInsight model)
-
-