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