Struct aws_sdk_databasemigration::types::EndpointSetting
source · #[non_exhaustive]pub struct EndpointSetting {
pub name: Option<String>,
pub type: Option<EndpointSettingTypeValue>,
pub enum_values: Option<Vec<String>>,
pub sensitive: Option<bool>,
pub units: Option<String>,
pub applicability: Option<String>,
pub int_value_min: Option<i32>,
pub int_value_max: Option<i32>,
pub default_value: Option<String>,
}
Expand description
Endpoint settings.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Struct { .. }
syntax; cannot be matched against without a wildcard ..
; and struct update syntax will not work.name: Option<String>
The name that you want to give the endpoint settings.
type: Option<EndpointSettingTypeValue>
The type of endpoint. Valid values are source
and target
.
enum_values: Option<Vec<String>>
Enumerated values to use for this endpoint.
sensitive: Option<bool>
A value that marks this endpoint setting as sensitive.
units: Option<String>
The unit of measure for this endpoint setting.
applicability: Option<String>
The relevance or validity of an endpoint setting for an engine name and its endpoint type.
int_value_min: Option<i32>
The minimum value of an endpoint setting that is of type int
.
int_value_max: Option<i32>
The maximum value of an endpoint setting that is of type int
.
default_value: Option<String>
The default value of the endpoint setting if no value is specified using CreateEndpoint
or ModifyEndpoint
.
Implementations§
source§impl EndpointSetting
impl EndpointSetting
sourcepub fn type(&self) -> Option<&EndpointSettingTypeValue>
pub fn type(&self) -> Option<&EndpointSettingTypeValue>
The type of endpoint. Valid values are source
and target
.
sourcepub fn enum_values(&self) -> &[String]
pub fn enum_values(&self) -> &[String]
Enumerated values to use for this endpoint.
If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use .enum_values.is_none()
.
sourcepub fn applicability(&self) -> Option<&str>
pub fn applicability(&self) -> Option<&str>
The relevance or validity of an endpoint setting for an engine name and its endpoint type.
sourcepub fn int_value_min(&self) -> Option<i32>
pub fn int_value_min(&self) -> Option<i32>
The minimum value of an endpoint setting that is of type int
.
sourcepub fn int_value_max(&self) -> Option<i32>
pub fn int_value_max(&self) -> Option<i32>
The maximum value of an endpoint setting that is of type int
.
sourcepub fn default_value(&self) -> Option<&str>
pub fn default_value(&self) -> Option<&str>
The default value of the endpoint setting if no value is specified using CreateEndpoint
or ModifyEndpoint
.
source§impl EndpointSetting
impl EndpointSetting
sourcepub fn builder() -> EndpointSettingBuilder
pub fn builder() -> EndpointSettingBuilder
Creates a new builder-style object to manufacture EndpointSetting
.
Trait Implementations§
source§impl Clone for EndpointSetting
impl Clone for EndpointSetting
source§fn clone(&self) -> EndpointSetting
fn clone(&self) -> EndpointSetting
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for EndpointSetting
impl Debug for EndpointSetting
source§impl PartialEq for EndpointSetting
impl PartialEq for EndpointSetting
impl StructuralPartialEq for EndpointSetting
Auto Trait Implementations§
impl Freeze for EndpointSetting
impl RefUnwindSafe for EndpointSetting
impl Send for EndpointSetting
impl Sync for EndpointSetting
impl Unpin for EndpointSetting
impl UnwindSafe for EndpointSetting
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