#[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 ==
.