Interface GetApplicationComponentStrategiesResponse.Builder
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,CopyableBuilder<GetApplicationComponentStrategiesResponse.Builder,
,GetApplicationComponentStrategiesResponse> MigrationHubStrategyResponse.Builder
,SdkBuilder<GetApplicationComponentStrategiesResponse.Builder,
,GetApplicationComponentStrategiesResponse> SdkPojo
,SdkResponse.Builder
- Enclosing class:
GetApplicationComponentStrategiesResponse
@Mutable
@NotThreadSafe
public static interface GetApplicationComponentStrategiesResponse.Builder
extends MigrationHubStrategyResponse.Builder, SdkPojo, CopyableBuilder<GetApplicationComponentStrategiesResponse.Builder,GetApplicationComponentStrategiesResponse>
-
Method Summary
Modifier and TypeMethodDescriptionapplicationComponentStrategies
(Collection<ApplicationComponentStrategy> applicationComponentStrategies) A list of application component strategy recommendations.applicationComponentStrategies
(Consumer<ApplicationComponentStrategy.Builder>... applicationComponentStrategies) A list of application component strategy recommendations.applicationComponentStrategies
(ApplicationComponentStrategy... applicationComponentStrategies) A list of application component strategy recommendations.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 Details
-
applicationComponentStrategies
GetApplicationComponentStrategiesResponse.Builder applicationComponentStrategies(Collection<ApplicationComponentStrategy> applicationComponentStrategies) A list of application component strategy recommendations.
- Parameters:
applicationComponentStrategies
- A list of application component strategy recommendations.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
applicationComponentStrategies
GetApplicationComponentStrategiesResponse.Builder applicationComponentStrategies(ApplicationComponentStrategy... applicationComponentStrategies) A list of application component strategy recommendations.
- Parameters:
applicationComponentStrategies
- A list of application component strategy recommendations.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
applicationComponentStrategies
GetApplicationComponentStrategiesResponse.Builder applicationComponentStrategies(Consumer<ApplicationComponentStrategy.Builder>... applicationComponentStrategies) A list of application component strategy recommendations.
This is a convenience method that creates an instance of theApplicationComponentStrategy.Builder
avoiding the need to create one manually viaApplicationComponentStrategy.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toapplicationComponentStrategies(List<ApplicationComponentStrategy>)
.- Parameters:
applicationComponentStrategies
- a consumer that will call methods onApplicationComponentStrategy.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-