Interface UpdateUserPoolDomainRequest.Builder
-
- All Superinterfaces:
AwsRequest.Builder,Buildable,CognitoIdentityProviderRequest.Builder,CopyableBuilder<UpdateUserPoolDomainRequest.Builder,UpdateUserPoolDomainRequest>,SdkBuilder<UpdateUserPoolDomainRequest.Builder,UpdateUserPoolDomainRequest>,SdkPojo,SdkRequest.Builder
- Enclosing class:
- UpdateUserPoolDomainRequest
public static interface UpdateUserPoolDomainRequest.Builder extends CognitoIdentityProviderRequest.Builder, SdkPojo, CopyableBuilder<UpdateUserPoolDomainRequest.Builder,UpdateUserPoolDomainRequest>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default UpdateUserPoolDomainRequest.BuildercustomDomainConfig(Consumer<CustomDomainConfigType.Builder> customDomainConfig)The configuration for a custom domain that hosts the sign-up and sign-in pages for your application.UpdateUserPoolDomainRequest.BuildercustomDomainConfig(CustomDomainConfigType customDomainConfig)The configuration for a custom domain that hosts the sign-up and sign-in pages for your application.UpdateUserPoolDomainRequest.Builderdomain(String domain)The domain name for the custom domain that hosts the sign-up and sign-in pages for your application.UpdateUserPoolDomainRequest.BuildermanagedLoginVersion(Integer managedLoginVersion)A version number that indicates the state of managed login for your domain.UpdateUserPoolDomainRequest.BuilderoverrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)UpdateUserPoolDomainRequest.BuilderoverrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)UpdateUserPoolDomainRequest.BuilderuserPoolId(String userPoolId)The ID of the user pool that is associated with the custom domain whose certificate you're updating.-
Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfiguration
-
Methods inherited from interface software.amazon.awssdk.services.cognitoidentityprovider.model.CognitoIdentityProviderRequest.Builder
build
-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
-
-
-
Method Detail
-
domain
UpdateUserPoolDomainRequest.Builder domain(String domain)
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.
- Parameters:
domain- The domain name for the custom domain that hosts the sign-up and sign-in pages for your application. One example might beauth.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.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
userPoolId
UpdateUserPoolDomainRequest.Builder userPoolId(String userPoolId)
The ID of the user pool that is associated with the custom domain whose certificate you're updating.
- Parameters:
userPoolId- The ID of the user pool that is associated with the custom domain whose certificate you're updating.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
managedLoginVersion
UpdateUserPoolDomainRequest.Builder managedLoginVersion(Integer managedLoginVersion)
A version number that indicates the state of managed login for your domain. Version
1is hosted UI (classic). Version2is the newer managed login with the branding designer. For more information, see Managed login.- Parameters:
managedLoginVersion- A version number that indicates the state of managed login for your domain. Version1is hosted UI (classic). Version2is the newer managed login with the branding designer. For more information, see Managed login.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
customDomainConfig
UpdateUserPoolDomainRequest.Builder customDomainConfig(CustomDomainConfigType customDomainConfig)
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.
When you create a custom domain, the passkey RP ID defaults to the custom domain. If you had a prefix domain active, this will cause passkey integration for your prefix domain to stop working due to a mismatch in RP ID. To keep the prefix domain passkey integration working, you can explicitly set RP ID to the prefix domain. Update the RP ID in a SetUserPoolMfaConfig request.
- Parameters:
customDomainConfig- 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.When you create a custom domain, the passkey RP ID defaults to the custom domain. If you had a prefix domain active, this will cause passkey integration for your prefix domain to stop working due to a mismatch in RP ID. To keep the prefix domain passkey integration working, you can explicitly set RP ID to the prefix domain. Update the RP ID in a SetUserPoolMfaConfig request.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
customDomainConfig
default UpdateUserPoolDomainRequest.Builder customDomainConfig(Consumer<CustomDomainConfigType.Builder> customDomainConfig)
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.
When you create a custom domain, the passkey RP ID defaults to the custom domain. If you had a prefix domain active, this will cause passkey integration for your prefix domain to stop working due to a mismatch in RP ID. To keep the prefix domain passkey integration working, you can explicitly set RP ID to the prefix domain. Update the RP ID in a SetUserPoolMfaConfig request.
This is a convenience method that creates an instance of theCustomDomainConfigType.Builderavoiding the need to create one manually viaCustomDomainConfigType.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tocustomDomainConfig(CustomDomainConfigType).- Parameters:
customDomainConfig- a consumer that will call methods onCustomDomainConfigType.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
customDomainConfig(CustomDomainConfigType)
-
overrideConfiguration
UpdateUserPoolDomainRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
overrideConfiguration
UpdateUserPoolDomainRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
-