Struct aws_sdk_appflow::model::authentication_config::Builder
source · [−]#[non_exhaustive]pub struct Builder { /* private fields */ }
Expand description
A builder for AuthenticationConfig
Implementations
sourceimpl Builder
impl Builder
sourcepub fn is_basic_auth_supported(self, input: bool) -> Self
pub fn is_basic_auth_supported(self, input: bool) -> Self
Indicates whether basic authentication is supported by the connector.
sourcepub fn set_is_basic_auth_supported(self, input: Option<bool>) -> Self
pub fn set_is_basic_auth_supported(self, input: Option<bool>) -> Self
Indicates whether basic authentication is supported by the connector.
sourcepub fn is_api_key_auth_supported(self, input: bool) -> Self
pub fn is_api_key_auth_supported(self, input: bool) -> Self
Indicates whether API key authentication is supported by the connector
sourcepub fn set_is_api_key_auth_supported(self, input: Option<bool>) -> Self
pub fn set_is_api_key_auth_supported(self, input: Option<bool>) -> Self
Indicates whether API key authentication is supported by the connector
sourcepub fn is_o_auth2_supported(self, input: bool) -> Self
pub fn is_o_auth2_supported(self, input: bool) -> Self
Indicates whether OAuth 2.0 authentication is supported by the connector.
sourcepub fn set_is_o_auth2_supported(self, input: Option<bool>) -> Self
pub fn set_is_o_auth2_supported(self, input: Option<bool>) -> Self
Indicates whether OAuth 2.0 authentication is supported by the connector.
sourcepub fn is_custom_auth_supported(self, input: bool) -> Self
pub fn is_custom_auth_supported(self, input: bool) -> Self
Indicates whether custom authentication is supported by the connector
sourcepub fn set_is_custom_auth_supported(self, input: Option<bool>) -> Self
pub fn set_is_custom_auth_supported(self, input: Option<bool>) -> Self
Indicates whether custom authentication is supported by the connector
sourcepub fn o_auth2_defaults(self, input: OAuth2Defaults) -> Self
pub fn o_auth2_defaults(self, input: OAuth2Defaults) -> Self
Contains the default values required for OAuth 2.0 authentication.
sourcepub fn set_o_auth2_defaults(self, input: Option<OAuth2Defaults>) -> Self
pub fn set_o_auth2_defaults(self, input: Option<OAuth2Defaults>) -> Self
Contains the default values required for OAuth 2.0 authentication.
sourcepub fn custom_auth_configs(self, input: CustomAuthConfig) -> Self
pub fn custom_auth_configs(self, input: CustomAuthConfig) -> Self
Appends an item to custom_auth_configs
.
To override the contents of this collection use set_custom_auth_configs
.
Contains information required for custom authentication.
sourcepub fn set_custom_auth_configs(
self,
input: Option<Vec<CustomAuthConfig>>
) -> Self
pub fn set_custom_auth_configs(
self,
input: Option<Vec<CustomAuthConfig>>
) -> Self
Contains information required for custom authentication.
sourcepub fn build(self) -> AuthenticationConfig
pub fn build(self) -> AuthenticationConfig
Consumes the builder and constructs a AuthenticationConfig
Trait Implementations
impl StructuralPartialEq for Builder
Auto Trait Implementations
impl RefUnwindSafe for Builder
impl Send for Builder
impl Sync for Builder
impl Unpin for Builder
impl UnwindSafe for Builder
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> Instrument for T
impl<T> Instrument for T
sourcefn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
sourcefn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
sourceimpl<T> WithSubscriber for T
impl<T> WithSubscriber for T
sourcefn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
sourcefn with_current_subscriber(self) -> WithDispatch<Self>
fn with_current_subscriber(self) -> WithDispatch<Self>
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more