Struct aws_sdk_databasemigration::operation::start_recommendations::builders::StartRecommendationsFluentBuilder
source · pub struct StartRecommendationsFluentBuilder { /* private fields */ }
Expand description
Fluent builder constructing a request to StartRecommendations
.
Starts the analysis of your source database to provide recommendations of target engines.
You can create recommendations for multiple source databases using BatchStartRecommendations.
Implementations§
source§impl StartRecommendationsFluentBuilder
impl StartRecommendationsFluentBuilder
sourcepub fn as_input(&self) -> &StartRecommendationsInputBuilder
pub fn as_input(&self) -> &StartRecommendationsInputBuilder
Access the StartRecommendations as a reference.
sourcepub async fn send(
self
) -> Result<StartRecommendationsOutput, SdkError<StartRecommendationsError, HttpResponse>>
pub async fn send( self ) -> Result<StartRecommendationsOutput, SdkError<StartRecommendationsError, HttpResponse>>
Sends the request and returns the response.
If an error occurs, an SdkError
will be returned with additional details that
can be matched against.
By default, any retryable failures will be retried twice. Retry behavior is configurable with the RetryConfig, which can be set when configuring the client.
sourcepub fn customize(
self
) -> CustomizableOperation<StartRecommendationsOutput, StartRecommendationsError, Self>
pub fn customize( self ) -> CustomizableOperation<StartRecommendationsOutput, StartRecommendationsError, Self>
Consumes this builder, creating a customizable operation that can be modified before being sent.
sourcepub fn database_id(self, input: impl Into<String>) -> Self
pub fn database_id(self, input: impl Into<String>) -> Self
The identifier of the source database to analyze and provide recommendations for.
sourcepub fn set_database_id(self, input: Option<String>) -> Self
pub fn set_database_id(self, input: Option<String>) -> Self
The identifier of the source database to analyze and provide recommendations for.
sourcepub fn get_database_id(&self) -> &Option<String>
pub fn get_database_id(&self) -> &Option<String>
The identifier of the source database to analyze and provide recommendations for.
sourcepub fn settings(self, input: RecommendationSettings) -> Self
pub fn settings(self, input: RecommendationSettings) -> Self
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).
sourcepub fn set_settings(self, input: Option<RecommendationSettings>) -> Self
pub fn set_settings(self, input: Option<RecommendationSettings>) -> Self
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).
sourcepub fn get_settings(&self) -> &Option<RecommendationSettings>
pub fn get_settings(&self) -> &Option<RecommendationSettings>
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).
Trait Implementations§
source§impl Clone for StartRecommendationsFluentBuilder
impl Clone for StartRecommendationsFluentBuilder
source§fn clone(&self) -> StartRecommendationsFluentBuilder
fn clone(&self) -> StartRecommendationsFluentBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read more