Struct aws_sdk_sagemaker::types::builders::CognitoConfigBuilder
source · #[non_exhaustive]pub struct CognitoConfigBuilder { /* private fields */ }
Expand description
A builder for CognitoConfig
.
Implementations§
source§impl CognitoConfigBuilder
impl CognitoConfigBuilder
sourcepub fn user_pool(self, input: impl Into<String>) -> Self
pub fn user_pool(self, input: impl Into<String>) -> Self
A user pool is a user directory in Amazon Cognito. With a user pool, your users can sign in to your web or mobile app through Amazon Cognito. Your users can also sign in through social identity providers like Google, Facebook, Amazon, or Apple, and through SAML identity providers.
sourcepub fn set_user_pool(self, input: Option<String>) -> Self
pub fn set_user_pool(self, input: Option<String>) -> Self
A user pool is a user directory in Amazon Cognito. With a user pool, your users can sign in to your web or mobile app through Amazon Cognito. Your users can also sign in through social identity providers like Google, Facebook, Amazon, or Apple, and through SAML identity providers.
sourcepub fn client_id(self, input: impl Into<String>) -> Self
pub fn client_id(self, input: impl Into<String>) -> Self
The client ID for your Amazon Cognito user pool.
sourcepub fn set_client_id(self, input: Option<String>) -> Self
pub fn set_client_id(self, input: Option<String>) -> Self
The client ID for your Amazon Cognito user pool.
sourcepub fn build(self) -> CognitoConfig
pub fn build(self) -> CognitoConfig
Consumes the builder and constructs a CognitoConfig
.
Trait Implementations§
source§impl Clone for CognitoConfigBuilder
impl Clone for CognitoConfigBuilder
source§fn clone(&self) -> CognitoConfigBuilder
fn clone(&self) -> CognitoConfigBuilder
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for CognitoConfigBuilder
impl Debug for CognitoConfigBuilder
source§impl Default for CognitoConfigBuilder
impl Default for CognitoConfigBuilder
source§fn default() -> CognitoConfigBuilder
fn default() -> CognitoConfigBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq<CognitoConfigBuilder> for CognitoConfigBuilder
impl PartialEq<CognitoConfigBuilder> for CognitoConfigBuilder
source§fn eq(&self, other: &CognitoConfigBuilder) -> bool
fn eq(&self, other: &CognitoConfigBuilder) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.