@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class Usage extends Object implements Serializable, Cloneable, StructuredPojo
Details about the usage.
Constructor and Description |
---|
Usage() |
Modifier and Type | Method and Description |
---|---|
Usage |
clone() |
boolean |
equals(Object obj) |
String |
getOperation()
The operation value.
|
String |
getProductCode()
The product code.
|
String |
getUnit()
The usage unit.
|
Double |
getUsageAmount()
The usage amount.
|
String |
getUsageType()
The usage type.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setOperation(String operation)
The operation value.
|
void |
setProductCode(String productCode)
The product code.
|
void |
setUnit(String unit)
The usage unit.
|
void |
setUsageAmount(Double usageAmount)
The usage amount.
|
void |
setUsageType(String usageType)
The usage type.
|
String |
toString()
Returns a string representation of this object.
|
Usage |
withOperation(String operation)
The operation value.
|
Usage |
withProductCode(String productCode)
The product code.
|
Usage |
withUnit(String unit)
The usage unit.
|
Usage |
withUsageAmount(Double usageAmount)
The usage amount.
|
Usage |
withUsageType(String usageType)
The usage type.
|
public void setUsageType(String usageType)
The usage type.
usageType
- The usage type.public String getUsageType()
The usage type.
public Usage withUsageType(String usageType)
The usage type.
usageType
- The usage type.public void setUsageAmount(Double usageAmount)
The usage amount.
usageAmount
- The usage amount.public Double getUsageAmount()
The usage amount.
public Usage withUsageAmount(Double usageAmount)
The usage amount.
usageAmount
- The usage amount.public void setOperation(String operation)
The operation value.
operation
- The operation value.public String getOperation()
The operation value.
public Usage withOperation(String operation)
The operation value.
operation
- The operation value.public void setProductCode(String productCode)
The product code.
productCode
- The product code.public String getProductCode()
The product code.
public Usage withProductCode(String productCode)
The product code.
productCode
- The product code.public void setUnit(String unit)
The usage unit.
unit
- The usage unit.public String getUnit()
The usage unit.
public Usage withUnit(String unit)
The usage unit.
unit
- The usage unit.public String toString()
toString
in class Object
Object.toString()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.