Interface Certificate.Builder

    • Method Detail

      • type

        Certificate.Builder type​(String type)

        The type of SSL/TLS certificate that you want to use.

        Specify AMPLIFY_MANAGED to use the default certificate that Amplify provisions for you.

        Specify CUSTOM to use your own certificate that you have already added to Certificate Manager in your Amazon Web Services account. Make sure you request (or import) the certificate in the US East (N. Virginia) Region (us-east-1). For more information about using ACM, see Importing certificates into Certificate Manager in the ACM User guide.

        Parameters:
        type - The type of SSL/TLS certificate that you want to use.

        Specify AMPLIFY_MANAGED to use the default certificate that Amplify provisions for you.

        Specify CUSTOM to use your own certificate that you have already added to Certificate Manager in your Amazon Web Services account. Make sure you request (or import) the certificate in the US East (N. Virginia) Region (us-east-1). For more information about using ACM, see Importing certificates into Certificate Manager in the ACM User guide.

        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        CertificateType, CertificateType
      • type

        Certificate.Builder type​(CertificateType type)

        The type of SSL/TLS certificate that you want to use.

        Specify AMPLIFY_MANAGED to use the default certificate that Amplify provisions for you.

        Specify CUSTOM to use your own certificate that you have already added to Certificate Manager in your Amazon Web Services account. Make sure you request (or import) the certificate in the US East (N. Virginia) Region (us-east-1). For more information about using ACM, see Importing certificates into Certificate Manager in the ACM User guide.

        Parameters:
        type - The type of SSL/TLS certificate that you want to use.

        Specify AMPLIFY_MANAGED to use the default certificate that Amplify provisions for you.

        Specify CUSTOM to use your own certificate that you have already added to Certificate Manager in your Amazon Web Services account. Make sure you request (or import) the certificate in the US East (N. Virginia) Region (us-east-1). For more information about using ACM, see Importing certificates into Certificate Manager in the ACM User guide.

        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        CertificateType, CertificateType
      • customCertificateArn

        Certificate.Builder customCertificateArn​(String customCertificateArn)

        The Amazon resource name (ARN) for a custom certificate that you have already added to Certificate Manager in your Amazon Web Services account.

        This field is required only when the certificate type is CUSTOM.

        Parameters:
        customCertificateArn - The Amazon resource name (ARN) for a custom certificate that you have already added to Certificate Manager in your Amazon Web Services account.

        This field is required only when the certificate type is CUSTOM.

        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • certificateVerificationDNSRecord

        Certificate.Builder certificateVerificationDNSRecord​(String certificateVerificationDNSRecord)

        The DNS record for certificate verification.

        Parameters:
        certificateVerificationDNSRecord - The DNS record for certificate verification.
        Returns:
        Returns a reference to this object so that method calls can be chained together.