Struct aws_sdk_iot::types::builders::RepublishActionBuilder
source · #[non_exhaustive]pub struct RepublishActionBuilder { /* private fields */ }
Expand description
A builder for RepublishAction
.
Implementations§
source§impl RepublishActionBuilder
impl RepublishActionBuilder
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 grants access.
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 grants access.
sourcepub fn qos(self, input: i32) -> Self
pub fn qos(self, input: i32) -> Self
The Quality of Service (QoS) level to use when republishing messages. The default value is 0.
sourcepub fn set_qos(self, input: Option<i32>) -> Self
pub fn set_qos(self, input: Option<i32>) -> Self
The Quality of Service (QoS) level to use when republishing messages. The default value is 0.
sourcepub fn headers(self, input: MqttHeaders) -> Self
pub fn headers(self, input: MqttHeaders) -> Self
MQTT Version 5.0 headers information. For more information, see MQTT from the Amazon Web Services IoT Core Developer Guide.
sourcepub fn set_headers(self, input: Option<MqttHeaders>) -> Self
pub fn set_headers(self, input: Option<MqttHeaders>) -> Self
MQTT Version 5.0 headers information. For more information, see MQTT from the Amazon Web Services IoT Core Developer Guide.
sourcepub fn build(self) -> RepublishAction
pub fn build(self) -> RepublishAction
Consumes the builder and constructs a RepublishAction
.
Trait Implementations§
source§impl Clone for RepublishActionBuilder
impl Clone for RepublishActionBuilder
source§fn clone(&self) -> RepublishActionBuilder
fn clone(&self) -> RepublishActionBuilder
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 RepublishActionBuilder
impl Debug for RepublishActionBuilder
source§impl Default for RepublishActionBuilder
impl Default for RepublishActionBuilder
source§fn default() -> RepublishActionBuilder
fn default() -> RepublishActionBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq<RepublishActionBuilder> for RepublishActionBuilder
impl PartialEq<RepublishActionBuilder> for RepublishActionBuilder
source§fn eq(&self, other: &RepublishActionBuilder) -> bool
fn eq(&self, other: &RepublishActionBuilder) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for RepublishActionBuilder
Auto Trait Implementations§
impl RefUnwindSafe for RepublishActionBuilder
impl Send for RepublishActionBuilder
impl Sync for RepublishActionBuilder
impl Unpin for RepublishActionBuilder
impl UnwindSafe for RepublishActionBuilder
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