#[non_exhaustive]pub struct TransitGatewayRouteTableRouteBuilder { /* private fields */ }
Expand description
A builder for TransitGatewayRouteTableRoute
.
Implementations§
source§impl TransitGatewayRouteTableRouteBuilder
impl TransitGatewayRouteTableRouteBuilder
sourcepub fn destination_cidr(self, input: impl Into<String>) -> Self
pub fn destination_cidr(self, input: impl Into<String>) -> Self
The CIDR block used for destination matches.
sourcepub fn set_destination_cidr(self, input: Option<String>) -> Self
pub fn set_destination_cidr(self, input: Option<String>) -> Self
The CIDR block used for destination matches.
sourcepub fn route_origin(self, input: impl Into<String>) -> Self
pub fn route_origin(self, input: impl Into<String>) -> Self
The route origin. The following are the possible values:
-
static
-
propagated
sourcepub fn set_route_origin(self, input: Option<String>) -> Self
pub fn set_route_origin(self, input: Option<String>) -> Self
The route origin. The following are the possible values:
-
static
-
propagated
sourcepub fn prefix_list_id(self, input: impl Into<String>) -> Self
pub fn prefix_list_id(self, input: impl Into<String>) -> Self
The ID of the prefix list.
sourcepub fn set_prefix_list_id(self, input: Option<String>) -> Self
pub fn set_prefix_list_id(self, input: Option<String>) -> Self
The ID of the prefix list.
sourcepub fn attachment_id(self, input: impl Into<String>) -> Self
pub fn attachment_id(self, input: impl Into<String>) -> Self
The ID of the route attachment.
sourcepub fn set_attachment_id(self, input: Option<String>) -> Self
pub fn set_attachment_id(self, input: Option<String>) -> Self
The ID of the route 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 for the route attachment.
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 for the route attachment.
sourcepub fn resource_type(self, input: impl Into<String>) -> Self
pub fn resource_type(self, input: impl Into<String>) -> Self
The resource type for the route attachment.
sourcepub fn set_resource_type(self, input: Option<String>) -> Self
pub fn set_resource_type(self, input: Option<String>) -> Self
The resource type for the route attachment.
sourcepub fn build(self) -> TransitGatewayRouteTableRoute
pub fn build(self) -> TransitGatewayRouteTableRoute
Consumes the builder and constructs a TransitGatewayRouteTableRoute
.
Trait Implementations§
source§impl Clone for TransitGatewayRouteTableRouteBuilder
impl Clone for TransitGatewayRouteTableRouteBuilder
source§fn clone(&self) -> TransitGatewayRouteTableRouteBuilder
fn clone(&self) -> TransitGatewayRouteTableRouteBuilder
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 TransitGatewayRouteTableRouteBuilder
impl Default for TransitGatewayRouteTableRouteBuilder
source§fn default() -> TransitGatewayRouteTableRouteBuilder
fn default() -> TransitGatewayRouteTableRouteBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq<TransitGatewayRouteTableRouteBuilder> for TransitGatewayRouteTableRouteBuilder
impl PartialEq<TransitGatewayRouteTableRouteBuilder> for TransitGatewayRouteTableRouteBuilder
source§fn eq(&self, other: &TransitGatewayRouteTableRouteBuilder) -> bool
fn eq(&self, other: &TransitGatewayRouteTableRouteBuilder) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for TransitGatewayRouteTableRouteBuilder
Auto Trait Implementations§
impl RefUnwindSafe for TransitGatewayRouteTableRouteBuilder
impl Send for TransitGatewayRouteTableRouteBuilder
impl Sync for TransitGatewayRouteTableRouteBuilder
impl Unpin for TransitGatewayRouteTableRouteBuilder
impl UnwindSafe for TransitGatewayRouteTableRouteBuilder
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