Package com.oracle.bmc.dataflow.model
Class PoolMetrics.Builder
- java.lang.Object
-
- com.oracle.bmc.dataflow.model.PoolMetrics.Builder
-
- Enclosing class:
- PoolMetrics
public static class PoolMetrics.Builder extends Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description PoolMetrics.Builder
activelyUsedNodeCount(List<NodeCount> activelyUsedNodeCount)
A count of the nodes that are currently being used for each shape in this pool.PoolMetrics.Builder
activeRunsCount(Long activeRunsCount)
The number of runs that are currently running that are using this pool.PoolMetrics
build()
PoolMetrics.Builder
copy(PoolMetrics model)
PoolMetrics.Builder
timeLastMetricsUpdated(Date timeLastMetricsUpdated)
The last time the mertics were updated for this.PoolMetrics.Builder
timeLastStarted(Date timeLastStarted)
The last time this pool was started.PoolMetrics.Builder
timeLastStopped(Date timeLastStopped)
The last time this pool was stopped.PoolMetrics.Builder
timeLastUsed(Date timeLastUsed)
The last time a run used this pool.
-
-
-
Method Detail
-
timeLastStarted
public PoolMetrics.Builder timeLastStarted(Date timeLastStarted)
The last time this pool was started.- Parameters:
timeLastStarted
- the value to set- Returns:
- this builder
-
timeLastStopped
public PoolMetrics.Builder timeLastStopped(Date timeLastStopped)
The last time this pool was stopped.- Parameters:
timeLastStopped
- the value to set- Returns:
- this builder
-
timeLastUsed
public PoolMetrics.Builder timeLastUsed(Date timeLastUsed)
The last time a run used this pool.- Parameters:
timeLastUsed
- the value to set- Returns:
- this builder
-
timeLastMetricsUpdated
public PoolMetrics.Builder timeLastMetricsUpdated(Date timeLastMetricsUpdated)
The last time the mertics were updated for this.- Parameters:
timeLastMetricsUpdated
- the value to set- Returns:
- this builder
-
activeRunsCount
public PoolMetrics.Builder activeRunsCount(Long activeRunsCount)
The number of runs that are currently running that are using this pool.- Parameters:
activeRunsCount
- the value to set- Returns:
- this builder
-
activelyUsedNodeCount
public PoolMetrics.Builder activelyUsedNodeCount(List<NodeCount> activelyUsedNodeCount)
A count of the nodes that are currently being used for each shape in this pool.- Parameters:
activelyUsedNodeCount
- the value to set- Returns:
- this builder
-
build
public PoolMetrics build()
-
copy
public PoolMetrics.Builder copy(PoolMetrics model)
-
-