Interface SummaryTotals.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<SummaryTotals.Builder,,SummaryTotals> SdkBuilder<SummaryTotals.Builder,,SummaryTotals> SdkPojo
- Enclosing class:
SummaryTotals
@Mutable
@NotThreadSafe
public static interface SummaryTotals.Builder
extends SdkPojo, CopyableBuilder<SummaryTotals.Builder,SummaryTotals>
-
Method Summary
Modifier and TypeMethodDescriptionautomationEventCount(Integer automationEventCount) The total number of automation events in this summary group.default SummaryTotals.BuilderestimatedMonthlySavings(Consumer<EstimatedMonthlySavings.Builder> estimatedMonthlySavings) Sets the value of the EstimatedMonthlySavings property for this object.estimatedMonthlySavings(EstimatedMonthlySavings estimatedMonthlySavings) Sets the value of the EstimatedMonthlySavings property for this object.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Method Details
-
automationEventCount
The total number of automation events in this summary group.
- Parameters:
automationEventCount- The total number of automation events in this summary group.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
estimatedMonthlySavings
Sets the value of the EstimatedMonthlySavings property for this object.- Parameters:
estimatedMonthlySavings- The new value for the EstimatedMonthlySavings property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
estimatedMonthlySavings
default SummaryTotals.Builder estimatedMonthlySavings(Consumer<EstimatedMonthlySavings.Builder> estimatedMonthlySavings) Sets the value of the EstimatedMonthlySavings property for this object. This is a convenience method that creates an instance of theEstimatedMonthlySavings.Builderavoiding the need to create one manually viaEstimatedMonthlySavings.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toestimatedMonthlySavings(EstimatedMonthlySavings).- Parameters:
estimatedMonthlySavings- a consumer that will call methods onEstimatedMonthlySavings.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-