Interface ListPerformanceAnalysisReportRecommendationsResponse.Builder
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<ListPerformanceAnalysisReportRecommendationsResponse.Builder,,ListPerformanceAnalysisReportRecommendationsResponse> PiResponse.Builder,SdkBuilder<ListPerformanceAnalysisReportRecommendationsResponse.Builder,,ListPerformanceAnalysisReportRecommendationsResponse> SdkPojo,SdkResponse.Builder
- Enclosing class:
ListPerformanceAnalysisReportRecommendationsResponse
@Mutable
@NotThreadSafe
public static interface ListPerformanceAnalysisReportRecommendationsResponse.Builder
extends PiResponse.Builder, SdkPojo, CopyableBuilder<ListPerformanceAnalysisReportRecommendationsResponse.Builder,ListPerformanceAnalysisReportRecommendationsResponse>
-
Method Summary
Modifier and TypeMethodDescriptionAn optional pagination token provided by a previous request.recommendations(Collection<Recommendation> recommendations) The list of recommendations for the analysis report.recommendations(Consumer<Recommendation.Builder>... recommendations) The list of recommendations for the analysis report.recommendations(Recommendation... recommendations) The list of recommendations for the analysis report.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.services.pi.model.PiResponse.Builder
build, responseMetadata, responseMetadataMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFieldsMethods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
Method Details
-
recommendations
ListPerformanceAnalysisReportRecommendationsResponse.Builder recommendations(Collection<Recommendation> recommendations) The list of recommendations for the analysis report.
- Parameters:
recommendations- The list of recommendations for the analysis report.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
recommendations
ListPerformanceAnalysisReportRecommendationsResponse.Builder recommendations(Recommendation... recommendations) The list of recommendations for the analysis report.
- Parameters:
recommendations- The list of recommendations for the analysis report.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
recommendations
ListPerformanceAnalysisReportRecommendationsResponse.Builder recommendations(Consumer<Recommendation.Builder>... recommendations) The list of recommendations for the analysis report.
This is a convenience method that creates an instance of theRecommendation.Builderavoiding the need to create one manually viaRecommendation.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed torecommendations(List<Recommendation>).- Parameters:
recommendations- a consumer that will call methods onRecommendation.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
nextToken
An optional pagination token provided by a previous request. If this parameter is specified, the response includes only records beyond the token, up to the value specified by
MaxResults.- Parameters:
nextToken- An optional pagination token provided by a previous request. If this parameter is specified, the response includes only records beyond the token, up to the value specified byMaxResults.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-