Interface Impact.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<Impact.Builder,
,Impact> SdkBuilder<Impact.Builder,
,Impact> SdkPojo
- Enclosing class:
Impact
-
Method Summary
Modifier and TypeMethodDescriptionThe maximum dollar value that's observed for an anomaly.totalActualSpend
(Double totalActualSpend) The cumulative dollar amount that was actually spent during the anomaly.totalExpectedSpend
(Double totalExpectedSpend) The cumulative dollar amount that was expected to be spent during the anomaly.totalImpact
(Double totalImpact) The cumulative dollar difference between the total actual spend and total expected spend.totalImpactPercentage
(Double totalImpactPercentage) The cumulative percentage difference between the total actual spend and total expected spend.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Method Details
-
maxImpact
The maximum dollar value that's observed for an anomaly.
- Parameters:
maxImpact
- The maximum dollar value that's observed for an anomaly.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
totalImpact
The cumulative dollar difference between the total actual spend and total expected spend. It is calculated as
TotalActualSpend - TotalExpectedSpend
.- Parameters:
totalImpact
- The cumulative dollar difference between the total actual spend and total expected spend. It is calculated asTotalActualSpend - TotalExpectedSpend
.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
totalActualSpend
The cumulative dollar amount that was actually spent during the anomaly.
- Parameters:
totalActualSpend
- The cumulative dollar amount that was actually spent during the anomaly.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
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.
- Parameters:
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:
- Returns a reference to this object so that method calls can be chained together.
-
totalImpactPercentage
The cumulative percentage difference between the total actual spend and total expected spend. It is calculated as
(TotalImpact / TotalExpectedSpend) * 100
. WhenTotalExpectedSpend
is 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.- Parameters:
totalImpactPercentage
- The cumulative percentage difference between the total actual spend and total expected spend. It is calculated as(TotalImpact / TotalExpectedSpend) * 100
. WhenTotalExpectedSpend
is 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:
- Returns a reference to this object so that method calls can be chained together.
-