public ClarifyInferenceConfig withProbabilityIndex(Integer probabilityIndex) {
        setProbabilityIndex(probabilityIndex);
        return this;
    }
<p>
A zero-based index used to extract a probability value (score) or list from model container output in CSV format.
If this value is not provided, the entire model container output will be treated as a probability value (score)
or list.
</p>
<p>
<b>Example for a single class model:</b> If the model container output consists of a string-formatted prediction
label followed by its probability: <code>'1,0.6'</code>, set <code>ProbabilityIndex</code> to <code>1</code> to
select the probability value <code>0.6</code>.
</p>
<p>
<b>Example for a multiclass model:</b> If the model container output consists of a string-formatted prediction
label followed by its probability: <code>'"[\'cat\',\'dog\',\'fish\']","[0.1,0.6,0.3]"'</code>, set
<code>ProbabilityIndex</code> to <code>1</code> to select the probability values <code>[0.1,0.6,0.3]</code>.
</p>

@param probabilityIndex
       A zero-based index used to extract a probability value (score) or list from model container output in CSV
       format. If this value is not provided, the entire model container output will be treated as a probability
       value (score) or list.</p>
       <p>
       <b>Example for a single class model:</b> If the model container output consists of a string-formatted
       prediction label followed by its probability: <code>'1,0.6'</code>, set <code>ProbabilityIndex</code> to
       <code>1</code> to select the probability value <code>0.6</code>.
       </p>
       <p>
       <b>Example for a multiclass model:</b> If the model container output consists of a string-formatted
       prediction label followed by its probability: <code>'"[\'cat\',\'dog\',\'fish\']","[0.1,0.6,0.3]"'</code>,
       set <code>ProbabilityIndex</code> to <code>1</code> to select the probability values
       <code>[0.1,0.6,0.3]</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