Struct aws_sdk_directconnect::model::associated_gateway::Builder
source · pub struct Builder { /* private fields */ }Expand description
A builder for AssociatedGateway.
Implementations§
source§impl Builder
impl Builder
sourcepub fn type(self, input: GatewayType) -> Self
pub fn type(self, input: GatewayType) -> Self
The type of associated gateway.
sourcepub fn set_type(self, input: Option<GatewayType>) -> Self
pub fn set_type(self, input: Option<GatewayType>) -> Self
The type of associated gateway.
sourcepub fn owner_account(self, input: impl Into<String>) -> Self
pub fn owner_account(self, input: impl Into<String>) -> Self
The ID of the Amazon Web Services account that owns the associated virtual private gateway or transit gateway.
sourcepub fn set_owner_account(self, input: Option<String>) -> Self
pub fn set_owner_account(self, input: Option<String>) -> Self
The ID of the Amazon Web Services account that owns the associated virtual private gateway or transit gateway.
sourcepub fn region(self, input: impl Into<String>) -> Self
pub fn region(self, input: impl Into<String>) -> Self
The Region where the associated gateway is located.
sourcepub fn set_region(self, input: Option<String>) -> Self
pub fn set_region(self, input: Option<String>) -> Self
The Region where the associated gateway is located.
sourcepub fn build(self) -> AssociatedGateway
pub fn build(self) -> AssociatedGateway
Consumes the builder and constructs a AssociatedGateway.