class ResourceCreated extends AbstractPolicyEvent<ResourceCreated> implements PolicyEvent<ResourceCreated> {

    @Deprecated
    public static ResourceCreated of(final String policyId,
            final Label label,
            final Resource resource,
            final long revision,
            final DittoHeaders dittoHeaders) {

        return of(PolicyId.of(policyId), label, resource, revision, dittoHeaders);
    }

    private  ResourceCreated(final PolicyId policyId,
            final Label label,
            final Resource resource,
            final long revision,
            @Nullable final Instant timestamp,
            final DittoHeaders dittoHeaders);

}