@Generated(value="software.amazon.awssdk:codegen") public final class CalculatedSpend extends Object implements SdkPojo, Serializable, ToCopyableBuilder<CalculatedSpend.Builder,CalculatedSpend>
The spend objects that are associated with this budget. The actualSpend tracks how much you've used,
cost, usage, or RI units, and the forecastedSpend tracks how much you are predicted to spend if your
current usage remains steady.
For example, if it is the 20th of the month and you have spent 50 dollars on Amazon EC2, your
actualSpend is 50 USD, and your forecastedSpend is 75 USD.
| Modifier and Type | Class and Description |
|---|---|
static interface |
CalculatedSpend.Builder |
| Modifier and Type | Method and Description |
|---|---|
Spend |
actualSpend()
The amount of cost, usage, or RI units that you have used.
|
static CalculatedSpend.Builder |
builder() |
boolean |
equals(Object obj) |
Spend |
forecastedSpend()
The amount of cost, usage, or RI units that you are forecasted to use.
|
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
List<SdkField<?>> |
sdkFields() |
static Class<? extends CalculatedSpend.Builder> |
serializableBuilderClass() |
CalculatedSpend.Builder |
toBuilder()
Take this object and create a builder that contains all of the current property values of this object.
|
String |
toString() |
copypublic Spend actualSpend()
The amount of cost, usage, or RI units that you have used.
public Spend forecastedSpend()
The amount of cost, usage, or RI units that you are forecasted to use.
public CalculatedSpend.Builder toBuilder()
ToCopyableBuildertoBuilder in interface ToCopyableBuilder<CalculatedSpend.Builder,CalculatedSpend>public static CalculatedSpend.Builder builder()
public static Class<? extends CalculatedSpend.Builder> serializableBuilderClass()
Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.