@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class Spend extends Object implements Serializable, Cloneable, StructuredPojo
Constructor and Description |
---|
Spend() |
Modifier and Type | Method and Description |
---|---|
Spend |
clone() |
boolean |
equals(Object obj) |
BigDecimal |
getAmount() |
String |
getUnit() |
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setAmount(BigDecimal amount) |
void |
setUnit(String unit) |
String |
toString()
Returns a string representation of this object; useful for testing and debugging.
|
Spend |
withAmount(BigDecimal amount) |
Spend |
withUnit(String unit) |
public void setAmount(BigDecimal amount)
amount
- public BigDecimal getAmount()
public Spend withAmount(BigDecimal amount)
amount
- public void setUnit(String unit)
unit
- public String getUnit()
public Spend withUnit(String unit)
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.Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.