#[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
impl StructuralPartialEq for LimitationBuilder
Auto Trait Implementations§
impl Freeze for LimitationBuilder
impl RefUnwindSafe for LimitationBuilder
impl Send for LimitationBuilder
impl Sync for LimitationBuilder
impl Unpin for LimitationBuilder
impl UnwindSafe for LimitationBuilder
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
clone_to_uninit
)source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more