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
impl StructuralPartialEq for DocumentParameterBuilder
Auto Trait Implementations§
impl Freeze for DocumentParameterBuilder
impl RefUnwindSafe for DocumentParameterBuilder
impl Send for DocumentParameterBuilder
impl Sync for DocumentParameterBuilder
impl Unpin for DocumentParameterBuilder
impl UnwindSafe for DocumentParameterBuilder
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> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
clone_to_uninit
)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