Struct aws_sdk_directconnect::input::create_bgp_peer_input::Builder
source · pub struct Builder { /* private fields */ }Expand description
A builder for CreateBgpPeerInput.
Implementations§
source§impl Builder
impl Builder
sourcepub fn virtual_interface_id(self, input: impl Into<String>) -> Self
pub fn virtual_interface_id(self, input: impl Into<String>) -> Self
The ID of the virtual interface.
sourcepub fn set_virtual_interface_id(self, input: Option<String>) -> Self
pub fn set_virtual_interface_id(self, input: Option<String>) -> Self
The ID of the virtual interface.
sourcepub fn new_bgp_peer(self, input: NewBgpPeer) -> Self
pub fn new_bgp_peer(self, input: NewBgpPeer) -> Self
Information about the BGP peer.
sourcepub fn set_new_bgp_peer(self, input: Option<NewBgpPeer>) -> Self
pub fn set_new_bgp_peer(self, input: Option<NewBgpPeer>) -> Self
Information about the BGP peer.
sourcepub fn build(self) -> Result<CreateBgpPeerInput, BuildError>
pub fn build(self) -> Result<CreateBgpPeerInput, BuildError>
Consumes the builder and constructs a CreateBgpPeerInput.