public StackEvent withResourceType(String resourceType) {
        setResourceType(resourceType);
        return this;
    }
<p>
Type of resource. (For more information, go to <a
href="https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-template-resource-type-ref.html">Amazon
Web Services Resource Types Reference</a> in the <i>CloudFormation User Guide</i>.)
</p>

@param resourceType
       Type of resource. (For more information, go to <a href=
       "https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-template-resource-type-ref.html"
       >Amazon Web Services Resource Types Reference</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/StackEvent.java