#[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 for TransitGatewayRouteTableRouteBuilder
impl PartialEq 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 ==
.impl StructuralPartialEq for TransitGatewayRouteTableRouteBuilder
Auto Trait Implementations§
impl Freeze for TransitGatewayRouteTableRouteBuilder
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
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