#[non_exhaustive]pub struct AuthenticationConfigurationBuilder { /* private fields */ }Expand description
A builder for AuthenticationConfiguration.
Implementations§
source§impl AuthenticationConfigurationBuilder
impl AuthenticationConfigurationBuilder
sourcepub fn authentication_type(self, input: AuthenticationType) -> Self
pub fn authentication_type(self, input: AuthenticationType) -> Self
A structure containing the authentication configuration.
sourcepub fn set_authentication_type(self, input: Option<AuthenticationType>) -> Self
pub fn set_authentication_type(self, input: Option<AuthenticationType>) -> Self
A structure containing the authentication configuration.
sourcepub fn get_authentication_type(&self) -> &Option<AuthenticationType>
pub fn get_authentication_type(&self) -> &Option<AuthenticationType>
A structure containing the authentication configuration.
sourcepub fn secret_arn(self, input: impl Into<String>) -> Self
pub fn secret_arn(self, input: impl Into<String>) -> Self
The secret manager ARN to store credentials.
sourcepub fn set_secret_arn(self, input: Option<String>) -> Self
pub fn set_secret_arn(self, input: Option<String>) -> Self
The secret manager ARN to store credentials.
sourcepub fn get_secret_arn(&self) -> &Option<String>
pub fn get_secret_arn(&self) -> &Option<String>
The secret manager ARN to store credentials.
sourcepub fn o_auth2_properties(self, input: OAuth2Properties) -> Self
pub fn o_auth2_properties(self, input: OAuth2Properties) -> Self
The properties for OAuth2 authentication.
sourcepub fn set_o_auth2_properties(self, input: Option<OAuth2Properties>) -> Self
pub fn set_o_auth2_properties(self, input: Option<OAuth2Properties>) -> Self
The properties for OAuth2 authentication.
sourcepub fn get_o_auth2_properties(&self) -> &Option<OAuth2Properties>
pub fn get_o_auth2_properties(&self) -> &Option<OAuth2Properties>
The properties for OAuth2 authentication.
sourcepub fn build(self) -> AuthenticationConfiguration
pub fn build(self) -> AuthenticationConfiguration
Consumes the builder and constructs a AuthenticationConfiguration.
Trait Implementations§
source§impl Clone for AuthenticationConfigurationBuilder
impl Clone for AuthenticationConfigurationBuilder
source§fn clone(&self) -> AuthenticationConfigurationBuilder
fn clone(&self) -> AuthenticationConfigurationBuilder
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 AuthenticationConfigurationBuilder
impl Default for AuthenticationConfigurationBuilder
source§fn default() -> AuthenticationConfigurationBuilder
fn default() -> AuthenticationConfigurationBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq for AuthenticationConfigurationBuilder
impl PartialEq for AuthenticationConfigurationBuilder
source§fn eq(&self, other: &AuthenticationConfigurationBuilder) -> bool
fn eq(&self, other: &AuthenticationConfigurationBuilder) -> bool
This method tests for
self and other values to be equal, and is used
by ==.impl StructuralPartialEq for AuthenticationConfigurationBuilder
Auto Trait Implementations§
impl Freeze for AuthenticationConfigurationBuilder
impl RefUnwindSafe for AuthenticationConfigurationBuilder
impl Send for AuthenticationConfigurationBuilder
impl Sync for AuthenticationConfigurationBuilder
impl Unpin for AuthenticationConfigurationBuilder
impl UnwindSafe for AuthenticationConfigurationBuilder
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> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit)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.