@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class Usage extends Object implements Serializable, Cloneable, StructuredPojo
Contains usage information about the cost of Amazon Inspector operation.
| Constructor and Description |
|---|
Usage() |
| Modifier and Type | Method and Description |
|---|---|
Usage |
clone() |
boolean |
equals(Object obj) |
String |
getCurrency()
The currency type used when calculating usage data.
|
Double |
getEstimatedMonthlyCost()
The estimated monthly cost of Amazon Inspector.
|
Double |
getTotal()
The total of usage.
|
String |
getType()
The type scan.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller. |
void |
setCurrency(String currency)
The currency type used when calculating usage data.
|
void |
setEstimatedMonthlyCost(Double estimatedMonthlyCost)
The estimated monthly cost of Amazon Inspector.
|
void |
setTotal(Double total)
The total of usage.
|
void |
setType(String type)
The type scan.
|
String |
toString()
Returns a string representation of this object.
|
Usage |
withCurrency(Currency currency)
The currency type used when calculating usage data.
|
Usage |
withCurrency(String currency)
The currency type used when calculating usage data.
|
Usage |
withEstimatedMonthlyCost(Double estimatedMonthlyCost)
The estimated monthly cost of Amazon Inspector.
|
Usage |
withTotal(Double total)
The total of usage.
|
Usage |
withType(String type)
The type scan.
|
Usage |
withType(UsageType type)
The type scan.
|
public void setCurrency(String currency)
The currency type used when calculating usage data.
currency - The currency type used when calculating usage data.Currencypublic String getCurrency()
The currency type used when calculating usage data.
Currencypublic Usage withCurrency(String currency)
The currency type used when calculating usage data.
currency - The currency type used when calculating usage data.Currencypublic Usage withCurrency(Currency currency)
The currency type used when calculating usage data.
currency - The currency type used when calculating usage data.Currencypublic void setEstimatedMonthlyCost(Double estimatedMonthlyCost)
The estimated monthly cost of Amazon Inspector.
estimatedMonthlyCost - The estimated monthly cost of Amazon Inspector.public Double getEstimatedMonthlyCost()
The estimated monthly cost of Amazon Inspector.
public Usage withEstimatedMonthlyCost(Double estimatedMonthlyCost)
The estimated monthly cost of Amazon Inspector.
estimatedMonthlyCost - The estimated monthly cost of Amazon Inspector.public void setTotal(Double total)
The total of usage.
total - The total of usage.public Double getTotal()
The total of usage.
public Usage withTotal(Double total)
The total of usage.
total - The total of usage.public void setType(String type)
The type scan.
type - The type scan.UsageTypepublic Usage withType(String type)
The type scan.
type - The type scan.UsageTypepublic Usage withType(UsageType type)
The type scan.
type - The type scan.UsageTypepublic String toString()
toString in class ObjectObject.toString()public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojoProtocolMarshaller.marshall in interface StructuredPojoprotocolMarshaller - Implementation of ProtocolMarshaller used to marshall this object's data.