#[non_exhaustive]pub struct IdentityProviderOAuthSettingBuilder { /* private fields */ }
Expand description
A builder for IdentityProviderOAuthSetting
.
Implementations§
source§impl IdentityProviderOAuthSettingBuilder
impl IdentityProviderOAuthSettingBuilder
sourcepub fn data_source_name(self, input: DataSourceName) -> Self
pub fn data_source_name(self, input: DataSourceName) -> Self
The name of the data source that you're connecting to. Canvas currently supports OAuth for Snowflake and Salesforce Data Cloud.
sourcepub fn set_data_source_name(self, input: Option<DataSourceName>) -> Self
pub fn set_data_source_name(self, input: Option<DataSourceName>) -> Self
The name of the data source that you're connecting to. Canvas currently supports OAuth for Snowflake and Salesforce Data Cloud.
sourcepub fn get_data_source_name(&self) -> &Option<DataSourceName>
pub fn get_data_source_name(&self) -> &Option<DataSourceName>
The name of the data source that you're connecting to. Canvas currently supports OAuth for Snowflake and Salesforce Data Cloud.
sourcepub fn status(self, input: FeatureStatus) -> Self
pub fn status(self, input: FeatureStatus) -> Self
Describes whether OAuth for a data source is enabled or disabled in the Canvas application.
sourcepub fn set_status(self, input: Option<FeatureStatus>) -> Self
pub fn set_status(self, input: Option<FeatureStatus>) -> Self
Describes whether OAuth for a data source is enabled or disabled in the Canvas application.
sourcepub fn get_status(&self) -> &Option<FeatureStatus>
pub fn get_status(&self) -> &Option<FeatureStatus>
Describes whether OAuth for a data source is enabled or disabled in the Canvas application.
sourcepub fn secret_arn(self, input: impl Into<String>) -> Self
pub fn secret_arn(self, input: impl Into<String>) -> Self
The ARN of an Amazon Web Services Secrets Manager secret that stores the credentials from your identity provider, such as the client ID and secret, authorization URL, and token URL.
sourcepub fn set_secret_arn(self, input: Option<String>) -> Self
pub fn set_secret_arn(self, input: Option<String>) -> Self
The ARN of an Amazon Web Services Secrets Manager secret that stores the credentials from your identity provider, such as the client ID and secret, authorization URL, and token URL.
sourcepub fn get_secret_arn(&self) -> &Option<String>
pub fn get_secret_arn(&self) -> &Option<String>
The ARN of an Amazon Web Services Secrets Manager secret that stores the credentials from your identity provider, such as the client ID and secret, authorization URL, and token URL.
sourcepub fn build(self) -> IdentityProviderOAuthSetting
pub fn build(self) -> IdentityProviderOAuthSetting
Consumes the builder and constructs a IdentityProviderOAuthSetting
.
Trait Implementations§
source§impl Clone for IdentityProviderOAuthSettingBuilder
impl Clone for IdentityProviderOAuthSettingBuilder
source§fn clone(&self) -> IdentityProviderOAuthSettingBuilder
fn clone(&self) -> IdentityProviderOAuthSettingBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Default for IdentityProviderOAuthSettingBuilder
impl Default for IdentityProviderOAuthSettingBuilder
source§fn default() -> IdentityProviderOAuthSettingBuilder
fn default() -> IdentityProviderOAuthSettingBuilder
source§impl PartialEq for IdentityProviderOAuthSettingBuilder
impl PartialEq for IdentityProviderOAuthSettingBuilder
source§fn eq(&self, other: &IdentityProviderOAuthSettingBuilder) -> bool
fn eq(&self, other: &IdentityProviderOAuthSettingBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.