public TaxRegistrationEntry withLegalAddress(Address legalAddress) {
        setLegalAddress(legalAddress);
        return this;
    }
<p>
The legal address associated with your TRN.
</p>
<note>
<p>
If you're setting a TRN in Brazil for the CNPJ tax type, you don't need to specify the legal address.
</p>
<p>
For TRNs in other countries and for CPF tax types Brazil, you must specify the legal address.
</p>
</note>

@param legalAddress
       The legal address associated with your TRN.</p> <note>
       <p>
       If you're setting a TRN in Brazil for the CNPJ tax type, you don't need to specify the legal address.
       </p>
       <p>
       For TRNs in other countries and for CPF tax types Brazil, you must specify the legal address.
       </p>
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-taxsettings/src/main/java/com/amazonaws/services/taxsettings/model/TaxRegistrationEntry.java