@Generated(value="software.amazon.awssdk:codegen") public final class Spend extends Object implements StructuredPojo, ToCopyableBuilder<Spend.Builder,Spend>
Modifier and Type | Class and Description |
---|---|
static interface |
Spend.Builder |
Modifier and Type | Method and Description |
---|---|
BigDecimal |
amount()
Returns the value of the Amount property for this object.
|
static Spend.Builder |
builder() |
boolean |
equals(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
static Class<? extends Spend.Builder> |
serializableBuilderClass() |
Spend.Builder |
toBuilder()
Take this object and create a builder that contains all of the current property values of this object.
|
String |
toString() |
String |
unit()
Returns the value of the Unit property for this object.
|
copy
public BigDecimal amount()
public String unit()
public Spend.Builder toBuilder()
ToCopyableBuilder
toBuilder
in interface ToCopyableBuilder<Spend.Builder,Spend>
public static Spend.Builder builder()
public static Class<? extends Spend.Builder> serializableBuilderClass()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.