#[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 get_transit_gateway_asn(&self) -> &Option<i64>
pub fn get_transit_gateway_asn(&self) -> &Option<i64>
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 get_peer_asn(&self) -> &Option<i64>
pub fn get_peer_asn(&self) -> &Option<i64>
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 get_transit_gateway_address(&self) -> &Option<String>
pub fn get_transit_gateway_address(&self) -> &Option<String>
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 get_peer_address(&self) -> &Option<String>
pub fn get_peer_address(&self) -> &Option<String>
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 get_bgp_status(&self) -> &Option<BgpStatus>
pub fn get_bgp_status(&self) -> &Option<BgpStatus>
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 ==
.impl StructuralPartialEq for TransitGatewayAttachmentBgpConfigurationBuilder
Auto Trait Implementations§
impl RefUnwindSafe for TransitGatewayAttachmentBgpConfigurationBuilder
impl Send for TransitGatewayAttachmentBgpConfigurationBuilder
impl Sync for TransitGatewayAttachmentBgpConfigurationBuilder
impl Unpin for TransitGatewayAttachmentBgpConfigurationBuilder
impl UnwindSafe for TransitGatewayAttachmentBgpConfigurationBuilder
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more