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 get_transit_gateway_attachment_id(&self) -> &Option<String>
pub fn get_transit_gateway_attachment_id(&self) -> &Option<String>
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 get_transport_transit_gateway_attachment_id(&self) -> &Option<String>
pub fn get_transport_transit_gateway_attachment_id(&self) -> &Option<String>
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 get_transit_gateway_id(&self) -> &Option<String>
pub fn get_transit_gateway_id(&self) -> &Option<String>
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 get_state(&self) -> &Option<TransitGatewayAttachmentState>
pub fn get_state(&self) -> &Option<TransitGatewayAttachmentState>
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 get_creation_time(&self) -> &Option<DateTime>
pub fn get_creation_time(&self) -> &Option<DateTime>
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.
sourcepub fn get_options(&self) -> &Option<TransitGatewayConnectOptions>
pub fn get_options(&self) -> &Option<TransitGatewayConnectOptions>
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.
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
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
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
source§impl PartialEq for TransitGatewayConnectBuilder
impl PartialEq for TransitGatewayConnectBuilder
source§fn eq(&self, other: &TransitGatewayConnectBuilder) -> bool
fn eq(&self, other: &TransitGatewayConnectBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for TransitGatewayConnectBuilder
Auto Trait Implementations§
impl Freeze for TransitGatewayConnectBuilder
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
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