public VirtualGatewayTlsValidationContextAcmTrust withCertificateAuthorityArns(String... certificateAuthorityArns) {
        if (this.certificateAuthorityArns == null) {
            setCertificateAuthorityArns(new java.util.ArrayList<String>(certificateAuthorityArns.length));
        }
        for (String ele : certificateAuthorityArns) {
            this.certificateAuthorityArns.add(ele);
        }
        return this;
    }
<p>
One or more ACM Amazon Resource Name (ARN)s.
</p>
<p>
<b>NOTE:</b> This method appends the values to the existing list (if any). Use
{@link #setCertificateAuthorityArns(java.util.Collection)} or
{@link #withCertificateAuthorityArns(java.util.Collection)} if you want to override the existing values.
</p>

@param certificateAuthorityArns
       One or more ACM Amazon Resource Name (ARN)s.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-appmesh/src/main/java/com/amazonaws/services/appmesh/model/VirtualGatewayTlsValidationContextAcmTrust.java