Interface StartRecommendationsRequest.Builder
- All Superinterfaces:
AwsRequest.Builder,Buildable,CopyableBuilder<StartRecommendationsRequest.Builder,,StartRecommendationsRequest> DatabaseMigrationRequest.Builder,SdkBuilder<StartRecommendationsRequest.Builder,,StartRecommendationsRequest> SdkPojo,SdkRequest.Builder
- Enclosing class:
StartRecommendationsRequest
-
Method Summary
Modifier and TypeMethodDescriptiondatabaseId(String databaseId) The identifier of the source database to analyze and provide recommendations for.overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.settings(Consumer<RecommendationSettings.Builder> settings) The settings in JSON format that Fleet Advisor uses to determine target engine recommendations.settings(RecommendationSettings settings) The settings in JSON format that Fleet Advisor uses to determine target engine recommendations.Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfigurationMethods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.services.databasemigration.model.DatabaseMigrationRequest.Builder
buildMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Method Details
-
databaseId
The identifier of the source database to analyze and provide recommendations for.
- Parameters:
databaseId- The identifier of the source database to analyze and provide recommendations for.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
settings
The settings in JSON format that Fleet Advisor uses to determine target engine recommendations. These parameters include target instance sizing and availability and durability settings. For target instance sizing, Fleet Advisor supports the following two options: total capacity and resource utilization. For availability and durability, Fleet Advisor supports the following two options: production (Multi-AZ deployments) and Dev/Test (Single-AZ deployments).
- Parameters:
settings- The settings in JSON format that Fleet Advisor uses to determine target engine recommendations. These parameters include target instance sizing and availability and durability settings. For target instance sizing, Fleet Advisor supports the following two options: total capacity and resource utilization. For availability and durability, Fleet Advisor supports the following two options: production (Multi-AZ deployments) and Dev/Test (Single-AZ deployments).- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
settings
default StartRecommendationsRequest.Builder settings(Consumer<RecommendationSettings.Builder> settings) The settings in JSON format that Fleet Advisor uses to determine target engine recommendations. These parameters include target instance sizing and availability and durability settings. For target instance sizing, Fleet Advisor supports the following two options: total capacity and resource utilization. For availability and durability, Fleet Advisor supports the following two options: production (Multi-AZ deployments) and Dev/Test (Single-AZ deployments).
This is a convenience method that creates an instance of theRecommendationSettings.Builderavoiding the need to create one manually viaRecommendationSettings.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tosettings(RecommendationSettings).- Parameters:
settings- a consumer that will call methods onRecommendationSettings.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
overrideConfiguration
StartRecommendationsRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Description copied from interface:AwsRequest.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder- Parameters:
overrideConfiguration- The override configuration.- Returns:
- This object for method chaining.
-
overrideConfiguration
StartRecommendationsRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Description copied from interface:AwsRequest.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder- Parameters:
builderConsumer- AConsumerto which an emptyAwsRequestOverrideConfiguration.Builderwill be given.- Returns:
- This object for method chaining.
-