Struct aws_sdk_iotsitewise::operation::update_gateway_capability_configuration::builders::UpdateGatewayCapabilityConfigurationOutputBuilder
source · #[non_exhaustive]pub struct UpdateGatewayCapabilityConfigurationOutputBuilder { /* private fields */ }Expand description
A builder for UpdateGatewayCapabilityConfigurationOutput.
Implementations§
source§impl UpdateGatewayCapabilityConfigurationOutputBuilder
impl UpdateGatewayCapabilityConfigurationOutputBuilder
sourcepub fn capability_namespace(self, input: impl Into<String>) -> Self
pub fn capability_namespace(self, input: impl Into<String>) -> Self
The namespace of the gateway capability.
This field is required.sourcepub fn set_capability_namespace(self, input: Option<String>) -> Self
pub fn set_capability_namespace(self, input: Option<String>) -> Self
The namespace of the gateway capability.
sourcepub fn get_capability_namespace(&self) -> &Option<String>
pub fn get_capability_namespace(&self) -> &Option<String>
The namespace of the gateway capability.
sourcepub fn capability_sync_status(self, input: CapabilitySyncStatus) -> Self
pub fn capability_sync_status(self, input: CapabilitySyncStatus) -> Self
The synchronization status of the capability configuration. The sync status can be one of the following:
-
IN_SYNC– The gateway is running the capability configuration. -
OUT_OF_SYNC– The gateway hasn't received the capability configuration. -
SYNC_FAILED– The gateway rejected the capability configuration.
After you update a capability configuration, its sync status is OUT_OF_SYNC until the gateway receives and applies or rejects the updated configuration.
sourcepub fn set_capability_sync_status(
self,
input: Option<CapabilitySyncStatus>
) -> Self
pub fn set_capability_sync_status( self, input: Option<CapabilitySyncStatus> ) -> Self
The synchronization status of the capability configuration. The sync status can be one of the following:
-
IN_SYNC– The gateway is running the capability configuration. -
OUT_OF_SYNC– The gateway hasn't received the capability configuration. -
SYNC_FAILED– The gateway rejected the capability configuration.
After you update a capability configuration, its sync status is OUT_OF_SYNC until the gateway receives and applies or rejects the updated configuration.
sourcepub fn get_capability_sync_status(&self) -> &Option<CapabilitySyncStatus>
pub fn get_capability_sync_status(&self) -> &Option<CapabilitySyncStatus>
The synchronization status of the capability configuration. The sync status can be one of the following:
-
IN_SYNC– The gateway is running the capability configuration. -
OUT_OF_SYNC– The gateway hasn't received the capability configuration. -
SYNC_FAILED– The gateway rejected the capability configuration.
After you update a capability configuration, its sync status is OUT_OF_SYNC until the gateway receives and applies or rejects the updated configuration.
sourcepub fn build(
self
) -> Result<UpdateGatewayCapabilityConfigurationOutput, BuildError>
pub fn build( self ) -> Result<UpdateGatewayCapabilityConfigurationOutput, BuildError>
Consumes the builder and constructs a UpdateGatewayCapabilityConfigurationOutput.
This method will fail if any of the following fields are not set:
Trait Implementations§
source§impl Clone for UpdateGatewayCapabilityConfigurationOutputBuilder
impl Clone for UpdateGatewayCapabilityConfigurationOutputBuilder
source§fn clone(&self) -> UpdateGatewayCapabilityConfigurationOutputBuilder
fn clone(&self) -> UpdateGatewayCapabilityConfigurationOutputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Default for UpdateGatewayCapabilityConfigurationOutputBuilder
impl Default for UpdateGatewayCapabilityConfigurationOutputBuilder
source§fn default() -> UpdateGatewayCapabilityConfigurationOutputBuilder
fn default() -> UpdateGatewayCapabilityConfigurationOutputBuilder
source§impl PartialEq for UpdateGatewayCapabilityConfigurationOutputBuilder
impl PartialEq for UpdateGatewayCapabilityConfigurationOutputBuilder
source§fn eq(&self, other: &UpdateGatewayCapabilityConfigurationOutputBuilder) -> bool
fn eq(&self, other: &UpdateGatewayCapabilityConfigurationOutputBuilder) -> bool
self and other values to be equal, and is used
by ==.impl StructuralPartialEq for UpdateGatewayCapabilityConfigurationOutputBuilder
Auto Trait Implementations§
impl Freeze for UpdateGatewayCapabilityConfigurationOutputBuilder
impl RefUnwindSafe for UpdateGatewayCapabilityConfigurationOutputBuilder
impl Send for UpdateGatewayCapabilityConfigurationOutputBuilder
impl Sync for UpdateGatewayCapabilityConfigurationOutputBuilder
impl Unpin for UpdateGatewayCapabilityConfigurationOutputBuilder
impl UnwindSafe for UpdateGatewayCapabilityConfigurationOutputBuilder
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