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 ==
.