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 AlertAggregationItems
build()
AlertAggregationItems.Builder
copy(AlertAggregationItems model)
AlertAggregationItems.Builder
count(Long count)
Total count of aggregated values.AlertAggregationItems.Builder
dimensions(AlertsAggregationDimension dimensions)
AlertAggregationItems.Builder
metricName(String metricName)
The name of the aggregation.AlertAggregationItems.Builder
timeEnded(Date timeEnded)
The time at which the aggregation ended.AlertAggregationItems.Builder
timeStarted(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)
-
-