Class Certificates

    • Method Detail

      • issueLetsencryptCertificate

        public SimpleResponse<Certificate> issueLetsencryptCertificate​(java.lang.Number account,
                                                                       java.lang.String domain,
                                                                       java.lang.Number certificatePurchaseId)
        Issue a pending Let's Encrypt certificate order.

        Note that the issuance process is async. A successful response means the issuance request has been successfully acknowledged and queued for processing.

        Parameters:
        account - The account ID
        domain - The domain name or ID
        certificatePurchaseId - The ID of the purchase order returned by purchaseLetsencryptCertificate
        Returns:
        The Let's Encrypt issue response
        See Also:
        https://developer.dnsimple.com/v2/certificates/#issueLetsencryptCertificate
      • purchaseLetsencryptCertificateRenewal

        public SimpleResponse<CertificateRenewal> purchaseLetsencryptCertificateRenewal​(java.lang.Number account,
                                                                                        java.lang.String domain,
                                                                                        java.lang.Number certificateId)
        Purchase a Let's Encrypt certificate renewal.

        This method creates a new renewal order. The order ID should be used to request the issuance of the certificate using `#issue_letsencrypt_certificate_renewal`.

        Parameters:
        account - The account ID
        domain - The domain name or ID
        certificateId - The certificate ID
        Returns:
        The Let's Encrypt purchase renewal response
        See Also:
        https://developer.dnsimple.com/v2/certificates/#purchaseRenewalLetsencryptCertificate
      • purchaseLetsencryptCertificateRenewal

        public SimpleResponse<CertificateRenewal> purchaseLetsencryptCertificateRenewal​(java.lang.Number account,
                                                                                        java.lang.String domain,
                                                                                        java.lang.Number certificateId,
                                                                                        boolean autoRenew)
        Purchase a Let's Encrypt certificate renewal.

        This method creates a new renewal order. The order ID should be used to request the issuance of the certificate using `#issue_letsencrypt_certificate_renewal`.

        Parameters:
        account - The account ID
        domain - The domain name or ID
        certificateId - The certificate ID
        autoRenew - Enable auto-renewal of the certificate
        Returns:
        The Let's Encrypt purchase renewal response
        See Also:
        https://developer.dnsimple.com/v2/certificates/#purchaseRenewalLetsencryptCertificate
      • issueLetsencryptCertificateRenewal

        public SimpleResponse<Certificate> issueLetsencryptCertificateRenewal​(java.lang.Number account,
                                                                              java.lang.String domain,
                                                                              java.lang.Number certificateId,
                                                                              java.lang.Number certificateRenewalId)
        Issue a pending Let's Encrypt certificate renewal order.

        Note that the issuance process is async. A successful response means the issuance request has been successfully acknowledged and queued for processing.

        Parameters:
        account - The account ID
        domain - The domain name or ID
        certificateId - The domain name or ID
        certificateRenewalId - The ID of the purchase order returned by purchaseLetsencryptCertificateRenewal
        Returns:
        The Let's Encrypt issue response
        See Also:
        https://developer.dnsimple.com/v2/certificates/#issueRenewalLetsencryptCertificate