Struct aws_sdk_networkmanager::types::builders::BgpOptionsBuilder
source · #[non_exhaustive]pub struct BgpOptionsBuilder { /* private fields */ }
Expand description
A builder for BgpOptions
.
Implementations§
source§impl BgpOptionsBuilder
impl BgpOptionsBuilder
sourcepub fn set_peer_asn(self, input: Option<i64>) -> Self
pub fn set_peer_asn(self, input: Option<i64>) -> Self
The Peer ASN of the BGP.
sourcepub fn get_peer_asn(&self) -> &Option<i64>
pub fn get_peer_asn(&self) -> &Option<i64>
The Peer ASN of the BGP.
sourcepub fn build(self) -> BgpOptions
pub fn build(self) -> BgpOptions
Consumes the builder and constructs a BgpOptions
.
Trait Implementations§
source§impl Clone for BgpOptionsBuilder
impl Clone for BgpOptionsBuilder
source§fn clone(&self) -> BgpOptionsBuilder
fn clone(&self) -> BgpOptionsBuilder
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 Debug for BgpOptionsBuilder
impl Debug for BgpOptionsBuilder
source§impl Default for BgpOptionsBuilder
impl Default for BgpOptionsBuilder
source§fn default() -> BgpOptionsBuilder
fn default() -> BgpOptionsBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq for BgpOptionsBuilder
impl PartialEq for BgpOptionsBuilder
source§fn eq(&self, other: &BgpOptionsBuilder) -> bool
fn eq(&self, other: &BgpOptionsBuilder) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for BgpOptionsBuilder
Auto Trait Implementations§
impl Freeze for BgpOptionsBuilder
impl RefUnwindSafe for BgpOptionsBuilder
impl Send for BgpOptionsBuilder
impl Sync for BgpOptionsBuilder
impl Unpin for BgpOptionsBuilder
impl UnwindSafe for BgpOptionsBuilder
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
source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Creates a shared type from an unshared type.