Struct aws_sdk_greengrassv2::operation::update_connectivity_info::builders::UpdateConnectivityInfoFluentBuilder
source · pub struct UpdateConnectivityInfoFluentBuilder { /* private fields */ }
Expand description
Fluent builder constructing a request to UpdateConnectivityInfo
.
Updates connectivity information for a Greengrass core device.
Connectivity information includes endpoints and ports where client devices can connect to an MQTT broker on the core device. When a client device calls the IoT Greengrass discovery API, IoT Greengrass returns connectivity information for all of the core devices where the client device can connect. For more information, see Connect client devices to core devices in the IoT Greengrass Version 2 Developer Guide.
Implementations§
source§impl UpdateConnectivityInfoFluentBuilder
impl UpdateConnectivityInfoFluentBuilder
sourcepub fn as_input(&self) -> &UpdateConnectivityInfoInputBuilder
pub fn as_input(&self) -> &UpdateConnectivityInfoInputBuilder
Access the UpdateConnectivityInfo as a reference.
sourcepub async fn send(
self
) -> Result<UpdateConnectivityInfoOutput, SdkError<UpdateConnectivityInfoError, HttpResponse>>
pub async fn send( self ) -> Result<UpdateConnectivityInfoOutput, SdkError<UpdateConnectivityInfoError, HttpResponse>>
Sends the request and returns the response.
If an error occurs, an SdkError
will be returned with additional details that
can be matched against.
By default, any retryable failures will be retried twice. Retry behavior is configurable with the RetryConfig, which can be set when configuring the client.
sourcepub fn customize(
self
) -> CustomizableOperation<UpdateConnectivityInfoOutput, UpdateConnectivityInfoError, Self>
pub fn customize( self ) -> CustomizableOperation<UpdateConnectivityInfoOutput, UpdateConnectivityInfoError, Self>
Consumes this builder, creating a customizable operation that can be modified before being sent.
sourcepub fn thing_name(self, input: impl Into<String>) -> Self
pub fn thing_name(self, input: impl Into<String>) -> Self
The name of the core device. This is also the name of the IoT thing.
sourcepub fn set_thing_name(self, input: Option<String>) -> Self
pub fn set_thing_name(self, input: Option<String>) -> Self
The name of the core device. This is also the name of the IoT thing.
sourcepub fn get_thing_name(&self) -> &Option<String>
pub fn get_thing_name(&self) -> &Option<String>
The name of the core device. This is also the name of the IoT thing.
sourcepub fn connectivity_info(self, input: ConnectivityInfo) -> Self
pub fn connectivity_info(self, input: ConnectivityInfo) -> Self
Appends an item to connectivityInfo
.
To override the contents of this collection use set_connectivity_info
.
The connectivity information for the core device.
sourcepub fn set_connectivity_info(self, input: Option<Vec<ConnectivityInfo>>) -> Self
pub fn set_connectivity_info(self, input: Option<Vec<ConnectivityInfo>>) -> Self
The connectivity information for the core device.
sourcepub fn get_connectivity_info(&self) -> &Option<Vec<ConnectivityInfo>>
pub fn get_connectivity_info(&self) -> &Option<Vec<ConnectivityInfo>>
The connectivity information for the core device.
Trait Implementations§
source§impl Clone for UpdateConnectivityInfoFluentBuilder
impl Clone for UpdateConnectivityInfoFluentBuilder
source§fn clone(&self) -> UpdateConnectivityInfoFluentBuilder
fn clone(&self) -> UpdateConnectivityInfoFluentBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moreAuto Trait Implementations§
impl Freeze for UpdateConnectivityInfoFluentBuilder
impl !RefUnwindSafe for UpdateConnectivityInfoFluentBuilder
impl Send for UpdateConnectivityInfoFluentBuilder
impl Sync for UpdateConnectivityInfoFluentBuilder
impl Unpin for UpdateConnectivityInfoFluentBuilder
impl !UnwindSafe for UpdateConnectivityInfoFluentBuilder
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