public AnalyzedResource withResourceType(String resourceType) {
        setResourceType(resourceType);
        return this;
    }
<p>
The type of the resource that was analyzed.
</p>

@param resourceType
       The type of the resource that was analyzed.
@return Returns a reference to this object so that method calls can be chained together.
@see ResourceType
aws-java-sdk-accessanalyzer/src/main/java/com/amazonaws/services/accessanalyzer/model/AnalyzedResource.java