Struct aws_sdk_directconnect::input::delete_bgp_peer_input::Builder
source · pub struct Builder { /* private fields */ }Expand description
A builder for DeleteBgpPeerInput.
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 asn(self, input: i32) -> Self
pub fn asn(self, input: i32) -> Self
The autonomous system (AS) number for Border Gateway Protocol (BGP) configuration.
sourcepub fn set_asn(self, input: Option<i32>) -> Self
pub fn set_asn(self, input: Option<i32>) -> Self
The autonomous system (AS) number for Border Gateway Protocol (BGP) configuration.
sourcepub fn customer_address(self, input: impl Into<String>) -> Self
pub fn customer_address(self, input: impl Into<String>) -> Self
The IP address assigned to the customer interface.
sourcepub fn set_customer_address(self, input: Option<String>) -> Self
pub fn set_customer_address(self, input: Option<String>) -> Self
The IP address assigned to the customer interface.
sourcepub fn bgp_peer_id(self, input: impl Into<String>) -> Self
pub fn bgp_peer_id(self, input: impl Into<String>) -> Self
The ID of the BGP peer.
sourcepub fn set_bgp_peer_id(self, input: Option<String>) -> Self
pub fn set_bgp_peer_id(self, input: Option<String>) -> Self
The ID of the BGP peer.
sourcepub fn build(self) -> Result<DeleteBgpPeerInput, BuildError>
pub fn build(self) -> Result<DeleteBgpPeerInput, BuildError>
Consumes the builder and constructs a DeleteBgpPeerInput.