#[non_exhaustive]pub struct UpdateBackendAuthResourceConfigBuilder { /* private fields */ }
Expand description
A builder for UpdateBackendAuthResourceConfig
.
Implementations§
source§impl UpdateBackendAuthResourceConfigBuilder
impl UpdateBackendAuthResourceConfigBuilder
sourcepub fn auth_resources(self, input: AuthResources) -> Self
pub fn auth_resources(self, input: AuthResources) -> Self
Defines the service name to use when configuring an authentication resource in your Amplify project.
This field is required.sourcepub fn set_auth_resources(self, input: Option<AuthResources>) -> Self
pub fn set_auth_resources(self, input: Option<AuthResources>) -> Self
Defines the service name to use when configuring an authentication resource in your Amplify project.
sourcepub fn get_auth_resources(&self) -> &Option<AuthResources>
pub fn get_auth_resources(&self) -> &Option<AuthResources>
Defines the service name to use when configuring an authentication resource in your Amplify project.
sourcepub fn identity_pool_configs(
self,
input: UpdateBackendAuthIdentityPoolConfig,
) -> Self
pub fn identity_pool_configs( self, input: UpdateBackendAuthIdentityPoolConfig, ) -> Self
Describes the authorization configuration for the Amazon Cognito identity pool, provisioned as a part of your auth resource in the Amplify project.
sourcepub fn set_identity_pool_configs(
self,
input: Option<UpdateBackendAuthIdentityPoolConfig>,
) -> Self
pub fn set_identity_pool_configs( self, input: Option<UpdateBackendAuthIdentityPoolConfig>, ) -> Self
Describes the authorization configuration for the Amazon Cognito identity pool, provisioned as a part of your auth resource in the Amplify project.
sourcepub fn get_identity_pool_configs(
&self,
) -> &Option<UpdateBackendAuthIdentityPoolConfig>
pub fn get_identity_pool_configs( &self, ) -> &Option<UpdateBackendAuthIdentityPoolConfig>
Describes the authorization configuration for the Amazon Cognito identity pool, provisioned as a part of your auth resource in the Amplify project.
sourcepub fn service(self, input: Service) -> Self
pub fn service(self, input: Service) -> Self
Defines the service name to use when configuring an authentication resource in your Amplify project.
This field is required.sourcepub fn set_service(self, input: Option<Service>) -> Self
pub fn set_service(self, input: Option<Service>) -> Self
Defines the service name to use when configuring an authentication resource in your Amplify project.
sourcepub fn get_service(&self) -> &Option<Service>
pub fn get_service(&self) -> &Option<Service>
Defines the service name to use when configuring an authentication resource in your Amplify project.
sourcepub fn user_pool_configs(self, input: UpdateBackendAuthUserPoolConfig) -> Self
pub fn user_pool_configs(self, input: UpdateBackendAuthUserPoolConfig) -> Self
Describes the authentication configuration for the Amazon Cognito user pool, provisioned as a part of your auth resource in the Amplify project.
This field is required.sourcepub fn set_user_pool_configs(
self,
input: Option<UpdateBackendAuthUserPoolConfig>,
) -> Self
pub fn set_user_pool_configs( self, input: Option<UpdateBackendAuthUserPoolConfig>, ) -> Self
Describes the authentication configuration for the Amazon Cognito user pool, provisioned as a part of your auth resource in the Amplify project.
sourcepub fn get_user_pool_configs(&self) -> &Option<UpdateBackendAuthUserPoolConfig>
pub fn get_user_pool_configs(&self) -> &Option<UpdateBackendAuthUserPoolConfig>
Describes the authentication configuration for the Amazon Cognito user pool, provisioned as a part of your auth resource in the Amplify project.
sourcepub fn build(self) -> UpdateBackendAuthResourceConfig
pub fn build(self) -> UpdateBackendAuthResourceConfig
Consumes the builder and constructs a UpdateBackendAuthResourceConfig
.
Trait Implementations§
source§impl Clone for UpdateBackendAuthResourceConfigBuilder
impl Clone for UpdateBackendAuthResourceConfigBuilder
source§fn clone(&self) -> UpdateBackendAuthResourceConfigBuilder
fn clone(&self) -> UpdateBackendAuthResourceConfigBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Default for UpdateBackendAuthResourceConfigBuilder
impl Default for UpdateBackendAuthResourceConfigBuilder
source§fn default() -> UpdateBackendAuthResourceConfigBuilder
fn default() -> UpdateBackendAuthResourceConfigBuilder
source§impl PartialEq for UpdateBackendAuthResourceConfigBuilder
impl PartialEq for UpdateBackendAuthResourceConfigBuilder
source§fn eq(&self, other: &UpdateBackendAuthResourceConfigBuilder) -> bool
fn eq(&self, other: &UpdateBackendAuthResourceConfigBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for UpdateBackendAuthResourceConfigBuilder
Auto Trait Implementations§
impl Freeze for UpdateBackendAuthResourceConfigBuilder
impl RefUnwindSafe for UpdateBackendAuthResourceConfigBuilder
impl Send for UpdateBackendAuthResourceConfigBuilder
impl Sync for UpdateBackendAuthResourceConfigBuilder
impl Unpin for UpdateBackendAuthResourceConfigBuilder
impl UnwindSafe for UpdateBackendAuthResourceConfigBuilder
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
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>
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more