#[non_exhaustive]pub struct TransitGatewayRouteTableAttachmentBuilder { /* private fields */ }
Expand description
A builder for TransitGatewayRouteTableAttachment
.
Implementations§
source§impl TransitGatewayRouteTableAttachmentBuilder
impl TransitGatewayRouteTableAttachmentBuilder
sourcepub fn attachment(self, input: Attachment) -> Self
pub fn attachment(self, input: Attachment) -> Self
Describes a core network attachment.
sourcepub fn set_attachment(self, input: Option<Attachment>) -> Self
pub fn set_attachment(self, input: Option<Attachment>) -> Self
Describes a core network attachment.
sourcepub fn get_attachment(&self) -> &Option<Attachment>
pub fn get_attachment(&self) -> &Option<Attachment>
Describes a core network attachment.
sourcepub fn peering_id(self, input: impl Into<String>) -> Self
pub fn peering_id(self, input: impl Into<String>) -> Self
The ID of the peering attachment.
sourcepub fn set_peering_id(self, input: Option<String>) -> Self
pub fn set_peering_id(self, input: Option<String>) -> Self
The ID of the peering attachment.
sourcepub fn get_peering_id(&self) -> &Option<String>
pub fn get_peering_id(&self) -> &Option<String>
The ID of the peering attachment.
sourcepub fn transit_gateway_route_table_arn(self, input: impl Into<String>) -> Self
pub fn transit_gateway_route_table_arn(self, input: impl Into<String>) -> Self
The ARN of the transit gateway attachment route table. For example, "TransitGatewayRouteTableArn": "arn:aws:ec2:us-west-2:123456789012:transit-gateway-route-table/tgw-rtb-9876543210123456"
.
sourcepub fn set_transit_gateway_route_table_arn(self, input: Option<String>) -> Self
pub fn set_transit_gateway_route_table_arn(self, input: Option<String>) -> Self
The ARN of the transit gateway attachment route table. For example, "TransitGatewayRouteTableArn": "arn:aws:ec2:us-west-2:123456789012:transit-gateway-route-table/tgw-rtb-9876543210123456"
.
sourcepub fn get_transit_gateway_route_table_arn(&self) -> &Option<String>
pub fn get_transit_gateway_route_table_arn(&self) -> &Option<String>
The ARN of the transit gateway attachment route table. For example, "TransitGatewayRouteTableArn": "arn:aws:ec2:us-west-2:123456789012:transit-gateway-route-table/tgw-rtb-9876543210123456"
.
sourcepub fn build(self) -> TransitGatewayRouteTableAttachment
pub fn build(self) -> TransitGatewayRouteTableAttachment
Consumes the builder and constructs a TransitGatewayRouteTableAttachment
.
Trait Implementations§
source§impl Clone for TransitGatewayRouteTableAttachmentBuilder
impl Clone for TransitGatewayRouteTableAttachmentBuilder
source§fn clone(&self) -> TransitGatewayRouteTableAttachmentBuilder
fn clone(&self) -> TransitGatewayRouteTableAttachmentBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Default for TransitGatewayRouteTableAttachmentBuilder
impl Default for TransitGatewayRouteTableAttachmentBuilder
source§fn default() -> TransitGatewayRouteTableAttachmentBuilder
fn default() -> TransitGatewayRouteTableAttachmentBuilder
source§impl PartialEq for TransitGatewayRouteTableAttachmentBuilder
impl PartialEq for TransitGatewayRouteTableAttachmentBuilder
source§fn eq(&self, other: &TransitGatewayRouteTableAttachmentBuilder) -> bool
fn eq(&self, other: &TransitGatewayRouteTableAttachmentBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for TransitGatewayRouteTableAttachmentBuilder
Auto Trait Implementations§
impl Freeze for TransitGatewayRouteTableAttachmentBuilder
impl RefUnwindSafe for TransitGatewayRouteTableAttachmentBuilder
impl Send for TransitGatewayRouteTableAttachmentBuilder
impl Sync for TransitGatewayRouteTableAttachmentBuilder
impl Unpin for TransitGatewayRouteTableAttachmentBuilder
impl UnwindSafe for TransitGatewayRouteTableAttachmentBuilder
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