#[non_exhaustive]pub struct TransitGatewayConnectOptionsBuilder { /* private fields */ }Expand description
A builder for TransitGatewayConnectOptions.
Implementations§
source§impl TransitGatewayConnectOptionsBuilder
 
impl TransitGatewayConnectOptionsBuilder
sourcepub fn protocol(self, input: ProtocolValue) -> Self
 
pub fn protocol(self, input: ProtocolValue) -> Self
The tunnel protocol.
sourcepub fn set_protocol(self, input: Option<ProtocolValue>) -> Self
 
pub fn set_protocol(self, input: Option<ProtocolValue>) -> Self
The tunnel protocol.
sourcepub fn get_protocol(&self) -> &Option<ProtocolValue>
 
pub fn get_protocol(&self) -> &Option<ProtocolValue>
The tunnel protocol.
sourcepub fn build(self) -> TransitGatewayConnectOptions
 
pub fn build(self) -> TransitGatewayConnectOptions
Consumes the builder and constructs a TransitGatewayConnectOptions.
Trait Implementations§
source§impl Clone for TransitGatewayConnectOptionsBuilder
 
impl Clone for TransitGatewayConnectOptionsBuilder
source§fn clone(&self) -> TransitGatewayConnectOptionsBuilder
 
fn clone(&self) -> TransitGatewayConnectOptionsBuilder
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 TransitGatewayConnectOptionsBuilder
 
impl Default for TransitGatewayConnectOptionsBuilder
source§fn default() -> TransitGatewayConnectOptionsBuilder
 
fn default() -> TransitGatewayConnectOptionsBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq for TransitGatewayConnectOptionsBuilder
 
impl PartialEq for TransitGatewayConnectOptionsBuilder
source§fn eq(&self, other: &TransitGatewayConnectOptionsBuilder) -> bool
 
fn eq(&self, other: &TransitGatewayConnectOptionsBuilder) -> bool
This method tests for 
self and other values to be equal, and is used
by ==.impl StructuralPartialEq for TransitGatewayConnectOptionsBuilder
Auto Trait Implementations§
impl Freeze for TransitGatewayConnectOptionsBuilder
impl RefUnwindSafe for TransitGatewayConnectOptionsBuilder
impl Send for TransitGatewayConnectOptionsBuilder
impl Sync for TransitGatewayConnectOptionsBuilder
impl Unpin for TransitGatewayConnectOptionsBuilder
impl UnwindSafe for TransitGatewayConnectOptionsBuilder
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>
Creates a shared type from an unshared type.