public static class ResourceUsageTrendAggregation.Builder extends Object
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and 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).
|
public ResourceUsageTrendAggregation.Builder endTimestamp(Date endTimestamp)
The timestamp in which the current sampling period ends in RFC 3339 format.
endTimestamp
- the value to setpublic ResourceUsageTrendAggregation.Builder usage(Double usage)
Total amount used of the resource metric type (CPU, STORAGE).
usage
- the value to setpublic ResourceUsageTrendAggregation.Builder capacity(Double capacity)
The maximum allocated amount of the resource metric type (CPU, STORAGE) for a set of databases.
capacity
- the value to setpublic 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.
totalHostCapacity
- the value to setpublic ResourceUsageTrendAggregation build()
public ResourceUsageTrendAggregation.Builder copy(ResourceUsageTrendAggregation model)
Copyright © 2016–2024. All rights reserved.