public ClarifyInferenceConfig withLabelAttribute(String labelAttribute) {
        setLabelAttribute(labelAttribute);
        return this;
    }
<p>
A JMESPath expression used to locate the list of label headers in the model container output.
</p>
<p>
<b>Example</b>: If the model container output of a batch request is
<code>'{"labels":["cat","dog","fish"],"probability":[0.6,0.3,0.1]}'</code>, then set <code>LabelAttribute</code>
to <code>'labels'</code> to extract the list of label headers <code>["cat","dog","fish"]</code>
</p>

@param labelAttribute
       A JMESPath expression used to locate the list of label headers in the model container output.</p>
       <p>
       <b>Example</b>: If the model container output of a batch request is
       <code>'{"labels":["cat","dog","fish"],"probability":[0.6,0.3,0.1]}'</code>, then set
       <code>LabelAttribute</code> to <code>'labels'</code> to extract the list of label headers
       <code>["cat","dog","fish"]</code>
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-sagemaker/src/main/java/com/amazonaws/services/sagemaker/model/ClarifyInferenceConfig.java