@Generated(value="OracleSDKGenerator", comments="API Version: 20200107") public final class RequestSummarizedUsagesDetails extends Object
Details for the ‘/usage’ query.
Note: Objects should always be created or deserialized using the RequestSummarizedUsagesDetails.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 RequestSummarizedUsagesDetails.Builder, which maintain a set of all explicitly set fields called
__explicitlySet__. The hashCode() and equals(Object) methods are implemented to take
__explicitlySet__ into account. The constructor, on the other hand, does not set __explicitlySet__
(since the constructor cannot distinguish explicit null from unset null).
| Modifier and Type | Class and Description |
|---|---|
static class |
RequestSummarizedUsagesDetails.Builder |
static class |
RequestSummarizedUsagesDetails.Granularity
The usage granularity.
|
static class |
RequestSummarizedUsagesDetails.QueryType
The query usage type.
|
| Constructor and Description |
|---|
RequestSummarizedUsagesDetails(String tenantId,
Date timeUsageStarted,
Date timeUsageEnded,
RequestSummarizedUsagesDetails.Granularity granularity,
RequestSummarizedUsagesDetails.QueryType queryType,
List<String> groupBy,
BigDecimal compartmentDepth,
Filter filter)
Deprecated.
|
| Modifier and Type | Method and Description |
|---|---|
static RequestSummarizedUsagesDetails.Builder |
builder()
Create a new builder.
|
boolean |
equals(Object o) |
Set<String> |
get__explicitlySet__() |
BigDecimal |
getCompartmentDepth()
The compartment depth level.
|
Filter |
getFilter() |
RequestSummarizedUsagesDetails.Granularity |
getGranularity()
The usage granularity.
|
List<String> |
getGroupBy()
Aggregate the result by.
|
RequestSummarizedUsagesDetails.QueryType |
getQueryType()
The query usage type.
|
String |
getTenantId()
Tenant ID
|
Date |
getTimeUsageEnded()
The usage end time.
|
Date |
getTimeUsageStarted()
The usage start time.
|
int |
hashCode() |
RequestSummarizedUsagesDetails.Builder |
toBuilder() |
String |
toString() |
@ConstructorProperties(value={"tenantId","timeUsageStarted","timeUsageEnded","granularity","queryType","groupBy","compartmentDepth","filter"}) @Deprecated public RequestSummarizedUsagesDetails(String tenantId, Date timeUsageStarted, Date timeUsageEnded, RequestSummarizedUsagesDetails.Granularity granularity, RequestSummarizedUsagesDetails.QueryType queryType, List<String> groupBy, BigDecimal compartmentDepth, Filter filter)
public static RequestSummarizedUsagesDetails.Builder builder()
Create a new builder.
public RequestSummarizedUsagesDetails.Builder toBuilder()
public String getTenantId()
Tenant ID
public Date getTimeUsageStarted()
The usage start time.
public Date getTimeUsageEnded()
The usage end time.
public RequestSummarizedUsagesDetails.Granularity getGranularity()
The usage granularity. HOURLY - Hourly data aggregation. DAILY - Daily data aggregation. MONTHLY - Monthly data aggregation. TOTAL - Not yet supported.
public RequestSummarizedUsagesDetails.QueryType getQueryType()
The query usage type. Usage - Query the usage data. Cost - Query the cost/billing data.
public BigDecimal getCompartmentDepth()
The compartment depth level.
public Filter getFilter()
Copyright © 2016–2021. All rights reserved.