@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class UsageByAccount extends Object implements Serializable, Cloneable, StructuredPojo
Provides data for a specific usage metric and the corresponding quota for an Amazon Macie account.
Constructor and Description |
---|
UsageByAccount() |
Modifier and Type | Method and Description |
---|---|
UsageByAccount |
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.
|
ServiceLimit |
getServiceLimit()
The current value for the quota that corresponds to the metric specified by the type field.
|
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 |
setServiceLimit(ServiceLimit serviceLimit)
The current value for the quota that corresponds to the metric specified by the type field.
|
void |
setType(String type)
The name of the metric.
|
String |
toString()
Returns a string representation of this object.
|
UsageByAccount |
withCurrency(Currency currency)
The type of currency that the value for the metric (estimatedCost) is reported in.
|
UsageByAccount |
withCurrency(String currency)
The type of currency that the value for the metric (estimatedCost) is reported in.
|
UsageByAccount |
withEstimatedCost(String estimatedCost)
The estimated value for the metric.
|
UsageByAccount |
withServiceLimit(ServiceLimit serviceLimit)
The current value for the quota that corresponds to the metric specified by the type field.
|
UsageByAccount |
withType(String type)
The name of the metric.
|
UsageByAccount |
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 UsageByAccount 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 UsageByAccount 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 UsageByAccount withEstimatedCost(String estimatedCost)
The estimated value for the metric.
estimatedCost
- The estimated value for the metric.public void setServiceLimit(ServiceLimit serviceLimit)
The current value for the quota that corresponds to the metric specified by the type field.
serviceLimit
- The current value for the quota that corresponds to the metric specified by the type field.public ServiceLimit getServiceLimit()
The current value for the quota that corresponds to the metric specified by the type field.
public UsageByAccount withServiceLimit(ServiceLimit serviceLimit)
The current value for the quota that corresponds to the metric specified by the type field.
serviceLimit
- The current value for the quota that corresponds to the metric specified by the type field.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 UsageByAccount 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 UsageByAccount 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 UsageByAccount clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.