Struct aws_sdk_cognitoidentityprovider::operation::update_user_pool_domain::builders::UpdateUserPoolDomainInputBuilder
source · #[non_exhaustive]pub struct UpdateUserPoolDomainInputBuilder { /* private fields */ }Expand description
A builder for UpdateUserPoolDomainInput.
Implementations§
source§impl UpdateUserPoolDomainInputBuilder
impl UpdateUserPoolDomainInputBuilder
sourcepub fn domain(self, input: impl Into<String>) -> Self
pub fn domain(self, input: impl Into<String>) -> Self
The domain name for the custom domain that hosts the sign-up and sign-in pages for your application. One example might be auth.example.com.
This string can include only lowercase letters, numbers, and hyphens. Don't use a hyphen for the first or last character. Use periods to separate subdomain names.
This field is required.sourcepub fn set_domain(self, input: Option<String>) -> Self
pub fn set_domain(self, input: Option<String>) -> Self
The domain name for the custom domain that hosts the sign-up and sign-in pages for your application. One example might be auth.example.com.
This string can include only lowercase letters, numbers, and hyphens. Don't use a hyphen for the first or last character. Use periods to separate subdomain names.
sourcepub fn get_domain(&self) -> &Option<String>
pub fn get_domain(&self) -> &Option<String>
The domain name for the custom domain that hosts the sign-up and sign-in pages for your application. One example might be auth.example.com.
This string can include only lowercase letters, numbers, and hyphens. Don't use a hyphen for the first or last character. Use periods to separate subdomain names.
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 user pool that is associated with the custom domain whose certificate you're updating.
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 user pool that is associated with the custom domain whose certificate you're updating.
sourcepub fn get_user_pool_id(&self) -> &Option<String>
pub fn get_user_pool_id(&self) -> &Option<String>
The ID of the user pool that is associated with the custom domain whose certificate you're updating.
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 pages for your application. Use this object to specify an SSL certificate that is managed by ACM.
This field is required.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 pages for your application. Use this object to specify an SSL certificate that is managed by ACM.
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 pages for your application. Use this object to specify an SSL certificate that is managed by ACM.
sourcepub fn build(self) -> Result<UpdateUserPoolDomainInput, BuildError>
pub fn build(self) -> Result<UpdateUserPoolDomainInput, BuildError>
Consumes the builder and constructs a UpdateUserPoolDomainInput.
source§impl UpdateUserPoolDomainInputBuilder
impl UpdateUserPoolDomainInputBuilder
sourcepub async fn send_with(
self,
client: &Client
) -> Result<UpdateUserPoolDomainOutput, SdkError<UpdateUserPoolDomainError, HttpResponse>>
pub async fn send_with( self, client: &Client ) -> Result<UpdateUserPoolDomainOutput, SdkError<UpdateUserPoolDomainError, HttpResponse>>
Sends a request with this input using the given client.
Trait Implementations§
source§impl Clone for UpdateUserPoolDomainInputBuilder
impl Clone for UpdateUserPoolDomainInputBuilder
source§fn clone(&self) -> UpdateUserPoolDomainInputBuilder
fn clone(&self) -> UpdateUserPoolDomainInputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Default for UpdateUserPoolDomainInputBuilder
impl Default for UpdateUserPoolDomainInputBuilder
source§fn default() -> UpdateUserPoolDomainInputBuilder
fn default() -> UpdateUserPoolDomainInputBuilder
source§impl PartialEq for UpdateUserPoolDomainInputBuilder
impl PartialEq for UpdateUserPoolDomainInputBuilder
source§fn eq(&self, other: &UpdateUserPoolDomainInputBuilder) -> bool
fn eq(&self, other: &UpdateUserPoolDomainInputBuilder) -> bool
self and other values to be equal, and is used
by ==.