@Generated(value="software.amazon.awssdk:codegen") public final class UsageTotal extends Object implements SdkPojo, Serializable, ToCopyableBuilder<UsageTotal.Builder,UsageTotal>
Provides aggregated data for an Amazon Macie usage metric. The value for the metric reports estimated usage data for an account for the preceding 30 days or the current calendar month to date, depending on the time period (timeRange) specified in the request.
| Modifier and Type | Class and Description |
|---|---|
static interface |
UsageTotal.Builder |
| Modifier and Type | Method and Description |
|---|---|
static UsageTotal.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 UsageTotal.Builder> |
serializableBuilderClass() |
UsageTotal.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 final 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 final 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 final String estimatedCost()
The estimated value for the metric.
public final UsageType type()
The name of the metric. Possible values are: DATA_INVENTORY_EVALUATION, for monitoring S3 buckets; and, SENSITIVE_DATA_DISCOVERY, for analyzing S3 objects to detect 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 final String typeAsString()
The name of the metric. Possible values are: DATA_INVENTORY_EVALUATION, for monitoring S3 buckets; and, SENSITIVE_DATA_DISCOVERY, for analyzing S3 objects to detect 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 UsageTotal.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<UsageTotal.Builder,UsageTotal>public static UsageTotal.Builder builder()
public static Class<? extends UsageTotal.Builder> serializableBuilderClass()
public final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
Copyright © 2021. All rights reserved.