@Generated(value="OracleSDKGenerator", comments="API Version: 20231107") public final class OccOverviewSummary extends com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
The 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 the OccOverviewSummary.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 the OccOverviewSummary.Builder
, which maintain a
set of all explicitly set fields called OccOverviewSummary.Builder.__explicitlySet__
. The hashCode()
and equals(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
).
Modifier and Type | Class and Description |
---|---|
static class |
OccOverviewSummary.Builder |
EXPLICITLY_SET_FILTER_NAME, EXPLICITLY_SET_PROPERTY_NAME
Constructor and 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.
|
Modifier and Type | Method and Description |
---|---|
static OccOverviewSummary.Builder |
builder()
Create a new builder.
|
boolean |
equals(Object o) |
String |
getCapacityRequestsBlob()
A raw json blob containing all the capacity requests corresponding to the resource name
|
String |
getCompartmentId()
The OCID of the compartment from which the api call is made.
|
String |
getPeriodValue()
The name of the month along with year for which this summary corresponds to.
|
String |
getResourceName()
The name of the resource for which we have aggregated the value.
|
Long |
getTotalAvailable()
The quantity of the resource which is available at the end of the period of
aggregationDetails model in consideration.
|
Long |
getTotalCancelled()
The quantity of the resource which is cancelled by the customer.
|
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.
|
Long |
getTotalRejected()
The quantity of the resource which is rejected by Oracle.
|
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.
|
Long |
getTotalUnfulfilled()
The quantity of the resource which Oracle was unable to supply.
|
String |
getUnit()
The unit e.g SERVER in which the above values like totalAvailable, totalSupplied etc is
measured.
|
String |
getWorkloadTypeBreakdownBlob()
A raw json blob containing breakdown of totalAvailable, totalDemanded, totalSupplied,
totalRejected, totalCancelled and totalUnfulfilled by workload types
|
int |
hashCode() |
OccOverviewSummary.Builder |
toBuilder() |
String |
toString() |
String |
toString(boolean includeByteArrayContents)
Return a string representation of the object.
|
markPropertyAsExplicitlySet, wasPropertyExplicitlySet
@Deprecated @ConstructorProperties(value={"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)
public static OccOverviewSummary.Builder builder()
Create a new builder.
public OccOverviewSummary.Builder toBuilder()
public String getCompartmentId()
The OCID of the compartment from which the api call is made. This will be used for authorizing the request.
public String getPeriodValue()
The name of the month along with year for which this summary corresponds to.
public String getResourceName()
The name of the resource for which we have aggregated the value.
public Long getTotalAvailable()
The quantity of the resource which is available at the end of the period of aggregationDetails model in consideration.
public 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.
public 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.
public Long getTotalRejected()
The quantity of the resource which is rejected by Oracle.
public 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.
public 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.
public String getWorkloadTypeBreakdownBlob()
A raw json blob containing breakdown of totalAvailable, totalDemanded, totalSupplied, totalRejected, totalCancelled and totalUnfulfilled by workload types
public String getCapacityRequestsBlob()
A raw json blob containing all the capacity requests corresponding to the resource name
public String getUnit()
The unit e.g SERVER in which the above values like totalAvailable, totalSupplied etc is measured.
public String toString()
toString
in class com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
public String toString(boolean includeByteArrayContents)
Return a string representation of the object.
includeByteArrayContents
- true to include the full contents of byte arrayspublic boolean equals(Object o)
equals
in class com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
public int hashCode()
hashCode
in class com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
Copyright © 2016–2024. All rights reserved.