Class CalculatedSpend
- java.lang.Object
-
- software.amazon.awssdk.services.budgets.model.CalculatedSpend
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<CalculatedSpend.Builder,CalculatedSpend>
@Generated("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
actualSpendtracks how much you've used, cost, usage, RI units, or Savings Plans units and theforecastedSpendtracks 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
50dollars on Amazon EC2, youractualSpendis50 USD, and yourforecastedSpendis75 USD.- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceCalculatedSpend.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description SpendactualSpend()The amount of cost, usage, RI units, or Savings Plans units that you used.static CalculatedSpend.Builderbuilder()booleanequals(Object obj)booleanequalsBySdkFields(Object obj)SpendforecastedSpend()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)inthashCode()Map<String,SdkField<?>>sdkFieldNameToField()List<SdkField<?>>sdkFields()static Class<? extends CalculatedSpend.Builder>serializableBuilderClass()CalculatedSpend.BuildertoBuilder()StringtoString()Returns a string representation of this object.-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
-
-
-
Method Detail
-
actualSpend
public final Spend actualSpend()
The amount of cost, usage, RI units, or Savings Plans units that you used.
- Returns:
- The amount of cost, usage, RI units, or Savings Plans units that you used.
-
forecastedSpend
public final Spend forecastedSpend()
The amount of cost, usage, RI units, or Savings Plans units that you're forecasted to use.
- Returns:
- The amount of cost, usage, RI units, or Savings Plans units that you're forecasted to use.
-
toBuilder
public CalculatedSpend.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<CalculatedSpend.Builder,CalculatedSpend>
-
builder
public static CalculatedSpend.Builder builder()
-
serializableBuilderClass
public static Class<? extends CalculatedSpend.Builder> serializableBuilderClass()
-
equalsBySdkFields
public final boolean equalsBySdkFields(Object obj)
- Specified by:
equalsBySdkFieldsin interfaceSdkPojo
-
toString
public final String toString()
Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value.
-
sdkFieldNameToField
public final Map<String,SdkField<?>> sdkFieldNameToField()
- Specified by:
sdkFieldNameToFieldin interfaceSdkPojo
-
-