@Generated(value="software.amazon.awssdk:codegen") public final class UsageByAccount extends Object implements SdkPojo, Serializable, ToCopyableBuilder<UsageByAccount.Builder,UsageByAccount>
Provides data for a specific usage metric and the corresponding quota for an account. The value for the metric is an aggregated value that reports usage during the past 30 days.
| Modifier and Type | Class and Description |
|---|---|
static interface |
UsageByAccount.Builder |
| Modifier and Type | Method and Description |
|---|---|
static UsageByAccount.Builder |
builder() |
Currency |
currency()
The type of currency that the value for the metric (estimatedCost) is reported in.
|
String |
currencyAsString()
The type of currency that the value for the metric (estimatedCost) is reported in.
|
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
String |
estimatedCost()
The estimated value for the metric.
|
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
List<SdkField<?>> |
sdkFields() |
static Class<? extends UsageByAccount.Builder> |
serializableBuilderClass() |
ServiceLimit |
serviceLimit()
The current value for the quota that corresponds to the metric specified by the type field.
|
UsageByAccount.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
UsageType |
type()
The name of the metric.
|
String |
typeAsString()
The name of the metric.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic Currency currency()
The type of currency that the value for the metric (estimatedCost) is reported in.
If the service returns an enum value that is not available in the current SDK version, currency will
return Currency.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
currencyAsString().
Currencypublic String currencyAsString()
The type of currency that the value for the metric (estimatedCost) is reported in.
If the service returns an enum value that is not available in the current SDK version, currency will
return Currency.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
currencyAsString().
Currencypublic String estimatedCost()
The estimated value for the metric.
public ServiceLimit serviceLimit()
The current value for the quota that corresponds to the metric specified by the type field.
public UsageType type()
The name of the metric. Possible values are: DATA_INVENTORY_EVALUATION, for monitoring S3 buckets; and, SENSITIVE_DATA_DISCOVERY, for analyzing sensitive data.
If the service returns an enum value that is not available in the current SDK version, type will return
UsageType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
typeAsString().
UsageTypepublic String typeAsString()
The name of the metric. Possible values are: DATA_INVENTORY_EVALUATION, for monitoring S3 buckets; and, SENSITIVE_DATA_DISCOVERY, for analyzing sensitive data.
If the service returns an enum value that is not available in the current SDK version, type will return
UsageType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
typeAsString().
UsageTypepublic UsageByAccount.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<UsageByAccount.Builder,UsageByAccount>public static UsageByAccount.Builder builder()
public static Class<? extends UsageByAccount.Builder> serializableBuilderClass()
public boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic String toString()
Copyright © 2020. All rights reserved.