public Finding withGeneratorId(String generatorId) {
        setGeneratorId(generatorId);
        return this;
    }
<p>
The identifier for the component that generated a finding such as AmazonCodeGuruSecurity.
</p>

@param generatorId
       The identifier for the component that generated a finding such as AmazonCodeGuruSecurity.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-codegurusecurity/src/main/java/com/amazonaws/services/codegurusecurity/model/Finding.java