Interface GetRecommendationReportDetailsResponse.Builder
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,CopyableBuilder<GetRecommendationReportDetailsResponse.Builder,
,GetRecommendationReportDetailsResponse> MigrationHubStrategyResponse.Builder
,SdkBuilder<GetRecommendationReportDetailsResponse.Builder,
,GetRecommendationReportDetailsResponse> SdkPojo
,SdkResponse.Builder
- Enclosing class:
GetRecommendationReportDetailsResponse
public static interface GetRecommendationReportDetailsResponse.Builder
extends MigrationHubStrategyResponse.Builder, SdkPojo, CopyableBuilder<GetRecommendationReportDetailsResponse.Builder,GetRecommendationReportDetailsResponse>
-
Method Summary
Modifier and TypeMethodDescriptionThe ID of the recommendation report generation task.recommendationReportDetails
(Consumer<RecommendationReportDetails.Builder> recommendationReportDetails) Detailed information about the recommendation report.recommendationReportDetails
(RecommendationReportDetails recommendationReportDetails) Detailed information about the recommendation report.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.services.migrationhubstrategy.model.MigrationHubStrategyResponse.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 Details
-
id
The ID of the recommendation report generation task. See the response of StartRecommendationReportGeneration.
- Parameters:
id
- The ID of the recommendation report generation task. See the response of StartRecommendationReportGeneration.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
recommendationReportDetails
GetRecommendationReportDetailsResponse.Builder recommendationReportDetails(RecommendationReportDetails recommendationReportDetails) Detailed information about the recommendation report.
- Parameters:
recommendationReportDetails
- Detailed information about the recommendation report.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
recommendationReportDetails
default GetRecommendationReportDetailsResponse.Builder recommendationReportDetails(Consumer<RecommendationReportDetails.Builder> recommendationReportDetails) Detailed information about the recommendation report.
This is a convenience method that creates an instance of theRecommendationReportDetails.Builder
avoiding the need to create one manually viaRecommendationReportDetails.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed torecommendationReportDetails(RecommendationReportDetails)
.- Parameters:
recommendationReportDetails
- a consumer that will call methods onRecommendationReportDetails.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-