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
Modifier and TypeMethodDescriptiondefault CalculatedSpend.Builder
actualSpend
(Consumer<Spend.Builder> actualSpend) The amount of cost, usage, RI units, or Savings Plans units that you used.actualSpend
(Spend actualSpend) The amount of cost, usage, RI units, or Savings Plans units that you used.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.forecastedSpend
(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, sdkFields
-
Method Details
-
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
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.Builder
avoiding the need to create one manually viaSpend.builder()
.When the
Consumer
completes,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:
-
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
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.Builder
avoiding the need to create one manually viaSpend.builder()
.When the
Consumer
completes,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:
-