#[non_exhaustive]pub struct CreateGatewayOutputBuilder { /* private fields */ }Expand description
A builder for CreateGatewayOutput.
Implementations§
source§impl CreateGatewayOutputBuilder
impl CreateGatewayOutputBuilder
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 device. You can use this ID when you call other IoT SiteWise API operations.
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 device. You can use this ID when you call other IoT SiteWise API operations.
sourcepub fn get_gateway_id(&self) -> &Option<String>
pub fn get_gateway_id(&self) -> &Option<String>
The ID of the gateway device. You can use this ID when you call other IoT SiteWise API operations.
sourcepub fn gateway_arn(self, input: impl Into<String>) -> Self
pub fn gateway_arn(self, input: impl Into<String>) -> Self
The ARN of the gateway, which has the following format.
arn:${Partition}:iotsitewise:${Region}:${Account}:gateway/${GatewayId}
sourcepub fn set_gateway_arn(self, input: Option<String>) -> Self
pub fn set_gateway_arn(self, input: Option<String>) -> Self
The ARN of the gateway, which has the following format.
arn:${Partition}:iotsitewise:${Region}:${Account}:gateway/${GatewayId}
sourcepub fn get_gateway_arn(&self) -> &Option<String>
pub fn get_gateway_arn(&self) -> &Option<String>
The ARN of the gateway, which has the following format.
arn:${Partition}:iotsitewise:${Region}:${Account}:gateway/${GatewayId}
sourcepub fn build(self) -> Result<CreateGatewayOutput, BuildError>
pub fn build(self) -> Result<CreateGatewayOutput, BuildError>
Consumes the builder and constructs a CreateGatewayOutput.
This method will fail if any of the following fields are not set:
Trait Implementations§
source§impl Clone for CreateGatewayOutputBuilder
impl Clone for CreateGatewayOutputBuilder
source§fn clone(&self) -> CreateGatewayOutputBuilder
fn clone(&self) -> CreateGatewayOutputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Debug for CreateGatewayOutputBuilder
impl Debug for CreateGatewayOutputBuilder
source§impl Default for CreateGatewayOutputBuilder
impl Default for CreateGatewayOutputBuilder
source§fn default() -> CreateGatewayOutputBuilder
fn default() -> CreateGatewayOutputBuilder
source§impl PartialEq for CreateGatewayOutputBuilder
impl PartialEq for CreateGatewayOutputBuilder
source§fn eq(&self, other: &CreateGatewayOutputBuilder) -> bool
fn eq(&self, other: &CreateGatewayOutputBuilder) -> bool
self and other values to be equal, and is used
by ==.