Package com.oracle.bmc.opsi.model
Class ResourceUsageTrendAggregation.Builder
- java.lang.Object
-
- com.oracle.bmc.opsi.model.ResourceUsageTrendAggregation.Builder
-
- Enclosing class:
- ResourceUsageTrendAggregation
public static class ResourceUsageTrendAggregation.Builder extends Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ResourceUsageTrendAggregation
build()
ResourceUsageTrendAggregation.Builder
capacity(Double capacity)
The maximum allocated amount of the resource metric type (CPU, STORAGE) for a set of databases.ResourceUsageTrendAggregation.Builder
copy(ResourceUsageTrendAggregation model)
ResourceUsageTrendAggregation.Builder
endTimestamp(Date endTimestamp)
The timestamp in which the current sampling period ends in RFC 3339 format.ResourceUsageTrendAggregation.Builder
totalHostCapacity(Double totalHostCapacity)
The maximum host CPUs (cores x threads/core) on the underlying infrastructure.ResourceUsageTrendAggregation.Builder
usage(Double usage)
Total amount used of the resource metric type (CPU, STORAGE).
-
-
-
Method Detail
-
endTimestamp
public ResourceUsageTrendAggregation.Builder endTimestamp(Date endTimestamp)
The timestamp in which the current sampling period ends in RFC 3339 format.- Parameters:
endTimestamp
- the value to set- Returns:
- this builder
-
usage
public ResourceUsageTrendAggregation.Builder usage(Double usage)
Total amount used of the resource metric type (CPU, STORAGE).- Parameters:
usage
- the value to set- Returns:
- this builder
-
capacity
public ResourceUsageTrendAggregation.Builder capacity(Double capacity)
The maximum allocated amount of the resource metric type (CPU, STORAGE) for a set of databases.- Parameters:
capacity
- the value to set- Returns:
- this builder
-
totalHostCapacity
public ResourceUsageTrendAggregation.Builder totalHostCapacity(Double totalHostCapacity)
The maximum host CPUs (cores x threads/core) on the underlying infrastructure.This only applies to CPU and does not not apply for Autonomous Databases.
- Parameters:
totalHostCapacity
- the value to set- Returns:
- this builder
-
build
public ResourceUsageTrendAggregation build()
-
copy
public ResourceUsageTrendAggregation.Builder copy(ResourceUsageTrendAggregation model)
-
-