Struct aws_sdk_ec2::types::builders::ClientVpnAuthenticationBuilder
source · #[non_exhaustive]pub struct ClientVpnAuthenticationBuilder { /* private fields */ }
Expand description
A builder for ClientVpnAuthentication
.
Implementations§
source§impl ClientVpnAuthenticationBuilder
impl ClientVpnAuthenticationBuilder
sourcepub fn type(self, input: ClientVpnAuthenticationType) -> Self
pub fn type(self, input: ClientVpnAuthenticationType) -> Self
The authentication type used.
sourcepub fn set_type(self, input: Option<ClientVpnAuthenticationType>) -> Self
pub fn set_type(self, input: Option<ClientVpnAuthenticationType>) -> Self
The authentication type used.
sourcepub fn get_type(&self) -> &Option<ClientVpnAuthenticationType>
pub fn get_type(&self) -> &Option<ClientVpnAuthenticationType>
The authentication type used.
sourcepub fn active_directory(self, input: DirectoryServiceAuthentication) -> Self
pub fn active_directory(self, input: DirectoryServiceAuthentication) -> Self
Information about the Active Directory, if applicable.
sourcepub fn set_active_directory(
self,
input: Option<DirectoryServiceAuthentication>,
) -> Self
pub fn set_active_directory( self, input: Option<DirectoryServiceAuthentication>, ) -> Self
Information about the Active Directory, if applicable.
sourcepub fn get_active_directory(&self) -> &Option<DirectoryServiceAuthentication>
pub fn get_active_directory(&self) -> &Option<DirectoryServiceAuthentication>
Information about the Active Directory, if applicable.
sourcepub fn mutual_authentication(self, input: CertificateAuthentication) -> Self
pub fn mutual_authentication(self, input: CertificateAuthentication) -> Self
Information about the authentication certificates, if applicable.
sourcepub fn set_mutual_authentication(
self,
input: Option<CertificateAuthentication>,
) -> Self
pub fn set_mutual_authentication( self, input: Option<CertificateAuthentication>, ) -> Self
Information about the authentication certificates, if applicable.
sourcepub fn get_mutual_authentication(&self) -> &Option<CertificateAuthentication>
pub fn get_mutual_authentication(&self) -> &Option<CertificateAuthentication>
Information about the authentication certificates, if applicable.
sourcepub fn federated_authentication(self, input: FederatedAuthentication) -> Self
pub fn federated_authentication(self, input: FederatedAuthentication) -> Self
Information about the IAM SAML identity provider, if applicable.
sourcepub fn set_federated_authentication(
self,
input: Option<FederatedAuthentication>,
) -> Self
pub fn set_federated_authentication( self, input: Option<FederatedAuthentication>, ) -> Self
Information about the IAM SAML identity provider, if applicable.
sourcepub fn get_federated_authentication(&self) -> &Option<FederatedAuthentication>
pub fn get_federated_authentication(&self) -> &Option<FederatedAuthentication>
Information about the IAM SAML identity provider, if applicable.
sourcepub fn build(self) -> ClientVpnAuthentication
pub fn build(self) -> ClientVpnAuthentication
Consumes the builder and constructs a ClientVpnAuthentication
.
Trait Implementations§
source§impl Clone for ClientVpnAuthenticationBuilder
impl Clone for ClientVpnAuthenticationBuilder
source§fn clone(&self) -> ClientVpnAuthenticationBuilder
fn clone(&self) -> ClientVpnAuthenticationBuilder
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 ClientVpnAuthenticationBuilder
impl Default for ClientVpnAuthenticationBuilder
source§fn default() -> ClientVpnAuthenticationBuilder
fn default() -> ClientVpnAuthenticationBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq for ClientVpnAuthenticationBuilder
impl PartialEq for ClientVpnAuthenticationBuilder
source§fn eq(&self, other: &ClientVpnAuthenticationBuilder) -> bool
fn eq(&self, other: &ClientVpnAuthenticationBuilder) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for ClientVpnAuthenticationBuilder
Auto Trait Implementations§
impl Freeze for ClientVpnAuthenticationBuilder
impl RefUnwindSafe for ClientVpnAuthenticationBuilder
impl Send for ClientVpnAuthenticationBuilder
impl Sync for ClientVpnAuthenticationBuilder
impl Unpin for ClientVpnAuthenticationBuilder
impl UnwindSafe for ClientVpnAuthenticationBuilder
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.