Interface ListSavingsPlansPurchaseRecommendationGenerationResponse.Builder
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<ListSavingsPlansPurchaseRecommendationGenerationResponse.Builder,,ListSavingsPlansPurchaseRecommendationGenerationResponse> CostExplorerResponse.Builder,SdkBuilder<ListSavingsPlansPurchaseRecommendationGenerationResponse.Builder,,ListSavingsPlansPurchaseRecommendationGenerationResponse> SdkPojo,SdkResponse.Builder
- Enclosing class:
ListSavingsPlansPurchaseRecommendationGenerationResponse
public static interface ListSavingsPlansPurchaseRecommendationGenerationResponse.Builder
extends CostExplorerResponse.Builder, SdkPojo, CopyableBuilder<ListSavingsPlansPurchaseRecommendationGenerationResponse.Builder,ListSavingsPlansPurchaseRecommendationGenerationResponse>
-
Method Summary
Modifier and TypeMethodDescriptiongenerationSummaryList(Collection<GenerationSummary> generationSummaryList) The list of historical recommendation generations.generationSummaryList(Consumer<GenerationSummary.Builder>... generationSummaryList) The list of historical recommendation generations.generationSummaryList(GenerationSummary... generationSummaryList) The list of historical recommendation generations.nextPageToken(String nextPageToken) 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.costexplorer.model.CostExplorerResponse.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
-
generationSummaryList
ListSavingsPlansPurchaseRecommendationGenerationResponse.Builder generationSummaryList(Collection<GenerationSummary> generationSummaryList) The list of historical recommendation generations.
- Parameters:
generationSummaryList- The list of historical recommendation generations.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
generationSummaryList
ListSavingsPlansPurchaseRecommendationGenerationResponse.Builder generationSummaryList(GenerationSummary... generationSummaryList) The list of historical recommendation generations.
- Parameters:
generationSummaryList- The list of historical recommendation generations.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
generationSummaryList
ListSavingsPlansPurchaseRecommendationGenerationResponse.Builder generationSummaryList(Consumer<GenerationSummary.Builder>... generationSummaryList) The list of historical recommendation generations.
This is a convenience method that creates an instance of theGenerationSummary.Builderavoiding the need to create one manually viaGenerationSummary.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed togenerationSummaryList(List<GenerationSummary>).- Parameters:
generationSummaryList- a consumer that will call methods onGenerationSummary.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
nextPageToken
ListSavingsPlansPurchaseRecommendationGenerationResponse.Builder nextPageToken(String nextPageToken) The token to retrieve the next set of results.
- Parameters:
nextPageToken- The token to retrieve the next set of results.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-