#[non_exhaustive]pub struct TransitGatewayRouteTablePropagationBuilder { /* private fields */ }
Expand description
A builder for TransitGatewayRouteTablePropagation
.
Implementations§
source§impl TransitGatewayRouteTablePropagationBuilder
impl TransitGatewayRouteTablePropagationBuilder
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_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 resource_type(self, input: TransitGatewayAttachmentResourceType) -> Self
pub fn resource_type(self, input: TransitGatewayAttachmentResourceType) -> Self
The type of resource. 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 type of resource. 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 type of resource. Note that the tgw-peering
resource type has been deprecated.
sourcepub fn state(self, input: TransitGatewayPropagationState) -> Self
pub fn state(self, input: TransitGatewayPropagationState) -> Self
The state of the resource.
sourcepub fn set_state(self, input: Option<TransitGatewayPropagationState>) -> Self
pub fn set_state(self, input: Option<TransitGatewayPropagationState>) -> Self
The state of the resource.
sourcepub fn get_state(&self) -> &Option<TransitGatewayPropagationState>
pub fn get_state(&self) -> &Option<TransitGatewayPropagationState>
The state of the resource.
sourcepub fn transit_gateway_route_table_announcement_id(
self,
input: impl Into<String>
) -> Self
pub fn transit_gateway_route_table_announcement_id( self, input: impl Into<String> ) -> Self
The ID of the transit gateway route table announcement.
sourcepub fn set_transit_gateway_route_table_announcement_id(
self,
input: Option<String>
) -> Self
pub fn set_transit_gateway_route_table_announcement_id( self, input: Option<String> ) -> Self
The ID of the transit gateway route table announcement.
sourcepub fn get_transit_gateway_route_table_announcement_id(&self) -> &Option<String>
pub fn get_transit_gateway_route_table_announcement_id(&self) -> &Option<String>
The ID of the transit gateway route table announcement.
sourcepub fn build(self) -> TransitGatewayRouteTablePropagation
pub fn build(self) -> TransitGatewayRouteTablePropagation
Consumes the builder and constructs a TransitGatewayRouteTablePropagation
.
Trait Implementations§
source§impl Clone for TransitGatewayRouteTablePropagationBuilder
impl Clone for TransitGatewayRouteTablePropagationBuilder
source§fn clone(&self) -> TransitGatewayRouteTablePropagationBuilder
fn clone(&self) -> TransitGatewayRouteTablePropagationBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Default for TransitGatewayRouteTablePropagationBuilder
impl Default for TransitGatewayRouteTablePropagationBuilder
source§fn default() -> TransitGatewayRouteTablePropagationBuilder
fn default() -> TransitGatewayRouteTablePropagationBuilder
source§impl PartialEq<TransitGatewayRouteTablePropagationBuilder> for TransitGatewayRouteTablePropagationBuilder
impl PartialEq<TransitGatewayRouteTablePropagationBuilder> for TransitGatewayRouteTablePropagationBuilder
source§fn eq(&self, other: &TransitGatewayRouteTablePropagationBuilder) -> bool
fn eq(&self, other: &TransitGatewayRouteTablePropagationBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.