#[non_exhaustive]pub struct StringConfigurationOptionsBuilder { /* private fields */ }
Expand description
A builder for StringConfigurationOptions
.
Implementations§
source§impl StringConfigurationOptionsBuilder
impl StringConfigurationOptionsBuilder
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 a string.
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 a string.
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 a string.
sourcepub fn re2_expression(self, input: impl Into<String>) -> Self
pub fn re2_expression(self, input: impl Into<String>) -> Self
An RE2 regular expression that Security Hub uses to validate a user-provided control parameter string.
sourcepub fn set_re2_expression(self, input: Option<String>) -> Self
pub fn set_re2_expression(self, input: Option<String>) -> Self
An RE2 regular expression that Security Hub uses to validate a user-provided control parameter string.
sourcepub fn get_re2_expression(&self) -> &Option<String>
pub fn get_re2_expression(&self) -> &Option<String>
An RE2 regular expression that Security Hub uses to validate a user-provided control parameter string.
sourcepub fn expression_description(self, input: impl Into<String>) -> Self
pub fn expression_description(self, input: impl Into<String>) -> Self
The description of the RE2 regular expression.
sourcepub fn set_expression_description(self, input: Option<String>) -> Self
pub fn set_expression_description(self, input: Option<String>) -> Self
The description of the RE2 regular expression.
sourcepub fn get_expression_description(&self) -> &Option<String>
pub fn get_expression_description(&self) -> &Option<String>
The description of the RE2 regular expression.
sourcepub fn build(self) -> StringConfigurationOptions
pub fn build(self) -> StringConfigurationOptions
Consumes the builder and constructs a StringConfigurationOptions
.
Trait Implementations§
source§impl Clone for StringConfigurationOptionsBuilder
impl Clone for StringConfigurationOptionsBuilder
source§fn clone(&self) -> StringConfigurationOptionsBuilder
fn clone(&self) -> StringConfigurationOptionsBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Default for StringConfigurationOptionsBuilder
impl Default for StringConfigurationOptionsBuilder
source§fn default() -> StringConfigurationOptionsBuilder
fn default() -> StringConfigurationOptionsBuilder
source§impl PartialEq for StringConfigurationOptionsBuilder
impl PartialEq for StringConfigurationOptionsBuilder
source§fn eq(&self, other: &StringConfigurationOptionsBuilder) -> bool
fn eq(&self, other: &StringConfigurationOptionsBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for StringConfigurationOptionsBuilder
Auto Trait Implementations§
impl Freeze for StringConfigurationOptionsBuilder
impl RefUnwindSafe for StringConfigurationOptionsBuilder
impl Send for StringConfigurationOptionsBuilder
impl Sync for StringConfigurationOptionsBuilder
impl Unpin for StringConfigurationOptionsBuilder
impl UnwindSafe for StringConfigurationOptionsBuilder
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