#[non_exhaustive]pub struct ParticipatingGatewaysBuilder { /* private fields */ }Expand description
A builder for ParticipatingGateways.
Implementations§
source§impl ParticipatingGatewaysBuilder
impl ParticipatingGatewaysBuilder
sourcepub fn downlink_mode(self, input: DownlinkMode) -> Self
pub fn downlink_mode(self, input: DownlinkMode) -> Self
Indicates whether to send the downlink message in sequential mode or concurrent mode, or to use only the chosen gateways from the previous uplink message transmission.
This field is required.sourcepub fn set_downlink_mode(self, input: Option<DownlinkMode>) -> Self
pub fn set_downlink_mode(self, input: Option<DownlinkMode>) -> Self
Indicates whether to send the downlink message in sequential mode or concurrent mode, or to use only the chosen gateways from the previous uplink message transmission.
sourcepub fn get_downlink_mode(&self) -> &Option<DownlinkMode>
pub fn get_downlink_mode(&self) -> &Option<DownlinkMode>
Indicates whether to send the downlink message in sequential mode or concurrent mode, or to use only the chosen gateways from the previous uplink message transmission.
sourcepub fn gateway_list(self, input: GatewayListItem) -> Self
pub fn gateway_list(self, input: GatewayListItem) -> Self
Appends an item to gateway_list.
To override the contents of this collection use set_gateway_list.
The list of gateways that you want to use for sending the downlink data traffic.
sourcepub fn set_gateway_list(self, input: Option<Vec<GatewayListItem>>) -> Self
pub fn set_gateway_list(self, input: Option<Vec<GatewayListItem>>) -> Self
The list of gateways that you want to use for sending the downlink data traffic.
sourcepub fn get_gateway_list(&self) -> &Option<Vec<GatewayListItem>>
pub fn get_gateway_list(&self) -> &Option<Vec<GatewayListItem>>
The list of gateways that you want to use for sending the downlink data traffic.
sourcepub fn transmission_interval(self, input: i32) -> Self
pub fn transmission_interval(self, input: i32) -> Self
The duration of time for which AWS IoT Core for LoRaWAN will wait before transmitting the payload to the next gateway.
This field is required.sourcepub fn set_transmission_interval(self, input: Option<i32>) -> Self
pub fn set_transmission_interval(self, input: Option<i32>) -> Self
The duration of time for which AWS IoT Core for LoRaWAN will wait before transmitting the payload to the next gateway.
sourcepub fn get_transmission_interval(&self) -> &Option<i32>
pub fn get_transmission_interval(&self) -> &Option<i32>
The duration of time for which AWS IoT Core for LoRaWAN will wait before transmitting the payload to the next gateway.
sourcepub fn build(self) -> Result<ParticipatingGateways, BuildError>
pub fn build(self) -> Result<ParticipatingGateways, BuildError>
Consumes the builder and constructs a ParticipatingGateways.
This method will fail if any of the following fields are not set:
Trait Implementations§
source§impl Clone for ParticipatingGatewaysBuilder
impl Clone for ParticipatingGatewaysBuilder
source§fn clone(&self) -> ParticipatingGatewaysBuilder
fn clone(&self) -> ParticipatingGatewaysBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Debug for ParticipatingGatewaysBuilder
impl Debug for ParticipatingGatewaysBuilder
source§impl Default for ParticipatingGatewaysBuilder
impl Default for ParticipatingGatewaysBuilder
source§fn default() -> ParticipatingGatewaysBuilder
fn default() -> ParticipatingGatewaysBuilder
source§impl PartialEq for ParticipatingGatewaysBuilder
impl PartialEq for ParticipatingGatewaysBuilder
source§fn eq(&self, other: &ParticipatingGatewaysBuilder) -> bool
fn eq(&self, other: &ParticipatingGatewaysBuilder) -> bool
self and other values to be equal, and is used
by ==.