public BatchGetRecordIdentifier withFeatureNames(String... featureNames) {
        if (this.featureNames == null) {
            setFeatureNames(new java.util.ArrayList<String>(featureNames.length));
        }
        for (String ele : featureNames) {
            this.featureNames.add(ele);
        }
        return this;
    }
<p>
List of names of Features to be retrieved. If not specified, the latest value for all the Features are returned.
</p>
<p>
<b>NOTE:</b> This method appends the values to the existing list (if any). Use
{@link #setFeatureNames(java.util.Collection)} or {@link #withFeatureNames(java.util.Collection)} if you want to
override the existing values.
</p>

@param featureNames
       List of names of Features to be retrieved. If not specified, the latest value for all the Features are
       returned.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-sagemakerfeaturestoreruntime/src/main/java/com/amazonaws/services/sagemakerfeaturestoreruntime/model/BatchGetRecordIdentifier.java