Interface Impact.Builder

All Superinterfaces:
Buildable, CopyableBuilder<Impact.Builder,Impact>, SdkBuilder<Impact.Builder,Impact>, SdkPojo
Enclosing class:
Impact

public static interface Impact.Builder extends SdkPojo, CopyableBuilder<Impact.Builder,Impact>
  • Method Details

    • maxImpact

      Impact.Builder maxImpact(Double 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

      Impact.Builder totalImpact(Double 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 as TotalActualSpend - TotalExpectedSpend.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • totalActualSpend

      Impact.Builder totalActualSpend(Double 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

      Impact.Builder totalExpectedSpend(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.

      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

      Impact.Builder totalImpactPercentage(Double totalImpactPercentage)

      The cumulative percentage difference between the total actual spend and total expected spend. It is calculated as (TotalImpact / TotalExpectedSpend) * 100. When TotalExpectedSpend 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. When TotalExpectedSpend 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.