#[non_exhaustive]pub struct CreateConnectPeerInput {
pub connect_attachment_id: Option<String>,
pub core_network_address: Option<String>,
pub peer_address: Option<String>,
pub bgp_options: Option<BgpOptions>,
pub inside_cidr_blocks: Option<Vec<String>>,
pub tags: Option<Vec<Tag>>,
pub client_token: Option<String>,
pub subnet_arn: Option<String>,
}
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Struct { .. }
syntax; cannot be matched against without a wildcard ..
; and struct update syntax will not work.connect_attachment_id: Option<String>
The ID of the connection attachment.
core_network_address: Option<String>
A Connect peer core network address.
peer_address: Option<String>
The Connect peer address.
bgp_options: Option<BgpOptions>
The Connect peer BGP options.
inside_cidr_blocks: Option<Vec<String>>
The inside IP addresses used for BGP peering.
The tags associated with the peer request.
client_token: Option<String>
The client token associated with the request.
subnet_arn: Option<String>
The subnet ARN for the Connect peer.
Implementations§
source§impl CreateConnectPeerInput
impl CreateConnectPeerInput
sourcepub fn connect_attachment_id(&self) -> Option<&str>
pub fn connect_attachment_id(&self) -> Option<&str>
The ID of the connection attachment.
sourcepub fn core_network_address(&self) -> Option<&str>
pub fn core_network_address(&self) -> Option<&str>
A Connect peer core network address.
sourcepub fn peer_address(&self) -> Option<&str>
pub fn peer_address(&self) -> Option<&str>
The Connect peer address.
sourcepub fn bgp_options(&self) -> Option<&BgpOptions>
pub fn bgp_options(&self) -> Option<&BgpOptions>
The Connect peer BGP options.
sourcepub fn inside_cidr_blocks(&self) -> &[String]
pub fn inside_cidr_blocks(&self) -> &[String]
The inside IP addresses used for BGP peering.
If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use .inside_cidr_blocks.is_none()
.
The tags associated with the peer request.
If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use .tags.is_none()
.
sourcepub fn client_token(&self) -> Option<&str>
pub fn client_token(&self) -> Option<&str>
The client token associated with the request.
sourcepub fn subnet_arn(&self) -> Option<&str>
pub fn subnet_arn(&self) -> Option<&str>
The subnet ARN for the Connect peer.
source§impl CreateConnectPeerInput
impl CreateConnectPeerInput
sourcepub fn builder() -> CreateConnectPeerInputBuilder
pub fn builder() -> CreateConnectPeerInputBuilder
Creates a new builder-style object to manufacture CreateConnectPeerInput
.
Trait Implementations§
source§impl Clone for CreateConnectPeerInput
impl Clone for CreateConnectPeerInput
source§fn clone(&self) -> CreateConnectPeerInput
fn clone(&self) -> CreateConnectPeerInput
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for CreateConnectPeerInput
impl Debug for CreateConnectPeerInput
source§impl PartialEq for CreateConnectPeerInput
impl PartialEq for CreateConnectPeerInput
source§fn eq(&self, other: &CreateConnectPeerInput) -> bool
fn eq(&self, other: &CreateConnectPeerInput) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for CreateConnectPeerInput
Auto Trait Implementations§
impl Freeze for CreateConnectPeerInput
impl RefUnwindSafe for CreateConnectPeerInput
impl Send for CreateConnectPeerInput
impl Sync for CreateConnectPeerInput
impl Unpin for CreateConnectPeerInput
impl UnwindSafe for CreateConnectPeerInput
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
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>
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more