#[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 ==
.