Struct aws_sdk_iotwireless::operation::update_destination::builders::UpdateDestinationInputBuilder
source · #[non_exhaustive]pub struct UpdateDestinationInputBuilder { /* private fields */ }Expand description
A builder for UpdateDestinationInput.
Implementations§
source§impl UpdateDestinationInputBuilder
impl UpdateDestinationInputBuilder
sourcepub fn name(self, input: impl Into<String>) -> Self
pub fn name(self, input: impl Into<String>) -> Self
The new name of the resource.
This field is required.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 new 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 new rule name or topic rule to send messages to.
sourcepub fn get_expression(&self) -> &Option<String>
pub fn get_expression(&self) -> &Option<String>
The new 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
A new description of the resource.
sourcepub fn set_description(self, input: Option<String>) -> Self
pub fn set_description(self, input: Option<String>) -> Self
A new description of the resource.
sourcepub fn get_description(&self) -> &Option<String>
pub fn get_description(&self) -> &Option<String>
A new 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) -> Result<UpdateDestinationInput, BuildError>
pub fn build(self) -> Result<UpdateDestinationInput, BuildError>
Consumes the builder and constructs a UpdateDestinationInput.
source§impl UpdateDestinationInputBuilder
impl UpdateDestinationInputBuilder
sourcepub async fn send_with(
self,
client: &Client
) -> Result<UpdateDestinationOutput, SdkError<UpdateDestinationError, HttpResponse>>
pub async fn send_with( self, client: &Client ) -> Result<UpdateDestinationOutput, SdkError<UpdateDestinationError, HttpResponse>>
Sends a request with this input using the given client.
Trait Implementations§
source§impl Clone for UpdateDestinationInputBuilder
impl Clone for UpdateDestinationInputBuilder
source§fn clone(&self) -> UpdateDestinationInputBuilder
fn clone(&self) -> UpdateDestinationInputBuilder
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 UpdateDestinationInputBuilder
impl Default for UpdateDestinationInputBuilder
source§fn default() -> UpdateDestinationInputBuilder
fn default() -> UpdateDestinationInputBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq for UpdateDestinationInputBuilder
impl PartialEq for UpdateDestinationInputBuilder
source§fn eq(&self, other: &UpdateDestinationInputBuilder) -> bool
fn eq(&self, other: &UpdateDestinationInputBuilder) -> bool
This method tests for
self and other values to be equal, and is used
by ==.impl StructuralPartialEq for UpdateDestinationInputBuilder
Auto Trait Implementations§
impl RefUnwindSafe for UpdateDestinationInputBuilder
impl Send for UpdateDestinationInputBuilder
impl Sync for UpdateDestinationInputBuilder
impl Unpin for UpdateDestinationInputBuilder
impl UnwindSafe for UpdateDestinationInputBuilder
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.