Class DomainDescriptionType

    • Method Detail

      • userPoolId

        public final String userPoolId()

        The user pool ID.

        Returns:
        The user pool ID.
      • awsAccountId

        public final String awsAccountId()

        The Amazon Web Services ID for the user pool owner.

        Returns:
        The Amazon Web Services ID for the user pool owner.
      • domain

        public final 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.

        Returns:
        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.
      • s3Bucket

        public final String s3Bucket()

        The Amazon S3 bucket where the static files for this domain are stored.

        Returns:
        The Amazon S3 bucket where the static files for this domain are stored.
      • cloudFrontDistribution

        public final String cloudFrontDistribution()

        The Amazon CloudFront endpoint that you use as the target of the alias that you set up with your Domain Name Service (DNS) provider.

        Returns:
        The Amazon CloudFront endpoint that you use as the target of the alias that you set up with your Domain Name Service (DNS) provider.
      • version

        public final String version()

        The app version.

        Returns:
        The app version.
      • customDomainConfig

        public final CustomDomainConfigType customDomainConfig()

        The configuration for a custom domain that hosts the sign-up and sign-in webpages for your application.

        Returns:
        The configuration for a custom domain that hosts the sign-up and sign-in webpages for your application.
      • hashCode

        public final int hashCode()
        Overrides:
        hashCode in class Object
      • equals

        public final boolean equals​(Object obj)
        Overrides:
        equals in class Object
      • toString

        public final String toString()
        Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value.
        Overrides:
        toString in class Object
      • getValueForField

        public final <T> Optional<T> getValueForField​(String fieldName,
                                                      Class<T> clazz)