Struct aws_sdk_iot::types::builders::DocumentParameterBuilder
source · #[non_exhaustive]pub struct DocumentParameterBuilder { /* private fields */ }
Expand description
A builder for DocumentParameter
.
Implementations§
source§impl DocumentParameterBuilder
impl DocumentParameterBuilder
sourcepub fn key(self, input: impl Into<String>) -> Self
pub fn key(self, input: impl Into<String>) -> Self
Key of the map field containing the patterns that need to be replaced in a managed template job document schema.
sourcepub fn set_key(self, input: Option<String>) -> Self
pub fn set_key(self, input: Option<String>) -> Self
Key of the map field containing the patterns that need to be replaced in a managed template job document schema.
sourcepub fn get_key(&self) -> &Option<String>
pub fn get_key(&self) -> &Option<String>
Key of the map field containing the patterns that need to be replaced in a managed template job document schema.
sourcepub fn description(self, input: impl Into<String>) -> Self
pub fn description(self, input: impl Into<String>) -> Self
Description of the map field containing the patterns that need to be replaced in a managed template job document schema.
sourcepub fn set_description(self, input: Option<String>) -> Self
pub fn set_description(self, input: Option<String>) -> Self
Description of the map field containing the patterns that need to be replaced in a managed template job document schema.
sourcepub fn get_description(&self) -> &Option<String>
pub fn get_description(&self) -> &Option<String>
Description of the map field containing the patterns that need to be replaced in a managed template job document schema.
sourcepub fn regex(self, input: impl Into<String>) -> Self
pub fn regex(self, input: impl Into<String>) -> Self
A regular expression of the patterns that need to be replaced in a managed template job document schema.
sourcepub fn set_regex(self, input: Option<String>) -> Self
pub fn set_regex(self, input: Option<String>) -> Self
A regular expression of the patterns that need to be replaced in a managed template job document schema.
sourcepub fn get_regex(&self) -> &Option<String>
pub fn get_regex(&self) -> &Option<String>
A regular expression of the patterns that need to be replaced in a managed template job document schema.
sourcepub fn example(self, input: impl Into<String>) -> Self
pub fn example(self, input: impl Into<String>) -> Self
An example illustrating a pattern that need to be replaced in a managed template job document schema.
sourcepub fn set_example(self, input: Option<String>) -> Self
pub fn set_example(self, input: Option<String>) -> Self
An example illustrating a pattern that need to be replaced in a managed template job document schema.
sourcepub fn get_example(&self) -> &Option<String>
pub fn get_example(&self) -> &Option<String>
An example illustrating a pattern that need to be replaced in a managed template job document schema.
sourcepub fn optional(self, input: bool) -> Self
pub fn optional(self, input: bool) -> Self
Specifies whether a pattern that needs to be replaced in a managed template job document schema is optional or required.
sourcepub fn set_optional(self, input: Option<bool>) -> Self
pub fn set_optional(self, input: Option<bool>) -> Self
Specifies whether a pattern that needs to be replaced in a managed template job document schema is optional or required.
sourcepub fn get_optional(&self) -> &Option<bool>
pub fn get_optional(&self) -> &Option<bool>
Specifies whether a pattern that needs to be replaced in a managed template job document schema is optional or required.
sourcepub fn build(self) -> DocumentParameter
pub fn build(self) -> DocumentParameter
Consumes the builder and constructs a DocumentParameter
.
Trait Implementations§
source§impl Clone for DocumentParameterBuilder
impl Clone for DocumentParameterBuilder
source§fn clone(&self) -> DocumentParameterBuilder
fn clone(&self) -> DocumentParameterBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for DocumentParameterBuilder
impl Debug for DocumentParameterBuilder
source§impl Default for DocumentParameterBuilder
impl Default for DocumentParameterBuilder
source§fn default() -> DocumentParameterBuilder
fn default() -> DocumentParameterBuilder
source§impl PartialEq for DocumentParameterBuilder
impl PartialEq for DocumentParameterBuilder
source§fn eq(&self, other: &DocumentParameterBuilder) -> bool
fn eq(&self, other: &DocumentParameterBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.