Struct aws_sdk_appflow::model::o_auth2_defaults::Builder
source · [−]pub struct Builder { /* private fields */ }
Expand description
A builder for OAuth2Defaults
.
Implementations
sourceimpl Builder
impl Builder
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 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 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 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 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 build(self) -> OAuth2Defaults
pub fn build(self) -> OAuth2Defaults
Consumes the builder and constructs a OAuth2Defaults
.