pub struct RouteArgsBuilder<S: State = Empty> { /* private fields */ }
Expand description
Use builder syntax to set the inputs and finish with build_struct()
.
Implementations§
source§impl<S: State> RouteArgsBuilder<S>
impl<S: State> RouteArgsBuilder<S>
sourcepub fn build_struct(self) -> RouteArgswhere
S: IsComplete,
pub fn build_struct(self) -> RouteArgswhere
S: IsComplete,
Finish building and return the requested object
sourcepub fn carrier_gateway_id(
self,
value: impl Into<Output<Option<String>>>,
) -> RouteArgsBuilder<SetCarrierGatewayId<S>>where
S::CarrierGatewayId: IsUnset,
pub fn carrier_gateway_id(
self,
value: impl Into<Output<Option<String>>>,
) -> RouteArgsBuilder<SetCarrierGatewayId<S>>where
S::CarrierGatewayId: IsUnset,
sourcepub fn maybe_carrier_gateway_id(
self,
value: Option<impl Into<Output<Option<String>>>>,
) -> RouteArgsBuilder<SetCarrierGatewayId<S>>where
S::CarrierGatewayId: IsUnset,
pub fn maybe_carrier_gateway_id(
self,
value: Option<impl Into<Output<Option<String>>>>,
) -> RouteArgsBuilder<SetCarrierGatewayId<S>>where
S::CarrierGatewayId: IsUnset,
sourcepub fn core_network_arn(
self,
value: impl Into<Output<Option<String>>>,
) -> RouteArgsBuilder<SetCoreNetworkArn<S>>where
S::CoreNetworkArn: IsUnset,
pub fn core_network_arn(
self,
value: impl Into<Output<Option<String>>>,
) -> RouteArgsBuilder<SetCoreNetworkArn<S>>where
S::CoreNetworkArn: IsUnset,
sourcepub fn maybe_core_network_arn(
self,
value: Option<impl Into<Output<Option<String>>>>,
) -> RouteArgsBuilder<SetCoreNetworkArn<S>>where
S::CoreNetworkArn: IsUnset,
pub fn maybe_core_network_arn(
self,
value: Option<impl Into<Output<Option<String>>>>,
) -> RouteArgsBuilder<SetCoreNetworkArn<S>>where
S::CoreNetworkArn: IsUnset,
sourcepub fn destination_cidr_block(
self,
value: impl Into<Output<Option<String>>>,
) -> RouteArgsBuilder<SetDestinationCidrBlock<S>>where
S::DestinationCidrBlock: IsUnset,
pub fn destination_cidr_block(
self,
value: impl Into<Output<Option<String>>>,
) -> RouteArgsBuilder<SetDestinationCidrBlock<S>>where
S::DestinationCidrBlock: IsUnset,
sourcepub fn maybe_destination_cidr_block(
self,
value: Option<impl Into<Output<Option<String>>>>,
) -> RouteArgsBuilder<SetDestinationCidrBlock<S>>where
S::DestinationCidrBlock: IsUnset,
pub fn maybe_destination_cidr_block(
self,
value: Option<impl Into<Output<Option<String>>>>,
) -> RouteArgsBuilder<SetDestinationCidrBlock<S>>where
S::DestinationCidrBlock: IsUnset,
sourcepub fn destination_ipv6_cidr_block(
self,
value: impl Into<Output<Option<String>>>,
) -> RouteArgsBuilder<SetDestinationIpv6CidrBlock<S>>where
S::DestinationIpv6CidrBlock: IsUnset,
pub fn destination_ipv6_cidr_block(
self,
value: impl Into<Output<Option<String>>>,
) -> RouteArgsBuilder<SetDestinationIpv6CidrBlock<S>>where
S::DestinationIpv6CidrBlock: IsUnset,
sourcepub fn maybe_destination_ipv6_cidr_block(
self,
value: Option<impl Into<Output<Option<String>>>>,
) -> RouteArgsBuilder<SetDestinationIpv6CidrBlock<S>>where
S::DestinationIpv6CidrBlock: IsUnset,
pub fn maybe_destination_ipv6_cidr_block(
self,
value: Option<impl Into<Output<Option<String>>>>,
) -> RouteArgsBuilder<SetDestinationIpv6CidrBlock<S>>where
S::DestinationIpv6CidrBlock: IsUnset,
sourcepub fn destination_prefix_list_id(
self,
value: impl Into<Output<Option<String>>>,
) -> RouteArgsBuilder<SetDestinationPrefixListId<S>>where
S::DestinationPrefixListId: IsUnset,
pub fn destination_prefix_list_id(
self,
value: impl Into<Output<Option<String>>>,
) -> RouteArgsBuilder<SetDestinationPrefixListId<S>>where
S::DestinationPrefixListId: IsUnset,
sourcepub fn maybe_destination_prefix_list_id(
self,
value: Option<impl Into<Output<Option<String>>>>,
) -> RouteArgsBuilder<SetDestinationPrefixListId<S>>where
S::DestinationPrefixListId: IsUnset,
pub fn maybe_destination_prefix_list_id(
self,
value: Option<impl Into<Output<Option<String>>>>,
) -> RouteArgsBuilder<SetDestinationPrefixListId<S>>where
S::DestinationPrefixListId: IsUnset,
sourcepub fn egress_only_gateway_id(
self,
value: impl Into<Output<Option<String>>>,
) -> RouteArgsBuilder<SetEgressOnlyGatewayId<S>>where
S::EgressOnlyGatewayId: IsUnset,
pub fn egress_only_gateway_id(
self,
value: impl Into<Output<Option<String>>>,
) -> RouteArgsBuilder<SetEgressOnlyGatewayId<S>>where
S::EgressOnlyGatewayId: IsUnset,
sourcepub fn maybe_egress_only_gateway_id(
self,
value: Option<impl Into<Output<Option<String>>>>,
) -> RouteArgsBuilder<SetEgressOnlyGatewayId<S>>where
S::EgressOnlyGatewayId: IsUnset,
pub fn maybe_egress_only_gateway_id(
self,
value: Option<impl Into<Output<Option<String>>>>,
) -> RouteArgsBuilder<SetEgressOnlyGatewayId<S>>where
S::EgressOnlyGatewayId: IsUnset,
sourcepub fn gateway_id(
self,
value: impl Into<Output<Option<String>>>,
) -> RouteArgsBuilder<SetGatewayId<S>>where
S::GatewayId: IsUnset,
pub fn gateway_id(
self,
value: impl Into<Output<Option<String>>>,
) -> RouteArgsBuilder<SetGatewayId<S>>where
S::GatewayId: IsUnset,
sourcepub fn maybe_gateway_id(
self,
value: Option<impl Into<Output<Option<String>>>>,
) -> RouteArgsBuilder<SetGatewayId<S>>where
S::GatewayId: IsUnset,
pub fn maybe_gateway_id(
self,
value: Option<impl Into<Output<Option<String>>>>,
) -> RouteArgsBuilder<SetGatewayId<S>>where
S::GatewayId: IsUnset,
sourcepub fn local_gateway_id(
self,
value: impl Into<Output<Option<String>>>,
) -> RouteArgsBuilder<SetLocalGatewayId<S>>where
S::LocalGatewayId: IsUnset,
pub fn local_gateway_id(
self,
value: impl Into<Output<Option<String>>>,
) -> RouteArgsBuilder<SetLocalGatewayId<S>>where
S::LocalGatewayId: IsUnset,
sourcepub fn maybe_local_gateway_id(
self,
value: Option<impl Into<Output<Option<String>>>>,
) -> RouteArgsBuilder<SetLocalGatewayId<S>>where
S::LocalGatewayId: IsUnset,
pub fn maybe_local_gateway_id(
self,
value: Option<impl Into<Output<Option<String>>>>,
) -> RouteArgsBuilder<SetLocalGatewayId<S>>where
S::LocalGatewayId: IsUnset,
sourcepub fn nat_gateway_id(
self,
value: impl Into<Output<Option<String>>>,
) -> RouteArgsBuilder<SetNatGatewayId<S>>where
S::NatGatewayId: IsUnset,
pub fn nat_gateway_id(
self,
value: impl Into<Output<Option<String>>>,
) -> RouteArgsBuilder<SetNatGatewayId<S>>where
S::NatGatewayId: IsUnset,
sourcepub fn maybe_nat_gateway_id(
self,
value: Option<impl Into<Output<Option<String>>>>,
) -> RouteArgsBuilder<SetNatGatewayId<S>>where
S::NatGatewayId: IsUnset,
pub fn maybe_nat_gateway_id(
self,
value: Option<impl Into<Output<Option<String>>>>,
) -> RouteArgsBuilder<SetNatGatewayId<S>>where
S::NatGatewayId: IsUnset,
sourcepub fn network_interface_id(
self,
value: impl Into<Output<Option<String>>>,
) -> RouteArgsBuilder<SetNetworkInterfaceId<S>>where
S::NetworkInterfaceId: IsUnset,
pub fn network_interface_id(
self,
value: impl Into<Output<Option<String>>>,
) -> RouteArgsBuilder<SetNetworkInterfaceId<S>>where
S::NetworkInterfaceId: IsUnset,
sourcepub fn maybe_network_interface_id(
self,
value: Option<impl Into<Output<Option<String>>>>,
) -> RouteArgsBuilder<SetNetworkInterfaceId<S>>where
S::NetworkInterfaceId: IsUnset,
pub fn maybe_network_interface_id(
self,
value: Option<impl Into<Output<Option<String>>>>,
) -> RouteArgsBuilder<SetNetworkInterfaceId<S>>where
S::NetworkInterfaceId: IsUnset,
sourcepub fn route_table_id(
self,
value: impl Into<Output<String>>,
) -> RouteArgsBuilder<SetRouteTableId<S>>where
S::RouteTableId: IsUnset,
pub fn route_table_id(
self,
value: impl Into<Output<String>>,
) -> RouteArgsBuilder<SetRouteTableId<S>>where
S::RouteTableId: IsUnset,
Required.
The ID of the routing table.
One of the following destination arguments must be supplied:
sourcepub fn transit_gateway_id(
self,
value: impl Into<Output<Option<String>>>,
) -> RouteArgsBuilder<SetTransitGatewayId<S>>where
S::TransitGatewayId: IsUnset,
pub fn transit_gateway_id(
self,
value: impl Into<Output<Option<String>>>,
) -> RouteArgsBuilder<SetTransitGatewayId<S>>where
S::TransitGatewayId: IsUnset,
sourcepub fn maybe_transit_gateway_id(
self,
value: Option<impl Into<Output<Option<String>>>>,
) -> RouteArgsBuilder<SetTransitGatewayId<S>>where
S::TransitGatewayId: IsUnset,
pub fn maybe_transit_gateway_id(
self,
value: Option<impl Into<Output<Option<String>>>>,
) -> RouteArgsBuilder<SetTransitGatewayId<S>>where
S::TransitGatewayId: IsUnset,
sourcepub fn vpc_endpoint_id(
self,
value: impl Into<Output<Option<String>>>,
) -> RouteArgsBuilder<SetVpcEndpointId<S>>where
S::VpcEndpointId: IsUnset,
pub fn vpc_endpoint_id(
self,
value: impl Into<Output<Option<String>>>,
) -> RouteArgsBuilder<SetVpcEndpointId<S>>where
S::VpcEndpointId: IsUnset,
sourcepub fn maybe_vpc_endpoint_id(
self,
value: Option<impl Into<Output<Option<String>>>>,
) -> RouteArgsBuilder<SetVpcEndpointId<S>>where
S::VpcEndpointId: IsUnset,
pub fn maybe_vpc_endpoint_id(
self,
value: Option<impl Into<Output<Option<String>>>>,
) -> RouteArgsBuilder<SetVpcEndpointId<S>>where
S::VpcEndpointId: IsUnset,
sourcepub fn vpc_peering_connection_id(
self,
value: impl Into<Output<Option<String>>>,
) -> RouteArgsBuilder<SetVpcPeeringConnectionId<S>>where
S::VpcPeeringConnectionId: IsUnset,
pub fn vpc_peering_connection_id(
self,
value: impl Into<Output<Option<String>>>,
) -> RouteArgsBuilder<SetVpcPeeringConnectionId<S>>where
S::VpcPeeringConnectionId: IsUnset,
sourcepub fn maybe_vpc_peering_connection_id(
self,
value: Option<impl Into<Output<Option<String>>>>,
) -> RouteArgsBuilder<SetVpcPeeringConnectionId<S>>where
S::VpcPeeringConnectionId: IsUnset,
pub fn maybe_vpc_peering_connection_id(
self,
value: Option<impl Into<Output<Option<String>>>>,
) -> RouteArgsBuilder<SetVpcPeeringConnectionId<S>>where
S::VpcPeeringConnectionId: IsUnset,
Auto Trait Implementations§
impl<S> Freeze for RouteArgsBuilder<S>
impl<S> RefUnwindSafe for RouteArgsBuilder<S>
impl<S> Send for RouteArgsBuilder<S>
impl<S> Sync for RouteArgsBuilder<S>
impl<S> Unpin for RouteArgsBuilder<S>
impl<S> UnwindSafe for RouteArgsBuilder<S>
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