public TriggerPayload setSingleTime(string time)
{
Preconditions.checkArgument(!String.IsNullOrEmpty(time), "The time must not be empty.");
Preconditions.checkArgument(!StringUtil.IsTime(time), "The time must be the right format.");
this.single.setTime(time);
this.periodical = null;
return this;
}