Struct aws_sdk_ssm::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 type(self, input: DocumentParameterType) -> Self
pub fn type(self, input: DocumentParameterType) -> Self
The type of parameter. The type can be either String or StringList.
sourcepub fn set_type(self, input: Option<DocumentParameterType>) -> Self
pub fn set_type(self, input: Option<DocumentParameterType>) -> Self
The type of parameter. The type can be either String or StringList.
sourcepub fn get_type(&self) -> &Option<DocumentParameterType>
pub fn get_type(&self) -> &Option<DocumentParameterType>
The type of parameter. The type can be either String or StringList.
sourcepub fn description(self, input: impl Into<String>) -> Self
pub fn description(self, input: impl Into<String>) -> Self
A description of what the parameter does, how to use it, the default value, and whether or not the parameter is optional.
sourcepub fn set_description(self, input: Option<String>) -> Self
pub fn set_description(self, input: Option<String>) -> Self
A description of what the parameter does, how to use it, the default value, and whether or not the parameter is optional.
sourcepub fn get_description(&self) -> &Option<String>
pub fn get_description(&self) -> &Option<String>
A description of what the parameter does, how to use it, the default value, and whether or not the parameter is optional.
sourcepub fn default_value(self, input: impl Into<String>) -> Self
pub fn default_value(self, input: impl Into<String>) -> Self
If specified, the default values for the parameters. Parameters without a default value are required. Parameters with a default value are optional.
sourcepub fn set_default_value(self, input: Option<String>) -> Self
pub fn set_default_value(self, input: Option<String>) -> Self
If specified, the default values for the parameters. Parameters without a default value are required. Parameters with a default value are optional.
sourcepub fn get_default_value(&self) -> &Option<String>
pub fn get_default_value(&self) -> &Option<String>
If specified, the default values for the parameters. Parameters without a default value are required. Parameters with a default value are optional.
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 ==.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> 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