public UpdateStreamProcessorRequest withRegionsOfInterestForUpdate(java.util.Collection<RegionOfInterest> regionsOfInterestForUpdate) {
        setRegionsOfInterestForUpdate(regionsOfInterestForUpdate);
        return this;
    }
<p>
Specifies locations in the frames where Amazon Rekognition checks for objects or people. This is an optional
parameter for label detection stream processors.
</p>

@param regionsOfInterestForUpdate
       Specifies locations in the frames where Amazon Rekognition checks for objects or people. This is an
       optional parameter for label detection stream processors.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/UpdateStreamProcessorRequest.java