Struct aws_sdk_ssm::operation::unlabel_parameter_version::builders::UnlabelParameterVersionInputBuilder
source · #[non_exhaustive]pub struct UnlabelParameterVersionInputBuilder { /* private fields */ }
Expand description
A builder for UnlabelParameterVersionInput
.
Implementations§
source§impl UnlabelParameterVersionInputBuilder
impl UnlabelParameterVersionInputBuilder
sourcepub fn name(self, input: impl Into<String>) -> Self
pub fn name(self, input: impl Into<String>) -> Self
The name of the parameter from which you want to delete 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 name of the parameter from which you want to delete 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 name of the parameter from which you want to delete 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 which you want to delete one or more labels from. If it isn't present, the call will fail.
This field is required.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 which you want to delete one or more labels from. If it isn't present, the call will fail.
sourcepub fn get_parameter_version(&self) -> &Option<i64>
pub fn get_parameter_version(&self) -> &Option<i64>
The specific version of the parameter which you want to delete one or more labels from. If it isn't present, the call will fail.
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 delete from 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 delete from 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 delete from the specified parameter version.
sourcepub fn build(self) -> Result<UnlabelParameterVersionInput, BuildError>
pub fn build(self) -> Result<UnlabelParameterVersionInput, BuildError>
Consumes the builder and constructs a UnlabelParameterVersionInput
.
source§impl UnlabelParameterVersionInputBuilder
impl UnlabelParameterVersionInputBuilder
sourcepub async fn send_with(
self,
client: &Client
) -> Result<UnlabelParameterVersionOutput, SdkError<UnlabelParameterVersionError, HttpResponse>>
pub async fn send_with( self, client: &Client ) -> Result<UnlabelParameterVersionOutput, SdkError<UnlabelParameterVersionError, HttpResponse>>
Sends a request with this input using the given client.
Trait Implementations§
source§impl Clone for UnlabelParameterVersionInputBuilder
impl Clone for UnlabelParameterVersionInputBuilder
source§fn clone(&self) -> UnlabelParameterVersionInputBuilder
fn clone(&self) -> UnlabelParameterVersionInputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Default for UnlabelParameterVersionInputBuilder
impl Default for UnlabelParameterVersionInputBuilder
source§fn default() -> UnlabelParameterVersionInputBuilder
fn default() -> UnlabelParameterVersionInputBuilder
source§impl PartialEq for UnlabelParameterVersionInputBuilder
impl PartialEq for UnlabelParameterVersionInputBuilder
source§fn eq(&self, other: &UnlabelParameterVersionInputBuilder) -> bool
fn eq(&self, other: &UnlabelParameterVersionInputBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.