public BandMathConfigInput withPredefinedIndices(String... predefinedIndices) {
        if (this.predefinedIndices == null) {
            setPredefinedIndices(new java.util.ArrayList<String>(predefinedIndices.length));
        }
        for (String ele : predefinedIndices) {
            this.predefinedIndices.add(ele);
        }
        return this;
    }
<p>
One or many of the supported predefined indices to compute. Allowed values: <code>NDVI</code>, <code>EVI2</code>,
<code>MSAVI</code>, <code>NDWI</code>, <code>NDMI</code>, <code>NDSI</code>, and <code>WDRVI</code>.
</p>
<p>
<b>NOTE:</b> This method appends the values to the existing list (if any). Use
{@link #setPredefinedIndices(java.util.Collection)} or {@link #withPredefinedIndices(java.util.Collection)} if
you want to override the existing values.
</p>

@param predefinedIndices
       One or many of the supported predefined indices to compute. Allowed values: <code>NDVI</code>,
       <code>EVI2</code>, <code>MSAVI</code>, <code>NDWI</code>, <code>NDMI</code>, <code>NDSI</code>, and
       <code>WDRVI</code>.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-sagemakergeospatial/src/main/java/com/amazonaws/services/sagemakergeospatial/model/BandMathConfigInput.java