@Generated(value="software.amazon.awssdk:codegen") public final class Spend extends Object implements SdkPojo, Serializable, ToCopyableBuilder<Spend.Builder,Spend>
The amount of cost or usage that is measured for a budget.
For example, a Spend for 3 GB of S3 usage would have the following parameters:
An Amount of 3
A unit of GB
| Modifier and Type | Class and Description |
|---|---|
static interface |
Spend.Builder |
| Modifier and Type | Method and Description |
|---|---|
BigDecimal |
amount()
The cost or usage amount that is associated with a budget forecast, actual spend, or budget threshold.
|
static Spend.Builder |
builder() |
boolean |
equals(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
List<SdkField<?>> |
sdkFields() |
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()
The unit of measurement that is used for the budget forecast, actual spend, or budget threshold, such as dollars
or GB.
|
copypublic BigDecimal amount()
The cost or usage amount that is associated with a budget forecast, actual spend, or budget threshold.
public String unit()
The unit of measurement that is used for the budget forecast, actual spend, or budget threshold, such as dollars or GB.
public Spend.Builder toBuilder()
ToCopyableBuildertoBuilder in interface ToCopyableBuilder<Spend.Builder,Spend>public static Spend.Builder builder()
public static Class<? extends Spend.Builder> serializableBuilderClass()
Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.