Struct aws_sdk_ec2::input::CreateVpnGatewayInput
source · [−]#[non_exhaustive]pub struct CreateVpnGatewayInput { /* private fields */ }
Expand description
Contains the parameters for CreateVpnGateway.
Implementations
sourceimpl CreateVpnGatewayInput
impl CreateVpnGatewayInput
sourcepub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<CreateVpnGateway, AwsErrorRetryPolicy>, BuildError>
pub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<CreateVpnGateway, AwsErrorRetryPolicy>, BuildError>
Consumes the builder and constructs an Operation<CreateVpnGateway
>
sourcepub fn builder() -> Builder
pub fn builder() -> Builder
Creates a new builder-style object to manufacture CreateVpnGatewayInput
.
sourceimpl CreateVpnGatewayInput
impl CreateVpnGatewayInput
sourcepub fn availability_zone(&self) -> Option<&str>
pub fn availability_zone(&self) -> Option<&str>
The Availability Zone for the virtual private gateway.
sourcepub fn type(&self) -> Option<&GatewayType>
pub fn type(&self) -> Option<&GatewayType>
The type of VPN connection this virtual private gateway supports.
sourcepub fn tag_specifications(&self) -> Option<&[TagSpecification]>
pub fn tag_specifications(&self) -> Option<&[TagSpecification]>
The tags to apply to the virtual private gateway.
sourcepub fn amazon_side_asn(&self) -> Option<i64>
pub fn amazon_side_asn(&self) -> Option<i64>
A private Autonomous System Number (ASN) for the Amazon side of a BGP session. If you're using a 16-bit ASN, it must be in the 64512 to 65534 range. If you're using a 32-bit ASN, it must be in the 4200000000 to 4294967294 range.
Default: 64512
Trait Implementations
sourceimpl Clone for CreateVpnGatewayInput
impl Clone for CreateVpnGatewayInput
sourcefn clone(&self) -> CreateVpnGatewayInput
fn clone(&self) -> CreateVpnGatewayInput
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 Debug for CreateVpnGatewayInput
impl Debug for CreateVpnGatewayInput
sourceimpl PartialEq<CreateVpnGatewayInput> for CreateVpnGatewayInput
impl PartialEq<CreateVpnGatewayInput> for CreateVpnGatewayInput
sourcefn eq(&self, other: &CreateVpnGatewayInput) -> bool
fn eq(&self, other: &CreateVpnGatewayInput) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &CreateVpnGatewayInput) -> bool
fn ne(&self, other: &CreateVpnGatewayInput) -> bool
This method tests for !=
.
impl StructuralPartialEq for CreateVpnGatewayInput
Auto Trait Implementations
impl RefUnwindSafe for CreateVpnGatewayInput
impl Send for CreateVpnGatewayInput
impl Sync for CreateVpnGatewayInput
impl Unpin for CreateVpnGatewayInput
impl UnwindSafe for CreateVpnGatewayInput
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