public CreateSampleFindingsRequest withFindingTypes(java.util.Collection<String> findingTypes) {
        setFindingTypes(findingTypes);
        return this;
    }
<p>
The types of sample findings to generate.
</p>

@param findingTypes
       The types of sample findings to generate.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-guardduty/src/main/java/com/amazonaws/services/guardduty/model/CreateSampleFindingsRequest.java