#[non_exhaustive]pub struct CreateBackendAuthIdentityPoolConfigBuilder { /* private fields */ }
Expand description
A builder for CreateBackendAuthIdentityPoolConfig
.
Implementations§
source§impl CreateBackendAuthIdentityPoolConfigBuilder
impl CreateBackendAuthIdentityPoolConfigBuilder
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
.
Trait Implementations§
source§impl Clone for CreateBackendAuthIdentityPoolConfigBuilder
impl Clone for CreateBackendAuthIdentityPoolConfigBuilder
source§fn clone(&self) -> CreateBackendAuthIdentityPoolConfigBuilder
fn clone(&self) -> CreateBackendAuthIdentityPoolConfigBuilder
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 Default for CreateBackendAuthIdentityPoolConfigBuilder
impl Default for CreateBackendAuthIdentityPoolConfigBuilder
source§fn default() -> CreateBackendAuthIdentityPoolConfigBuilder
fn default() -> CreateBackendAuthIdentityPoolConfigBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq<CreateBackendAuthIdentityPoolConfigBuilder> for CreateBackendAuthIdentityPoolConfigBuilder
impl PartialEq<CreateBackendAuthIdentityPoolConfigBuilder> for CreateBackendAuthIdentityPoolConfigBuilder
source§fn eq(&self, other: &CreateBackendAuthIdentityPoolConfigBuilder) -> bool
fn eq(&self, other: &CreateBackendAuthIdentityPoolConfigBuilder) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.