Struct aws_sdk_iotwireless::types::builders::DestinationsBuilder
source · #[non_exhaustive]pub struct DestinationsBuilder { /* private fields */ }Expand description
A builder for Destinations.
Implementations§
source§impl DestinationsBuilder
impl DestinationsBuilder
sourcepub fn expression_type(self, input: ExpressionType) -> Self
pub fn expression_type(self, input: ExpressionType) -> Self
The type of value in Expression.
sourcepub fn set_expression_type(self, input: Option<ExpressionType>) -> Self
pub fn set_expression_type(self, input: Option<ExpressionType>) -> Self
The type of value in Expression.
sourcepub fn get_expression_type(&self) -> &Option<ExpressionType>
pub fn get_expression_type(&self) -> &Option<ExpressionType>
The type of value in Expression.
sourcepub fn expression(self, input: impl Into<String>) -> Self
pub fn expression(self, input: impl Into<String>) -> Self
The rule name or topic rule to send messages to.
sourcepub fn set_expression(self, input: Option<String>) -> Self
pub fn set_expression(self, input: Option<String>) -> Self
The rule name or topic rule to send messages to.
sourcepub fn get_expression(&self) -> &Option<String>
pub fn get_expression(&self) -> &Option<String>
The rule name or topic rule to send messages to.
sourcepub fn description(self, input: impl Into<String>) -> Self
pub fn description(self, input: impl Into<String>) -> Self
The description of the resource.
sourcepub fn set_description(self, input: Option<String>) -> Self
pub fn set_description(self, input: Option<String>) -> Self
The description of the resource.
sourcepub fn get_description(&self) -> &Option<String>
pub fn get_description(&self) -> &Option<String>
The description of the resource.
sourcepub fn role_arn(self, input: impl Into<String>) -> Self
pub fn role_arn(self, input: impl Into<String>) -> Self
The ARN of the IAM Role that authorizes the destination.
sourcepub fn set_role_arn(self, input: Option<String>) -> Self
pub fn set_role_arn(self, input: Option<String>) -> Self
The ARN of the IAM Role that authorizes the destination.
sourcepub fn get_role_arn(&self) -> &Option<String>
pub fn get_role_arn(&self) -> &Option<String>
The ARN of the IAM Role that authorizes the destination.
sourcepub fn build(self) -> Destinations
pub fn build(self) -> Destinations
Consumes the builder and constructs a Destinations.
Trait Implementations§
source§impl Clone for DestinationsBuilder
impl Clone for DestinationsBuilder
source§fn clone(&self) -> DestinationsBuilder
fn clone(&self) -> DestinationsBuilder
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 DestinationsBuilder
impl Debug for DestinationsBuilder
source§impl Default for DestinationsBuilder
impl Default for DestinationsBuilder
source§fn default() -> DestinationsBuilder
fn default() -> DestinationsBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq for DestinationsBuilder
impl PartialEq for DestinationsBuilder
source§fn eq(&self, other: &DestinationsBuilder) -> bool
fn eq(&self, other: &DestinationsBuilder) -> bool
This method tests for
self and other values to be equal, and is used
by ==.impl StructuralPartialEq for DestinationsBuilder
Auto Trait Implementations§
impl Freeze for DestinationsBuilder
impl RefUnwindSafe for DestinationsBuilder
impl Send for DestinationsBuilder
impl Sync for DestinationsBuilder
impl Unpin for DestinationsBuilder
impl UnwindSafe for DestinationsBuilder
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.