Struct aws_sdk_ssm::types::builders::ParameterBuilder
source · #[non_exhaustive]pub struct ParameterBuilder { /* private fields */ }
Expand description
A builder for Parameter
.
Implementations§
source§impl ParameterBuilder
impl ParameterBuilder
sourcepub fn type(self, input: ParameterType) -> Self
pub fn type(self, input: ParameterType) -> Self
The type of parameter. Valid values include the following: String
, StringList
, and SecureString
.
If type is StringList
, the system returns a comma-separated string with no spaces between commas in the Value
field.
sourcepub fn set_type(self, input: Option<ParameterType>) -> Self
pub fn set_type(self, input: Option<ParameterType>) -> Self
The type of parameter. Valid values include the following: String
, StringList
, and SecureString
.
If type is StringList
, the system returns a comma-separated string with no spaces between commas in the Value
field.
sourcepub fn get_type(&self) -> &Option<ParameterType>
pub fn get_type(&self) -> &Option<ParameterType>
The type of parameter. Valid values include the following: String
, StringList
, and SecureString
.
If type is StringList
, the system returns a comma-separated string with no spaces between commas in the Value
field.
sourcepub fn value(self, input: impl Into<String>) -> Self
pub fn value(self, input: impl Into<String>) -> Self
The parameter value.
If type is StringList
, the system returns a comma-separated string with no spaces between commas in the Value
field.
sourcepub fn set_value(self, input: Option<String>) -> Self
pub fn set_value(self, input: Option<String>) -> Self
The parameter value.
If type is StringList
, the system returns a comma-separated string with no spaces between commas in the Value
field.
sourcepub fn get_value(&self) -> &Option<String>
pub fn get_value(&self) -> &Option<String>
The parameter value.
If type is StringList
, the system returns a comma-separated string with no spaces between commas in the Value
field.
sourcepub fn set_version(self, input: Option<i64>) -> Self
pub fn set_version(self, input: Option<i64>) -> Self
The parameter version.
sourcepub fn get_version(&self) -> &Option<i64>
pub fn get_version(&self) -> &Option<i64>
The parameter version.
sourcepub fn selector(self, input: impl Into<String>) -> Self
pub fn selector(self, input: impl Into<String>) -> Self
Either the version number or the label used to retrieve the parameter value. Specify selectors by using one of the following formats:
parameter_name:version
parameter_name:label
sourcepub fn set_selector(self, input: Option<String>) -> Self
pub fn set_selector(self, input: Option<String>) -> Self
Either the version number or the label used to retrieve the parameter value. Specify selectors by using one of the following formats:
parameter_name:version
parameter_name:label
sourcepub fn get_selector(&self) -> &Option<String>
pub fn get_selector(&self) -> &Option<String>
Either the version number or the label used to retrieve the parameter value. Specify selectors by using one of the following formats:
parameter_name:version
parameter_name:label
sourcepub fn source_result(self, input: impl Into<String>) -> Self
pub fn source_result(self, input: impl Into<String>) -> Self
Applies to parameters that reference information in other Amazon Web Services services. SourceResult
is the raw result or response from the source.
sourcepub fn set_source_result(self, input: Option<String>) -> Self
pub fn set_source_result(self, input: Option<String>) -> Self
Applies to parameters that reference information in other Amazon Web Services services. SourceResult
is the raw result or response from the source.
sourcepub fn get_source_result(&self) -> &Option<String>
pub fn get_source_result(&self) -> &Option<String>
Applies to parameters that reference information in other Amazon Web Services services. SourceResult
is the raw result or response from the source.
sourcepub fn last_modified_date(self, input: DateTime) -> Self
pub fn last_modified_date(self, input: DateTime) -> Self
Date the parameter was last changed or updated and the parameter version was created.
sourcepub fn set_last_modified_date(self, input: Option<DateTime>) -> Self
pub fn set_last_modified_date(self, input: Option<DateTime>) -> Self
Date the parameter was last changed or updated and the parameter version was created.
sourcepub fn get_last_modified_date(&self) -> &Option<DateTime>
pub fn get_last_modified_date(&self) -> &Option<DateTime>
Date the parameter was last changed or updated and the parameter version was created.
sourcepub fn arn(self, input: impl Into<String>) -> Self
pub fn arn(self, input: impl Into<String>) -> Self
The Amazon Resource Name (ARN) of the parameter.
sourcepub fn set_arn(self, input: Option<String>) -> Self
pub fn set_arn(self, input: Option<String>) -> Self
The Amazon Resource Name (ARN) of the parameter.
sourcepub fn data_type(self, input: impl Into<String>) -> Self
pub fn data_type(self, input: impl Into<String>) -> Self
The data type of the parameter, such as text
or aws:ec2:image
. The default is text
.
sourcepub fn set_data_type(self, input: Option<String>) -> Self
pub fn set_data_type(self, input: Option<String>) -> Self
The data type of the parameter, such as text
or aws:ec2:image
. The default is text
.
sourcepub fn get_data_type(&self) -> &Option<String>
pub fn get_data_type(&self) -> &Option<String>
The data type of the parameter, such as text
or aws:ec2:image
. The default is text
.
Trait Implementations§
source§impl Clone for ParameterBuilder
impl Clone for ParameterBuilder
source§fn clone(&self) -> ParameterBuilder
fn clone(&self) -> ParameterBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for ParameterBuilder
impl Debug for ParameterBuilder
source§impl Default for ParameterBuilder
impl Default for ParameterBuilder
source§fn default() -> ParameterBuilder
fn default() -> ParameterBuilder
source§impl PartialEq for ParameterBuilder
impl PartialEq for ParameterBuilder
source§fn eq(&self, other: &ParameterBuilder) -> bool
fn eq(&self, other: &ParameterBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for ParameterBuilder
Auto Trait Implementations§
impl Freeze for ParameterBuilder
impl RefUnwindSafe for ParameterBuilder
impl Send for ParameterBuilder
impl Sync for ParameterBuilder
impl Unpin for ParameterBuilder
impl UnwindSafe for ParameterBuilder
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