#[non_exhaustive]pub struct LimitationBuilder { /* private fields */ }
Expand description
A builder for Limitation
.
Implementations§
source§impl LimitationBuilder
impl LimitationBuilder
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.
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.
sourcepub fn get_database_id(&self) -> &Option<String>
pub fn get_database_id(&self) -> &Option<String>
The identifier of the source database.
sourcepub fn engine_name(self, input: impl Into<String>) -> Self
pub fn engine_name(self, input: impl Into<String>) -> Self
The name of the target engine that Fleet Advisor should use in the target engine recommendation. Valid values include "rds-aurora-mysql"
, "rds-aurora-postgresql"
, "rds-mysql"
, "rds-oracle"
, "rds-sql-server"
, and "rds-postgresql"
.
sourcepub fn set_engine_name(self, input: Option<String>) -> Self
pub fn set_engine_name(self, input: Option<String>) -> Self
The name of the target engine that Fleet Advisor should use in the target engine recommendation. Valid values include "rds-aurora-mysql"
, "rds-aurora-postgresql"
, "rds-mysql"
, "rds-oracle"
, "rds-sql-server"
, and "rds-postgresql"
.
sourcepub fn get_engine_name(&self) -> &Option<String>
pub fn get_engine_name(&self) -> &Option<String>
The name of the target engine that Fleet Advisor should use in the target engine recommendation. Valid values include "rds-aurora-mysql"
, "rds-aurora-postgresql"
, "rds-mysql"
, "rds-oracle"
, "rds-sql-server"
, and "rds-postgresql"
.
sourcepub fn name(self, input: impl Into<String>) -> Self
pub fn name(self, input: impl Into<String>) -> Self
The name of the limitation. Describes unsupported database features, migration action items, and other limitations.
sourcepub fn set_name(self, input: Option<String>) -> Self
pub fn set_name(self, input: Option<String>) -> Self
The name of the limitation. Describes unsupported database features, migration action items, and other limitations.
sourcepub fn get_name(&self) -> &Option<String>
pub fn get_name(&self) -> &Option<String>
The name of the limitation. Describes unsupported database features, migration action items, and other limitations.
sourcepub fn description(self, input: impl Into<String>) -> Self
pub fn description(self, input: impl Into<String>) -> Self
A description of the limitation. Provides additional information about the limitation, and includes recommended actions that you can take to address or avoid this limitation.
sourcepub fn set_description(self, input: Option<String>) -> Self
pub fn set_description(self, input: Option<String>) -> Self
A description of the limitation. Provides additional information about the limitation, and includes recommended actions that you can take to address or avoid this limitation.
sourcepub fn get_description(&self) -> &Option<String>
pub fn get_description(&self) -> &Option<String>
A description of the limitation. Provides additional information about the limitation, and includes recommended actions that you can take to address or avoid this limitation.
sourcepub fn impact(self, input: impl Into<String>) -> Self
pub fn impact(self, input: impl Into<String>) -> Self
The impact of the limitation. You can use this parameter to prioritize limitations that you want to address. Valid values include "Blocker"
, "High"
, "Medium"
, and "Low"
.
sourcepub fn set_impact(self, input: Option<String>) -> Self
pub fn set_impact(self, input: Option<String>) -> Self
The impact of the limitation. You can use this parameter to prioritize limitations that you want to address. Valid values include "Blocker"
, "High"
, "Medium"
, and "Low"
.
sourcepub fn get_impact(&self) -> &Option<String>
pub fn get_impact(&self) -> &Option<String>
The impact of the limitation. You can use this parameter to prioritize limitations that you want to address. Valid values include "Blocker"
, "High"
, "Medium"
, and "Low"
.
sourcepub fn type(self, input: impl Into<String>) -> Self
pub fn type(self, input: impl Into<String>) -> Self
The type of the limitation, such as action required, upgrade required, and limited feature.
sourcepub fn set_type(self, input: Option<String>) -> Self
pub fn set_type(self, input: Option<String>) -> Self
The type of the limitation, such as action required, upgrade required, and limited feature.
sourcepub fn get_type(&self) -> &Option<String>
pub fn get_type(&self) -> &Option<String>
The type of the limitation, such as action required, upgrade required, and limited feature.
sourcepub fn build(self) -> Limitation
pub fn build(self) -> Limitation
Consumes the builder and constructs a Limitation
.
Trait Implementations§
source§impl Clone for LimitationBuilder
impl Clone for LimitationBuilder
source§fn clone(&self) -> LimitationBuilder
fn clone(&self) -> LimitationBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for LimitationBuilder
impl Debug for LimitationBuilder
source§impl Default for LimitationBuilder
impl Default for LimitationBuilder
source§fn default() -> LimitationBuilder
fn default() -> LimitationBuilder
source§impl PartialEq for LimitationBuilder
impl PartialEq for LimitationBuilder
source§fn eq(&self, other: &LimitationBuilder) -> bool
fn eq(&self, other: &LimitationBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.