#[non_exhaustive]pub struct TransitGatewayAttachmentBgpConfigurationBuilder { /* private fields */ }Expand description
A builder for TransitGatewayAttachmentBgpConfiguration.
Implementations§
source§impl TransitGatewayAttachmentBgpConfigurationBuilder
impl TransitGatewayAttachmentBgpConfigurationBuilder
sourcepub fn transit_gateway_asn(self, input: i64) -> Self
pub fn transit_gateway_asn(self, input: i64) -> Self
The transit gateway Autonomous System Number (ASN).
sourcepub fn set_transit_gateway_asn(self, input: Option<i64>) -> Self
pub fn set_transit_gateway_asn(self, input: Option<i64>) -> Self
The transit gateway Autonomous System Number (ASN).
sourcepub fn set_peer_asn(self, input: Option<i64>) -> Self
pub fn set_peer_asn(self, input: Option<i64>) -> Self
The peer Autonomous System Number (ASN).
sourcepub fn transit_gateway_address(self, input: impl Into<String>) -> Self
pub fn transit_gateway_address(self, input: impl Into<String>) -> Self
The interior BGP peer IP address for the transit gateway.
sourcepub fn set_transit_gateway_address(self, input: Option<String>) -> Self
pub fn set_transit_gateway_address(self, input: Option<String>) -> Self
The interior BGP peer IP address for the transit gateway.
sourcepub fn peer_address(self, input: impl Into<String>) -> Self
pub fn peer_address(self, input: impl Into<String>) -> Self
The interior BGP peer IP address for the appliance.
sourcepub fn set_peer_address(self, input: Option<String>) -> Self
pub fn set_peer_address(self, input: Option<String>) -> Self
The interior BGP peer IP address for the appliance.
sourcepub fn bgp_status(self, input: BgpStatus) -> Self
pub fn bgp_status(self, input: BgpStatus) -> Self
The BGP status.
sourcepub fn set_bgp_status(self, input: Option<BgpStatus>) -> Self
pub fn set_bgp_status(self, input: Option<BgpStatus>) -> Self
The BGP status.
sourcepub fn build(self) -> TransitGatewayAttachmentBgpConfiguration
pub fn build(self) -> TransitGatewayAttachmentBgpConfiguration
Consumes the builder and constructs a TransitGatewayAttachmentBgpConfiguration.
Trait Implementations§
source§impl Clone for TransitGatewayAttachmentBgpConfigurationBuilder
impl Clone for TransitGatewayAttachmentBgpConfigurationBuilder
source§fn clone(&self) -> TransitGatewayAttachmentBgpConfigurationBuilder
fn clone(&self) -> TransitGatewayAttachmentBgpConfigurationBuilder
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moresource§impl Default for TransitGatewayAttachmentBgpConfigurationBuilder
impl Default for TransitGatewayAttachmentBgpConfigurationBuilder
source§fn default() -> TransitGatewayAttachmentBgpConfigurationBuilder
fn default() -> TransitGatewayAttachmentBgpConfigurationBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq<TransitGatewayAttachmentBgpConfigurationBuilder> for TransitGatewayAttachmentBgpConfigurationBuilder
impl PartialEq<TransitGatewayAttachmentBgpConfigurationBuilder> for TransitGatewayAttachmentBgpConfigurationBuilder
source§fn eq(&self, other: &TransitGatewayAttachmentBgpConfigurationBuilder) -> bool
fn eq(&self, other: &TransitGatewayAttachmentBgpConfigurationBuilder) -> bool
This method tests for
self and other values to be equal, and is used
by ==.