code: public void setCertificates(java.util.Collection<Certificate> certificates) {
          if (certificates == null) {
              this.certificates = null;
              return;
          }
  
          this.certificates = new java.util.ArrayList<Certificate>(certificates);
      }
docs: <p>
  [HTTPS and TLS listeners] The default SSL server certificate. You must provide exactly one certificate. Set
  <code>CertificateArn</code> to the certificate ARN but do not set <code>IsDefault</code>.
  </p>
  <p>
  To create a certificate list, use <a>AddListenerCertificates</a>.
  </p>
  
  @param certificates
  [HTTPS and TLS listeners] The default SSL server certificate. You must provide exactly one certificate.
  Set <code>CertificateArn</code> to the certificate ARN but do not set <code>IsDefault</code>.</p>
  <p>
  To create a certificate list, use <a>AddListenerCertificates</a>.