#[non_exhaustive]pub struct TransitGatewayRouteAttachmentBuilder { /* private fields */ }
Expand description
A builder for TransitGatewayRouteAttachment
.
Implementations§
source§impl TransitGatewayRouteAttachmentBuilder
impl TransitGatewayRouteAttachmentBuilder
sourcepub fn resource_id(self, input: impl Into<String>) -> Self
pub fn resource_id(self, input: impl Into<String>) -> Self
The ID of the resource.
sourcepub fn set_resource_id(self, input: Option<String>) -> Self
pub fn set_resource_id(self, input: Option<String>) -> Self
The ID of the resource.
sourcepub fn get_resource_id(&self) -> &Option<String>
pub fn get_resource_id(&self) -> &Option<String>
The ID of the resource.
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 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 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 attachment.
sourcepub fn resource_type(self, input: TransitGatewayAttachmentResourceType) -> Self
pub fn resource_type(self, input: TransitGatewayAttachmentResourceType) -> Self
The resource type. Note that the tgw-peering
resource type has been deprecated.
sourcepub fn set_resource_type(
self,
input: Option<TransitGatewayAttachmentResourceType>
) -> Self
pub fn set_resource_type( self, input: Option<TransitGatewayAttachmentResourceType> ) -> Self
The resource type. Note that the tgw-peering
resource type has been deprecated.
sourcepub fn get_resource_type(&self) -> &Option<TransitGatewayAttachmentResourceType>
pub fn get_resource_type(&self) -> &Option<TransitGatewayAttachmentResourceType>
The resource type. Note that the tgw-peering
resource type has been deprecated.
sourcepub fn build(self) -> TransitGatewayRouteAttachment
pub fn build(self) -> TransitGatewayRouteAttachment
Consumes the builder and constructs a TransitGatewayRouteAttachment
.
Trait Implementations§
source§impl Clone for TransitGatewayRouteAttachmentBuilder
impl Clone for TransitGatewayRouteAttachmentBuilder
source§fn clone(&self) -> TransitGatewayRouteAttachmentBuilder
fn clone(&self) -> TransitGatewayRouteAttachmentBuilder
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 Default for TransitGatewayRouteAttachmentBuilder
impl Default for TransitGatewayRouteAttachmentBuilder
source§fn default() -> TransitGatewayRouteAttachmentBuilder
fn default() -> TransitGatewayRouteAttachmentBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq<TransitGatewayRouteAttachmentBuilder> for TransitGatewayRouteAttachmentBuilder
impl PartialEq<TransitGatewayRouteAttachmentBuilder> for TransitGatewayRouteAttachmentBuilder
source§fn eq(&self, other: &TransitGatewayRouteAttachmentBuilder) -> bool
fn eq(&self, other: &TransitGatewayRouteAttachmentBuilder) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for TransitGatewayRouteAttachmentBuilder
Auto Trait Implementations§
impl RefUnwindSafe for TransitGatewayRouteAttachmentBuilder
impl Send for TransitGatewayRouteAttachmentBuilder
impl Sync for TransitGatewayRouteAttachmentBuilder
impl Unpin for TransitGatewayRouteAttachmentBuilder
impl UnwindSafe for TransitGatewayRouteAttachmentBuilder
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