public ParallelDataProperties withTargetLanguageCodes(String... targetLanguageCodes) {
        if (this.targetLanguageCodes == null) {
            setTargetLanguageCodes(new java.util.ArrayList<String>(targetLanguageCodes.length));
        }
        for (String ele : targetLanguageCodes) {
            this.targetLanguageCodes.add(ele);
        }
        return this;
    }
<p>
The language codes for the target languages available in the parallel data file. All possible target languages
are returned as an array.
</p>
<p>
<b>NOTE:</b> This method appends the values to the existing list (if any). Use
{@link #setTargetLanguageCodes(java.util.Collection)} or {@link #withTargetLanguageCodes(java.util.Collection)}
if you want to override the existing values.
</p>

@param targetLanguageCodes
       The language codes for the target languages available in the parallel data file. All possible target
       languages are returned as an array.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-translate/src/main/java/com/amazonaws/services/translate/model/ParallelDataProperties.java