#[non_exhaustive]pub struct PutLabelInputBuilder { /* private fields */ }
Expand description
A builder for PutLabelInput
.
Implementations§
source§impl PutLabelInputBuilder
impl PutLabelInputBuilder
sourcepub fn description(self, input: impl Into<String>) -> Self
pub fn description(self, input: impl Into<String>) -> Self
The label description.
sourcepub fn set_description(self, input: Option<String>) -> Self
pub fn set_description(self, input: Option<String>) -> Self
The label description.
sourcepub fn get_description(&self) -> &Option<String>
pub fn get_description(&self) -> &Option<String>
The label description.
Appends an item to tags
.
To override the contents of this collection use set_tags
.
A collection of key and value pairs.
A collection of key and value pairs.
A collection of key and value pairs.
sourcepub fn build(self) -> Result<PutLabelInput, BuildError>
pub fn build(self) -> Result<PutLabelInput, BuildError>
Consumes the builder and constructs a PutLabelInput
.
source§impl PutLabelInputBuilder
impl PutLabelInputBuilder
sourcepub async fn send_with(
self,
client: &Client
) -> Result<PutLabelOutput, SdkError<PutLabelError, HttpResponse>>
pub async fn send_with( self, client: &Client ) -> Result<PutLabelOutput, SdkError<PutLabelError, HttpResponse>>
Sends a request with this input using the given client.
Trait Implementations§
source§impl Clone for PutLabelInputBuilder
impl Clone for PutLabelInputBuilder
source§fn clone(&self) -> PutLabelInputBuilder
fn clone(&self) -> PutLabelInputBuilder
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for PutLabelInputBuilder
impl Debug for PutLabelInputBuilder
source§impl Default for PutLabelInputBuilder
impl Default for PutLabelInputBuilder
source§fn default() -> PutLabelInputBuilder
fn default() -> PutLabelInputBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq for PutLabelInputBuilder
impl PartialEq for PutLabelInputBuilder
source§fn eq(&self, other: &PutLabelInputBuilder) -> bool
fn eq(&self, other: &PutLabelInputBuilder) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for PutLabelInputBuilder
Auto Trait Implementations§
impl Freeze for PutLabelInputBuilder
impl RefUnwindSafe for PutLabelInputBuilder
impl Send for PutLabelInputBuilder
impl Sync for PutLabelInputBuilder
impl Unpin for PutLabelInputBuilder
impl UnwindSafe for PutLabelInputBuilder
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
Mutably borrows from an owned value. Read more
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>
Creates a shared type from an unshared type.