Interface DomainDescriptionType.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<DomainDescriptionType.Builder,,DomainDescriptionType> SdkBuilder<DomainDescriptionType.Builder,,DomainDescriptionType> SdkPojo
- Enclosing class:
- DomainDescriptionType
-
Method Summary
Modifier and TypeMethodDescriptionawsAccountId(String awsAccountId) The Amazon Web Services account that you created the user pool in.cloudFrontDistribution(String cloudFrontDistribution) The Amazon CloudFront endpoint that hosts your custom domain.default DomainDescriptionType.BuildercustomDomainConfig(Consumer<CustomDomainConfigType.Builder> customDomainConfig) The configuration for a custom domain that hosts the sign-up and sign-in webpages for your application.customDomainConfig(CustomDomainConfigType customDomainConfig) The configuration for a custom domain that hosts the sign-up and sign-in webpages for your application.The domain string.managedLoginVersion(Integer managedLoginVersion) The version of managed login branding that you want to apply to your domain.default DomainDescriptionType.Builderrouting(Consumer<RoutingType.Builder> routing) The routing configuration for the domain, including failover settings for multi-region deployments.routing(RoutingType routing) The routing configuration for the domain, including failover settings for multi-region deployments.The Amazon S3 bucket where the static files for this domain are stored.The domain status.status(DomainStatusType status) The domain status.userPoolId(String userPoolId) The ID of the user pool that the domain is attached to.The app version.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Method Details
-
userPoolId
The ID of the user pool that the domain is attached to.
- Parameters:
userPoolId- The ID of the user pool that the domain is attached to.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
awsAccountId
The Amazon Web Services account that you created the user pool in.
- Parameters:
awsAccountId- The Amazon Web Services account that you created the user pool in.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
domain
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 asauth.- Parameters:
domain- The domain string. For custom domains, this is the fully-qualified domain name, such asauth.example.com. For Amazon Cognito prefix domains, this is the prefix alone, such asauth.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
s3Bucket
The Amazon S3 bucket where the static files for this domain are stored.
- Parameters:
s3Bucket- The Amazon S3 bucket where the static files for this domain are stored.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
cloudFrontDistribution
The Amazon CloudFront endpoint that hosts your custom domain.
- Parameters:
cloudFrontDistribution- The Amazon CloudFront endpoint that hosts your custom domain.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
version
The app version.
- Parameters:
version- The app version.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
status
The domain status.
- Parameters:
status- The domain status.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
status
The domain status.
- Parameters:
status- The domain status.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
customDomainConfig
The configuration for a custom domain that hosts the sign-up and sign-in webpages for your application.
- Parameters:
customDomainConfig- The configuration for a custom domain that hosts the sign-up and sign-in webpages for your application.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
customDomainConfig
default DomainDescriptionType.Builder customDomainConfig(Consumer<CustomDomainConfigType.Builder> customDomainConfig) The configuration for a custom domain that hosts the sign-up and sign-in webpages for your application.
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:
-
managedLoginVersion
The version of managed login branding that you want to apply to your domain. A value of
1indicates hosted UI (classic) branding and a version of2indicates managed login branding.Managed login requires that your user pool be configured for any feature plan other than
Lite.- Parameters:
managedLoginVersion- The version of managed login branding that you want to apply to your domain. A value of1indicates hosted UI (classic) branding and a version of2indicates managed login branding.Managed login requires that your user pool be configured for any feature plan other than
Lite.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
routing
The routing configuration for the domain, including failover settings for multi-region deployments. Currently only
Failoverconfigurations are allowed.- Parameters:
routing- The routing configuration for the domain, including failover settings for multi-region deployments. Currently onlyFailoverconfigurations are allowed.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
routing
The routing configuration for the domain, including failover settings for multi-region deployments. Currently only
This is a convenience method that creates an instance of theFailoverconfigurations are allowed.RoutingType.Builderavoiding the need to create one manually viaRoutingType.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed torouting(RoutingType).- Parameters:
routing- a consumer that will call methods onRoutingType.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-