Struct aws_sdk_ec2::types::builders::VpnConnectionDeviceTypeBuilder   
source · #[non_exhaustive]pub struct VpnConnectionDeviceTypeBuilder { /* private fields */ }Expand description
A builder for VpnConnectionDeviceType.
Implementations§
source§impl VpnConnectionDeviceTypeBuilder
 
impl VpnConnectionDeviceTypeBuilder
sourcepub fn vpn_connection_device_type_id(self, input: impl Into<String>) -> Self
 
pub fn vpn_connection_device_type_id(self, input: impl Into<String>) -> Self
Customer gateway device identifier.
sourcepub fn set_vpn_connection_device_type_id(self, input: Option<String>) -> Self
 
pub fn set_vpn_connection_device_type_id(self, input: Option<String>) -> Self
Customer gateway device identifier.
sourcepub fn get_vpn_connection_device_type_id(&self) -> &Option<String>
 
pub fn get_vpn_connection_device_type_id(&self) -> &Option<String>
Customer gateway device identifier.
sourcepub fn set_vendor(self, input: Option<String>) -> Self
 
pub fn set_vendor(self, input: Option<String>) -> Self
Customer gateway device vendor.
sourcepub fn get_vendor(&self) -> &Option<String>
 
pub fn get_vendor(&self) -> &Option<String>
Customer gateway device vendor.
sourcepub fn set_platform(self, input: Option<String>) -> Self
 
pub fn set_platform(self, input: Option<String>) -> Self
Customer gateway device platform.
sourcepub fn get_platform(&self) -> &Option<String>
 
pub fn get_platform(&self) -> &Option<String>
Customer gateway device platform.
sourcepub fn software(self, input: impl Into<String>) -> Self
 
pub fn software(self, input: impl Into<String>) -> Self
Customer gateway device software version.
sourcepub fn set_software(self, input: Option<String>) -> Self
 
pub fn set_software(self, input: Option<String>) -> Self
Customer gateway device software version.
sourcepub fn get_software(&self) -> &Option<String>
 
pub fn get_software(&self) -> &Option<String>
Customer gateway device software version.
sourcepub fn build(self) -> VpnConnectionDeviceType
 
pub fn build(self) -> VpnConnectionDeviceType
Consumes the builder and constructs a VpnConnectionDeviceType.
Trait Implementations§
source§impl Clone for VpnConnectionDeviceTypeBuilder
 
impl Clone for VpnConnectionDeviceTypeBuilder
source§fn clone(&self) -> VpnConnectionDeviceTypeBuilder
 
fn clone(&self) -> VpnConnectionDeviceTypeBuilder
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 Default for VpnConnectionDeviceTypeBuilder
 
impl Default for VpnConnectionDeviceTypeBuilder
source§fn default() -> VpnConnectionDeviceTypeBuilder
 
fn default() -> VpnConnectionDeviceTypeBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq for VpnConnectionDeviceTypeBuilder
 
impl PartialEq for VpnConnectionDeviceTypeBuilder
source§fn eq(&self, other: &VpnConnectionDeviceTypeBuilder) -> bool
 
fn eq(&self, other: &VpnConnectionDeviceTypeBuilder) -> bool
This method tests for 
self and other values to be equal, and is used
by ==.impl StructuralPartialEq for VpnConnectionDeviceTypeBuilder
Auto Trait Implementations§
impl Freeze for VpnConnectionDeviceTypeBuilder
impl RefUnwindSafe for VpnConnectionDeviceTypeBuilder
impl Send for VpnConnectionDeviceTypeBuilder
impl Sync for VpnConnectionDeviceTypeBuilder
impl Unpin for VpnConnectionDeviceTypeBuilder
impl UnwindSafe for VpnConnectionDeviceTypeBuilder
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>
source§impl<T> IntoEither for T
 
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
 
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts 
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
 
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts 
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreCreates a shared type from an unshared type.