#[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 ==
.impl StructuralPartialEq for IdentityProviderOAuthSettingBuilder
Auto Trait Implementations§
impl Freeze for IdentityProviderOAuthSettingBuilder
impl RefUnwindSafe for IdentityProviderOAuthSettingBuilder
impl Send for IdentityProviderOAuthSettingBuilder
impl Sync for IdentityProviderOAuthSettingBuilder
impl Unpin for IdentityProviderOAuthSettingBuilder
impl UnwindSafe for IdentityProviderOAuthSettingBuilder
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
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)
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>
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>
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 more