@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.Currency
public String getCurrency()
The type of currency that the value for the metric (estimatedCost) is reported in.
Currency
public 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.Currency
public 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.Currency
public 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.UsageType
public 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.
UsageType
public 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.UsageType
public 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.UsageType
public String toString()
toString
in class Object
Object.toString()
public UsageTotal clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.