Struct aws_sdk_ec2::types::builders::AnalysisRouteTableRouteBuilder
source · #[non_exhaustive]pub struct AnalysisRouteTableRouteBuilder { /* private fields */ }
Expand description
A builder for AnalysisRouteTableRoute
.
Implementations§
source§impl AnalysisRouteTableRouteBuilder
impl AnalysisRouteTableRouteBuilder
sourcepub fn destination_cidr(self, input: impl Into<String>) -> Self
pub fn destination_cidr(self, input: impl Into<String>) -> Self
The destination IPv4 address, in CIDR notation.
sourcepub fn set_destination_cidr(self, input: Option<String>) -> Self
pub fn set_destination_cidr(self, input: Option<String>) -> Self
The destination IPv4 address, in CIDR notation.
sourcepub fn get_destination_cidr(&self) -> &Option<String>
pub fn get_destination_cidr(&self) -> &Option<String>
The destination IPv4 address, in CIDR notation.
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 prefix of the Amazon Web Service.
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 prefix of the Amazon Web Service.
sourcepub fn get_destination_prefix_list_id(&self) -> &Option<String>
pub fn get_destination_prefix_list_id(&self) -> &Option<String>
The prefix of the Amazon Web Service.
sourcepub fn egress_only_internet_gateway_id(self, input: impl Into<String>) -> Self
pub fn egress_only_internet_gateway_id(self, input: impl Into<String>) -> Self
The ID of an egress-only internet gateway.
sourcepub fn set_egress_only_internet_gateway_id(self, input: Option<String>) -> Self
pub fn set_egress_only_internet_gateway_id(self, input: Option<String>) -> Self
The ID of an egress-only internet gateway.
sourcepub fn get_egress_only_internet_gateway_id(&self) -> &Option<String>
pub fn get_egress_only_internet_gateway_id(&self) -> &Option<String>
The ID of an egress-only internet gateway.
sourcepub fn gateway_id(self, input: impl Into<String>) -> Self
pub fn gateway_id(self, input: impl Into<String>) -> Self
The ID of the gateway, such as an internet gateway or virtual private gateway.
sourcepub fn set_gateway_id(self, input: Option<String>) -> Self
pub fn set_gateway_id(self, input: Option<String>) -> Self
The ID of the gateway, such as an internet gateway or virtual private gateway.
sourcepub fn get_gateway_id(&self) -> &Option<String>
pub fn get_gateway_id(&self) -> &Option<String>
The ID of the gateway, such as an internet gateway or virtual private gateway.
sourcepub fn instance_id(self, input: impl Into<String>) -> Self
pub fn instance_id(self, input: impl Into<String>) -> Self
The ID of the instance, such as a NAT instance.
sourcepub fn set_instance_id(self, input: Option<String>) -> Self
pub fn set_instance_id(self, input: Option<String>) -> Self
The ID of the instance, such as a NAT instance.
sourcepub fn get_instance_id(&self) -> &Option<String>
pub fn get_instance_id(&self) -> &Option<String>
The ID of the instance, such as a NAT instance.
sourcepub fn nat_gateway_id(self, input: impl Into<String>) -> Self
pub fn nat_gateway_id(self, input: impl Into<String>) -> Self
The ID of a NAT gateway.
sourcepub fn set_nat_gateway_id(self, input: Option<String>) -> Self
pub fn set_nat_gateway_id(self, input: Option<String>) -> Self
The ID of a NAT gateway.
sourcepub fn get_nat_gateway_id(&self) -> &Option<String>
pub fn get_nat_gateway_id(&self) -> &Option<String>
The ID of a NAT gateway.
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 a 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 a network interface.
sourcepub fn get_network_interface_id(&self) -> &Option<String>
pub fn get_network_interface_id(&self) -> &Option<String>
The ID of a network interface.
sourcepub fn origin(self, input: impl Into<String>) -> Self
pub fn origin(self, input: impl Into<String>) -> Self
Describes how the route was created. The following are the possible values:
-
CreateRouteTable - The route was automatically created when the route table was created.
-
CreateRoute - The route was manually added to the route table.
-
EnableVgwRoutePropagation - The route was propagated by route propagation.
sourcepub fn set_origin(self, input: Option<String>) -> Self
pub fn set_origin(self, input: Option<String>) -> Self
Describes how the route was created. The following are the possible values:
-
CreateRouteTable - The route was automatically created when the route table was created.
-
CreateRoute - The route was manually added to the route table.
-
EnableVgwRoutePropagation - The route was propagated by route propagation.
sourcepub fn get_origin(&self) -> &Option<String>
pub fn get_origin(&self) -> &Option<String>
Describes how the route was created. The following are the possible values:
-
CreateRouteTable - The route was automatically created when the route table was created.
-
CreateRoute - The route was manually added to the route table.
-
EnableVgwRoutePropagation - The route was propagated by route propagation.
sourcepub fn transit_gateway_id(self, input: impl Into<String>) -> Self
pub fn transit_gateway_id(self, input: impl Into<String>) -> Self
The ID of a transit gateway.
sourcepub fn set_transit_gateway_id(self, input: Option<String>) -> Self
pub fn set_transit_gateway_id(self, input: Option<String>) -> Self
The ID of a transit gateway.
sourcepub fn get_transit_gateway_id(&self) -> &Option<String>
pub fn get_transit_gateway_id(&self) -> &Option<String>
The ID of a transit gateway.
sourcepub fn vpc_peering_connection_id(self, input: impl Into<String>) -> Self
pub fn vpc_peering_connection_id(self, input: impl Into<String>) -> Self
The ID of a VPC peering connection.
sourcepub fn set_vpc_peering_connection_id(self, input: Option<String>) -> Self
pub fn set_vpc_peering_connection_id(self, input: Option<String>) -> Self
The ID of a VPC peering connection.
sourcepub fn get_vpc_peering_connection_id(&self) -> &Option<String>
pub fn get_vpc_peering_connection_id(&self) -> &Option<String>
The ID of a VPC peering connection.
sourcepub fn state(self, input: impl Into<String>) -> Self
pub fn state(self, input: impl Into<String>) -> Self
The state. The following are the possible values:
-
active
-
blackhole
sourcepub fn set_state(self, input: Option<String>) -> Self
pub fn set_state(self, input: Option<String>) -> Self
The state. The following are the possible values:
-
active
-
blackhole
sourcepub fn get_state(&self) -> &Option<String>
pub fn get_state(&self) -> &Option<String>
The state. The following are the possible values:
-
active
-
blackhole
sourcepub fn carrier_gateway_id(self, input: impl Into<String>) -> Self
pub fn carrier_gateway_id(self, input: impl Into<String>) -> Self
The ID of a carrier gateway.
sourcepub fn set_carrier_gateway_id(self, input: Option<String>) -> Self
pub fn set_carrier_gateway_id(self, input: Option<String>) -> Self
The ID of a carrier gateway.
sourcepub fn get_carrier_gateway_id(&self) -> &Option<String>
pub fn get_carrier_gateway_id(&self) -> &Option<String>
The ID of a carrier gateway.
sourcepub fn core_network_arn(self, input: impl Into<String>) -> Self
pub fn core_network_arn(self, input: impl Into<String>) -> Self
The Amazon Resource Name (ARN) of a core network.
sourcepub fn set_core_network_arn(self, input: Option<String>) -> Self
pub fn set_core_network_arn(self, input: Option<String>) -> Self
The Amazon Resource Name (ARN) of a core network.
sourcepub fn get_core_network_arn(&self) -> &Option<String>
pub fn get_core_network_arn(&self) -> &Option<String>
The Amazon Resource Name (ARN) of a core network.
sourcepub fn local_gateway_id(self, input: impl Into<String>) -> Self
pub fn local_gateway_id(self, input: impl Into<String>) -> Self
The ID of a local gateway.
sourcepub fn set_local_gateway_id(self, input: Option<String>) -> Self
pub fn set_local_gateway_id(self, input: Option<String>) -> Self
The ID of a local gateway.
sourcepub fn get_local_gateway_id(&self) -> &Option<String>
pub fn get_local_gateway_id(&self) -> &Option<String>
The ID of a local gateway.
sourcepub fn build(self) -> AnalysisRouteTableRoute
pub fn build(self) -> AnalysisRouteTableRoute
Consumes the builder and constructs a AnalysisRouteTableRoute
.
Trait Implementations§
source§impl Clone for AnalysisRouteTableRouteBuilder
impl Clone for AnalysisRouteTableRouteBuilder
source§fn clone(&self) -> AnalysisRouteTableRouteBuilder
fn clone(&self) -> AnalysisRouteTableRouteBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Default for AnalysisRouteTableRouteBuilder
impl Default for AnalysisRouteTableRouteBuilder
source§fn default() -> AnalysisRouteTableRouteBuilder
fn default() -> AnalysisRouteTableRouteBuilder
source§impl PartialEq<AnalysisRouteTableRouteBuilder> for AnalysisRouteTableRouteBuilder
impl PartialEq<AnalysisRouteTableRouteBuilder> for AnalysisRouteTableRouteBuilder
source§fn eq(&self, other: &AnalysisRouteTableRouteBuilder) -> bool
fn eq(&self, other: &AnalysisRouteTableRouteBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.