@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class UsageTotal extends Object implements Serializable, Cloneable, StructuredPojo
Provides aggregated data for a usage metric. The value for the metric reports usage data for an account during the past 30 days.
| 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) |
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: DATA_INVENTORY_EVALUATION, for monitoring S3 buckets; and, SENSITIVE_DATA_DISCOVERY, for analyzing sensitive data.
type - The name of the metric. Possible values are: DATA_INVENTORY_EVALUATION, for monitoring S3 buckets; and,
SENSITIVE_DATA_DISCOVERY, for analyzing sensitive data.UsageTypepublic String getType()
The name of the metric. Possible values are: DATA_INVENTORY_EVALUATION, for monitoring S3 buckets; and, SENSITIVE_DATA_DISCOVERY, for analyzing sensitive data.
UsageTypepublic UsageTotal withType(String type)
The name of the metric. Possible values are: DATA_INVENTORY_EVALUATION, for monitoring S3 buckets; and, SENSITIVE_DATA_DISCOVERY, for analyzing sensitive data.
type - The name of the metric. Possible values are: DATA_INVENTORY_EVALUATION, for monitoring S3 buckets; and,
SENSITIVE_DATA_DISCOVERY, for analyzing sensitive data.UsageTypepublic UsageTotal withType(UsageType type)
The name of the metric. Possible values are: DATA_INVENTORY_EVALUATION, for monitoring S3 buckets; and, SENSITIVE_DATA_DISCOVERY, for analyzing sensitive data.
type - The name of the metric. Possible values are: DATA_INVENTORY_EVALUATION, for monitoring S3 buckets; and,
SENSITIVE_DATA_DISCOVERY, for analyzing sensitive data.UsageTypepublic String toString()
toString in class ObjectObject.toString()public UsageTotal clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
marshall in interface StructuredPojoCopyright © 2020. All rights reserved.