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 SummaryConstructors Constructor Description Builder()
 - 
Method SummaryAll 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- 
exadataInsightIdpublic ResourceUsageSummary.Builder exadataInsightId(String exadataInsightId) The OCID of the Exadata insight.- Parameters:
- exadataInsightId- the value to set
- Returns:
- this builder
 
 - 
exadataDisplayNamepublic 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
 
 - 
usagepublic ResourceUsageSummary.Builder usage(Double usage) Total amount used of the resource metric type (CPU, STORAGE).- Parameters:
- usage- the value to set
- Returns:
- this builder
 
 - 
capacitypublic 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
 
 - 
utilizationPercentpublic ResourceUsageSummary.Builder utilizationPercent(Double utilizationPercent) Resource utilization in percentage- Parameters:
- utilizationPercent- the value to set
- Returns:
- this builder
 
 - 
usageChangePercentpublic ResourceUsageSummary.Builder usageChangePercent(Double usageChangePercent) Change in resource utilization in percentage- Parameters:
- usageChangePercent- the value to set
- Returns:
- this builder
 
 - 
totalHostCapacitypublic 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
 
 - 
buildpublic ResourceUsageSummary build() 
 - 
copypublic ResourceUsageSummary.Builder copy(ResourceUsageSummary model) 
 
- 
 
-