#[non_exhaustive]pub struct CreateVpnGatewayInput { /* private fields */ }
Expand description
Contains the parameters for CreateVpnGateway.
Implementations§
source§impl 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
source§impl CreateVpnGatewayInput
impl CreateVpnGatewayInput
sourcepub fn builder() -> CreateVpnGatewayInputBuilder
pub fn builder() -> CreateVpnGatewayInputBuilder
Creates a new builder-style object to manufacture CreateVpnGatewayInput
.
source§impl CreateVpnGatewayInput
impl CreateVpnGatewayInput
sourcepub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<CreateVpnGateway, AwsResponseRetryClassifier>, BuildError>
pub async fn make_operation( &self, _config: &Config ) -> Result<Operation<CreateVpnGateway, AwsResponseRetryClassifier>, BuildError>
Consumes the builder and constructs an Operation<CreateVpnGateway
>
Trait Implementations§
source§impl Clone for CreateVpnGatewayInput
impl Clone for CreateVpnGatewayInput
source§fn clone(&self) -> CreateVpnGatewayInput
fn clone(&self) -> CreateVpnGatewayInput
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 CreateVpnGatewayInput
impl Debug for CreateVpnGatewayInput
source§impl PartialEq<CreateVpnGatewayInput> for CreateVpnGatewayInput
impl PartialEq<CreateVpnGatewayInput> for CreateVpnGatewayInput
source§fn 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 ==
.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§
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