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 ==
.impl StructuralPartialEq for LabelParameterVersionInputBuilder
Auto Trait Implementations§
impl Freeze for LabelParameterVersionInputBuilder
impl RefUnwindSafe for LabelParameterVersionInputBuilder
impl Send for LabelParameterVersionInputBuilder
impl Sync for LabelParameterVersionInputBuilder
impl Unpin for LabelParameterVersionInputBuilder
impl UnwindSafe for LabelParameterVersionInputBuilder
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> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
clone_to_uninit
)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