Struct aws_sdk_ec2::input::CreateCustomerGatewayInput
source · [−]#[non_exhaustive]pub struct CreateCustomerGatewayInput { /* private fields */ }
Expand description
Contains the parameters for CreateCustomerGateway.
Implementations
sourceimpl CreateCustomerGatewayInput
impl CreateCustomerGatewayInput
sourcepub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<CreateCustomerGateway, AwsErrorRetryPolicy>, BuildError>
pub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<CreateCustomerGateway, AwsErrorRetryPolicy>, BuildError>
Consumes the builder and constructs an Operation<CreateCustomerGateway
>
sourcepub fn builder() -> Builder
pub fn builder() -> Builder
Creates a new builder-style object to manufacture CreateCustomerGatewayInput
.
sourceimpl CreateCustomerGatewayInput
impl CreateCustomerGatewayInput
sourcepub fn bgp_asn(&self) -> Option<i32>
pub fn bgp_asn(&self) -> Option<i32>
For devices that support BGP, the customer gateway's BGP ASN.
Default: 65000
sourcepub fn public_ip(&self) -> Option<&str>
pub fn public_ip(&self) -> Option<&str>
This member has been deprecated. The Internet-routable IP address for the customer gateway's outside interface. The address must be static.
sourcepub fn certificate_arn(&self) -> Option<&str>
pub fn certificate_arn(&self) -> Option<&str>
The Amazon Resource Name (ARN) for the customer gateway certificate.
sourcepub fn type(&self) -> Option<&GatewayType>
pub fn type(&self) -> Option<&GatewayType>
The type of VPN connection that this customer gateway supports (ipsec.1
).
sourcepub fn tag_specifications(&self) -> Option<&[TagSpecification]>
pub fn tag_specifications(&self) -> Option<&[TagSpecification]>
The tags to apply to the customer gateway.
sourcepub fn device_name(&self) -> Option<&str>
pub fn device_name(&self) -> Option<&str>
A name for the customer gateway device.
Length Constraints: Up to 255 characters.
sourcepub fn ip_address(&self) -> Option<&str>
pub fn ip_address(&self) -> Option<&str>
IPv4 address for the customer gateway device's outside interface. The address must be static.
Trait Implementations
sourceimpl Clone for CreateCustomerGatewayInput
impl Clone for CreateCustomerGatewayInput
sourcefn clone(&self) -> CreateCustomerGatewayInput
fn clone(&self) -> CreateCustomerGatewayInput
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 CreateCustomerGatewayInput
impl Debug for CreateCustomerGatewayInput
sourceimpl PartialEq<CreateCustomerGatewayInput> for CreateCustomerGatewayInput
impl PartialEq<CreateCustomerGatewayInput> for CreateCustomerGatewayInput
sourcefn eq(&self, other: &CreateCustomerGatewayInput) -> bool
fn eq(&self, other: &CreateCustomerGatewayInput) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &CreateCustomerGatewayInput) -> bool
fn ne(&self, other: &CreateCustomerGatewayInput) -> bool
This method tests for !=
.
impl StructuralPartialEq for CreateCustomerGatewayInput
Auto Trait Implementations
impl RefUnwindSafe for CreateCustomerGatewayInput
impl Send for CreateCustomerGatewayInput
impl Sync for CreateCustomerGatewayInput
impl Unpin for CreateCustomerGatewayInput
impl UnwindSafe for CreateCustomerGatewayInput
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