#[non_exhaustive]pub struct AwsCloudMapInstanceAttributeBuilder { /* private fields */ }
Expand description
A builder for AwsCloudMapInstanceAttribute
.
Implementations§
source§impl AwsCloudMapInstanceAttributeBuilder
impl AwsCloudMapInstanceAttributeBuilder
sourcepub fn key(self, input: impl Into<String>) -> Self
pub fn key(self, input: impl Into<String>) -> Self
The name of an Cloud Map service instance attribute key. Any Cloud Map service instance that contains the specified key and value is returned.
This field is required.sourcepub fn set_key(self, input: Option<String>) -> Self
pub fn set_key(self, input: Option<String>) -> Self
The name of an Cloud Map service instance attribute key. Any Cloud Map service instance that contains the specified key and value is returned.
sourcepub fn get_key(&self) -> &Option<String>
pub fn get_key(&self) -> &Option<String>
The name of an Cloud Map service instance attribute key. Any Cloud Map service instance that contains the specified key and value is returned.
sourcepub fn value(self, input: impl Into<String>) -> Self
pub fn value(self, input: impl Into<String>) -> Self
The value of an Cloud Map service instance attribute key. Any Cloud Map service instance that contains the specified key and value is returned.
This field is required.sourcepub fn set_value(self, input: Option<String>) -> Self
pub fn set_value(self, input: Option<String>) -> Self
The value of an Cloud Map service instance attribute key. Any Cloud Map service instance that contains the specified key and value is returned.
sourcepub fn get_value(&self) -> &Option<String>
pub fn get_value(&self) -> &Option<String>
The value of an Cloud Map service instance attribute key. Any Cloud Map service instance that contains the specified key and value is returned.
sourcepub fn build(self) -> Result<AwsCloudMapInstanceAttribute, BuildError>
pub fn build(self) -> Result<AwsCloudMapInstanceAttribute, BuildError>
Consumes the builder and constructs a AwsCloudMapInstanceAttribute
.
This method will fail if any of the following fields are not set:
Trait Implementations§
source§impl Clone for AwsCloudMapInstanceAttributeBuilder
impl Clone for AwsCloudMapInstanceAttributeBuilder
source§fn clone(&self) -> AwsCloudMapInstanceAttributeBuilder
fn clone(&self) -> AwsCloudMapInstanceAttributeBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Default for AwsCloudMapInstanceAttributeBuilder
impl Default for AwsCloudMapInstanceAttributeBuilder
source§fn default() -> AwsCloudMapInstanceAttributeBuilder
fn default() -> AwsCloudMapInstanceAttributeBuilder
source§impl PartialEq for AwsCloudMapInstanceAttributeBuilder
impl PartialEq for AwsCloudMapInstanceAttributeBuilder
source§fn eq(&self, other: &AwsCloudMapInstanceAttributeBuilder) -> bool
fn eq(&self, other: &AwsCloudMapInstanceAttributeBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for AwsCloudMapInstanceAttributeBuilder
Auto Trait Implementations§
impl Freeze for AwsCloudMapInstanceAttributeBuilder
impl RefUnwindSafe for AwsCloudMapInstanceAttributeBuilder
impl Send for AwsCloudMapInstanceAttributeBuilder
impl Sync for AwsCloudMapInstanceAttributeBuilder
impl Unpin for AwsCloudMapInstanceAttributeBuilder
impl UnwindSafe for AwsCloudMapInstanceAttributeBuilder
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> 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