Interface GetPortfolioSummaryResponse.Builder
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<GetPortfolioSummaryResponse.Builder,,GetPortfolioSummaryResponse> MigrationHubStrategyResponse.Builder,SdkBuilder<GetPortfolioSummaryResponse.Builder,,GetPortfolioSummaryResponse> SdkPojo,SdkResponse.Builder
- Enclosing class:
GetPortfolioSummaryResponse
public static interface GetPortfolioSummaryResponse.Builder
extends MigrationHubStrategyResponse.Builder, SdkPojo, CopyableBuilder<GetPortfolioSummaryResponse.Builder,GetPortfolioSummaryResponse>
-
Method Summary
Modifier and TypeMethodDescriptionassessmentSummary(Consumer<AssessmentSummary.Builder> assessmentSummary) An assessment summary for the portfolio including the number of servers to rehost and the overall number of anti-patterns.assessmentSummary(AssessmentSummary assessmentSummary) An assessment summary for the portfolio including the number of servers to rehost and the overall number of anti-patterns.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.services.migrationhubstrategy.model.MigrationHubStrategyResponse.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
-
assessmentSummary
An assessment summary for the portfolio including the number of servers to rehost and the overall number of anti-patterns.
- Parameters:
assessmentSummary- An assessment summary for the portfolio including the number of servers to rehost and the overall number of anti-patterns.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
assessmentSummary
default GetPortfolioSummaryResponse.Builder assessmentSummary(Consumer<AssessmentSummary.Builder> assessmentSummary) An assessment summary for the portfolio including the number of servers to rehost and the overall number of anti-patterns.
This is a convenience method that creates an instance of theAssessmentSummary.Builderavoiding the need to create one manually viaAssessmentSummary.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toassessmentSummary(AssessmentSummary).- Parameters:
assessmentSummary- a consumer that will call methods onAssessmentSummary.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-