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
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ListRecommendationSummariesResponse.BuildercurrencyCode(String currencyCode)The currency code used for the recommendation.ListRecommendationSummariesResponse.BuilderestimatedTotalDedupedSavings(Double estimatedTotalDedupedSavings)The total overall savings for the aggregated view.ListRecommendationSummariesResponse.BuildergroupBy(String groupBy)The dimension used to group the recommendations by.ListRecommendationSummariesResponse.Builderitems(Collection<RecommendationSummary> items)List of all savings recommendations.ListRecommendationSummariesResponse.Builderitems(Consumer<RecommendationSummary.Builder>... items)List of all savings recommendations.ListRecommendationSummariesResponse.Builderitems(RecommendationSummary... items)List of all savings recommendations.ListRecommendationSummariesResponse.BuildernextToken(String nextToken)The token to retrieve the next set of results.-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.services.costoptimizationhub.model.CostOptimizationHubResponse.Builder
build, responseMetadata, responseMetadata
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Methods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
-
-
-
Method Detail
-
currencyCode
ListRecommendationSummariesResponse.Builder currencyCode(String 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.
-
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.
-
groupBy
ListRecommendationSummariesResponse.Builder groupBy(String 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.
-
items
ListRecommendationSummariesResponse.Builder items(Collection<RecommendationSummary> 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
ListRecommendationSummariesResponse.Builder items(RecommendationSummary... 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
ListRecommendationSummariesResponse.Builder items(Consumer<RecommendationSummary.Builder>... 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 to#items(List.) - 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:
#items(java.util.Collection)
-
nextToken
ListRecommendationSummariesResponse.Builder nextToken(String 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.
-
-