Struct aws_sdk_rds::types::builders::OptionSettingBuilder
source · #[non_exhaustive]pub struct OptionSettingBuilder { /* private fields */ }Expand description
A builder for OptionSetting.
Implementations§
source§impl OptionSettingBuilder
impl OptionSettingBuilder
sourcepub fn name(self, input: impl Into<String>) -> Self
pub fn name(self, input: impl Into<String>) -> Self
The name of the option that has settings that you can set.
sourcepub fn set_name(self, input: Option<String>) -> Self
pub fn set_name(self, input: Option<String>) -> Self
The name of the option that has settings that you can set.
sourcepub fn get_name(&self) -> &Option<String>
pub fn get_name(&self) -> &Option<String>
The name of the option that has settings that you can set.
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 option setting.
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 option setting.
sourcepub fn get_default_value(&self) -> &Option<String>
pub fn get_default_value(&self) -> &Option<String>
The default value of the option setting.
sourcepub fn description(self, input: impl Into<String>) -> Self
pub fn description(self, input: impl Into<String>) -> Self
The description of the option setting.
sourcepub fn set_description(self, input: Option<String>) -> Self
pub fn set_description(self, input: Option<String>) -> Self
The description of the option setting.
sourcepub fn get_description(&self) -> &Option<String>
pub fn get_description(&self) -> &Option<String>
The description of the option setting.
sourcepub fn apply_type(self, input: impl Into<String>) -> Self
pub fn apply_type(self, input: impl Into<String>) -> Self
The DB engine specific parameter type.
sourcepub fn set_apply_type(self, input: Option<String>) -> Self
pub fn set_apply_type(self, input: Option<String>) -> Self
The DB engine specific parameter type.
sourcepub fn get_apply_type(&self) -> &Option<String>
pub fn get_apply_type(&self) -> &Option<String>
The DB engine specific parameter type.
sourcepub fn set_data_type(self, input: Option<String>) -> Self
pub fn set_data_type(self, input: Option<String>) -> Self
The data type of the option setting.
sourcepub fn get_data_type(&self) -> &Option<String>
pub fn get_data_type(&self) -> &Option<String>
The data type of the option setting.
sourcepub fn allowed_values(self, input: impl Into<String>) -> Self
pub fn allowed_values(self, input: impl Into<String>) -> Self
The allowed values of the option setting.
sourcepub fn set_allowed_values(self, input: Option<String>) -> Self
pub fn set_allowed_values(self, input: Option<String>) -> Self
The allowed values of the option setting.
sourcepub fn get_allowed_values(&self) -> &Option<String>
pub fn get_allowed_values(&self) -> &Option<String>
The allowed values of the option setting.
sourcepub fn is_modifiable(self, input: bool) -> Self
pub fn is_modifiable(self, input: bool) -> Self
Indicates whether the option setting can be modified from the default.
sourcepub fn set_is_modifiable(self, input: Option<bool>) -> Self
pub fn set_is_modifiable(self, input: Option<bool>) -> Self
Indicates whether the option setting can be modified from the default.
sourcepub fn get_is_modifiable(&self) -> &Option<bool>
pub fn get_is_modifiable(&self) -> &Option<bool>
Indicates whether the option setting can be modified from the default.
sourcepub fn is_collection(self, input: bool) -> Self
pub fn is_collection(self, input: bool) -> Self
Indicates whether the option setting is part of a collection.
sourcepub fn set_is_collection(self, input: Option<bool>) -> Self
pub fn set_is_collection(self, input: Option<bool>) -> Self
Indicates whether the option setting is part of a collection.
sourcepub fn get_is_collection(&self) -> &Option<bool>
pub fn get_is_collection(&self) -> &Option<bool>
Indicates whether the option setting is part of a collection.
sourcepub fn build(self) -> OptionSetting
pub fn build(self) -> OptionSetting
Consumes the builder and constructs a OptionSetting.
Trait Implementations§
source§impl Clone for OptionSettingBuilder
impl Clone for OptionSettingBuilder
source§fn clone(&self) -> OptionSettingBuilder
fn clone(&self) -> OptionSettingBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Debug for OptionSettingBuilder
impl Debug for OptionSettingBuilder
source§impl Default for OptionSettingBuilder
impl Default for OptionSettingBuilder
source§fn default() -> OptionSettingBuilder
fn default() -> OptionSettingBuilder
source§impl PartialEq for OptionSettingBuilder
impl PartialEq for OptionSettingBuilder
impl StructuralPartialEq for OptionSettingBuilder
Auto Trait Implementations§
impl Freeze for OptionSettingBuilder
impl RefUnwindSafe for OptionSettingBuilder
impl Send for OptionSettingBuilder
impl Sync for OptionSettingBuilder
impl Unpin for OptionSettingBuilder
impl UnwindSafe for OptionSettingBuilder
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