Interface RecommendedActionSummary.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<RecommendedActionSummary.Builder,,RecommendedActionSummary> SdkBuilder<RecommendedActionSummary.Builder,,RecommendedActionSummary> SdkPojo
- Enclosing class:
RecommendedActionSummary
@Mutable
@NotThreadSafe
public static interface RecommendedActionSummary.Builder
extends SdkPojo, CopyableBuilder<RecommendedActionSummary.Builder,RecommendedActionSummary>
-
Method Summary
Modifier and TypeMethodDescriptionThe grouping key used to categorize the recommended actions in this summary.default RecommendedActionSummary.BuilderAggregate totals for the recommended actions in this group, including count and estimated savings.total(RecommendedActionTotal total) Aggregate totals for the recommended actions in this group, including count and estimated savings.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
-
key
The grouping key used to categorize the recommended actions in this summary.
- Parameters:
key- The grouping key used to categorize the recommended actions in this summary.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
total
Aggregate totals for the recommended actions in this group, including count and estimated savings.
- Parameters:
total- Aggregate totals for the recommended actions in this group, including count and estimated savings.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
total
Aggregate totals for the recommended actions in this group, including count and estimated savings.
This is a convenience method that creates an instance of theRecommendedActionTotal.Builderavoiding the need to create one manually viaRecommendedActionTotal.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tototal(RecommendedActionTotal).- Parameters:
total- a consumer that will call methods onRecommendedActionTotal.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-