pub struct Builder { /* private fields */ }
Expand description
A builder for CreateBackendAuthIdentityPoolConfig
.
Implementations§
source§impl Builder
impl Builder
sourcepub fn identity_pool_name(self, input: impl Into<String>) -> Self
pub fn identity_pool_name(self, input: impl Into<String>) -> Self
Name of the Amazon Cognito identity pool used for authorization.
sourcepub fn set_identity_pool_name(self, input: Option<String>) -> Self
pub fn set_identity_pool_name(self, input: Option<String>) -> Self
Name of the Amazon Cognito identity pool used for authorization.
sourcepub fn unauthenticated_login(self, input: bool) -> Self
pub fn unauthenticated_login(self, input: bool) -> Self
Set to true or false based on whether you want to enable guest authorization to your Amplify app.
sourcepub fn set_unauthenticated_login(self, input: Option<bool>) -> Self
pub fn set_unauthenticated_login(self, input: Option<bool>) -> Self
Set to true or false based on whether you want to enable guest authorization to your Amplify app.
sourcepub fn build(self) -> CreateBackendAuthIdentityPoolConfig
pub fn build(self) -> CreateBackendAuthIdentityPoolConfig
Consumes the builder and constructs a CreateBackendAuthIdentityPoolConfig
.