Struct aws_sdk_ssm::types::builders::ParameterMetadataBuilder
source · #[non_exhaustive]pub struct ParameterMetadataBuilder { /* private fields */ }
Expand description
A builder for ParameterMetadata
.
Implementations§
source§impl ParameterMetadataBuilder
impl ParameterMetadataBuilder
sourcepub fn arn(self, input: impl Into<String>) -> Self
pub fn arn(self, input: impl Into<String>) -> Self
The (ARN) of the last user to update the parameter.
sourcepub fn set_arn(self, input: Option<String>) -> Self
pub fn set_arn(self, input: Option<String>) -> Self
The (ARN) of the last user to update the parameter.
sourcepub fn type(self, input: ParameterType) -> Self
pub fn type(self, input: ParameterType) -> Self
The type of parameter. Valid parameter types include the following: String
, StringList
, and SecureString
.
sourcepub fn set_type(self, input: Option<ParameterType>) -> Self
pub fn set_type(self, input: Option<ParameterType>) -> Self
The type of parameter. Valid parameter types include the following: String
, StringList
, and SecureString
.
sourcepub fn get_type(&self) -> &Option<ParameterType>
pub fn get_type(&self) -> &Option<ParameterType>
The type of parameter. Valid parameter types include the following: String
, StringList
, and SecureString
.
sourcepub fn key_id(self, input: impl Into<String>) -> Self
pub fn key_id(self, input: impl Into<String>) -> Self
The alias of the Key Management Service (KMS) key used to encrypt the parameter. Applies to SecureString
parameters only.
sourcepub fn set_key_id(self, input: Option<String>) -> Self
pub fn set_key_id(self, input: Option<String>) -> Self
The alias of the Key Management Service (KMS) key used to encrypt the parameter. Applies to SecureString
parameters only.
sourcepub fn get_key_id(&self) -> &Option<String>
pub fn get_key_id(&self) -> &Option<String>
The alias of the Key Management Service (KMS) key used to encrypt the parameter. Applies to SecureString
parameters only.
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.
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.
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.
sourcepub fn last_modified_user(self, input: impl Into<String>) -> Self
pub fn last_modified_user(self, input: impl Into<String>) -> Self
Amazon Resource Name (ARN) of the Amazon Web Services user who last changed the parameter.
sourcepub fn set_last_modified_user(self, input: Option<String>) -> Self
pub fn set_last_modified_user(self, input: Option<String>) -> Self
Amazon Resource Name (ARN) of the Amazon Web Services user who last changed the parameter.
sourcepub fn get_last_modified_user(&self) -> &Option<String>
pub fn get_last_modified_user(&self) -> &Option<String>
Amazon Resource Name (ARN) of the Amazon Web Services user who last changed the parameter.
sourcepub fn description(self, input: impl Into<String>) -> Self
pub fn description(self, input: impl Into<String>) -> Self
Description of the parameter actions.
sourcepub fn set_description(self, input: Option<String>) -> Self
pub fn set_description(self, input: Option<String>) -> Self
Description of the parameter actions.
sourcepub fn get_description(&self) -> &Option<String>
pub fn get_description(&self) -> &Option<String>
Description of the parameter actions.
sourcepub fn allowed_pattern(self, input: impl Into<String>) -> Self
pub fn allowed_pattern(self, input: impl Into<String>) -> Self
A parameter name can include only the following letters and symbols.
a-zA-Z0-9_.-
sourcepub fn set_allowed_pattern(self, input: Option<String>) -> Self
pub fn set_allowed_pattern(self, input: Option<String>) -> Self
A parameter name can include only the following letters and symbols.
a-zA-Z0-9_.-
sourcepub fn get_allowed_pattern(&self) -> &Option<String>
pub fn get_allowed_pattern(&self) -> &Option<String>
A parameter name can include only the following letters and symbols.
a-zA-Z0-9_.-
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 tier(self, input: ParameterTier) -> Self
pub fn tier(self, input: ParameterTier) -> Self
The parameter tier.
sourcepub fn set_tier(self, input: Option<ParameterTier>) -> Self
pub fn set_tier(self, input: Option<ParameterTier>) -> Self
The parameter tier.
sourcepub fn get_tier(&self) -> &Option<ParameterTier>
pub fn get_tier(&self) -> &Option<ParameterTier>
The parameter tier.
sourcepub fn policies(self, input: ParameterInlinePolicy) -> Self
pub fn policies(self, input: ParameterInlinePolicy) -> Self
Appends an item to policies
.
To override the contents of this collection use set_policies
.
A list of policies associated with a parameter.
sourcepub fn set_policies(self, input: Option<Vec<ParameterInlinePolicy>>) -> Self
pub fn set_policies(self, input: Option<Vec<ParameterInlinePolicy>>) -> Self
A list of policies associated with a parameter.
sourcepub fn get_policies(&self) -> &Option<Vec<ParameterInlinePolicy>>
pub fn get_policies(&self) -> &Option<Vec<ParameterInlinePolicy>>
A list of policies associated with a 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
.
sourcepub fn build(self) -> ParameterMetadata
pub fn build(self) -> ParameterMetadata
Consumes the builder and constructs a ParameterMetadata
.
Trait Implementations§
source§impl Clone for ParameterMetadataBuilder
impl Clone for ParameterMetadataBuilder
source§fn clone(&self) -> ParameterMetadataBuilder
fn clone(&self) -> ParameterMetadataBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for ParameterMetadataBuilder
impl Debug for ParameterMetadataBuilder
source§impl Default for ParameterMetadataBuilder
impl Default for ParameterMetadataBuilder
source§fn default() -> ParameterMetadataBuilder
fn default() -> ParameterMetadataBuilder
source§impl PartialEq for ParameterMetadataBuilder
impl PartialEq for ParameterMetadataBuilder
source§fn eq(&self, other: &ParameterMetadataBuilder) -> bool
fn eq(&self, other: &ParameterMetadataBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.