Struct aws_sdk_amplifybackend::operation::import_backend_auth::builders::ImportBackendAuthInputBuilder
source · #[non_exhaustive]pub struct ImportBackendAuthInputBuilder { /* private fields */ }
Expand description
A builder for ImportBackendAuthInput
.
Implementations§
source§impl ImportBackendAuthInputBuilder
impl ImportBackendAuthInputBuilder
sourcepub fn set_app_id(self, input: Option<String>) -> Self
pub fn set_app_id(self, input: Option<String>) -> Self
The app ID.
sourcepub fn get_app_id(&self) -> &Option<String>
pub fn get_app_id(&self) -> &Option<String>
The app ID.
sourcepub fn backend_environment_name(self, input: impl Into<String>) -> Self
pub fn backend_environment_name(self, input: impl Into<String>) -> Self
The name of the backend environment.
This field is required.sourcepub fn set_backend_environment_name(self, input: Option<String>) -> Self
pub fn set_backend_environment_name(self, input: Option<String>) -> Self
The name of the backend environment.
sourcepub fn get_backend_environment_name(&self) -> &Option<String>
pub fn get_backend_environment_name(&self) -> &Option<String>
The name of the backend environment.
sourcepub fn identity_pool_id(self, input: impl Into<String>) -> Self
pub fn identity_pool_id(self, input: impl Into<String>) -> Self
The ID of the Amazon Cognito identity pool.
sourcepub fn set_identity_pool_id(self, input: Option<String>) -> Self
pub fn set_identity_pool_id(self, input: Option<String>) -> Self
The ID of the Amazon Cognito identity pool.
sourcepub fn get_identity_pool_id(&self) -> &Option<String>
pub fn get_identity_pool_id(&self) -> &Option<String>
The ID of the Amazon Cognito identity pool.
sourcepub fn native_client_id(self, input: impl Into<String>) -> Self
pub fn native_client_id(self, input: impl Into<String>) -> Self
The ID of the Amazon Cognito native client.
This field is required.sourcepub fn set_native_client_id(self, input: Option<String>) -> Self
pub fn set_native_client_id(self, input: Option<String>) -> Self
The ID of the Amazon Cognito native client.
sourcepub fn get_native_client_id(&self) -> &Option<String>
pub fn get_native_client_id(&self) -> &Option<String>
The ID of the Amazon Cognito native client.
sourcepub fn user_pool_id(self, input: impl Into<String>) -> Self
pub fn user_pool_id(self, input: impl Into<String>) -> Self
The ID of the Amazon Cognito user pool.
This field is required.sourcepub fn set_user_pool_id(self, input: Option<String>) -> Self
pub fn set_user_pool_id(self, input: Option<String>) -> Self
The ID of the Amazon Cognito user pool.
sourcepub fn get_user_pool_id(&self) -> &Option<String>
pub fn get_user_pool_id(&self) -> &Option<String>
The ID of the Amazon Cognito user pool.
sourcepub fn web_client_id(self, input: impl Into<String>) -> Self
pub fn web_client_id(self, input: impl Into<String>) -> Self
The ID of the Amazon Cognito web client.
This field is required.sourcepub fn set_web_client_id(self, input: Option<String>) -> Self
pub fn set_web_client_id(self, input: Option<String>) -> Self
The ID of the Amazon Cognito web client.
sourcepub fn get_web_client_id(&self) -> &Option<String>
pub fn get_web_client_id(&self) -> &Option<String>
The ID of the Amazon Cognito web client.
sourcepub fn build(self) -> Result<ImportBackendAuthInput, BuildError>
pub fn build(self) -> Result<ImportBackendAuthInput, BuildError>
Consumes the builder and constructs a ImportBackendAuthInput
.
source§impl ImportBackendAuthInputBuilder
impl ImportBackendAuthInputBuilder
sourcepub async fn send_with(
self,
client: &Client,
) -> Result<ImportBackendAuthOutput, SdkError<ImportBackendAuthError, HttpResponse>>
pub async fn send_with( self, client: &Client, ) -> Result<ImportBackendAuthOutput, SdkError<ImportBackendAuthError, HttpResponse>>
Sends a request with this input using the given client.
Trait Implementations§
source§impl Clone for ImportBackendAuthInputBuilder
impl Clone for ImportBackendAuthInputBuilder
source§fn clone(&self) -> ImportBackendAuthInputBuilder
fn clone(&self) -> ImportBackendAuthInputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Default for ImportBackendAuthInputBuilder
impl Default for ImportBackendAuthInputBuilder
source§fn default() -> ImportBackendAuthInputBuilder
fn default() -> ImportBackendAuthInputBuilder
source§impl PartialEq for ImportBackendAuthInputBuilder
impl PartialEq for ImportBackendAuthInputBuilder
source§fn eq(&self, other: &ImportBackendAuthInputBuilder) -> bool
fn eq(&self, other: &ImportBackendAuthInputBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for ImportBackendAuthInputBuilder
Auto Trait Implementations§
impl Freeze for ImportBackendAuthInputBuilder
impl RefUnwindSafe for ImportBackendAuthInputBuilder
impl Send for ImportBackendAuthInputBuilder
impl Sync for ImportBackendAuthInputBuilder
impl Unpin for ImportBackendAuthInputBuilder
impl UnwindSafe for ImportBackendAuthInputBuilder
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