public TriggerPayload setEnd(string end)
{
Preconditions.checkArgument(!String.IsNullOrEmpty(end), "The time must not be empty.");
Preconditions.checkArgument(StringUtil.IsDateTime(end), "The end is not valid.");
this.periodical.setEnd(end);
this.single = null;
return this;
}