Struct aws_sdk_iotwireless::types::builders::GatewayListItemBuilder
source · #[non_exhaustive]pub struct GatewayListItemBuilder { /* private fields */ }
Expand description
A builder for GatewayListItem
.
Implementations§
source§impl GatewayListItemBuilder
impl GatewayListItemBuilder
sourcepub fn gateway_id(self, input: impl Into<String>) -> Self
pub fn gateway_id(self, input: impl Into<String>) -> Self
The ID of the wireless gateways that you want to add to the list of gateways when sending downlink messages.
This field is required.sourcepub fn set_gateway_id(self, input: Option<String>) -> Self
pub fn set_gateway_id(self, input: Option<String>) -> Self
The ID of the wireless gateways that you want to add to the list of gateways when sending downlink messages.
sourcepub fn get_gateway_id(&self) -> &Option<String>
pub fn get_gateway_id(&self) -> &Option<String>
The ID of the wireless gateways that you want to add to the list of gateways when sending downlink messages.
sourcepub fn downlink_frequency(self, input: i32) -> Self
pub fn downlink_frequency(self, input: i32) -> Self
The frequency to use for the gateways when sending a downlink message to the wireless device.
This field is required.sourcepub fn set_downlink_frequency(self, input: Option<i32>) -> Self
pub fn set_downlink_frequency(self, input: Option<i32>) -> Self
The frequency to use for the gateways when sending a downlink message to the wireless device.
sourcepub fn get_downlink_frequency(&self) -> &Option<i32>
pub fn get_downlink_frequency(&self) -> &Option<i32>
The frequency to use for the gateways when sending a downlink message to the wireless device.
sourcepub fn build(self) -> Result<GatewayListItem, BuildError>
pub fn build(self) -> Result<GatewayListItem, BuildError>
Consumes the builder and constructs a GatewayListItem
.
This method will fail if any of the following fields are not set:
Trait Implementations§
source§impl Clone for GatewayListItemBuilder
impl Clone for GatewayListItemBuilder
source§fn clone(&self) -> GatewayListItemBuilder
fn clone(&self) -> GatewayListItemBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for GatewayListItemBuilder
impl Debug for GatewayListItemBuilder
source§impl Default for GatewayListItemBuilder
impl Default for GatewayListItemBuilder
source§fn default() -> GatewayListItemBuilder
fn default() -> GatewayListItemBuilder
source§impl PartialEq for GatewayListItemBuilder
impl PartialEq for GatewayListItemBuilder
source§fn eq(&self, other: &GatewayListItemBuilder) -> bool
fn eq(&self, other: &GatewayListItemBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for GatewayListItemBuilder
Auto Trait Implementations§
impl Freeze for GatewayListItemBuilder
impl RefUnwindSafe for GatewayListItemBuilder
impl Send for GatewayListItemBuilder
impl Sync for GatewayListItemBuilder
impl Unpin for GatewayListItemBuilder
impl UnwindSafe for GatewayListItemBuilder
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
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>
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more