Struct aws_sdk_networkmanager::operation::create_transit_gateway_route_table_attachment::builders::CreateTransitGatewayRouteTableAttachmentInputBuilder
source · #[non_exhaustive]pub struct CreateTransitGatewayRouteTableAttachmentInputBuilder { /* private fields */ }
Expand description
A builder for CreateTransitGatewayRouteTableAttachmentInput
.
Implementations§
source§impl CreateTransitGatewayRouteTableAttachmentInputBuilder
impl CreateTransitGatewayRouteTableAttachmentInputBuilder
sourcepub fn peering_id(self, input: impl Into<String>) -> Self
pub fn peering_id(self, input: impl Into<String>) -> Self
The ID of the peer for the
This field is required.sourcepub fn set_peering_id(self, input: Option<String>) -> Self
pub fn set_peering_id(self, input: Option<String>) -> Self
The ID of the peer for the
sourcepub fn get_peering_id(&self) -> &Option<String>
pub fn get_peering_id(&self) -> &Option<String>
The ID of the peer for the
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 route table for the attachment request. 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 route table for the attachment request. 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 route table for the attachment request. For example, "TransitGatewayRouteTableArn": "arn:aws:ec2:us-west-2:123456789012:transit-gateway-route-table/tgw-rtb-9876543210123456"
.
Appends an item to tags
.
To override the contents of this collection use set_tags
.
The list of key-value tags associated with the request.
The list of key-value tags associated with the request.
The list of key-value tags associated with the request.
sourcepub fn client_token(self, input: impl Into<String>) -> Self
pub fn client_token(self, input: impl Into<String>) -> Self
The client token associated with the request.
sourcepub fn set_client_token(self, input: Option<String>) -> Self
pub fn set_client_token(self, input: Option<String>) -> Self
The client token associated with the request.
sourcepub fn get_client_token(&self) -> &Option<String>
pub fn get_client_token(&self) -> &Option<String>
The client token associated with the request.
sourcepub fn build(
self
) -> Result<CreateTransitGatewayRouteTableAttachmentInput, BuildError>
pub fn build( self ) -> Result<CreateTransitGatewayRouteTableAttachmentInput, BuildError>
Consumes the builder and constructs a CreateTransitGatewayRouteTableAttachmentInput
.
source§impl CreateTransitGatewayRouteTableAttachmentInputBuilder
impl CreateTransitGatewayRouteTableAttachmentInputBuilder
sourcepub async fn send_with(
self,
client: &Client
) -> Result<CreateTransitGatewayRouteTableAttachmentOutput, SdkError<CreateTransitGatewayRouteTableAttachmentError, HttpResponse>>
pub async fn send_with( self, client: &Client ) -> Result<CreateTransitGatewayRouteTableAttachmentOutput, SdkError<CreateTransitGatewayRouteTableAttachmentError, HttpResponse>>
Sends a request with this input using the given client.
Trait Implementations§
source§impl Clone for CreateTransitGatewayRouteTableAttachmentInputBuilder
impl Clone for CreateTransitGatewayRouteTableAttachmentInputBuilder
source§fn clone(&self) -> CreateTransitGatewayRouteTableAttachmentInputBuilder
fn clone(&self) -> CreateTransitGatewayRouteTableAttachmentInputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Default for CreateTransitGatewayRouteTableAttachmentInputBuilder
impl Default for CreateTransitGatewayRouteTableAttachmentInputBuilder
source§fn default() -> CreateTransitGatewayRouteTableAttachmentInputBuilder
fn default() -> CreateTransitGatewayRouteTableAttachmentInputBuilder
source§impl PartialEq for CreateTransitGatewayRouteTableAttachmentInputBuilder
impl PartialEq for CreateTransitGatewayRouteTableAttachmentInputBuilder
source§fn eq(
&self,
other: &CreateTransitGatewayRouteTableAttachmentInputBuilder
) -> bool
fn eq( &self, other: &CreateTransitGatewayRouteTableAttachmentInputBuilder ) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for CreateTransitGatewayRouteTableAttachmentInputBuilder
Auto Trait Implementations§
impl Freeze for CreateTransitGatewayRouteTableAttachmentInputBuilder
impl RefUnwindSafe for CreateTransitGatewayRouteTableAttachmentInputBuilder
impl Send for CreateTransitGatewayRouteTableAttachmentInputBuilder
impl Sync for CreateTransitGatewayRouteTableAttachmentInputBuilder
impl Unpin for CreateTransitGatewayRouteTableAttachmentInputBuilder
impl UnwindSafe for CreateTransitGatewayRouteTableAttachmentInputBuilder
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