pub struct Builder { /* private fields */ }
Expand description
A builder for ConnectPeerConfiguration
.
Implementations§
source§impl Builder
impl Builder
sourcepub fn core_network_address(self, input: impl Into<String>) -> Self
pub fn core_network_address(self, input: impl Into<String>) -> Self
The IP address of a core network.
sourcepub fn set_core_network_address(self, input: Option<String>) -> Self
pub fn set_core_network_address(self, input: Option<String>) -> Self
The IP address of a core network.
sourcepub fn peer_address(self, input: impl Into<String>) -> Self
pub fn peer_address(self, input: impl Into<String>) -> Self
The IP address of the Connect peer.
sourcepub fn set_peer_address(self, input: Option<String>) -> Self
pub fn set_peer_address(self, input: Option<String>) -> Self
The IP address of the Connect peer.
sourcepub fn inside_cidr_blocks(self, input: impl Into<String>) -> Self
pub fn inside_cidr_blocks(self, input: impl Into<String>) -> Self
Appends an item to inside_cidr_blocks
.
To override the contents of this collection use set_inside_cidr_blocks
.
The inside IP addresses used for a Connect peer configuration.
sourcepub fn set_inside_cidr_blocks(self, input: Option<Vec<String>>) -> Self
pub fn set_inside_cidr_blocks(self, input: Option<Vec<String>>) -> Self
The inside IP addresses used for a Connect peer configuration.
sourcepub fn protocol(self, input: TunnelProtocol) -> Self
pub fn protocol(self, input: TunnelProtocol) -> Self
The protocol used for a Connect peer configuration.
sourcepub fn set_protocol(self, input: Option<TunnelProtocol>) -> Self
pub fn set_protocol(self, input: Option<TunnelProtocol>) -> Self
The protocol used for a Connect peer configuration.
sourcepub fn bgp_configurations(self, input: ConnectPeerBgpConfiguration) -> Self
pub fn bgp_configurations(self, input: ConnectPeerBgpConfiguration) -> Self
Appends an item to bgp_configurations
.
To override the contents of this collection use set_bgp_configurations
.
The Connect peer BGP configurations.
sourcepub fn set_bgp_configurations(
self,
input: Option<Vec<ConnectPeerBgpConfiguration>>
) -> Self
pub fn set_bgp_configurations(
self,
input: Option<Vec<ConnectPeerBgpConfiguration>>
) -> Self
The Connect peer BGP configurations.
sourcepub fn build(self) -> ConnectPeerConfiguration
pub fn build(self) -> ConnectPeerConfiguration
Consumes the builder and constructs a ConnectPeerConfiguration
.