Struct aws_sdk_connectcases::types::builders::FieldOptionBuilder
source · #[non_exhaustive]pub struct FieldOptionBuilder { /* private fields */ }
Expand description
A builder for FieldOption
.
Implementations§
source§impl FieldOptionBuilder
impl FieldOptionBuilder
sourcepub fn name(self, input: impl Into<String>) -> Self
pub fn name(self, input: impl Into<String>) -> Self
FieldOptionName
has max length 100 and disallows trailing spaces.
sourcepub fn set_name(self, input: Option<String>) -> Self
pub fn set_name(self, input: Option<String>) -> Self
FieldOptionName
has max length 100 and disallows trailing spaces.
sourcepub fn get_name(&self) -> &Option<String>
pub fn get_name(&self) -> &Option<String>
FieldOptionName
has max length 100 and disallows trailing spaces.
sourcepub fn value(self, input: impl Into<String>) -> Self
pub fn value(self, input: impl Into<String>) -> Self
FieldOptionValue
has max length 100 and must be alphanumeric with hyphens and underscores.
sourcepub fn set_value(self, input: Option<String>) -> Self
pub fn set_value(self, input: Option<String>) -> Self
FieldOptionValue
has max length 100 and must be alphanumeric with hyphens and underscores.
sourcepub fn get_value(&self) -> &Option<String>
pub fn get_value(&self) -> &Option<String>
FieldOptionValue
has max length 100 and must be alphanumeric with hyphens and underscores.
sourcepub fn active(self, input: bool) -> Self
pub fn active(self, input: bool) -> Self
Describes whether the FieldOption
is active (displayed) or inactive.
sourcepub fn set_active(self, input: Option<bool>) -> Self
pub fn set_active(self, input: Option<bool>) -> Self
Describes whether the FieldOption
is active (displayed) or inactive.
sourcepub fn get_active(&self) -> &Option<bool>
pub fn get_active(&self) -> &Option<bool>
Describes whether the FieldOption
is active (displayed) or inactive.
sourcepub fn build(self) -> FieldOption
pub fn build(self) -> FieldOption
Consumes the builder and constructs a FieldOption
.
Trait Implementations§
source§impl Clone for FieldOptionBuilder
impl Clone for FieldOptionBuilder
source§fn clone(&self) -> FieldOptionBuilder
fn clone(&self) -> FieldOptionBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for FieldOptionBuilder
impl Debug for FieldOptionBuilder
source§impl Default for FieldOptionBuilder
impl Default for FieldOptionBuilder
source§fn default() -> FieldOptionBuilder
fn default() -> FieldOptionBuilder
source§impl PartialEq for FieldOptionBuilder
impl PartialEq for FieldOptionBuilder
source§fn eq(&self, other: &FieldOptionBuilder) -> bool
fn eq(&self, other: &FieldOptionBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.