public TagCertificateAuthorityRequest withCertificateAuthorityArn(String certificateAuthorityArn) {
        setCertificateAuthorityArn(certificateAuthorityArn);
        return this;
    }
<p>
The Amazon Resource Name (ARN) that was returned when you called <a
href="https://docs.aws.amazon.com/privateca/latest/APIReference/API_CreateCertificateAuthority.html"
>CreateCertificateAuthority</a>. This must be of the form:
</p>
<p>
<code>arn:aws:acm-pca:<i>region</i>:<i>account</i>:certificate-authority/<i>12345678-1234-1234-1234-123456789012</i> </code>
</p>

@param certificateAuthorityArn
       The Amazon Resource Name (ARN) that was returned when you called <a
       href="https://docs.aws.amazon.com/privateca/latest/APIReference/API_CreateCertificateAuthority.html"
       >CreateCertificateAuthority</a>. This must be of the form: </p>
       <p>
       <code>arn:aws:acm-pca:<i>region</i>:<i>account</i>:certificate-authority/<i>12345678-1234-1234-1234-123456789012</i> </code>
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-acmpca/src/main/java/com/amazonaws/services/acmpca/model/TagCertificateAuthorityRequest.java