Struct aws_sdk_ec2::types::builders::TransitGatewayConnectBuilder
source · #[non_exhaustive]pub struct TransitGatewayConnectBuilder { /* private fields */ }
Expand description
A builder for TransitGatewayConnect
.
Implementations§
source§impl TransitGatewayConnectBuilder
impl TransitGatewayConnectBuilder
sourcepub fn transit_gateway_attachment_id(self, input: impl Into<String>) -> Self
pub fn transit_gateway_attachment_id(self, input: impl Into<String>) -> Self
The ID of the Connect attachment.
sourcepub fn set_transit_gateway_attachment_id(self, input: Option<String>) -> Self
pub fn set_transit_gateway_attachment_id(self, input: Option<String>) -> Self
The ID of the Connect attachment.
sourcepub fn transport_transit_gateway_attachment_id(
self,
input: impl Into<String>
) -> Self
pub fn transport_transit_gateway_attachment_id( self, input: impl Into<String> ) -> Self
The ID of the attachment from which the Connect attachment was created.
sourcepub fn set_transport_transit_gateway_attachment_id(
self,
input: Option<String>
) -> Self
pub fn set_transport_transit_gateway_attachment_id( self, input: Option<String> ) -> Self
The ID of the attachment from which the Connect attachment was created.
sourcepub fn transit_gateway_id(self, input: impl Into<String>) -> Self
pub fn transit_gateway_id(self, input: impl Into<String>) -> Self
The ID of the transit gateway.
sourcepub fn set_transit_gateway_id(self, input: Option<String>) -> Self
pub fn set_transit_gateway_id(self, input: Option<String>) -> Self
The ID of the transit gateway.
sourcepub fn state(self, input: TransitGatewayAttachmentState) -> Self
pub fn state(self, input: TransitGatewayAttachmentState) -> Self
The state of the attachment.
sourcepub fn set_state(self, input: Option<TransitGatewayAttachmentState>) -> Self
pub fn set_state(self, input: Option<TransitGatewayAttachmentState>) -> Self
The state of the attachment.
sourcepub fn creation_time(self, input: DateTime) -> Self
pub fn creation_time(self, input: DateTime) -> Self
The creation time.
sourcepub fn set_creation_time(self, input: Option<DateTime>) -> Self
pub fn set_creation_time(self, input: Option<DateTime>) -> Self
The creation time.
sourcepub fn options(self, input: TransitGatewayConnectOptions) -> Self
pub fn options(self, input: TransitGatewayConnectOptions) -> Self
The Connect attachment options.
sourcepub fn set_options(self, input: Option<TransitGatewayConnectOptions>) -> Self
pub fn set_options(self, input: Option<TransitGatewayConnectOptions>) -> Self
The Connect attachment options.
Appends an item to tags
.
To override the contents of this collection use set_tags
.
The tags for the attachment.
The tags for the attachment.
sourcepub fn build(self) -> TransitGatewayConnect
pub fn build(self) -> TransitGatewayConnect
Consumes the builder and constructs a TransitGatewayConnect
.
Trait Implementations§
source§impl Clone for TransitGatewayConnectBuilder
impl Clone for TransitGatewayConnectBuilder
source§fn clone(&self) -> TransitGatewayConnectBuilder
fn clone(&self) -> TransitGatewayConnectBuilder
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for TransitGatewayConnectBuilder
impl Debug for TransitGatewayConnectBuilder
source§impl Default for TransitGatewayConnectBuilder
impl Default for TransitGatewayConnectBuilder
source§fn default() -> TransitGatewayConnectBuilder
fn default() -> TransitGatewayConnectBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq<TransitGatewayConnectBuilder> for TransitGatewayConnectBuilder
impl PartialEq<TransitGatewayConnectBuilder> for TransitGatewayConnectBuilder
source§fn eq(&self, other: &TransitGatewayConnectBuilder) -> bool
fn eq(&self, other: &TransitGatewayConnectBuilder) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for TransitGatewayConnectBuilder
Auto Trait Implementations§
impl RefUnwindSafe for TransitGatewayConnectBuilder
impl Send for TransitGatewayConnectBuilder
impl Sync for TransitGatewayConnectBuilder
impl Unpin for TransitGatewayConnectBuilder
impl UnwindSafe for TransitGatewayConnectBuilder
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
Mutably borrows from an owned value. Read more