@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 Amazon Macie account.
| 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 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 ServiceLimit serviceLimit()
The current value for the quota that corresponds to the metric specified by the type field.
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 UsageByAccount.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<UsageByAccount.Builder,UsageByAccount>public static UsageByAccount.Builder builder()
public static Class<? extends UsageByAccount.Builder> serializableBuilderClass()
public final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
Copyright © 2021. All rights reserved.