Interface DescribeRecommendationsResponse.Builder
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<DescribeRecommendationsResponse.Builder,,DescribeRecommendationsResponse> DatabaseMigrationResponse.Builder,SdkBuilder<DescribeRecommendationsResponse.Builder,,DescribeRecommendationsResponse> SdkPojo,SdkResponse.Builder
- Enclosing class:
DescribeRecommendationsResponse
-
Method Summary
Modifier and TypeMethodDescriptionThe unique pagination token returned for you to pass to a subsequent request.recommendations(Collection<Recommendation> recommendations) The list of recommendations of target engines that Fleet Advisor created for the source database.recommendations(Consumer<Recommendation.Builder>... recommendations) The list of recommendations of target engines that Fleet Advisor created for the source database.recommendations(Recommendation... recommendations) The list of recommendations of target engines that Fleet Advisor created for the source database.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.services.databasemigration.model.DatabaseMigrationResponse.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
-
nextToken
The unique pagination token returned for you to pass to a subsequent request. Fleet Advisor returns this token when the number of records in the response is greater than the
MaxRecordsvalue. To retrieve the next page, make the call again using the returned token and keeping all other arguments unchanged.- Parameters:
nextToken- The unique pagination token returned for you to pass to a subsequent request. Fleet Advisor returns this token when the number of records in the response is greater than theMaxRecordsvalue. To retrieve the next page, make the call again using the returned token and keeping all other arguments unchanged.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
recommendations
The list of recommendations of target engines that Fleet Advisor created for the source database.
- Parameters:
recommendations- The list of recommendations of target engines that Fleet Advisor created for the source database.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
recommendations
The list of recommendations of target engines that Fleet Advisor created for the source database.
- Parameters:
recommendations- The list of recommendations of target engines that Fleet Advisor created for the source database.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
recommendations
DescribeRecommendationsResponse.Builder recommendations(Consumer<Recommendation.Builder>... recommendations) The list of recommendations of target engines that Fleet Advisor created for the source database.
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:
-