pub struct Builder { /* private fields */ }
Expand description
A builder for AwsEc2VpnConnectionOptionsDetails
.
Implementations§
source§impl Builder
impl Builder
sourcepub fn static_routes_only(self, input: bool) -> Self
pub fn static_routes_only(self, input: bool) -> Self
Whether the VPN connection uses static routes only.
sourcepub fn set_static_routes_only(self, input: Option<bool>) -> Self
pub fn set_static_routes_only(self, input: Option<bool>) -> Self
Whether the VPN connection uses static routes only.
sourcepub fn tunnel_options(
self,
input: AwsEc2VpnConnectionOptionsTunnelOptionsDetails
) -> Self
pub fn tunnel_options(
self,
input: AwsEc2VpnConnectionOptionsTunnelOptionsDetails
) -> Self
Appends an item to tunnel_options
.
To override the contents of this collection use set_tunnel_options
.
The VPN tunnel options.
sourcepub fn set_tunnel_options(
self,
input: Option<Vec<AwsEc2VpnConnectionOptionsTunnelOptionsDetails>>
) -> Self
pub fn set_tunnel_options(
self,
input: Option<Vec<AwsEc2VpnConnectionOptionsTunnelOptionsDetails>>
) -> Self
The VPN tunnel options.
sourcepub fn build(self) -> AwsEc2VpnConnectionOptionsDetails
pub fn build(self) -> AwsEc2VpnConnectionOptionsDetails
Consumes the builder and constructs a AwsEc2VpnConnectionOptionsDetails
.