Struct aws_sdk_databasemigration::model::endpoint_setting::Builder
source · pub struct Builder { /* private fields */ }
Expand description
A builder for EndpointSetting
.
Implementations§
source§impl 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
.