Class OccOverviewSummary.Builder
- java.lang.Object
- 
- com.oracle.bmc.capacitymanagement.model.OccOverviewSummary.Builder
 
- 
- Enclosing class:
- OccOverviewSummary
 
 public static class OccOverviewSummary.Builder extends Object 
- 
- 
Constructor SummaryConstructors Constructor Description Builder()
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description OccOverviewSummarybuild()OccOverviewSummary.BuildercapacityRequestsBlob(String capacityRequestsBlob)A raw json blob containing all the capacity requests corresponding to the resource nameOccOverviewSummary.BuildercompartmentId(String compartmentId)The OCID of the compartment from which the api call is made.OccOverviewSummary.Buildercopy(OccOverviewSummary model)OccOverviewSummary.BuilderperiodValue(String periodValue)The name of the month along with year for which this summary corresponds to.OccOverviewSummary.BuilderresourceName(String resourceName)The name of the resource for which we have aggregated the value.OccOverviewSummary.BuildertotalAvailable(Long totalAvailable)The quantity of the resource which is available at the end of the period of aggregationDetails model in consideration.OccOverviewSummary.BuildertotalCancelled(Long totalCancelled)The quantity of the resource which is cancelled by the customer.OccOverviewSummary.BuildertotalDemanded(Long totalDemanded)The quantity of the resource which is demanded by customers via capacity requests against the resource name at the end of the time period in consideration for overview.OccOverviewSummary.BuildertotalRejected(Long totalRejected)The quantity of the resource which is rejected by Oracle.OccOverviewSummary.BuildertotalSupplied(Long totalSupplied)The quantity of the resource which is supplied by Oracle to the customer against the resource name at the end of the time period in consideration.OccOverviewSummary.BuildertotalUnfulfilled(Long totalUnfulfilled)The quantity of the resource which Oracle was unable to supply.OccOverviewSummary.Builderunit(String unit)The unit e.g SERVER in which the above values like totalAvailable, totalSupplied etc is measured.OccOverviewSummary.BuilderworkloadTypeBreakdownBlob(String workloadTypeBreakdownBlob)A raw json blob containing breakdown of totalAvailable, totalDemanded, totalSupplied, totalRejected, totalCancelled and totalUnfulfilled by workload types
 
- 
- 
- 
Method Detail- 
compartmentIdpublic OccOverviewSummary.Builder compartmentId(String compartmentId) The OCID of the compartment from which the api call is made.This will be used for authorizing the request. - Parameters:
- compartmentId- the value to set
- Returns:
- this builder
 
 - 
periodValuepublic OccOverviewSummary.Builder periodValue(String periodValue) The name of the month along with year for which this summary corresponds to.- Parameters:
- periodValue- the value to set
- Returns:
- this builder
 
 - 
resourceNamepublic OccOverviewSummary.Builder resourceName(String resourceName) The name of the resource for which we have aggregated the value.- Parameters:
- resourceName- the value to set
- Returns:
- this builder
 
 - 
totalAvailablepublic OccOverviewSummary.Builder totalAvailable(Long totalAvailable) The quantity of the resource which is available at the end of the period of aggregationDetails model in consideration.- Parameters:
- totalAvailable- the value to set
- Returns:
- this builder
 
 - 
totalDemandedpublic OccOverviewSummary.Builder totalDemanded(Long totalDemanded) The quantity of the resource which is demanded by customers via capacity requests against the resource name at the end of the time period in consideration for overview.- Parameters:
- totalDemanded- the value to set
- Returns:
- this builder
 
 - 
totalSuppliedpublic OccOverviewSummary.Builder totalSupplied(Long totalSupplied) The quantity of the resource which is supplied by Oracle to the customer against the resource name at the end of the time period in consideration.- Parameters:
- totalSupplied- the value to set
- Returns:
- this builder
 
 - 
totalRejectedpublic OccOverviewSummary.Builder totalRejected(Long totalRejected) The quantity of the resource which is rejected by Oracle.- Parameters:
- totalRejected- the value to set
- Returns:
- this builder
 
 - 
totalCancelledpublic OccOverviewSummary.Builder totalCancelled(Long totalCancelled) The quantity of the resource which is cancelled by the customer.Once the capacity request was submitted, the customer can still cancel it. This field sums up those values. - Parameters:
- totalCancelled- the value to set
- Returns:
- this builder
 
 - 
totalUnfulfilledpublic OccOverviewSummary.Builder totalUnfulfilled(Long totalUnfulfilled) The quantity of the resource which Oracle was unable to supply.For a given capacity request, Oracle sometimes cannot supply the entire value demanded by the customer. In such cases a partial value is provided, thereby leaving behind a portion of unfulfilled values. This field sums that up. - Parameters:
- totalUnfulfilled- the value to set
- Returns:
- this builder
 
 - 
workloadTypeBreakdownBlobpublic OccOverviewSummary.Builder workloadTypeBreakdownBlob(String workloadTypeBreakdownBlob) A raw json blob containing breakdown of totalAvailable, totalDemanded, totalSupplied, totalRejected, totalCancelled and totalUnfulfilled by workload types- Parameters:
- workloadTypeBreakdownBlob- the value to set
- Returns:
- this builder
 
 - 
capacityRequestsBlobpublic OccOverviewSummary.Builder capacityRequestsBlob(String capacityRequestsBlob) A raw json blob containing all the capacity requests corresponding to the resource name- Parameters:
- capacityRequestsBlob- the value to set
- Returns:
- this builder
 
 - 
unitpublic OccOverviewSummary.Builder unit(String unit) The unit e.g SERVER in which the above values like totalAvailable, totalSupplied etc is measured.- Parameters:
- unit- the value to set
- Returns:
- this builder
 
 - 
buildpublic OccOverviewSummary build() 
 - 
copypublic OccOverviewSummary.Builder copy(OccOverviewSummary model) 
 
- 
 
-