public ResourceDetail withResourceType(String resourceType) {
        setResourceType(resourceType);
        return this;
    }
<p>
The type of the resource, such as <code>AWS::DynamoDB::Table</code>. For the list of supported resources, see <a
href
="https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/resource-import-supported-resources.html">IaC
generator supported resource types</a> In the <i>CloudFormation User Guide</i>
</p>

@param resourceType
       The type of the resource, such as <code>AWS::DynamoDB::Table</code>. For the list of supported resources,
       see <a href=
       "https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/resource-import-supported-resources.html"
       >IaC generator supported resource types</a> In the <i>CloudFormation User Guide</i>
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-cloudformation/src/main/java/com/amazonaws/services/cloudformation/model/ResourceDetail.java