#[non_exhaustive]pub struct ClientVpnAuthenticationRequestBuilder { /* private fields */ }
Expand description
A builder for ClientVpnAuthenticationRequest
.
Implementations§
source§impl ClientVpnAuthenticationRequestBuilder
impl ClientVpnAuthenticationRequestBuilder
sourcepub fn type(self, input: ClientVpnAuthenticationType) -> Self
pub fn type(self, input: ClientVpnAuthenticationType) -> Self
The type of client authentication to be used.
sourcepub fn set_type(self, input: Option<ClientVpnAuthenticationType>) -> Self
pub fn set_type(self, input: Option<ClientVpnAuthenticationType>) -> Self
The type of client authentication to be used.
sourcepub fn get_type(&self) -> &Option<ClientVpnAuthenticationType>
pub fn get_type(&self) -> &Option<ClientVpnAuthenticationType>
The type of client authentication to be used.
sourcepub fn active_directory(
self,
input: DirectoryServiceAuthenticationRequest,
) -> Self
pub fn active_directory( self, input: DirectoryServiceAuthenticationRequest, ) -> Self
Information about the Active Directory to be used, if applicable. You must provide this information if Type is directory-service-authentication
.
sourcepub fn set_active_directory(
self,
input: Option<DirectoryServiceAuthenticationRequest>,
) -> Self
pub fn set_active_directory( self, input: Option<DirectoryServiceAuthenticationRequest>, ) -> Self
Information about the Active Directory to be used, if applicable. You must provide this information if Type is directory-service-authentication
.
sourcepub fn get_active_directory(
&self,
) -> &Option<DirectoryServiceAuthenticationRequest>
pub fn get_active_directory( &self, ) -> &Option<DirectoryServiceAuthenticationRequest>
Information about the Active Directory to be used, if applicable. You must provide this information if Type is directory-service-authentication
.
sourcepub fn mutual_authentication(
self,
input: CertificateAuthenticationRequest,
) -> Self
pub fn mutual_authentication( self, input: CertificateAuthenticationRequest, ) -> Self
Information about the authentication certificates to be used, if applicable. You must provide this information if Type is certificate-authentication
.
sourcepub fn set_mutual_authentication(
self,
input: Option<CertificateAuthenticationRequest>,
) -> Self
pub fn set_mutual_authentication( self, input: Option<CertificateAuthenticationRequest>, ) -> Self
Information about the authentication certificates to be used, if applicable. You must provide this information if Type is certificate-authentication
.
sourcepub fn get_mutual_authentication(
&self,
) -> &Option<CertificateAuthenticationRequest>
pub fn get_mutual_authentication( &self, ) -> &Option<CertificateAuthenticationRequest>
Information about the authentication certificates to be used, if applicable. You must provide this information if Type is certificate-authentication
.
sourcepub fn federated_authentication(
self,
input: FederatedAuthenticationRequest,
) -> Self
pub fn federated_authentication( self, input: FederatedAuthenticationRequest, ) -> Self
Information about the IAM SAML identity provider to be used, if applicable. You must provide this information if Type is federated-authentication
.
sourcepub fn set_federated_authentication(
self,
input: Option<FederatedAuthenticationRequest>,
) -> Self
pub fn set_federated_authentication( self, input: Option<FederatedAuthenticationRequest>, ) -> Self
Information about the IAM SAML identity provider to be used, if applicable. You must provide this information if Type is federated-authentication
.
sourcepub fn get_federated_authentication(
&self,
) -> &Option<FederatedAuthenticationRequest>
pub fn get_federated_authentication( &self, ) -> &Option<FederatedAuthenticationRequest>
Information about the IAM SAML identity provider to be used, if applicable. You must provide this information if Type is federated-authentication
.
sourcepub fn build(self) -> ClientVpnAuthenticationRequest
pub fn build(self) -> ClientVpnAuthenticationRequest
Consumes the builder and constructs a ClientVpnAuthenticationRequest
.
Trait Implementations§
source§impl Clone for ClientVpnAuthenticationRequestBuilder
impl Clone for ClientVpnAuthenticationRequestBuilder
source§fn clone(&self) -> ClientVpnAuthenticationRequestBuilder
fn clone(&self) -> ClientVpnAuthenticationRequestBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Default for ClientVpnAuthenticationRequestBuilder
impl Default for ClientVpnAuthenticationRequestBuilder
source§fn default() -> ClientVpnAuthenticationRequestBuilder
fn default() -> ClientVpnAuthenticationRequestBuilder
source§impl PartialEq for ClientVpnAuthenticationRequestBuilder
impl PartialEq for ClientVpnAuthenticationRequestBuilder
source§fn eq(&self, other: &ClientVpnAuthenticationRequestBuilder) -> bool
fn eq(&self, other: &ClientVpnAuthenticationRequestBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for ClientVpnAuthenticationRequestBuilder
Auto Trait Implementations§
impl Freeze for ClientVpnAuthenticationRequestBuilder
impl RefUnwindSafe for ClientVpnAuthenticationRequestBuilder
impl Send for ClientVpnAuthenticationRequestBuilder
impl Sync for ClientVpnAuthenticationRequestBuilder
impl Unpin for ClientVpnAuthenticationRequestBuilder
impl UnwindSafe for ClientVpnAuthenticationRequestBuilder
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
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>
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>
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 more