Class Impact
- java.lang.Object
-
- software.amazon.awssdk.services.costexplorer.model.Impact
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<Impact.Builder,Impact>
@Generated("software.amazon.awssdk:codegen") public final class Impact extends Object implements SdkPojo, Serializable, ToCopyableBuilder<Impact.Builder,Impact>
The dollar value of the anomaly.
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceImpact.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static Impact.Builderbuilder()booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()DoublemaxImpact()The maximum dollar value that's observed for an anomaly.List<SdkField<?>>sdkFields()static Class<? extends Impact.Builder>serializableBuilderClass()Impact.BuildertoBuilder()StringtoString()Returns a string representation of this object.DoubletotalActualSpend()The cumulative dollar amount that was actually spent during the anomaly.DoubletotalExpectedSpend()The cumulative dollar amount that was expected to be spent during the anomaly.DoubletotalImpact()The cumulative dollar difference between the total actual spend and total expected spend.DoubletotalImpactPercentage()The cumulative percentage difference between the total actual spend and total expected spend.-
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
-
maxImpact
public final Double maxImpact()
The maximum dollar value that's observed for an anomaly.
- Returns:
- The maximum dollar value that's observed for an anomaly.
-
totalImpact
public final Double totalImpact()
The cumulative dollar difference between the total actual spend and total expected spend. It is calculated as
TotalActualSpend - TotalExpectedSpend.- Returns:
- The cumulative dollar difference between the total actual spend and total expected spend. It is
calculated as
TotalActualSpend - TotalExpectedSpend.
-
totalActualSpend
public final Double totalActualSpend()
The cumulative dollar amount that was actually spent during the anomaly.
- Returns:
- The cumulative dollar amount that was actually spent during the anomaly.
-
totalExpectedSpend
public final Double totalExpectedSpend()
The cumulative dollar amount that was expected to be spent during the anomaly. It is calculated using advanced machine learning models to determine the typical spending pattern based on historical data for a customer.
- Returns:
- The cumulative dollar amount that was expected to be spent during the anomaly. It is calculated using advanced machine learning models to determine the typical spending pattern based on historical data for a customer.
-
totalImpactPercentage
public final Double totalImpactPercentage()
The cumulative percentage difference between the total actual spend and total expected spend. It is calculated as
(TotalImpact / TotalExpectedSpend) * 100. WhenTotalExpectedSpendis zero, this field is omitted. Expected spend can be zero in situations such as when you start to use a service for the first time.- Returns:
- The cumulative percentage difference between the total actual spend and total expected spend. It is
calculated as
(TotalImpact / TotalExpectedSpend) * 100. WhenTotalExpectedSpendis zero, this field is omitted. Expected spend can be zero in situations such as when you start to use a service for the first time.
-
toBuilder
public Impact.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<Impact.Builder,Impact>
-
builder
public static Impact.Builder builder()
-
serializableBuilderClass
public static Class<? extends Impact.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.
-
-