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
source§fn eq(&self, other: &EndpointSetting) -> bool
fn eq(&self, other: &EndpointSetting) -> bool
self
and other
values to be equal, and is used
by ==
.