Struct aws_sdk_directory::operation::enable_client_authentication::builders::EnableClientAuthenticationInputBuilder
source · #[non_exhaustive]pub struct EnableClientAuthenticationInputBuilder { /* private fields */ }
Expand description
A builder for EnableClientAuthenticationInput
.
Implementations§
source§impl EnableClientAuthenticationInputBuilder
impl EnableClientAuthenticationInputBuilder
sourcepub fn directory_id(self, input: impl Into<String>) -> Self
pub fn directory_id(self, input: impl Into<String>) -> Self
The identifier of the specified directory.
sourcepub fn set_directory_id(self, input: Option<String>) -> Self
pub fn set_directory_id(self, input: Option<String>) -> Self
The identifier of the specified directory.
sourcepub fn get_directory_id(&self) -> &Option<String>
pub fn get_directory_id(&self) -> &Option<String>
The identifier of the specified directory.
sourcepub fn type(self, input: ClientAuthenticationType) -> Self
pub fn type(self, input: ClientAuthenticationType) -> Self
The type of client authentication to enable. Currently only the value SmartCard
is supported. Smart card authentication in AD Connector requires that you enable Kerberos Constrained Delegation for the Service User to the LDAP service in your self-managed AD.
sourcepub fn set_type(self, input: Option<ClientAuthenticationType>) -> Self
pub fn set_type(self, input: Option<ClientAuthenticationType>) -> Self
The type of client authentication to enable. Currently only the value SmartCard
is supported. Smart card authentication in AD Connector requires that you enable Kerberos Constrained Delegation for the Service User to the LDAP service in your self-managed AD.
sourcepub fn get_type(&self) -> &Option<ClientAuthenticationType>
pub fn get_type(&self) -> &Option<ClientAuthenticationType>
The type of client authentication to enable. Currently only the value SmartCard
is supported. Smart card authentication in AD Connector requires that you enable Kerberos Constrained Delegation for the Service User to the LDAP service in your self-managed AD.
sourcepub fn build(self) -> Result<EnableClientAuthenticationInput, BuildError>
pub fn build(self) -> Result<EnableClientAuthenticationInput, BuildError>
Consumes the builder and constructs a EnableClientAuthenticationInput
.
source§impl EnableClientAuthenticationInputBuilder
impl EnableClientAuthenticationInputBuilder
sourcepub async fn send_with(
self,
client: &Client
) -> Result<EnableClientAuthenticationOutput, SdkError<EnableClientAuthenticationError, HttpResponse>>
pub async fn send_with( self, client: &Client ) -> Result<EnableClientAuthenticationOutput, SdkError<EnableClientAuthenticationError, HttpResponse>>
Sends a request with this input using the given client.
Trait Implementations§
source§impl Clone for EnableClientAuthenticationInputBuilder
impl Clone for EnableClientAuthenticationInputBuilder
source§fn clone(&self) -> EnableClientAuthenticationInputBuilder
fn clone(&self) -> EnableClientAuthenticationInputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Default for EnableClientAuthenticationInputBuilder
impl Default for EnableClientAuthenticationInputBuilder
source§fn default() -> EnableClientAuthenticationInputBuilder
fn default() -> EnableClientAuthenticationInputBuilder
source§impl PartialEq<EnableClientAuthenticationInputBuilder> for EnableClientAuthenticationInputBuilder
impl PartialEq<EnableClientAuthenticationInputBuilder> for EnableClientAuthenticationInputBuilder
source§fn eq(&self, other: &EnableClientAuthenticationInputBuilder) -> bool
fn eq(&self, other: &EnableClientAuthenticationInputBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.