Struct aws_sdk_databasemigration::operation::start_recommendations::builders::StartRecommendationsInputBuilder
source · #[non_exhaustive]pub struct StartRecommendationsInputBuilder { /* private fields */ }
Expand description
A builder for StartRecommendationsInput
.
Implementations§
source§impl StartRecommendationsInputBuilder
impl StartRecommendationsInputBuilder
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.
This field is required.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).
This field is required.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).
sourcepub fn build(self) -> Result<StartRecommendationsInput, BuildError>
pub fn build(self) -> Result<StartRecommendationsInput, BuildError>
Consumes the builder and constructs a StartRecommendationsInput
.
source§impl StartRecommendationsInputBuilder
impl StartRecommendationsInputBuilder
sourcepub async fn send_with(
self,
client: &Client
) -> Result<StartRecommendationsOutput, SdkError<StartRecommendationsError, HttpResponse>>
pub async fn send_with( self, client: &Client ) -> Result<StartRecommendationsOutput, SdkError<StartRecommendationsError, HttpResponse>>
Sends a request with this input using the given client.
Trait Implementations§
source§impl Clone for StartRecommendationsInputBuilder
impl Clone for StartRecommendationsInputBuilder
source§fn clone(&self) -> StartRecommendationsInputBuilder
fn clone(&self) -> StartRecommendationsInputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Default for StartRecommendationsInputBuilder
impl Default for StartRecommendationsInputBuilder
source§fn default() -> StartRecommendationsInputBuilder
fn default() -> StartRecommendationsInputBuilder
source§impl PartialEq for StartRecommendationsInputBuilder
impl PartialEq for StartRecommendationsInputBuilder
source§fn eq(&self, other: &StartRecommendationsInputBuilder) -> bool
fn eq(&self, other: &StartRecommendationsInputBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.