Struct aws_sdk_networkmanager::types::builders::TagBuilder
source · #[non_exhaustive]pub struct TagBuilder { /* private fields */ }
Expand description
A builder for Tag
.
Implementations§
source§impl TagBuilder
impl TagBuilder
sourcepub fn key(self, input: impl Into<String>) -> Self
pub fn key(self, input: impl Into<String>) -> Self
The tag key.
Constraints: Maximum length of 128 characters.
sourcepub fn set_key(self, input: Option<String>) -> Self
pub fn set_key(self, input: Option<String>) -> Self
The tag key.
Constraints: Maximum length of 128 characters.
sourcepub fn get_key(&self) -> &Option<String>
pub fn get_key(&self) -> &Option<String>
The tag key.
Constraints: Maximum length of 128 characters.
sourcepub fn value(self, input: impl Into<String>) -> Self
pub fn value(self, input: impl Into<String>) -> Self
The tag value.
Constraints: Maximum length of 256 characters.
sourcepub fn set_value(self, input: Option<String>) -> Self
pub fn set_value(self, input: Option<String>) -> Self
The tag value.
Constraints: Maximum length of 256 characters.
Trait Implementations§
source§impl Clone for TagBuilder
impl Clone for TagBuilder
source§fn clone(&self) -> TagBuilder
fn clone(&self) -> TagBuilder
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 TagBuilder
impl Debug for TagBuilder
source§impl Default for TagBuilder
impl Default for TagBuilder
source§fn default() -> TagBuilder
fn default() -> TagBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq for TagBuilder
impl PartialEq for TagBuilder
source§fn eq(&self, other: &TagBuilder) -> bool
fn eq(&self, other: &TagBuilder) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for TagBuilder
Auto Trait Implementations§
impl Freeze for TagBuilder
impl RefUnwindSafe for TagBuilder
impl Send for TagBuilder
impl Sync for TagBuilder
impl Unpin for TagBuilder
impl UnwindSafe for TagBuilder
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.