Package com.oracle.bmc.opsi.model
Class ResourceCapacityTrendAggregation.Builder
- java.lang.Object
-
- com.oracle.bmc.opsi.model.ResourceCapacityTrendAggregation.Builder
-
- Enclosing class:
- ResourceCapacityTrendAggregation
public static class ResourceCapacityTrendAggregation.Builder extends Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ResourceCapacityTrendAggregation.BuilderbaseCapacity(Double baseCapacity)The base allocated amount of the resource metric type (CPU, STORAGE) for a set of databases.ResourceCapacityTrendAggregationbuild()ResourceCapacityTrendAggregation.Buildercapacity(Double capacity)The maximum allocated amount of the resource metric type (CPU, STORAGE) for a set of databases.ResourceCapacityTrendAggregation.Buildercopy(ResourceCapacityTrendAggregation model)ResourceCapacityTrendAggregation.BuilderendTimestamp(Date endTimestamp)The timestamp in which the current sampling period ends in RFC 3339 format.ResourceCapacityTrendAggregation.BuildertotalHostCapacity(Double totalHostCapacity)The maximum host CPUs (cores x threads/core) on the underlying infrastructure.
-
-
-
Method Detail
-
endTimestamp
public ResourceCapacityTrendAggregation.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
-
capacity
public ResourceCapacityTrendAggregation.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
-
baseCapacity
public ResourceCapacityTrendAggregation.Builder baseCapacity(Double baseCapacity)
The base allocated amount of the resource metric type (CPU, STORAGE) for a set of databases.- Parameters:
baseCapacity- the value to set- Returns:
- this builder
-
totalHostCapacity
public ResourceCapacityTrendAggregation.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 ResourceCapacityTrendAggregation build()
-
copy
public ResourceCapacityTrendAggregation.Builder copy(ResourceCapacityTrendAggregation model)
-
-