Struct aws_sdk_iotsitewise::operation::update_gateway_capability_configuration::builders::UpdateGatewayCapabilityConfigurationInputBuilder
source · #[non_exhaustive]pub struct UpdateGatewayCapabilityConfigurationInputBuilder { /* private fields */ }Expand description
A builder for UpdateGatewayCapabilityConfigurationInput.
Implementations§
source§impl UpdateGatewayCapabilityConfigurationInputBuilder
impl UpdateGatewayCapabilityConfigurationInputBuilder
sourcepub fn gateway_id(self, input: impl Into<String>) -> Self
pub fn gateway_id(self, input: impl Into<String>) -> Self
The ID of the gateway to be updated.
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 gateway to be updated.
sourcepub fn get_gateway_id(&self) -> &Option<String>
pub fn get_gateway_id(&self) -> &Option<String>
The ID of the gateway to be updated.
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 configuration to be updated. For example, if you configure OPC-UA sources from the IoT SiteWise console, your OPC-UA capability configuration has the namespace iotsitewise:opcuacollector:version, where version is a number such as 1.
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 configuration to be updated. For example, if you configure OPC-UA sources from the IoT SiteWise console, your OPC-UA capability configuration has the namespace iotsitewise:opcuacollector:version, where version is a number such as 1.
sourcepub fn get_capability_namespace(&self) -> &Option<String>
pub fn get_capability_namespace(&self) -> &Option<String>
The namespace of the gateway capability configuration to be updated. For example, if you configure OPC-UA sources from the IoT SiteWise console, your OPC-UA capability configuration has the namespace iotsitewise:opcuacollector:version, where version is a number such as 1.
sourcepub fn capability_configuration(self, input: impl Into<String>) -> Self
pub fn capability_configuration(self, input: impl Into<String>) -> Self
The JSON document that defines the configuration for the gateway capability. For more information, see Configuring data sources (CLI) in the IoT SiteWise User Guide.
This field is required.sourcepub fn set_capability_configuration(self, input: Option<String>) -> Self
pub fn set_capability_configuration(self, input: Option<String>) -> Self
The JSON document that defines the configuration for the gateway capability. For more information, see Configuring data sources (CLI) in the IoT SiteWise User Guide.
sourcepub fn get_capability_configuration(&self) -> &Option<String>
pub fn get_capability_configuration(&self) -> &Option<String>
The JSON document that defines the configuration for the gateway capability. For more information, see Configuring data sources (CLI) in the IoT SiteWise User Guide.
sourcepub fn build(
self
) -> Result<UpdateGatewayCapabilityConfigurationInput, BuildError>
pub fn build( self ) -> Result<UpdateGatewayCapabilityConfigurationInput, BuildError>
Consumes the builder and constructs a UpdateGatewayCapabilityConfigurationInput.
source§impl UpdateGatewayCapabilityConfigurationInputBuilder
impl UpdateGatewayCapabilityConfigurationInputBuilder
sourcepub async fn send_with(
self,
client: &Client
) -> Result<UpdateGatewayCapabilityConfigurationOutput, SdkError<UpdateGatewayCapabilityConfigurationError, HttpResponse>>
pub async fn send_with( self, client: &Client ) -> Result<UpdateGatewayCapabilityConfigurationOutput, SdkError<UpdateGatewayCapabilityConfigurationError, HttpResponse>>
Sends a request with this input using the given client.
Trait Implementations§
source§impl Clone for UpdateGatewayCapabilityConfigurationInputBuilder
impl Clone for UpdateGatewayCapabilityConfigurationInputBuilder
source§fn clone(&self) -> UpdateGatewayCapabilityConfigurationInputBuilder
fn clone(&self) -> UpdateGatewayCapabilityConfigurationInputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Default for UpdateGatewayCapabilityConfigurationInputBuilder
impl Default for UpdateGatewayCapabilityConfigurationInputBuilder
source§fn default() -> UpdateGatewayCapabilityConfigurationInputBuilder
fn default() -> UpdateGatewayCapabilityConfigurationInputBuilder
source§impl PartialEq for UpdateGatewayCapabilityConfigurationInputBuilder
impl PartialEq for UpdateGatewayCapabilityConfigurationInputBuilder
source§fn eq(&self, other: &UpdateGatewayCapabilityConfigurationInputBuilder) -> bool
fn eq(&self, other: &UpdateGatewayCapabilityConfigurationInputBuilder) -> bool
self and other values to be equal, and is used
by ==.impl StructuralPartialEq for UpdateGatewayCapabilityConfigurationInputBuilder
Auto Trait Implementations§
impl Freeze for UpdateGatewayCapabilityConfigurationInputBuilder
impl RefUnwindSafe for UpdateGatewayCapabilityConfigurationInputBuilder
impl Send for UpdateGatewayCapabilityConfigurationInputBuilder
impl Sync for UpdateGatewayCapabilityConfigurationInputBuilder
impl Unpin for UpdateGatewayCapabilityConfigurationInputBuilder
impl UnwindSafe for UpdateGatewayCapabilityConfigurationInputBuilder
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