Struct aws_sdk_cognitoidentityprovider::operation::create_user_pool_domain::builders::CreateUserPoolDomainInputBuilder
source · #[non_exhaustive]pub struct CreateUserPoolDomainInputBuilder { /* private fields */ }
Expand description
A builder for CreateUserPoolDomainInput
.
Implementations§
source§impl CreateUserPoolDomainInputBuilder
impl CreateUserPoolDomainInputBuilder
sourcepub fn domain(self, input: impl Into<String>) -> Self
pub fn domain(self, input: impl Into<String>) -> Self
The domain string. For custom domains, this is the fully-qualified domain name, such as auth.example.com
. For Amazon Cognito prefix domains, this is the prefix alone, such as auth
.
sourcepub fn set_domain(self, input: Option<String>) -> Self
pub fn set_domain(self, input: Option<String>) -> Self
The domain string. For custom domains, this is the fully-qualified domain name, such as auth.example.com
. For Amazon Cognito prefix domains, this is the prefix alone, such as auth
.
sourcepub fn get_domain(&self) -> &Option<String>
pub fn get_domain(&self) -> &Option<String>
The domain string. For custom domains, this is the fully-qualified domain name, such as auth.example.com
. For Amazon Cognito prefix domains, this is the prefix alone, such as auth
.
sourcepub fn user_pool_id(self, input: impl Into<String>) -> Self
pub fn user_pool_id(self, input: impl Into<String>) -> Self
The user pool ID.
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 user pool ID.
sourcepub fn get_user_pool_id(&self) -> &Option<String>
pub fn get_user_pool_id(&self) -> &Option<String>
The user pool ID.
sourcepub fn custom_domain_config(self, input: CustomDomainConfigType) -> Self
pub fn custom_domain_config(self, input: CustomDomainConfigType) -> Self
The configuration for a custom domain that hosts the sign-up and sign-in webpages for your application.
Provide this parameter only if you want to use a custom domain for your user pool. Otherwise, you can exclude this parameter and use the Amazon Cognito hosted domain instead.
For more information about the hosted domain and custom domains, see Configuring a User Pool Domain.
sourcepub fn set_custom_domain_config(
self,
input: Option<CustomDomainConfigType>,
) -> Self
pub fn set_custom_domain_config( self, input: Option<CustomDomainConfigType>, ) -> Self
The configuration for a custom domain that hosts the sign-up and sign-in webpages for your application.
Provide this parameter only if you want to use a custom domain for your user pool. Otherwise, you can exclude this parameter and use the Amazon Cognito hosted domain instead.
For more information about the hosted domain and custom domains, see Configuring a User Pool Domain.
sourcepub fn get_custom_domain_config(&self) -> &Option<CustomDomainConfigType>
pub fn get_custom_domain_config(&self) -> &Option<CustomDomainConfigType>
The configuration for a custom domain that hosts the sign-up and sign-in webpages for your application.
Provide this parameter only if you want to use a custom domain for your user pool. Otherwise, you can exclude this parameter and use the Amazon Cognito hosted domain instead.
For more information about the hosted domain and custom domains, see Configuring a User Pool Domain.
sourcepub fn build(self) -> Result<CreateUserPoolDomainInput, BuildError>
pub fn build(self) -> Result<CreateUserPoolDomainInput, BuildError>
Consumes the builder and constructs a CreateUserPoolDomainInput
.
source§impl CreateUserPoolDomainInputBuilder
impl CreateUserPoolDomainInputBuilder
sourcepub async fn send_with(
self,
client: &Client,
) -> Result<CreateUserPoolDomainOutput, SdkError<CreateUserPoolDomainError, HttpResponse>>
pub async fn send_with( self, client: &Client, ) -> Result<CreateUserPoolDomainOutput, SdkError<CreateUserPoolDomainError, HttpResponse>>
Sends a request with this input using the given client.
Trait Implementations§
source§impl Clone for CreateUserPoolDomainInputBuilder
impl Clone for CreateUserPoolDomainInputBuilder
source§fn clone(&self) -> CreateUserPoolDomainInputBuilder
fn clone(&self) -> CreateUserPoolDomainInputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Default for CreateUserPoolDomainInputBuilder
impl Default for CreateUserPoolDomainInputBuilder
source§fn default() -> CreateUserPoolDomainInputBuilder
fn default() -> CreateUserPoolDomainInputBuilder
source§impl PartialEq for CreateUserPoolDomainInputBuilder
impl PartialEq for CreateUserPoolDomainInputBuilder
source§fn eq(&self, other: &CreateUserPoolDomainInputBuilder) -> bool
fn eq(&self, other: &CreateUserPoolDomainInputBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for CreateUserPoolDomainInputBuilder
Auto Trait Implementations§
impl Freeze for CreateUserPoolDomainInputBuilder
impl RefUnwindSafe for CreateUserPoolDomainInputBuilder
impl Send for CreateUserPoolDomainInputBuilder
impl Sync for CreateUserPoolDomainInputBuilder
impl Unpin for CreateUserPoolDomainInputBuilder
impl UnwindSafe for CreateUserPoolDomainInputBuilder
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