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 SummaryConstructors Constructor Description Builder()
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description ResourceUsageTrendAggregationbuild()ResourceUsageTrendAggregation.Buildercapacity(Double capacity)The maximum allocated amount of the resource metric type (CPU, STORAGE) for a set of databases.ResourceUsageTrendAggregation.Buildercopy(ResourceUsageTrendAggregation model)ResourceUsageTrendAggregation.BuilderendTimestamp(Date endTimestamp)The timestamp in which the current sampling period ends in RFC 3339 format.ResourceUsageTrendAggregation.BuildertotalHostCapacity(Double totalHostCapacity)The maximum host CPUs (cores x threads/core) on the underlying infrastructure.ResourceUsageTrendAggregation.Builderusage(Double usage)Total amount used of the resource metric type (CPU, STORAGE).
 
- 
- 
- 
Method Detail- 
endTimestamppublic 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
 
 - 
usagepublic ResourceUsageTrendAggregation.Builder usage(Double usage) Total amount used of the resource metric type (CPU, STORAGE).- Parameters:
- usage- the value to set
- Returns:
- this builder
 
 - 
capacitypublic 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
 
 - 
totalHostCapacitypublic 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
 
 - 
buildpublic ResourceUsageTrendAggregation build() 
 - 
copypublic ResourceUsageTrendAggregation.Builder copy(ResourceUsageTrendAggregation model) 
 
- 
 
-