Struct aws_sdk_directconnect::operation::create_direct_connect_gateway::CreateDirectConnectGatewayInput
source · #[non_exhaustive]pub struct CreateDirectConnectGatewayInput {
pub direct_connect_gateway_name: Option<String>,
pub amazon_side_asn: Option<i64>,
}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.direct_connect_gateway_name: Option<String>The name of the Direct Connect gateway.
amazon_side_asn: Option<i64>The autonomous system number (ASN) for Border Gateway Protocol (BGP) to be configured on the Amazon side of the connection. The ASN must be in the private range of 64,512 to 65,534 or 4,200,000,000 to 4,294,967,294. The default is 64512.
Implementations§
source§impl CreateDirectConnectGatewayInput
impl CreateDirectConnectGatewayInput
sourcepub fn direct_connect_gateway_name(&self) -> Option<&str>
pub fn direct_connect_gateway_name(&self) -> Option<&str>
The name of the Direct Connect gateway.
sourcepub fn amazon_side_asn(&self) -> Option<i64>
pub fn amazon_side_asn(&self) -> Option<i64>
The autonomous system number (ASN) for Border Gateway Protocol (BGP) to be configured on the Amazon side of the connection. The ASN must be in the private range of 64,512 to 65,534 or 4,200,000,000 to 4,294,967,294. The default is 64512.
source§impl CreateDirectConnectGatewayInput
impl CreateDirectConnectGatewayInput
sourcepub fn builder() -> CreateDirectConnectGatewayInputBuilder
pub fn builder() -> CreateDirectConnectGatewayInputBuilder
Creates a new builder-style object to manufacture CreateDirectConnectGatewayInput.
Trait Implementations§
source§impl Clone for CreateDirectConnectGatewayInput
impl Clone for CreateDirectConnectGatewayInput
source§fn clone(&self) -> CreateDirectConnectGatewayInput
fn clone(&self) -> CreateDirectConnectGatewayInput
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 PartialEq for CreateDirectConnectGatewayInput
impl PartialEq for CreateDirectConnectGatewayInput
source§fn eq(&self, other: &CreateDirectConnectGatewayInput) -> bool
fn eq(&self, other: &CreateDirectConnectGatewayInput) -> bool
This method tests for
self and other values to be equal, and is used
by ==.impl StructuralPartialEq for CreateDirectConnectGatewayInput
Auto Trait Implementations§
impl RefUnwindSafe for CreateDirectConnectGatewayInput
impl Send for CreateDirectConnectGatewayInput
impl Sync for CreateDirectConnectGatewayInput
impl Unpin for CreateDirectConnectGatewayInput
impl UnwindSafe for CreateDirectConnectGatewayInput
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.