Ejemplo n.º 1
0
 /**
  * The revision of the task in a particular family. The revision is a version number of a task
  * definition in a family. When you register a task definition for the first time, the revision is
  * <code>1</code>; each time you register a new revision of a task definition in the same family,
  * the revision value always increases by one (even if you have deregistered previous revisions in
  * this family).
  *
  * @param revision The revision of the task in a particular family. The revision is a version
  *     number of a task definition in a family. When you register a task definition for the first
  *     time, the revision is <code>1</code>; each time you register a new revision of a task
  *     definition in the same family, the revision value always increases by one (even if you have
  *     deregistered previous revisions in this family).
  * @return Returns a reference to this object so that method calls can be chained together.
  */
 public TaskDefinition withRevision(Integer revision) {
   setRevision(revision);
   return this;
 }