public String getResourceType() {
        return this.resourceType;
    }
<p>
The type of a resource referenced by the event returned. When the resource type cannot be determined, null is
returned. Some examples of resource types are: <b>Instance</b> for EC2, <b>Trail</b> for CloudTrail,
<b>DBInstance</b> for Amazon RDS, and <b>AccessKey</b> for IAM. To learn more about how to look up and filter
events by the resource types supported for a service, see <a href=
"https://docs.aws.amazon.com/awscloudtrail/latest/userguide/view-cloudtrail-events-console.html#filtering-cloudtrail-events"
>Filtering CloudTrail Events</a>.
</p>

@return The type of a resource referenced by the event returned. When the resource type cannot be determined,
        null is returned. Some examples of resource types are: <b>Instance</b> for EC2, <b>Trail</b> for
        CloudTrail, <b>DBInstance</b> for Amazon RDS, and <b>AccessKey</b> for IAM. To learn more about how to
        look up and filter events by the resource types supported for a service, see <a href=
        "https://docs.aws.amazon.com/awscloudtrail/latest/userguide/view-cloudtrail-events-console.html#filtering-cloudtrail-events"
        >Filtering CloudTrail Events</a>.
aws-java-sdk-cloudtrail/src/main/java/com/amazonaws/services/cloudtrail/model/Resource.java