Interface ListRecommendationSummariesResponse.Builder
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<ListRecommendationSummariesResponse.Builder,,ListRecommendationSummariesResponse> CostOptimizationHubResponse.Builder,SdkBuilder<ListRecommendationSummariesResponse.Builder,,ListRecommendationSummariesResponse> SdkPojo,SdkResponse.Builder
- Enclosing class:
ListRecommendationSummariesResponse
public static interface ListRecommendationSummariesResponse.Builder
extends CostOptimizationHubResponse.Builder, SdkPojo, CopyableBuilder<ListRecommendationSummariesResponse.Builder,ListRecommendationSummariesResponse>
-
Method Summary
Modifier and TypeMethodDescriptioncurrencyCode(String currencyCode) The currency code used for the recommendation.estimatedTotalDedupedSavings(Double estimatedTotalDedupedSavings) The total overall savings for the aggregated view.The dimension used to group the recommendations by.items(Collection<RecommendationSummary> items) List of all savings recommendations.items(Consumer<RecommendationSummary.Builder>... items) List of all savings recommendations.items(RecommendationSummary... items) List of all savings recommendations.The token to retrieve the next set of results.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.services.costoptimizationhub.model.CostOptimizationHubResponse.Builder
build, responseMetadata, responseMetadataMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldsMethods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
Method Details
-
estimatedTotalDedupedSavings
ListRecommendationSummariesResponse.Builder estimatedTotalDedupedSavings(Double estimatedTotalDedupedSavings) The total overall savings for the aggregated view.
- Parameters:
estimatedTotalDedupedSavings- The total overall savings for the aggregated view.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
items
List of all savings recommendations.
- Parameters:
items- List of all savings recommendations.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
items
List of all savings recommendations.
- Parameters:
items- List of all savings recommendations.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
items
List of all savings recommendations.
This is a convenience method that creates an instance of theRecommendationSummary.Builderavoiding the need to create one manually viaRecommendationSummary.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toitems(List<RecommendationSummary>).- Parameters:
items- a consumer that will call methods onRecommendationSummary.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
groupBy
The dimension used to group the recommendations by.
- Parameters:
groupBy- The dimension used to group the recommendations by.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
currencyCode
The currency code used for the recommendation.
- Parameters:
currencyCode- The currency code used for the recommendation.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
nextToken
The token to retrieve the next set of results.
- Parameters:
nextToken- The token to retrieve the next set of results.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-