Class OccOverviewSummary
- java.lang.Object
- 
- com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
- 
- com.oracle.bmc.capacitymanagement.model.OccOverviewSummary
 
 
- 
 @Generated(value="OracleSDKGenerator", comments="API Version: 20231107") public final class OccOverviewSummary extends com.oracle.bmc.http.client.internal.ExplicitlySetBmcModelThe overview summary is used to represent an array item that shall be used to represent the overview of the catalog resources along with their corresponding capacity requests.
 Note: Objects should always be created or deserialized using theOccOverviewSummary.Builder. This model distinguishes fields that are null because they are unset from fields that are explicitly set to null. This is done in the setter methods of theOccOverviewSummary.Builder, which maintain a set of all explicitly set fields calledOccOverviewSummary.Builder.__explicitlySet__. ThehashCode()andequals(Object)methods are implemented to take the explicitly set fields into account. The constructor, on the other hand, does not take the explicitly set fields into account (since the constructor cannot distinguish explicit null from unset null).
- 
- 
Nested Class SummaryNested Classes Modifier and Type Class Description static classOccOverviewSummary.Builder
 - 
Constructor SummaryConstructors Constructor Description OccOverviewSummary(String compartmentId, String periodValue, String resourceName, Long totalAvailable, Long totalDemanded, Long totalSupplied, Long totalRejected, Long totalCancelled, Long totalUnfulfilled, String workloadTypeBreakdownBlob, String capacityRequestsBlob, String unit)Deprecated.
 - 
Method SummaryAll Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static OccOverviewSummary.Builderbuilder()Create a new builder.booleanequals(Object o)StringgetCapacityRequestsBlob()A raw json blob containing all the capacity requests corresponding to the resource nameStringgetCompartmentId()The OCID of the compartment from which the api call is made.StringgetPeriodValue()The name of the month along with year for which this summary corresponds to.StringgetResourceName()The name of the resource for which we have aggregated the value.LonggetTotalAvailable()The quantity of the resource which is available at the end of the period of aggregationDetails model in consideration.LonggetTotalCancelled()The quantity of the resource which is cancelled by the customer.LonggetTotalDemanded()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.LonggetTotalRejected()The quantity of the resource which is rejected by Oracle.LonggetTotalSupplied()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.LonggetTotalUnfulfilled()The quantity of the resource which Oracle was unable to supply.StringgetUnit()The unit e.g SERVER in which the above values like totalAvailable, totalSupplied etc is measured.StringgetWorkloadTypeBreakdownBlob()A raw json blob containing breakdown of totalAvailable, totalDemanded, totalSupplied, totalRejected, totalCancelled and totalUnfulfilled by workload typesinthashCode()OccOverviewSummary.BuildertoBuilder()StringtoString()StringtoString(boolean includeByteArrayContents)Return a string representation of the object.
 
- 
- 
- 
Constructor Detail- 
OccOverviewSummary@Deprecated @ConstructorProperties({"compartmentId","periodValue","resourceName","totalAvailable","totalDemanded","totalSupplied","totalRejected","totalCancelled","totalUnfulfilled","workloadTypeBreakdownBlob","capacityRequestsBlob","unit"}) public OccOverviewSummary(String compartmentId, String periodValue, String resourceName, Long totalAvailable, Long totalDemanded, Long totalSupplied, Long totalRejected, Long totalCancelled, Long totalUnfulfilled, String workloadTypeBreakdownBlob, String capacityRequestsBlob, String unit) Deprecated.
 
- 
 - 
Method Detail- 
builderpublic static OccOverviewSummary.Builder builder() Create a new builder.
 - 
toBuilderpublic OccOverviewSummary.Builder toBuilder() 
 - 
getCompartmentIdpublic String getCompartmentId() The OCID of the compartment from which the api call is made.This will be used for authorizing the request. - Returns:
- the value
 
 - 
getPeriodValuepublic String getPeriodValue() The name of the month along with year for which this summary corresponds to.- Returns:
- the value
 
 - 
getResourceNamepublic String getResourceName() The name of the resource for which we have aggregated the value.- Returns:
- the value
 
 - 
getTotalAvailablepublic Long getTotalAvailable() The quantity of the resource which is available at the end of the period of aggregationDetails model in consideration.- Returns:
- the value
 
 - 
getTotalDemandedpublic Long getTotalDemanded() 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.- Returns:
- the value
 
 - 
getTotalSuppliedpublic Long getTotalSupplied() 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.- Returns:
- the value
 
 - 
getTotalRejectedpublic Long getTotalRejected() The quantity of the resource which is rejected by Oracle.- Returns:
- the value
 
 - 
getTotalCancelledpublic Long getTotalCancelled() 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. - Returns:
- the value
 
 - 
getTotalUnfulfilledpublic Long getTotalUnfulfilled() 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. - Returns:
- the value
 
 - 
getWorkloadTypeBreakdownBlobpublic String getWorkloadTypeBreakdownBlob() A raw json blob containing breakdown of totalAvailable, totalDemanded, totalSupplied, totalRejected, totalCancelled and totalUnfulfilled by workload types- Returns:
- the value
 
 - 
getCapacityRequestsBlobpublic String getCapacityRequestsBlob() A raw json blob containing all the capacity requests corresponding to the resource name- Returns:
- the value
 
 - 
getUnitpublic String getUnit() The unit e.g SERVER in which the above values like totalAvailable, totalSupplied etc is measured.- Returns:
- the value
 
 - 
toStringpublic String toString() - Overrides:
- toStringin class- com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
 
 - 
toStringpublic String toString(boolean includeByteArrayContents) Return a string representation of the object.- Parameters:
- includeByteArrayContents- true to include the full contents of byte arrays
- Returns:
- string representation
 
 - 
equalspublic boolean equals(Object o) - Overrides:
- equalsin class- com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
 
 - 
hashCodepublic int hashCode() - Overrides:
- hashCodein class- com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
 
 
- 
 
-