@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 granularity of the usage.
|
static class |
RequestSummarizedUsagesDetails.QueryType
The type of query of the usage.
|
| 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 depth level of the compartment.
|
Filter |
getFilter() |
RequestSummarizedUsagesDetails.Granularity |
getGranularity()
The granularity of the usage.
|
List<String> |
getGroupBy()
Aggregate the result by.
|
RequestSummarizedUsagesDetails.QueryType |
getQueryType()
The type of query of the usage.
|
String |
getTenantId()
tenant id
|
Date |
getTimeUsageEnded()
The end time of the usage.
|
Date |
getTimeUsageStarted()
The start time of the usage.
|
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 start time of the usage.
public Date getTimeUsageEnded()
The end time of the usage.
public RequestSummarizedUsagesDetails.Granularity getGranularity()
The granularity of the usage. HOURLY - Hourly aggregation of data DAILY - Daily aggregation of data MONTHLY - Monthly aggregation of data TOTAL - Not Supported Yet
public RequestSummarizedUsagesDetails.QueryType getQueryType()
The type of query of the usage. Usage - Query the usage data. Cost - Query the cost / billing data.
public BigDecimal getCompartmentDepth()
The depth level of the compartment.
public Filter getFilter()
Copyright © 2016–2020. All rights reserved.