Struct aws_sdk_databasemigration::model::endpoint_setting::Builder
source · [−]#[non_exhaustive]pub struct Builder { /* private fields */ }
Expand description
A builder for EndpointSetting
Implementations
sourceimpl Builder
impl Builder
sourcepub fn name(self, input: impl Into<String>) -> Self
pub fn name(self, input: impl Into<String>) -> Self
The name that you want to give the endpoint settings.
sourcepub fn set_name(self, input: Option<String>) -> Self
pub fn set_name(self, input: Option<String>) -> Self
The name that you want to give the endpoint settings.
sourcepub fn type(self, input: EndpointSettingTypeValue) -> Self
pub fn type(self, input: EndpointSettingTypeValue) -> Self
The type of endpoint. Valid values are source
and target
.
sourcepub fn set_type(self, input: Option<EndpointSettingTypeValue>) -> Self
pub fn set_type(self, input: Option<EndpointSettingTypeValue>) -> Self
The type of endpoint. Valid values are source
and target
.
sourcepub fn enum_values(self, input: impl Into<String>) -> Self
pub fn enum_values(self, input: impl Into<String>) -> Self
Appends an item to enum_values
.
To override the contents of this collection use set_enum_values
.
Enumerated values to use for this endpoint.
sourcepub fn set_enum_values(self, input: Option<Vec<String>>) -> Self
pub fn set_enum_values(self, input: Option<Vec<String>>) -> Self
Enumerated values to use for this endpoint.
sourcepub fn sensitive(self, input: bool) -> Self
pub fn sensitive(self, input: bool) -> Self
A value that marks this endpoint setting as sensitive.
sourcepub fn set_sensitive(self, input: Option<bool>) -> Self
pub fn set_sensitive(self, input: Option<bool>) -> Self
A value that marks this endpoint setting as sensitive.
sourcepub fn units(self, input: impl Into<String>) -> Self
pub fn units(self, input: impl Into<String>) -> Self
The unit of measure for this endpoint setting.
sourcepub fn set_units(self, input: Option<String>) -> Self
pub fn set_units(self, input: Option<String>) -> Self
The unit of measure for this endpoint setting.
sourcepub fn applicability(self, input: impl Into<String>) -> Self
pub fn applicability(self, input: impl Into<String>) -> Self
The relevance or validity of an endpoint setting for an engine name and its endpoint type.
sourcepub fn set_applicability(self, input: Option<String>) -> Self
pub fn set_applicability(self, input: Option<String>) -> Self
The relevance or validity of an endpoint setting for an engine name and its endpoint type.
sourcepub fn int_value_min(self, input: i32) -> Self
pub fn int_value_min(self, input: i32) -> Self
The minimum value of an endpoint setting that is of type int
.
sourcepub fn set_int_value_min(self, input: Option<i32>) -> Self
pub fn set_int_value_min(self, input: Option<i32>) -> Self
The minimum value of an endpoint setting that is of type int
.
sourcepub fn int_value_max(self, input: i32) -> Self
pub fn int_value_max(self, input: i32) -> Self
The maximum value of an endpoint setting that is of type int
.
sourcepub fn set_int_value_max(self, input: Option<i32>) -> Self
pub fn set_int_value_max(self, input: Option<i32>) -> Self
The maximum value of an endpoint setting that is of type int
.
sourcepub fn default_value(self, input: impl Into<String>) -> Self
pub fn default_value(self, input: impl Into<String>) -> Self
The default value of the endpoint setting if no value is specified using CreateEndpoint
or ModifyEndpoint
.
sourcepub fn set_default_value(self, input: Option<String>) -> Self
pub fn set_default_value(self, input: Option<String>) -> Self
The default value of the endpoint setting if no value is specified using CreateEndpoint
or ModifyEndpoint
.
sourcepub fn build(self) -> EndpointSetting
pub fn build(self) -> EndpointSetting
Consumes the builder and constructs a EndpointSetting
Trait Implementations
impl StructuralPartialEq for Builder
Auto Trait Implementations
impl RefUnwindSafe for Builder
impl Send for Builder
impl Sync for Builder
impl Unpin for Builder
impl UnwindSafe for Builder
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> Instrument for T
impl<T> Instrument for T
sourcefn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
sourcefn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
sourceimpl<T> WithSubscriber for T
impl<T> WithSubscriber for T
sourcefn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
sourcefn with_current_subscriber(self) -> WithDispatch<Self>
fn with_current_subscriber(self) -> WithDispatch<Self>
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more