Struct aws_sdk_ssm::types::builders::ResultAttributeBuilder
source · #[non_exhaustive]pub struct ResultAttributeBuilder { /* private fields */ }
Expand description
A builder for ResultAttribute
.
Implementations§
source§impl ResultAttributeBuilder
impl ResultAttributeBuilder
sourcepub fn type_name(self, input: impl Into<String>) -> Self
pub fn type_name(self, input: impl Into<String>) -> Self
Name of the inventory item type. Valid value: AWS:InstanceInformation
. Default Value: AWS:InstanceInformation
.
sourcepub fn set_type_name(self, input: Option<String>) -> Self
pub fn set_type_name(self, input: Option<String>) -> Self
Name of the inventory item type. Valid value: AWS:InstanceInformation
. Default Value: AWS:InstanceInformation
.
sourcepub fn get_type_name(&self) -> &Option<String>
pub fn get_type_name(&self) -> &Option<String>
Name of the inventory item type. Valid value: AWS:InstanceInformation
. Default Value: AWS:InstanceInformation
.
sourcepub fn build(self) -> Result<ResultAttribute, BuildError>
pub fn build(self) -> Result<ResultAttribute, BuildError>
Consumes the builder and constructs a ResultAttribute
.
This method will fail if any of the following fields are not set:
Trait Implementations§
source§impl Clone for ResultAttributeBuilder
impl Clone for ResultAttributeBuilder
source§fn clone(&self) -> ResultAttributeBuilder
fn clone(&self) -> ResultAttributeBuilder
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 ResultAttributeBuilder
impl Debug for ResultAttributeBuilder
source§impl Default for ResultAttributeBuilder
impl Default for ResultAttributeBuilder
source§fn default() -> ResultAttributeBuilder
fn default() -> ResultAttributeBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq for ResultAttributeBuilder
impl PartialEq for ResultAttributeBuilder
source§fn eq(&self, other: &ResultAttributeBuilder) -> bool
fn eq(&self, other: &ResultAttributeBuilder) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for ResultAttributeBuilder
Auto Trait Implementations§
impl Freeze for ResultAttributeBuilder
impl RefUnwindSafe for ResultAttributeBuilder
impl Send for ResultAttributeBuilder
impl Sync for ResultAttributeBuilder
impl Unpin for ResultAttributeBuilder
impl UnwindSafe for ResultAttributeBuilder
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.