Struct aws_sdk_iotsitewise::types::builders::GreengrassBuilder
source · #[non_exhaustive]pub struct GreengrassBuilder { /* private fields */ }Expand description
A builder for Greengrass.
Implementations§
source§impl GreengrassBuilder
impl GreengrassBuilder
sourcepub fn group_arn(self, input: impl Into<String>) -> Self
pub fn group_arn(self, input: impl Into<String>) -> Self
The ARN of the Greengrass group. For more information about how to find a group's ARN, see ListGroups and GetGroup in the IoT Greengrass API Reference.
This field is required.sourcepub fn set_group_arn(self, input: Option<String>) -> Self
pub fn set_group_arn(self, input: Option<String>) -> Self
The ARN of the Greengrass group. For more information about how to find a group's ARN, see ListGroups and GetGroup in the IoT Greengrass API Reference.
sourcepub fn get_group_arn(&self) -> &Option<String>
pub fn get_group_arn(&self) -> &Option<String>
The ARN of the Greengrass group. For more information about how to find a group's ARN, see ListGroups and GetGroup in the IoT Greengrass API Reference.
sourcepub fn build(self) -> Result<Greengrass, BuildError>
pub fn build(self) -> Result<Greengrass, BuildError>
Consumes the builder and constructs a Greengrass.
This method will fail if any of the following fields are not set:
Trait Implementations§
source§impl Clone for GreengrassBuilder
impl Clone for GreengrassBuilder
source§fn clone(&self) -> GreengrassBuilder
fn clone(&self) -> GreengrassBuilder
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 GreengrassBuilder
impl Debug for GreengrassBuilder
source§impl Default for GreengrassBuilder
impl Default for GreengrassBuilder
source§fn default() -> GreengrassBuilder
fn default() -> GreengrassBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq for GreengrassBuilder
impl PartialEq for GreengrassBuilder
source§fn eq(&self, other: &GreengrassBuilder) -> bool
fn eq(&self, other: &GreengrassBuilder) -> bool
This method tests for
self and other values to be equal, and is used
by ==.impl StructuralPartialEq for GreengrassBuilder
Auto Trait Implementations§
impl RefUnwindSafe for GreengrassBuilder
impl Send for GreengrassBuilder
impl Sync for GreengrassBuilder
impl Unpin for GreengrassBuilder
impl UnwindSafe for GreengrassBuilder
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.