#[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 get_destination_cidr(&self) -> &Option<String>
pub fn get_destination_cidr(&self) -> &Option<String>
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 get_route_origin(&self) -> &Option<String>
pub fn get_route_origin(&self) -> &Option<String>
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 get_prefix_list_id(&self) -> &Option<String>
pub fn get_prefix_list_id(&self) -> &Option<String>
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 get_attachment_id(&self) -> &Option<String>
pub fn get_attachment_id(&self) -> &Option<String>
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 get_resource_id(&self) -> &Option<String>
pub fn get_resource_id(&self) -> &Option<String>
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 get_resource_type(&self) -> &Option<String>
pub fn get_resource_type(&self) -> &Option<String>
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
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Default for TransitGatewayRouteTableRouteBuilder
impl Default for TransitGatewayRouteTableRouteBuilder
source§fn default() -> TransitGatewayRouteTableRouteBuilder
fn default() -> TransitGatewayRouteTableRouteBuilder
source§impl PartialEq<TransitGatewayRouteTableRouteBuilder> for TransitGatewayRouteTableRouteBuilder
impl PartialEq<TransitGatewayRouteTableRouteBuilder> for TransitGatewayRouteTableRouteBuilder
source§fn eq(&self, other: &TransitGatewayRouteTableRouteBuilder) -> bool
fn eq(&self, other: &TransitGatewayRouteTableRouteBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.