Interface DomainDescriptionType.Builder

    • Method Detail

      • userPoolId

        DomainDescriptionType.Builder userPoolId​(String 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

        DomainDescriptionType.Builder awsAccountId​(String 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

        DomainDescriptionType.Builder domain​(String 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 as auth.

        Parameters:
        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 as auth.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • s3Bucket

        DomainDescriptionType.Builder s3Bucket​(String 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

        DomainDescriptionType.Builder cloudFrontDistribution​(String 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

        DomainDescriptionType.Builder version​(String version)

        The app version.

        Parameters:
        version - The app version.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • customDomainConfig

        DomainDescriptionType.Builder customDomainConfig​(CustomDomainConfigType 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.
      • managedLoginVersion

        DomainDescriptionType.Builder managedLoginVersion​(Integer managedLoginVersion)

        The version of managed login branding that you want to apply to your domain. A value of 1 indicates hosted UI (classic) branding and a version of 2 indicates 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 of 1 indicates hosted UI (classic) branding and a version of 2 indicates 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.