#[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
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
sourceimpl CreateDirectConnectGatewayInput
impl CreateDirectConnectGatewayInput
sourcepub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<CreateDirectConnectGateway, AwsErrorRetryPolicy>, BuildError>
pub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<CreateDirectConnectGateway, AwsErrorRetryPolicy>, BuildError>
Consumes the builder and constructs an Operation<CreateDirectConnectGateway>
sourcepub fn builder() -> Builder
pub fn builder() -> Builder
Creates a new builder-style object to manufacture CreateDirectConnectGatewayInput.
sourceimpl 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.
Trait Implementations
sourceimpl Clone for CreateDirectConnectGatewayInput
impl Clone for CreateDirectConnectGatewayInput
sourcefn clone(&self) -> CreateDirectConnectGatewayInput
fn clone(&self) -> CreateDirectConnectGatewayInput
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source. Read more
sourceimpl PartialEq<CreateDirectConnectGatewayInput> for CreateDirectConnectGatewayInput
impl PartialEq<CreateDirectConnectGatewayInput> for CreateDirectConnectGatewayInput
sourcefn 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 ==. Read more
sourcefn ne(&self, other: &CreateDirectConnectGatewayInput) -> bool
fn ne(&self, other: &CreateDirectConnectGatewayInput) -> bool
This method tests for !=.
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
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> Instrument for T
impl<T> Instrument for T
sourcefn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
sourcefn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
sourceimpl<T> WithSubscriber for T
impl<T> WithSubscriber for T
sourcefn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
Attaches the provided Subscriber to this type, returning a
WithDispatch wrapper. Read more
sourcefn with_current_subscriber(self) -> WithDispatch<Self>
fn with_current_subscriber(self) -> WithDispatch<Self>
Attaches the current default Subscriber to this type, returning a
WithDispatch wrapper. Read more