#[non_exhaustive]pub struct TransitGatewayRouteTableAnnouncementBuilder { /* private fields */ }
Expand description
A builder for TransitGatewayRouteTableAnnouncement
.
Implementations§
source§impl TransitGatewayRouteTableAnnouncementBuilder
impl TransitGatewayRouteTableAnnouncementBuilder
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 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 core_network_id(self, input: impl Into<String>) -> Self
pub fn core_network_id(self, input: impl Into<String>) -> Self
The ID of the core network for the transit gateway route table announcement.
sourcepub fn set_core_network_id(self, input: Option<String>) -> Self
pub fn set_core_network_id(self, input: Option<String>) -> Self
The ID of the core network for the transit gateway route table announcement.
sourcepub fn get_core_network_id(&self) -> &Option<String>
pub fn get_core_network_id(&self) -> &Option<String>
The ID of the core network for the transit gateway route table announcement.
sourcepub fn peer_transit_gateway_id(self, input: impl Into<String>) -> Self
pub fn peer_transit_gateway_id(self, input: impl Into<String>) -> Self
The ID of the peer transit gateway.
sourcepub fn set_peer_transit_gateway_id(self, input: Option<String>) -> Self
pub fn set_peer_transit_gateway_id(self, input: Option<String>) -> Self
The ID of the peer transit gateway.
sourcepub fn get_peer_transit_gateway_id(&self) -> &Option<String>
pub fn get_peer_transit_gateway_id(&self) -> &Option<String>
The ID of the peer transit gateway.
sourcepub fn peer_core_network_id(self, input: impl Into<String>) -> Self
pub fn peer_core_network_id(self, input: impl Into<String>) -> Self
The ID of the core network ID for the peer.
sourcepub fn set_peer_core_network_id(self, input: Option<String>) -> Self
pub fn set_peer_core_network_id(self, input: Option<String>) -> Self
The ID of the core network ID for the peer.
sourcepub fn get_peer_core_network_id(&self) -> &Option<String>
pub fn get_peer_core_network_id(&self) -> &Option<String>
The ID of the core network ID for the peer.
sourcepub fn peering_attachment_id(self, input: impl Into<String>) -> Self
pub fn peering_attachment_id(self, input: impl Into<String>) -> Self
The ID of the peering attachment.
sourcepub fn set_peering_attachment_id(self, input: Option<String>) -> Self
pub fn set_peering_attachment_id(self, input: Option<String>) -> Self
The ID of the peering attachment.
sourcepub fn get_peering_attachment_id(&self) -> &Option<String>
pub fn get_peering_attachment_id(&self) -> &Option<String>
The ID of the peering attachment.
sourcepub fn announcement_direction(
self,
input: TransitGatewayRouteTableAnnouncementDirection
) -> Self
pub fn announcement_direction( self, input: TransitGatewayRouteTableAnnouncementDirection ) -> Self
The direction for the route table announcement.
sourcepub fn set_announcement_direction(
self,
input: Option<TransitGatewayRouteTableAnnouncementDirection>
) -> Self
pub fn set_announcement_direction( self, input: Option<TransitGatewayRouteTableAnnouncementDirection> ) -> Self
The direction for the route table announcement.
sourcepub fn get_announcement_direction(
&self
) -> &Option<TransitGatewayRouteTableAnnouncementDirection>
pub fn get_announcement_direction( &self ) -> &Option<TransitGatewayRouteTableAnnouncementDirection>
The direction for the route table announcement.
sourcepub fn transit_gateway_route_table_id(self, input: impl Into<String>) -> Self
pub fn transit_gateway_route_table_id(self, input: impl Into<String>) -> Self
The ID of the transit gateway route table.
sourcepub fn set_transit_gateway_route_table_id(self, input: Option<String>) -> Self
pub fn set_transit_gateway_route_table_id(self, input: Option<String>) -> Self
The ID of the transit gateway route table.
sourcepub fn get_transit_gateway_route_table_id(&self) -> &Option<String>
pub fn get_transit_gateway_route_table_id(&self) -> &Option<String>
The ID of the transit gateway route table.
sourcepub fn state(self, input: TransitGatewayRouteTableAnnouncementState) -> Self
pub fn state(self, input: TransitGatewayRouteTableAnnouncementState) -> Self
The state of the transit gateway announcement.
sourcepub fn set_state(
self,
input: Option<TransitGatewayRouteTableAnnouncementState>
) -> Self
pub fn set_state( self, input: Option<TransitGatewayRouteTableAnnouncementState> ) -> Self
The state of the transit gateway announcement.
sourcepub fn get_state(&self) -> &Option<TransitGatewayRouteTableAnnouncementState>
pub fn get_state(&self) -> &Option<TransitGatewayRouteTableAnnouncementState>
The state of the transit gateway announcement.
sourcepub fn creation_time(self, input: DateTime) -> Self
pub fn creation_time(self, input: DateTime) -> Self
The timestamp when the transit gateway route table announcement was created.
sourcepub fn set_creation_time(self, input: Option<DateTime>) -> Self
pub fn set_creation_time(self, input: Option<DateTime>) -> Self
The timestamp when the transit gateway route table announcement was created.
sourcepub fn get_creation_time(&self) -> &Option<DateTime>
pub fn get_creation_time(&self) -> &Option<DateTime>
The timestamp when the transit gateway route table announcement was created.
Appends an item to tags
.
To override the contents of this collection use set_tags
.
The key-value pairs associated with the route table announcement.
The key-value pairs associated with the route table announcement.
The key-value pairs associated with the route table announcement.
sourcepub fn build(self) -> TransitGatewayRouteTableAnnouncement
pub fn build(self) -> TransitGatewayRouteTableAnnouncement
Consumes the builder and constructs a TransitGatewayRouteTableAnnouncement
.
Trait Implementations§
source§impl Clone for TransitGatewayRouteTableAnnouncementBuilder
impl Clone for TransitGatewayRouteTableAnnouncementBuilder
source§fn clone(&self) -> TransitGatewayRouteTableAnnouncementBuilder
fn clone(&self) -> TransitGatewayRouteTableAnnouncementBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Default for TransitGatewayRouteTableAnnouncementBuilder
impl Default for TransitGatewayRouteTableAnnouncementBuilder
source§fn default() -> TransitGatewayRouteTableAnnouncementBuilder
fn default() -> TransitGatewayRouteTableAnnouncementBuilder
source§impl PartialEq<TransitGatewayRouteTableAnnouncementBuilder> for TransitGatewayRouteTableAnnouncementBuilder
impl PartialEq<TransitGatewayRouteTableAnnouncementBuilder> for TransitGatewayRouteTableAnnouncementBuilder
source§fn eq(&self, other: &TransitGatewayRouteTableAnnouncementBuilder) -> bool
fn eq(&self, other: &TransitGatewayRouteTableAnnouncementBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.