@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, RI units, or Savings Plans units and the forecastedSpend tracks how much that you're
predicted to spend based on your historical usage profile.
For example, if it's 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, RI units, or Savings Plans units that you used.
|
static CalculatedSpend.Builder |
builder() |
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
Spend |
forecastedSpend()
The amount of cost, usage, RI units, or Savings Plans units that you're 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() |
String |
toString()
Returns a string representation of this object.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final Spend actualSpend()
The amount of cost, usage, RI units, or Savings Plans units that you used.
public final Spend forecastedSpend()
The amount of cost, usage, RI units, or Savings Plans units that you're forecasted to use.
public CalculatedSpend.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<CalculatedSpend.Builder,CalculatedSpend>public static CalculatedSpend.Builder builder()
public static Class<? extends CalculatedSpend.Builder> serializableBuilderClass()
public final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
Copyright © 2023. All rights reserved.