Struct aws_sdk_ssm::operation::label_parameter_version::builders::LabelParameterVersionInputBuilder
source · #[non_exhaustive]pub struct LabelParameterVersionInputBuilder { /* private fields */ }
Expand description
A builder for LabelParameterVersionInput
.
Implementations§
source§impl LabelParameterVersionInputBuilder
impl LabelParameterVersionInputBuilder
sourcepub fn name(self, input: impl Into<String>) -> Self
pub fn name(self, input: impl Into<String>) -> Self
The parameter name on which you want to attach one or more labels.
You can't enter the Amazon Resource Name (ARN) for a parameter, only the parameter name itself.
sourcepub fn set_name(self, input: Option<String>) -> Self
pub fn set_name(self, input: Option<String>) -> Self
The parameter name on which you want to attach one or more labels.
You can't enter the Amazon Resource Name (ARN) for a parameter, only the parameter name itself.
sourcepub fn get_name(&self) -> &Option<String>
pub fn get_name(&self) -> &Option<String>
The parameter name on which you want to attach one or more labels.
You can't enter the Amazon Resource Name (ARN) for a parameter, only the parameter name itself.
sourcepub fn parameter_version(self, input: i64) -> Self
pub fn parameter_version(self, input: i64) -> Self
The specific version of the parameter on which you want to attach one or more labels. If no version is specified, the system attaches the label to the latest version.
sourcepub fn set_parameter_version(self, input: Option<i64>) -> Self
pub fn set_parameter_version(self, input: Option<i64>) -> Self
The specific version of the parameter on which you want to attach one or more labels. If no version is specified, the system attaches the label to the latest version.
sourcepub fn get_parameter_version(&self) -> &Option<i64>
pub fn get_parameter_version(&self) -> &Option<i64>
The specific version of the parameter on which you want to attach one or more labels. If no version is specified, the system attaches the label to the latest version.
sourcepub fn labels(self, input: impl Into<String>) -> Self
pub fn labels(self, input: impl Into<String>) -> Self
Appends an item to labels
.
To override the contents of this collection use set_labels
.
One or more labels to attach to the specified parameter version.
sourcepub fn set_labels(self, input: Option<Vec<String>>) -> Self
pub fn set_labels(self, input: Option<Vec<String>>) -> Self
One or more labels to attach to the specified parameter version.
sourcepub fn get_labels(&self) -> &Option<Vec<String>>
pub fn get_labels(&self) -> &Option<Vec<String>>
One or more labels to attach to the specified parameter version.
sourcepub fn build(self) -> Result<LabelParameterVersionInput, BuildError>
pub fn build(self) -> Result<LabelParameterVersionInput, BuildError>
Consumes the builder and constructs a LabelParameterVersionInput
.
source§impl LabelParameterVersionInputBuilder
impl LabelParameterVersionInputBuilder
sourcepub async fn send_with(
self,
client: &Client
) -> Result<LabelParameterVersionOutput, SdkError<LabelParameterVersionError, HttpResponse>>
pub async fn send_with( self, client: &Client ) -> Result<LabelParameterVersionOutput, SdkError<LabelParameterVersionError, HttpResponse>>
Sends a request with this input using the given client.
Trait Implementations§
source§impl Clone for LabelParameterVersionInputBuilder
impl Clone for LabelParameterVersionInputBuilder
source§fn clone(&self) -> LabelParameterVersionInputBuilder
fn clone(&self) -> LabelParameterVersionInputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Default for LabelParameterVersionInputBuilder
impl Default for LabelParameterVersionInputBuilder
source§fn default() -> LabelParameterVersionInputBuilder
fn default() -> LabelParameterVersionInputBuilder
source§impl PartialEq for LabelParameterVersionInputBuilder
impl PartialEq for LabelParameterVersionInputBuilder
source§fn eq(&self, other: &LabelParameterVersionInputBuilder) -> bool
fn eq(&self, other: &LabelParameterVersionInputBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.