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
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default GetPortfolioSummaryResponse.BuilderassessmentSummary(Consumer<AssessmentSummary.Builder> assessmentSummary)An assessment summary for the portfolio including the number of servers to rehost and the overall number of anti-patterns.GetPortfolioSummaryResponse.BuilderassessmentSummary(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
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, sdkFieldNameToField, sdkFields
-
Methods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
-
-
-
Method Detail
-
assessmentSummary
GetPortfolioSummaryResponse.Builder assessmentSummary(AssessmentSummary 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:
assessmentSummary(AssessmentSummary)
-
-