#[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 for TransitGatewayPropagationBuilder
impl PartialEq 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 ==
.impl StructuralPartialEq for TransitGatewayPropagationBuilder
Auto Trait Implementations§
impl Freeze for TransitGatewayPropagationBuilder
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
source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more