pub struct Builder { /* private fields */ }
Expand description
A builder for AwsEc2VpnConnectionDetails
.
Implementations
sourceimpl Builder
impl Builder
sourcepub fn vpn_connection_id(self, input: impl Into<String>) -> Self
pub fn vpn_connection_id(self, input: impl Into<String>) -> Self
The identifier of the VPN connection.
sourcepub fn set_vpn_connection_id(self, input: Option<String>) -> Self
pub fn set_vpn_connection_id(self, input: Option<String>) -> Self
The identifier of the VPN connection.
sourcepub fn customer_gateway_id(self, input: impl Into<String>) -> Self
pub fn customer_gateway_id(self, input: impl Into<String>) -> Self
The identifier of the customer gateway that is at your end of the VPN connection.
sourcepub fn set_customer_gateway_id(self, input: Option<String>) -> Self
pub fn set_customer_gateway_id(self, input: Option<String>) -> Self
The identifier of the customer gateway that is at your end of the VPN connection.
sourcepub fn customer_gateway_configuration(self, input: impl Into<String>) -> Self
pub fn customer_gateway_configuration(self, input: impl Into<String>) -> Self
The configuration information for the VPN connection's customer gateway, in the native XML format.
sourcepub fn set_customer_gateway_configuration(self, input: Option<String>) -> Self
pub fn set_customer_gateway_configuration(self, input: Option<String>) -> Self
The configuration information for the VPN connection's customer gateway, in the native XML format.
sourcepub fn vpn_gateway_id(self, input: impl Into<String>) -> Self
pub fn vpn_gateway_id(self, input: impl Into<String>) -> Self
The identifier of the virtual private gateway that is at the Amazon Web Services side of the VPN connection.
sourcepub fn set_vpn_gateway_id(self, input: Option<String>) -> Self
pub fn set_vpn_gateway_id(self, input: Option<String>) -> Self
The identifier of the virtual private gateway that is at the Amazon Web Services side of the VPN connection.
sourcepub fn category(self, input: impl Into<String>) -> Self
pub fn category(self, input: impl Into<String>) -> Self
The category of the VPN connection. VPN
indicates an Amazon Web Services VPN connection. VPN-Classic
indicates an Amazon Web Services Classic VPN connection.
sourcepub fn set_category(self, input: Option<String>) -> Self
pub fn set_category(self, input: Option<String>) -> Self
The category of the VPN connection. VPN
indicates an Amazon Web Services VPN connection. VPN-Classic
indicates an Amazon Web Services Classic VPN connection.
sourcepub fn vgw_telemetry(self, input: AwsEc2VpnConnectionVgwTelemetryDetails) -> Self
pub fn vgw_telemetry(self, input: AwsEc2VpnConnectionVgwTelemetryDetails) -> Self
Appends an item to vgw_telemetry
.
To override the contents of this collection use set_vgw_telemetry
.
Information about the VPN tunnel.
sourcepub fn set_vgw_telemetry(
self,
input: Option<Vec<AwsEc2VpnConnectionVgwTelemetryDetails>>
) -> Self
pub fn set_vgw_telemetry(
self,
input: Option<Vec<AwsEc2VpnConnectionVgwTelemetryDetails>>
) -> Self
Information about the VPN tunnel.
sourcepub fn options(self, input: AwsEc2VpnConnectionOptionsDetails) -> Self
pub fn options(self, input: AwsEc2VpnConnectionOptionsDetails) -> Self
The VPN connection options.
sourcepub fn set_options(
self,
input: Option<AwsEc2VpnConnectionOptionsDetails>
) -> Self
pub fn set_options(
self,
input: Option<AwsEc2VpnConnectionOptionsDetails>
) -> Self
The VPN connection options.
sourcepub fn routes(self, input: AwsEc2VpnConnectionRoutesDetails) -> Self
pub fn routes(self, input: AwsEc2VpnConnectionRoutesDetails) -> Self
Appends an item to routes
.
To override the contents of this collection use set_routes
.
The static routes that are associated with the VPN connection.
sourcepub fn set_routes(
self,
input: Option<Vec<AwsEc2VpnConnectionRoutesDetails>>
) -> Self
pub fn set_routes(
self,
input: Option<Vec<AwsEc2VpnConnectionRoutesDetails>>
) -> Self
The static routes that are associated with the VPN connection.
sourcepub fn transit_gateway_id(self, input: impl Into<String>) -> Self
pub fn transit_gateway_id(self, input: impl Into<String>) -> Self
The identifier of the transit gateway that is associated with the VPN connection.
sourcepub fn set_transit_gateway_id(self, input: Option<String>) -> Self
pub fn set_transit_gateway_id(self, input: Option<String>) -> Self
The identifier of the transit gateway that is associated with the VPN connection.
sourcepub fn build(self) -> AwsEc2VpnConnectionDetails
pub fn build(self) -> AwsEc2VpnConnectionDetails
Consumes the builder and constructs a AwsEc2VpnConnectionDetails
.
Trait Implementations
impl StructuralPartialEq for Builder
Auto Trait Implementations
impl RefUnwindSafe for Builder
impl Send for Builder
impl Sync for Builder
impl Unpin for Builder
impl UnwindSafe for Builder
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> Instrument for T
impl<T> Instrument for T
sourcefn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
sourcefn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
sourceimpl<T> WithSubscriber for T
impl<T> WithSubscriber for T
sourcefn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
sourcefn with_current_subscriber(self) -> WithDispatch<Self>
fn with_current_subscriber(self) -> WithDispatch<Self>
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more