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 ==.