@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class UsageTotal extends Object implements Serializable, Cloneable, StructuredPojo
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.
| Constructor and Description |
|---|
UsageTotal() |
| Modifier and Type | Method and Description |
|---|---|
UsageTotal |
clone() |
boolean |
equals(Object obj) |
String |
getCurrency()
The type of currency that the value for the metric (estimatedCost) is reported in.
|
String |
getEstimatedCost()
The estimated value for the metric.
|
String |
getType()
The name of the metric.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller. |
void |
setCurrency(String currency)
The type of currency that the value for the metric (estimatedCost) is reported in.
|
void |
setEstimatedCost(String estimatedCost)
The estimated value for the metric.
|
void |
setType(String type)
The name of the metric.
|
String |
toString()
Returns a string representation of this object.
|
UsageTotal |
withCurrency(Currency currency)
The type of currency that the value for the metric (estimatedCost) is reported in.
|
UsageTotal |
withCurrency(String currency)
The type of currency that the value for the metric (estimatedCost) is reported in.
|
UsageTotal |
withEstimatedCost(String estimatedCost)
The estimated value for the metric.
|
UsageTotal |
withType(String type)
The name of the metric.
|
UsageTotal |
withType(UsageType type)
The name of the metric.
|
public void setCurrency(String currency)
The type of currency that the value for the metric (estimatedCost) is reported in.
currency - The type of currency that the value for the metric (estimatedCost) is reported in.Currencypublic String getCurrency()
The type of currency that the value for the metric (estimatedCost) is reported in.
Currencypublic UsageTotal withCurrency(String currency)
The type of currency that the value for the metric (estimatedCost) is reported in.
currency - The type of currency that the value for the metric (estimatedCost) is reported in.Currencypublic UsageTotal withCurrency(Currency currency)
The type of currency that the value for the metric (estimatedCost) is reported in.
currency - The type of currency that the value for the metric (estimatedCost) is reported in.Currencypublic void setEstimatedCost(String estimatedCost)
The estimated value for the metric.
estimatedCost - The estimated value for the metric.public String getEstimatedCost()
The estimated value for the metric.
public UsageTotal withEstimatedCost(String estimatedCost)
The estimated value for the metric.
estimatedCost - The estimated value for the metric.public void setType(String 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.
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.UsageTypepublic String getType()
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.
UsageTypepublic UsageTotal withType(String 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.
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.UsageTypepublic UsageTotal withType(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.
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.UsageTypepublic String toString()
toString in class ObjectObject.toString()public UsageTotal clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojoProtocolMarshaller.marshall in interface StructuredPojoprotocolMarshaller - Implementation of ProtocolMarshaller used to marshall this object's data.