#[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.
This field is required.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 get_identity_pool_name(&self) -> &Option<String>
pub fn get_identity_pool_name(&self) -> &Option<String>
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.
This field is required.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 get_unauthenticated_login(&self) -> &Option<bool>
pub fn get_unauthenticated_login(&self) -> &Option<bool>
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 for CreateBackendAuthIdentityPoolConfigBuilder
impl PartialEq 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 ==
.impl StructuralPartialEq for CreateBackendAuthIdentityPoolConfigBuilder
Auto Trait Implementations§
impl Freeze for CreateBackendAuthIdentityPoolConfigBuilder
impl RefUnwindSafe for CreateBackendAuthIdentityPoolConfigBuilder
impl Send for CreateBackendAuthIdentityPoolConfigBuilder
impl Sync for CreateBackendAuthIdentityPoolConfigBuilder
impl Unpin for CreateBackendAuthIdentityPoolConfigBuilder
impl UnwindSafe for CreateBackendAuthIdentityPoolConfigBuilder
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Creates a shared type from an unshared type.