#[non_exhaustive]pub struct EnumConfigurationOptionsBuilder { /* private fields */ }
Expand description
A builder for EnumConfigurationOptions
.
Implementations§
source§impl EnumConfigurationOptionsBuilder
impl EnumConfigurationOptionsBuilder
sourcepub fn default_value(self, input: impl Into<String>) -> Self
pub fn default_value(self, input: impl Into<String>) -> Self
The Security Hub default value for a control parameter that is an enum.
sourcepub fn set_default_value(self, input: Option<String>) -> Self
pub fn set_default_value(self, input: Option<String>) -> Self
The Security Hub default value for a control parameter that is an enum.
sourcepub fn get_default_value(&self) -> &Option<String>
pub fn get_default_value(&self) -> &Option<String>
The Security Hub default value for a control parameter that is an enum.
sourcepub fn allowed_values(self, input: impl Into<String>) -> Self
pub fn allowed_values(self, input: impl Into<String>) -> Self
Appends an item to allowed_values
.
To override the contents of this collection use set_allowed_values
.
The valid values for a control parameter that is an enum.
sourcepub fn set_allowed_values(self, input: Option<Vec<String>>) -> Self
pub fn set_allowed_values(self, input: Option<Vec<String>>) -> Self
The valid values for a control parameter that is an enum.
sourcepub fn get_allowed_values(&self) -> &Option<Vec<String>>
pub fn get_allowed_values(&self) -> &Option<Vec<String>>
The valid values for a control parameter that is an enum.
sourcepub fn build(self) -> EnumConfigurationOptions
pub fn build(self) -> EnumConfigurationOptions
Consumes the builder and constructs a EnumConfigurationOptions
.
Trait Implementations§
source§impl Clone for EnumConfigurationOptionsBuilder
impl Clone for EnumConfigurationOptionsBuilder
source§fn clone(&self) -> EnumConfigurationOptionsBuilder
fn clone(&self) -> EnumConfigurationOptionsBuilder
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Default for EnumConfigurationOptionsBuilder
impl Default for EnumConfigurationOptionsBuilder
source§fn default() -> EnumConfigurationOptionsBuilder
fn default() -> EnumConfigurationOptionsBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq for EnumConfigurationOptionsBuilder
impl PartialEq for EnumConfigurationOptionsBuilder
source§fn eq(&self, other: &EnumConfigurationOptionsBuilder) -> bool
fn eq(&self, other: &EnumConfigurationOptionsBuilder) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for EnumConfigurationOptionsBuilder
Auto Trait Implementations§
impl RefUnwindSafe for EnumConfigurationOptionsBuilder
impl Send for EnumConfigurationOptionsBuilder
impl Sync for EnumConfigurationOptionsBuilder
impl Unpin for EnumConfigurationOptionsBuilder
impl UnwindSafe for EnumConfigurationOptionsBuilder
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
Mutably borrows from an owned value. Read more
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>
Creates a shared type from an unshared type.