Interface CalculatedSpend.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<CalculatedSpend.Builder,CalculatedSpend>,SdkBuilder<CalculatedSpend.Builder,CalculatedSpend>,SdkPojo
- Enclosing class:
- CalculatedSpend
public static interface CalculatedSpend.Builder extends SdkPojo, CopyableBuilder<CalculatedSpend.Builder,CalculatedSpend>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default CalculatedSpend.BuilderactualSpend(Consumer<Spend.Builder> actualSpend)The amount of cost, usage, RI units, or Savings Plans units that you used.CalculatedSpend.BuilderactualSpend(Spend actualSpend)The amount of cost, usage, RI units, or Savings Plans units that you used.default CalculatedSpend.BuilderforecastedSpend(Consumer<Spend.Builder> forecastedSpend)The amount of cost, usage, RI units, or Savings Plans units that you're forecasted to use.CalculatedSpend.BuilderforecastedSpend(Spend forecastedSpend)The amount of cost, usage, RI units, or Savings Plans units that you're forecasted to use.-
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, sdkFieldNameToField, sdkFields
-
-
-
-
Method Detail
-
actualSpend
CalculatedSpend.Builder actualSpend(Spend actualSpend)
The amount of cost, usage, RI units, or Savings Plans units that you used.
- Parameters:
actualSpend- The amount of cost, usage, RI units, or Savings Plans units that you used.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
actualSpend
default CalculatedSpend.Builder actualSpend(Consumer<Spend.Builder> actualSpend)
The amount of cost, usage, RI units, or Savings Plans units that you used.
This is a convenience method that creates an instance of theSpend.Builderavoiding the need to create one manually viaSpend.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toactualSpend(Spend).- Parameters:
actualSpend- a consumer that will call methods onSpend.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
actualSpend(Spend)
-
forecastedSpend
CalculatedSpend.Builder forecastedSpend(Spend forecastedSpend)
The amount of cost, usage, RI units, or Savings Plans units that you're forecasted to use.
- Parameters:
forecastedSpend- The amount of cost, usage, RI units, or Savings Plans units that you're forecasted to use.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
forecastedSpend
default CalculatedSpend.Builder forecastedSpend(Consumer<Spend.Builder> forecastedSpend)
The amount of cost, usage, RI units, or Savings Plans units that you're forecasted to use.
This is a convenience method that creates an instance of theSpend.Builderavoiding the need to create one manually viaSpend.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toforecastedSpend(Spend).- Parameters:
forecastedSpend- a consumer that will call methods onSpend.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
forecastedSpend(Spend)
-
-