public CreateCampaignRequest withPriority(Integer priority) {
        setPriority(priority);
        return this;
    }
<p>
(Optional) A number indicating the priority of one campaign over another campaign for a certain vehicle or fleet.
A campaign with the lowest value is deployed to vehicles before any other campaigns. If it's not specified,
<code>0</code> is used.
</p>
<p>
Default: <code>0</code>
</p>

@param priority
       (Optional) A number indicating the priority of one campaign over another campaign for a certain vehicle or
       fleet. A campaign with the lowest value is deployed to vehicles before any other campaigns. If it's not
       specified, <code>0</code> is used. </p>
       <p>
       Default: <code>0</code>
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-iotfleetwise/src/main/java/com/amazonaws/services/iotfleetwise/model/CreateCampaignRequest.java