Struct aws_sdk_appflow::types::builders::OAuth2DefaultsBuilder
source · #[non_exhaustive]pub struct OAuth2DefaultsBuilder { /* private fields */ }
Expand description
A builder for OAuth2Defaults
.
Implementations§
source§impl OAuth2DefaultsBuilder
impl OAuth2DefaultsBuilder
sourcepub fn oauth_scopes(self, input: impl Into<String>) -> Self
pub fn oauth_scopes(self, input: impl Into<String>) -> Self
Appends an item to oauth_scopes
.
To override the contents of this collection use set_oauth_scopes
.
OAuth 2.0 scopes that the connector supports.
sourcepub fn set_oauth_scopes(self, input: Option<Vec<String>>) -> Self
pub fn set_oauth_scopes(self, input: Option<Vec<String>>) -> Self
OAuth 2.0 scopes that the connector supports.
sourcepub fn get_oauth_scopes(&self) -> &Option<Vec<String>>
pub fn get_oauth_scopes(&self) -> &Option<Vec<String>>
OAuth 2.0 scopes that the connector supports.
sourcepub fn token_urls(self, input: impl Into<String>) -> Self
pub fn token_urls(self, input: impl Into<String>) -> Self
Appends an item to token_urls
.
To override the contents of this collection use set_token_urls
.
Token URLs that can be used for OAuth 2.0 authentication.
sourcepub fn set_token_urls(self, input: Option<Vec<String>>) -> Self
pub fn set_token_urls(self, input: Option<Vec<String>>) -> Self
Token URLs that can be used for OAuth 2.0 authentication.
sourcepub fn get_token_urls(&self) -> &Option<Vec<String>>
pub fn get_token_urls(&self) -> &Option<Vec<String>>
Token URLs that can be used for OAuth 2.0 authentication.
sourcepub fn auth_code_urls(self, input: impl Into<String>) -> Self
pub fn auth_code_urls(self, input: impl Into<String>) -> Self
Appends an item to auth_code_urls
.
To override the contents of this collection use set_auth_code_urls
.
Auth code URLs that can be used for OAuth 2.0 authentication.
sourcepub fn set_auth_code_urls(self, input: Option<Vec<String>>) -> Self
pub fn set_auth_code_urls(self, input: Option<Vec<String>>) -> Self
Auth code URLs that can be used for OAuth 2.0 authentication.
sourcepub fn get_auth_code_urls(&self) -> &Option<Vec<String>>
pub fn get_auth_code_urls(&self) -> &Option<Vec<String>>
Auth code URLs that can be used for OAuth 2.0 authentication.
sourcepub fn oauth2_grant_types_supported(self, input: OAuth2GrantType) -> Self
pub fn oauth2_grant_types_supported(self, input: OAuth2GrantType) -> Self
Appends an item to oauth2_grant_types_supported
.
To override the contents of this collection use set_oauth2_grant_types_supported
.
OAuth 2.0 grant types supported by the connector.
sourcepub fn set_oauth2_grant_types_supported(
self,
input: Option<Vec<OAuth2GrantType>>,
) -> Self
pub fn set_oauth2_grant_types_supported( self, input: Option<Vec<OAuth2GrantType>>, ) -> Self
OAuth 2.0 grant types supported by the connector.
sourcepub fn get_oauth2_grant_types_supported(&self) -> &Option<Vec<OAuth2GrantType>>
pub fn get_oauth2_grant_types_supported(&self) -> &Option<Vec<OAuth2GrantType>>
OAuth 2.0 grant types supported by the connector.
sourcepub fn oauth2_custom_properties(self, input: OAuth2CustomParameter) -> Self
pub fn oauth2_custom_properties(self, input: OAuth2CustomParameter) -> Self
Appends an item to oauth2_custom_properties
.
To override the contents of this collection use set_oauth2_custom_properties
.
List of custom parameters required for OAuth 2.0 authentication.
sourcepub fn set_oauth2_custom_properties(
self,
input: Option<Vec<OAuth2CustomParameter>>,
) -> Self
pub fn set_oauth2_custom_properties( self, input: Option<Vec<OAuth2CustomParameter>>, ) -> Self
List of custom parameters required for OAuth 2.0 authentication.
sourcepub fn get_oauth2_custom_properties(
&self,
) -> &Option<Vec<OAuth2CustomParameter>>
pub fn get_oauth2_custom_properties( &self, ) -> &Option<Vec<OAuth2CustomParameter>>
List of custom parameters required for OAuth 2.0 authentication.
sourcepub fn build(self) -> OAuth2Defaults
pub fn build(self) -> OAuth2Defaults
Consumes the builder and constructs a OAuth2Defaults
.
Trait Implementations§
source§impl Clone for OAuth2DefaultsBuilder
impl Clone for OAuth2DefaultsBuilder
source§fn clone(&self) -> OAuth2DefaultsBuilder
fn clone(&self) -> OAuth2DefaultsBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for OAuth2DefaultsBuilder
impl Debug for OAuth2DefaultsBuilder
source§impl Default for OAuth2DefaultsBuilder
impl Default for OAuth2DefaultsBuilder
source§fn default() -> OAuth2DefaultsBuilder
fn default() -> OAuth2DefaultsBuilder
source§impl PartialEq for OAuth2DefaultsBuilder
impl PartialEq for OAuth2DefaultsBuilder
source§fn eq(&self, other: &OAuth2DefaultsBuilder) -> bool
fn eq(&self, other: &OAuth2DefaultsBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for OAuth2DefaultsBuilder
Auto Trait Implementations§
impl Freeze for OAuth2DefaultsBuilder
impl RefUnwindSafe for OAuth2DefaultsBuilder
impl Send for OAuth2DefaultsBuilder
impl Sync for OAuth2DefaultsBuilder
impl Unpin for OAuth2DefaultsBuilder
impl UnwindSafe for OAuth2DefaultsBuilder
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