Struct aws_sdk_ec2::model::tunnel_option::Builder
source · [−]#[non_exhaustive]pub struct Builder { /* private fields */ }
Expand description
A builder for TunnelOption
Implementations
The external IP address of the VPN tunnel.
The external IP address of the VPN tunnel.
The range of inside IPv4 addresses for the tunnel.
The range of inside IPv4 addresses for the tunnel.
The range of inside IPv6 addresses for the tunnel.
The range of inside IPv6 addresses for the tunnel.
The pre-shared key (PSK) to establish initial authentication between the virtual private gateway and the customer gateway.
The pre-shared key (PSK) to establish initial authentication between the virtual private gateway and the customer gateway.
The lifetime for phase 1 of the IKE negotiation, in seconds.
The lifetime for phase 1 of the IKE negotiation, in seconds.
The lifetime for phase 2 of the IKE negotiation, in seconds.
The lifetime for phase 2 of the IKE negotiation, in seconds.
The margin time, in seconds, before the phase 2 lifetime expires, during which the Amazon Web Services side of the VPN connection performs an IKE rekey.
The margin time, in seconds, before the phase 2 lifetime expires, during which the Amazon Web Services side of the VPN connection performs an IKE rekey.
The percentage of the rekey window determined by RekeyMarginTimeSeconds
during which the rekey time is randomly selected.
The percentage of the rekey window determined by RekeyMarginTimeSeconds
during which the rekey time is randomly selected.
The number of packets in an IKE replay window.
The number of packets in an IKE replay window.
The number of seconds after which a DPD timeout occurs.
The number of seconds after which a DPD timeout occurs.
The action to take after a DPD timeout occurs.
The action to take after a DPD timeout occurs.
pub fn phase1_encryption_algorithms(
self,
input: Phase1EncryptionAlgorithmsListValue
) -> Self
pub fn phase1_encryption_algorithms(
self,
input: Phase1EncryptionAlgorithmsListValue
) -> Self
Appends an item to phase1_encryption_algorithms
.
To override the contents of this collection use set_phase1_encryption_algorithms
.
The permitted encryption algorithms for the VPN tunnel for phase 1 IKE negotiations.
pub fn set_phase1_encryption_algorithms(
self,
input: Option<Vec<Phase1EncryptionAlgorithmsListValue>>
) -> Self
pub fn set_phase1_encryption_algorithms(
self,
input: Option<Vec<Phase1EncryptionAlgorithmsListValue>>
) -> Self
The permitted encryption algorithms for the VPN tunnel for phase 1 IKE negotiations.
pub fn phase2_encryption_algorithms(
self,
input: Phase2EncryptionAlgorithmsListValue
) -> Self
pub fn phase2_encryption_algorithms(
self,
input: Phase2EncryptionAlgorithmsListValue
) -> Self
Appends an item to phase2_encryption_algorithms
.
To override the contents of this collection use set_phase2_encryption_algorithms
.
The permitted encryption algorithms for the VPN tunnel for phase 2 IKE negotiations.
pub fn set_phase2_encryption_algorithms(
self,
input: Option<Vec<Phase2EncryptionAlgorithmsListValue>>
) -> Self
pub fn set_phase2_encryption_algorithms(
self,
input: Option<Vec<Phase2EncryptionAlgorithmsListValue>>
) -> Self
The permitted encryption algorithms for the VPN tunnel for phase 2 IKE negotiations.
Appends an item to phase1_integrity_algorithms
.
To override the contents of this collection use set_phase1_integrity_algorithms
.
The permitted integrity algorithms for the VPN tunnel for phase 1 IKE negotiations.
pub fn set_phase1_integrity_algorithms(
self,
input: Option<Vec<Phase1IntegrityAlgorithmsListValue>>
) -> Self
pub fn set_phase1_integrity_algorithms(
self,
input: Option<Vec<Phase1IntegrityAlgorithmsListValue>>
) -> Self
The permitted integrity algorithms for the VPN tunnel for phase 1 IKE negotiations.
Appends an item to phase2_integrity_algorithms
.
To override the contents of this collection use set_phase2_integrity_algorithms
.
The permitted integrity algorithms for the VPN tunnel for phase 2 IKE negotiations.
pub fn set_phase2_integrity_algorithms(
self,
input: Option<Vec<Phase2IntegrityAlgorithmsListValue>>
) -> Self
pub fn set_phase2_integrity_algorithms(
self,
input: Option<Vec<Phase2IntegrityAlgorithmsListValue>>
) -> Self
The permitted integrity algorithms for the VPN tunnel for phase 2 IKE negotiations.
Appends an item to phase1_dh_group_numbers
.
To override the contents of this collection use set_phase1_dh_group_numbers
.
The permitted Diffie-Hellman group numbers for the VPN tunnel for phase 1 IKE negotiations.
pub fn set_phase1_dh_group_numbers(
self,
input: Option<Vec<Phase1DhGroupNumbersListValue>>
) -> Self
pub fn set_phase1_dh_group_numbers(
self,
input: Option<Vec<Phase1DhGroupNumbersListValue>>
) -> Self
The permitted Diffie-Hellman group numbers for the VPN tunnel for phase 1 IKE negotiations.
Appends an item to phase2_dh_group_numbers
.
To override the contents of this collection use set_phase2_dh_group_numbers
.
The permitted Diffie-Hellman group numbers for the VPN tunnel for phase 2 IKE negotiations.
pub fn set_phase2_dh_group_numbers(
self,
input: Option<Vec<Phase2DhGroupNumbersListValue>>
) -> Self
pub fn set_phase2_dh_group_numbers(
self,
input: Option<Vec<Phase2DhGroupNumbersListValue>>
) -> Self
The permitted Diffie-Hellman group numbers for the VPN tunnel for phase 2 IKE negotiations.
Appends an item to ike_versions
.
To override the contents of this collection use set_ike_versions
.
The IKE versions that are permitted for the VPN tunnel.
The IKE versions that are permitted for the VPN tunnel.
The action to take when the establishing the VPN tunnels for a VPN connection.
The action to take when the establishing the VPN tunnels for a VPN connection.
Consumes the builder and constructs a TunnelOption
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for Builder
impl UnwindSafe for Builder
Blanket Implementations
Mutably borrows from an owned value. Read more
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more