#[non_exhaustive]pub struct TransitGatewayPropagationBuilder { /* private fields */ }
Expand description
A builder for TransitGatewayPropagation
.
Implementations§
source§impl TransitGatewayPropagationBuilder
impl TransitGatewayPropagationBuilder
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 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 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: TransitGatewayPropagationState) -> Self
pub fn state(self, input: TransitGatewayPropagationState) -> Self
The state.
sourcepub fn set_state(self, input: Option<TransitGatewayPropagationState>) -> Self
pub fn set_state(self, input: Option<TransitGatewayPropagationState>) -> Self
The state.
sourcepub fn get_state(&self) -> &Option<TransitGatewayPropagationState>
pub fn get_state(&self) -> &Option<TransitGatewayPropagationState>
The state.
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) -> TransitGatewayPropagation
pub fn build(self) -> TransitGatewayPropagation
Consumes the builder and constructs a TransitGatewayPropagation
.
Trait Implementations§
source§impl Clone for TransitGatewayPropagationBuilder
impl Clone for TransitGatewayPropagationBuilder
source§fn clone(&self) -> TransitGatewayPropagationBuilder
fn clone(&self) -> TransitGatewayPropagationBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Default for TransitGatewayPropagationBuilder
impl Default for TransitGatewayPropagationBuilder
source§fn default() -> TransitGatewayPropagationBuilder
fn default() -> TransitGatewayPropagationBuilder
source§impl PartialEq<TransitGatewayPropagationBuilder> for TransitGatewayPropagationBuilder
impl PartialEq<TransitGatewayPropagationBuilder> for TransitGatewayPropagationBuilder
source§fn eq(&self, other: &TransitGatewayPropagationBuilder) -> bool
fn eq(&self, other: &TransitGatewayPropagationBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.