public void setTargetBands(java.util.Collection<String> targetBands) {
        if (targetBands == null) {
            this.targetBands = null;
            return;
        }

        this.targetBands = new java.util.ArrayList<String>(targetBands);
    }
<p>
The target bands for geomosaic.
</p>

@param targetBands
       The target bands for geomosaic.
aws-java-sdk-sagemakergeospatial/src/main/java/com/amazonaws/services/sagemakergeospatial/model/GeoMosaicConfigInput.java