Struct aws_sdk_ec2::types::builders::LocalGatewayRouteBuilder
source · #[non_exhaustive]pub struct LocalGatewayRouteBuilder { /* private fields */ }
Expand description
A builder for LocalGatewayRoute
.
Implementations§
source§impl LocalGatewayRouteBuilder
impl LocalGatewayRouteBuilder
sourcepub fn destination_cidr_block(self, input: impl Into<String>) -> Self
pub fn destination_cidr_block(self, input: impl Into<String>) -> Self
The CIDR block used for destination matches.
sourcepub fn set_destination_cidr_block(self, input: Option<String>) -> Self
pub fn set_destination_cidr_block(self, input: Option<String>) -> Self
The CIDR block used for destination matches.
sourcepub fn get_destination_cidr_block(&self) -> &Option<String>
pub fn get_destination_cidr_block(&self) -> &Option<String>
The CIDR block used for destination matches.
sourcepub fn local_gateway_virtual_interface_group_id(
self,
input: impl Into<String>
) -> Self
pub fn local_gateway_virtual_interface_group_id( self, input: impl Into<String> ) -> Self
The ID of the virtual interface group.
sourcepub fn set_local_gateway_virtual_interface_group_id(
self,
input: Option<String>
) -> Self
pub fn set_local_gateway_virtual_interface_group_id( self, input: Option<String> ) -> Self
The ID of the virtual interface group.
sourcepub fn get_local_gateway_virtual_interface_group_id(&self) -> &Option<String>
pub fn get_local_gateway_virtual_interface_group_id(&self) -> &Option<String>
The ID of the virtual interface group.
sourcepub fn type(self, input: LocalGatewayRouteType) -> Self
pub fn type(self, input: LocalGatewayRouteType) -> Self
The route type.
sourcepub fn set_type(self, input: Option<LocalGatewayRouteType>) -> Self
pub fn set_type(self, input: Option<LocalGatewayRouteType>) -> Self
The route type.
sourcepub fn get_type(&self) -> &Option<LocalGatewayRouteType>
pub fn get_type(&self) -> &Option<LocalGatewayRouteType>
The route type.
sourcepub fn state(self, input: LocalGatewayRouteState) -> Self
pub fn state(self, input: LocalGatewayRouteState) -> Self
The state of the route.
sourcepub fn set_state(self, input: Option<LocalGatewayRouteState>) -> Self
pub fn set_state(self, input: Option<LocalGatewayRouteState>) -> Self
The state of the route.
sourcepub fn get_state(&self) -> &Option<LocalGatewayRouteState>
pub fn get_state(&self) -> &Option<LocalGatewayRouteState>
The state of the route.
sourcepub fn local_gateway_route_table_id(self, input: impl Into<String>) -> Self
pub fn local_gateway_route_table_id(self, input: impl Into<String>) -> Self
The ID of the local gateway route table.
sourcepub fn set_local_gateway_route_table_id(self, input: Option<String>) -> Self
pub fn set_local_gateway_route_table_id(self, input: Option<String>) -> Self
The ID of the local gateway route table.
sourcepub fn get_local_gateway_route_table_id(&self) -> &Option<String>
pub fn get_local_gateway_route_table_id(&self) -> &Option<String>
The ID of the local gateway route table.
sourcepub fn local_gateway_route_table_arn(self, input: impl Into<String>) -> Self
pub fn local_gateway_route_table_arn(self, input: impl Into<String>) -> Self
The Amazon Resource Name (ARN) of the local gateway route table.
sourcepub fn set_local_gateway_route_table_arn(self, input: Option<String>) -> Self
pub fn set_local_gateway_route_table_arn(self, input: Option<String>) -> Self
The Amazon Resource Name (ARN) of the local gateway route table.
sourcepub fn get_local_gateway_route_table_arn(&self) -> &Option<String>
pub fn get_local_gateway_route_table_arn(&self) -> &Option<String>
The Amazon Resource Name (ARN) of the local gateway route table.
sourcepub fn owner_id(self, input: impl Into<String>) -> Self
pub fn owner_id(self, input: impl Into<String>) -> Self
The ID of the Amazon Web Services account that owns the local gateway route.
sourcepub fn set_owner_id(self, input: Option<String>) -> Self
pub fn set_owner_id(self, input: Option<String>) -> Self
The ID of the Amazon Web Services account that owns the local gateway route.
sourcepub fn get_owner_id(&self) -> &Option<String>
pub fn get_owner_id(&self) -> &Option<String>
The ID of the Amazon Web Services account that owns the local gateway route.
sourcepub fn set_subnet_id(self, input: Option<String>) -> Self
pub fn set_subnet_id(self, input: Option<String>) -> Self
The ID of the subnet.
sourcepub fn get_subnet_id(&self) -> &Option<String>
pub fn get_subnet_id(&self) -> &Option<String>
The ID of the subnet.
sourcepub fn coip_pool_id(self, input: impl Into<String>) -> Self
pub fn coip_pool_id(self, input: impl Into<String>) -> Self
The ID of the customer-owned address pool.
sourcepub fn set_coip_pool_id(self, input: Option<String>) -> Self
pub fn set_coip_pool_id(self, input: Option<String>) -> Self
The ID of the customer-owned address pool.
sourcepub fn get_coip_pool_id(&self) -> &Option<String>
pub fn get_coip_pool_id(&self) -> &Option<String>
The ID of the customer-owned address pool.
sourcepub fn network_interface_id(self, input: impl Into<String>) -> Self
pub fn network_interface_id(self, input: impl Into<String>) -> Self
The ID of the network interface.
sourcepub fn set_network_interface_id(self, input: Option<String>) -> Self
pub fn set_network_interface_id(self, input: Option<String>) -> Self
The ID of the network interface.
sourcepub fn get_network_interface_id(&self) -> &Option<String>
pub fn get_network_interface_id(&self) -> &Option<String>
The ID of the network interface.
sourcepub fn destination_prefix_list_id(self, input: impl Into<String>) -> Self
pub fn destination_prefix_list_id(self, input: impl Into<String>) -> Self
The ID of the prefix list.
sourcepub fn set_destination_prefix_list_id(self, input: Option<String>) -> Self
pub fn set_destination_prefix_list_id(self, input: Option<String>) -> Self
The ID of the prefix list.
sourcepub fn get_destination_prefix_list_id(&self) -> &Option<String>
pub fn get_destination_prefix_list_id(&self) -> &Option<String>
The ID of the prefix list.
sourcepub fn build(self) -> LocalGatewayRoute
pub fn build(self) -> LocalGatewayRoute
Consumes the builder and constructs a LocalGatewayRoute
.
Trait Implementations§
source§impl Clone for LocalGatewayRouteBuilder
impl Clone for LocalGatewayRouteBuilder
source§fn clone(&self) -> LocalGatewayRouteBuilder
fn clone(&self) -> LocalGatewayRouteBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for LocalGatewayRouteBuilder
impl Debug for LocalGatewayRouteBuilder
source§impl Default for LocalGatewayRouteBuilder
impl Default for LocalGatewayRouteBuilder
source§fn default() -> LocalGatewayRouteBuilder
fn default() -> LocalGatewayRouteBuilder
source§impl PartialEq for LocalGatewayRouteBuilder
impl PartialEq for LocalGatewayRouteBuilder
source§fn eq(&self, other: &LocalGatewayRouteBuilder) -> bool
fn eq(&self, other: &LocalGatewayRouteBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for LocalGatewayRouteBuilder
Auto Trait Implementations§
impl Freeze for LocalGatewayRouteBuilder
impl RefUnwindSafe for LocalGatewayRouteBuilder
impl Send for LocalGatewayRouteBuilder
impl Sync for LocalGatewayRouteBuilder
impl Unpin for LocalGatewayRouteBuilder
impl UnwindSafe for LocalGatewayRouteBuilder
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