Package com.oracle.bmc.opsi.model
Class ResourceUsageSummary.Builder
- java.lang.Object
-
- com.oracle.bmc.opsi.model.ResourceUsageSummary.Builder
-
- Enclosing class:
- ResourceUsageSummary
public static class ResourceUsageSummary.Builder extends Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ResourceUsageSummarybuild()ResourceUsageSummary.Buildercapacity(Double capacity)The maximum allocated amount of the resource metric type (CPU, STORAGE) for a set of databases.ResourceUsageSummary.Buildercopy(ResourceUsageSummary model)ResourceUsageSummary.BuilderexadataDisplayName(String exadataDisplayName)The user-friendly name for the Exadata system.ResourceUsageSummary.BuilderexadataInsightId(String exadataInsightId)The OCID of the Exadata insight.ResourceUsageSummary.BuildertotalHostCapacity(Double totalHostCapacity)The maximum host CPUs (cores x threads/core) on the underlying infrastructure.ResourceUsageSummary.Builderusage(Double usage)Total amount used of the resource metric type (CPU, STORAGE).ResourceUsageSummary.BuilderusageChangePercent(Double usageChangePercent)Change in resource utilization in percentageResourceUsageSummary.BuilderutilizationPercent(Double utilizationPercent)Resource utilization in percentage
-
-
-
Method Detail
-
exadataInsightId
public ResourceUsageSummary.Builder exadataInsightId(String exadataInsightId)
The OCID of the Exadata insight.- Parameters:
exadataInsightId- the value to set- Returns:
- this builder
-
exadataDisplayName
public ResourceUsageSummary.Builder exadataDisplayName(String exadataDisplayName)
The user-friendly name for the Exadata system.The name does not have to be unique.
- Parameters:
exadataDisplayName- the value to set- Returns:
- this builder
-
usage
public ResourceUsageSummary.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 ResourceUsageSummary.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
-
utilizationPercent
public ResourceUsageSummary.Builder utilizationPercent(Double utilizationPercent)
Resource utilization in percentage- Parameters:
utilizationPercent- the value to set- Returns:
- this builder
-
usageChangePercent
public ResourceUsageSummary.Builder usageChangePercent(Double usageChangePercent)
Change in resource utilization in percentage- Parameters:
usageChangePercent- the value to set- Returns:
- this builder
-
totalHostCapacity
public 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.
- Parameters:
totalHostCapacity- the value to set- Returns:
- this builder
-
build
public ResourceUsageSummary build()
-
copy
public ResourceUsageSummary.Builder copy(ResourceUsageSummary model)
-
-