#[non_exhaustive]pub struct ConfigurationOptionSettingBuilder { /* private fields */ }
Expand description
A builder for ConfigurationOptionSetting
.
Implementations§
source§impl ConfigurationOptionSettingBuilder
impl ConfigurationOptionSettingBuilder
sourcepub fn resource_name(self, input: impl Into<String>) -> Self
pub fn resource_name(self, input: impl Into<String>) -> Self
A unique resource name for the option setting. Use it for a time–based scaling configuration option.
sourcepub fn set_resource_name(self, input: Option<String>) -> Self
pub fn set_resource_name(self, input: Option<String>) -> Self
A unique resource name for the option setting. Use it for a time–based scaling configuration option.
sourcepub fn get_resource_name(&self) -> &Option<String>
pub fn get_resource_name(&self) -> &Option<String>
A unique resource name for the option setting. Use it for a time–based scaling configuration option.
sourcepub fn namespace(self, input: impl Into<String>) -> Self
pub fn namespace(self, input: impl Into<String>) -> Self
A unique namespace that identifies the option's associated AWS resource.
sourcepub fn set_namespace(self, input: Option<String>) -> Self
pub fn set_namespace(self, input: Option<String>) -> Self
A unique namespace that identifies the option's associated AWS resource.
sourcepub fn get_namespace(&self) -> &Option<String>
pub fn get_namespace(&self) -> &Option<String>
A unique namespace that identifies the option's associated AWS resource.
sourcepub fn option_name(self, input: impl Into<String>) -> Self
pub fn option_name(self, input: impl Into<String>) -> Self
The name of the configuration option.
sourcepub fn set_option_name(self, input: Option<String>) -> Self
pub fn set_option_name(self, input: Option<String>) -> Self
The name of the configuration option.
sourcepub fn get_option_name(&self) -> &Option<String>
pub fn get_option_name(&self) -> &Option<String>
The name of the configuration option.
sourcepub fn value(self, input: impl Into<String>) -> Self
pub fn value(self, input: impl Into<String>) -> Self
The current value for the configuration option.
sourcepub fn set_value(self, input: Option<String>) -> Self
pub fn set_value(self, input: Option<String>) -> Self
The current value for the configuration option.
sourcepub fn build(self) -> ConfigurationOptionSetting
pub fn build(self) -> ConfigurationOptionSetting
Consumes the builder and constructs a ConfigurationOptionSetting
.
Trait Implementations§
source§impl Clone for ConfigurationOptionSettingBuilder
impl Clone for ConfigurationOptionSettingBuilder
source§fn clone(&self) -> ConfigurationOptionSettingBuilder
fn clone(&self) -> ConfigurationOptionSettingBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Default for ConfigurationOptionSettingBuilder
impl Default for ConfigurationOptionSettingBuilder
source§fn default() -> ConfigurationOptionSettingBuilder
fn default() -> ConfigurationOptionSettingBuilder
source§impl PartialEq for ConfigurationOptionSettingBuilder
impl PartialEq for ConfigurationOptionSettingBuilder
source§fn eq(&self, other: &ConfigurationOptionSettingBuilder) -> bool
fn eq(&self, other: &ConfigurationOptionSettingBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for ConfigurationOptionSettingBuilder
Auto Trait Implementations§
impl Freeze for ConfigurationOptionSettingBuilder
impl RefUnwindSafe for ConfigurationOptionSettingBuilder
impl Send for ConfigurationOptionSettingBuilder
impl Sync for ConfigurationOptionSettingBuilder
impl Unpin for ConfigurationOptionSettingBuilder
impl UnwindSafe for ConfigurationOptionSettingBuilder
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> 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