public ResamplingConfigInput withTargetBands(java.util.Collection<String> targetBands) {
        setTargetBands(targetBands);
        return this;
    }
<p>
Bands used in the operation. If no target bands are specified, it uses all bands available in the input.
</p>

@param targetBands
       Bands used in the operation. If no target bands are specified, it uses all bands available in the input.
@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/ResamplingConfigInput.java