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