Class UsageByAccount
- java.lang.Object
-
- software.amazon.awssdk.services.macie2.model.UsageByAccount
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<UsageByAccount.Builder,UsageByAccount>
@Generated("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.
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceUsageByAccount.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static UsageByAccount.Builderbuilder()Currencycurrency()The type of currency that the value for the metric (estimatedCost) is reported in.StringcurrencyAsString()The type of currency that the value for the metric (estimatedCost) is reported in.booleanequals(Object obj)booleanequalsBySdkFields(Object obj)StringestimatedCost()The estimated value for the metric.<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()List<SdkField<?>>sdkFields()static Class<? extends UsageByAccount.Builder>serializableBuilderClass()ServiceLimitserviceLimit()The current value for the quota that corresponds to the metric specified by the type field.UsageByAccount.BuildertoBuilder()StringtoString()Returns a string representation of this object.UsageTypetype()The name of the metric.StringtypeAsString()The name of the metric.-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
-
-
-
Method Detail
-
currency
public 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,
currencywill returnCurrency.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromcurrencyAsString().- Returns:
- The type of currency that the value for the metric (estimatedCost) is reported in.
- See Also:
Currency
-
currencyAsString
public 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,
currencywill returnCurrency.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromcurrencyAsString().- Returns:
- The type of currency that the value for the metric (estimatedCost) is reported in.
- See Also:
Currency
-
estimatedCost
public final String estimatedCost()
The estimated value for the metric.
- Returns:
- The estimated value for the metric.
-
serviceLimit
public final ServiceLimit serviceLimit()
The current value for the quota that corresponds to the metric specified by the type field.
- Returns:
- The current value for the quota that corresponds to the metric specified by the type field.
-
type
public final UsageType type()
The name of the metric. Possible values are: AUTOMATED_OBJECT_MONITORING, to monitor S3 objects for automated sensitive data discovery; AUTOMATED_SENSITIVE_DATA_DISCOVERY, to analyze S3 objects for automated sensitive data discovery; DATA_INVENTORY_EVALUATION, to monitor S3 buckets; and, SENSITIVE_DATA_DISCOVERY, to run classification jobs.
If the service returns an enum value that is not available in the current SDK version,
typewill returnUsageType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromtypeAsString().- Returns:
- The name of the metric. Possible values are: AUTOMATED_OBJECT_MONITORING, to monitor S3 objects for automated sensitive data discovery; AUTOMATED_SENSITIVE_DATA_DISCOVERY, to analyze S3 objects for automated sensitive data discovery; DATA_INVENTORY_EVALUATION, to monitor S3 buckets; and, SENSITIVE_DATA_DISCOVERY, to run classification jobs.
- See Also:
UsageType
-
typeAsString
public final String typeAsString()
The name of the metric. Possible values are: AUTOMATED_OBJECT_MONITORING, to monitor S3 objects for automated sensitive data discovery; AUTOMATED_SENSITIVE_DATA_DISCOVERY, to analyze S3 objects for automated sensitive data discovery; DATA_INVENTORY_EVALUATION, to monitor S3 buckets; and, SENSITIVE_DATA_DISCOVERY, to run classification jobs.
If the service returns an enum value that is not available in the current SDK version,
typewill returnUsageType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromtypeAsString().- Returns:
- The name of the metric. Possible values are: AUTOMATED_OBJECT_MONITORING, to monitor S3 objects for automated sensitive data discovery; AUTOMATED_SENSITIVE_DATA_DISCOVERY, to analyze S3 objects for automated sensitive data discovery; DATA_INVENTORY_EVALUATION, to monitor S3 buckets; and, SENSITIVE_DATA_DISCOVERY, to run classification jobs.
- See Also:
UsageType
-
toBuilder
public UsageByAccount.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<UsageByAccount.Builder,UsageByAccount>
-
builder
public static UsageByAccount.Builder builder()
-
serializableBuilderClass
public static Class<? extends UsageByAccount.Builder> serializableBuilderClass()
-
equalsBySdkFields
public final boolean equalsBySdkFields(Object obj)
- Specified by:
equalsBySdkFieldsin interfaceSdkPojo
-
toString
public final String toString()
Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value.
-
-