#[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
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
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) -> Option<&[String]>
pub fn inside_cidr_blocks(&self) -> Option<&[String]>
The inside IP addresses used for BGP peering.
The tags associated with the peer request.
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
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 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
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for CreateConnectPeerInput
Auto Trait Implementations§
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
Mutably borrows from an owned value. Read more