Struct aws_sdk_appflow::model::authentication_config::Builder
source · [−]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
.