Package com.oracle.bmc.datasafe.model
Class AlertAggregationItems.Builder
- java.lang.Object
-
- com.oracle.bmc.datasafe.model.AlertAggregationItems.Builder
-
- Enclosing class:
- AlertAggregationItems
public static class AlertAggregationItems.Builder extends Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description AlertAggregationItemsbuild()AlertAggregationItems.Buildercopy(AlertAggregationItems model)AlertAggregationItems.Buildercount(Long count)Total count of aggregated values.AlertAggregationItems.Builderdimensions(AlertsAggregationDimension dimensions)AlertAggregationItems.BuildermetricName(String metricName)The name of the aggregation.AlertAggregationItems.BuildertimeEnded(Date timeEnded)The time at which the aggregation ended.AlertAggregationItems.BuildertimeStarted(Date timeStarted)The time at which the aggregation started.
-
-
-
Method Detail
-
metricName
public AlertAggregationItems.Builder metricName(String metricName)
The name of the aggregation.- Parameters:
metricName- the value to set- Returns:
- this builder
-
timeStarted
public AlertAggregationItems.Builder timeStarted(Date timeStarted)
The time at which the aggregation started.- Parameters:
timeStarted- the value to set- Returns:
- this builder
-
timeEnded
public AlertAggregationItems.Builder timeEnded(Date timeEnded)
The time at which the aggregation ended.- Parameters:
timeEnded- the value to set- Returns:
- this builder
-
count
public AlertAggregationItems.Builder count(Long count)
Total count of aggregated values.- Parameters:
count- the value to set- Returns:
- this builder
-
dimensions
public AlertAggregationItems.Builder dimensions(AlertsAggregationDimension dimensions)
-
build
public AlertAggregationItems build()
-
copy
public AlertAggregationItems.Builder copy(AlertAggregationItems model)
-
-