public FindingSource withType(FindingSourceType type) {
        this.type = type.toString();
        return this;
    }
<p>
Indicates the type of access that generated the finding.
</p>

@param type
       Indicates the type of access that generated the finding.
@return Returns a reference to this object so that method calls can be chained together.
@see FindingSourceType
aws-java-sdk-accessanalyzer/src/main/java/com/amazonaws/services/accessanalyzer/model/FindingSource.java