Struct aws_sdk_sagemaker::model::cognito_config::Builder
source · pub struct Builder { /* private fields */ }
Expand description
A builder for CognitoConfig
.
Implementations§
source§impl Builder
impl Builder
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
.