public static class ResourceUsageSummary.Builder extends Object
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
ResourceUsageSummary |
build() |
ResourceUsageSummary.Builder |
capacity(Double capacity)
The maximum allocated amount of the resource metric type (CPU, STORAGE) for a set of
databases.
|
ResourceUsageSummary.Builder |
copy(ResourceUsageSummary model) |
ResourceUsageSummary.Builder |
exadataDisplayName(String exadataDisplayName)
The user-friendly name for the Exadata system.
|
ResourceUsageSummary.Builder |
exadataInsightId(String exadataInsightId)
The OCID
of the Exadata insight.
|
ResourceUsageSummary.Builder |
totalHostCapacity(Double totalHostCapacity)
The maximum host CPUs (cores x threads/core) on the underlying infrastructure.
|
ResourceUsageSummary.Builder |
usage(Double usage)
Total amount used of the resource metric type (CPU, STORAGE).
|
ResourceUsageSummary.Builder |
usageChangePercent(Double usageChangePercent)
Change in resource utilization in percentage
|
ResourceUsageSummary.Builder |
utilizationPercent(Double utilizationPercent)
Resource utilization in percentage
|
public ResourceUsageSummary.Builder exadataInsightId(String exadataInsightId)
The OCID of the Exadata insight.
exadataInsightId
- the value to setpublic ResourceUsageSummary.Builder exadataDisplayName(String exadataDisplayName)
The user-friendly name for the Exadata system. The name does not have to be unique.
exadataDisplayName
- the value to setpublic ResourceUsageSummary.Builder usage(Double usage)
Total amount used of the resource metric type (CPU, STORAGE).
usage
- the value to setpublic ResourceUsageSummary.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 ResourceUsageSummary.Builder utilizationPercent(Double utilizationPercent)
Resource utilization in percentage
utilizationPercent
- the value to setpublic ResourceUsageSummary.Builder usageChangePercent(Double usageChangePercent)
Change in resource utilization in percentage
usageChangePercent
- the value to setpublic ResourceUsageSummary.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 ResourceUsageSummary build()
public ResourceUsageSummary.Builder copy(ResourceUsageSummary model)
Copyright © 2016–2024. All rights reserved.