#[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 for TransitGatewayRouteTablePropagationBuilder
impl PartialEq 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 ==
.impl StructuralPartialEq for TransitGatewayRouteTablePropagationBuilder
Auto Trait Implementations§
impl Freeze for TransitGatewayRouteTablePropagationBuilder
impl RefUnwindSafe for TransitGatewayRouteTablePropagationBuilder
impl Send for TransitGatewayRouteTablePropagationBuilder
impl Sync for TransitGatewayRouteTablePropagationBuilder
impl Unpin for TransitGatewayRouteTablePropagationBuilder
impl UnwindSafe for TransitGatewayRouteTablePropagationBuilder
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> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
clone_to_uninit
)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