#[non_exhaustive]pub struct IotEventsDestinationConfigurationBuilder { /* private fields */ }
Expand description
A builder for IotEventsDestinationConfiguration
.
Implementations§
source§impl IotEventsDestinationConfigurationBuilder
impl IotEventsDestinationConfigurationBuilder
sourcepub fn input_name(self, input: impl Into<String>) -> Self
pub fn input_name(self, input: impl Into<String>) -> Self
The name of the IoT Events input to which dataset contents are delivered.
This field is required.sourcepub fn set_input_name(self, input: Option<String>) -> Self
pub fn set_input_name(self, input: Option<String>) -> Self
The name of the IoT Events input to which dataset contents are delivered.
sourcepub fn get_input_name(&self) -> &Option<String>
pub fn get_input_name(&self) -> &Option<String>
The name of the IoT Events input to which dataset contents are delivered.
sourcepub fn role_arn(self, input: impl Into<String>) -> Self
pub fn role_arn(self, input: impl Into<String>) -> Self
The ARN of the role that grants IoT Analytics permission to deliver dataset contents to an IoT Events input.
This field is required.sourcepub fn set_role_arn(self, input: Option<String>) -> Self
pub fn set_role_arn(self, input: Option<String>) -> Self
The ARN of the role that grants IoT Analytics permission to deliver dataset contents to an IoT Events input.
sourcepub fn get_role_arn(&self) -> &Option<String>
pub fn get_role_arn(&self) -> &Option<String>
The ARN of the role that grants IoT Analytics permission to deliver dataset contents to an IoT Events input.
sourcepub fn build(self) -> Result<IotEventsDestinationConfiguration, BuildError>
pub fn build(self) -> Result<IotEventsDestinationConfiguration, BuildError>
Consumes the builder and constructs a IotEventsDestinationConfiguration
.
This method will fail if any of the following fields are not set:
Trait Implementations§
source§impl Clone for IotEventsDestinationConfigurationBuilder
impl Clone for IotEventsDestinationConfigurationBuilder
source§fn clone(&self) -> IotEventsDestinationConfigurationBuilder
fn clone(&self) -> IotEventsDestinationConfigurationBuilder
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 Default for IotEventsDestinationConfigurationBuilder
impl Default for IotEventsDestinationConfigurationBuilder
source§fn default() -> IotEventsDestinationConfigurationBuilder
fn default() -> IotEventsDestinationConfigurationBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq for IotEventsDestinationConfigurationBuilder
impl PartialEq for IotEventsDestinationConfigurationBuilder
source§fn eq(&self, other: &IotEventsDestinationConfigurationBuilder) -> bool
fn eq(&self, other: &IotEventsDestinationConfigurationBuilder) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for IotEventsDestinationConfigurationBuilder
Auto Trait Implementations§
impl RefUnwindSafe for IotEventsDestinationConfigurationBuilder
impl Send for IotEventsDestinationConfigurationBuilder
impl Sync for IotEventsDestinationConfigurationBuilder
impl Unpin for IotEventsDestinationConfigurationBuilder
impl UnwindSafe for IotEventsDestinationConfigurationBuilder
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.