#[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 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 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 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 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 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 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
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 TransitGatewayPropagationBuilder
impl Default for TransitGatewayPropagationBuilder
source§fn default() -> TransitGatewayPropagationBuilder
fn default() -> TransitGatewayPropagationBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq<TransitGatewayPropagationBuilder> for TransitGatewayPropagationBuilder
impl PartialEq<TransitGatewayPropagationBuilder> for TransitGatewayPropagationBuilder
source§fn eq(&self, other: &TransitGatewayPropagationBuilder) -> bool
fn eq(&self, other: &TransitGatewayPropagationBuilder) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for TransitGatewayPropagationBuilder
Auto Trait Implementations§
impl RefUnwindSafe for TransitGatewayPropagationBuilder
impl Send for TransitGatewayPropagationBuilder
impl Sync for TransitGatewayPropagationBuilder
impl Unpin for TransitGatewayPropagationBuilder
impl UnwindSafe for TransitGatewayPropagationBuilder
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