public UpdateCampaignResult withStatus(String status) {
        setStatus(status);
        return this;
    }
<p>
The state of a campaign. The status can be one of:
</p>
<ul>
<li>
<p>
<code>CREATING</code> - Amazon Web Services IoT FleetWise is processing your request to create the campaign.
</p>
</li>
<li>
<p>
<code>WAITING_FOR_APPROVAL</code> - After a campaign is created, it enters the <code>WAITING_FOR_APPROVAL</code>
state. To allow Amazon Web Services IoT FleetWise to deploy the campaign to the target vehicle or fleet, use the
API operation to approve the campaign.
</p>
</li>
<li>
<p>
<code>RUNNING</code> - The campaign is active.
</p>
</li>
<li>
<p>
<code>SUSPENDED</code> - The campaign is suspended. To resume the campaign, use the API operation.
</p>
</li>
</ul>

@param status
       The state of a campaign. The status can be one of:</p>
       <ul>
       <li>
       <p>
       <code>CREATING</code> - Amazon Web Services IoT FleetWise is processing your request to create the
       campaign.
       </p>
       </li>
       <li>
       <p>
       <code>WAITING_FOR_APPROVAL</code> - After a campaign is created, it enters the
       <code>WAITING_FOR_APPROVAL</code> state. To allow Amazon Web Services IoT FleetWise to deploy the campaign
       to the target vehicle or fleet, use the API operation to approve the campaign.
       </p>
       </li>
       <li>
       <p>
       <code>RUNNING</code> - The campaign is active.
       </p>
       </li>
       <li>
       <p>
       <code>SUSPENDED</code> - The campaign is suspended. To resume the campaign, use the API operation.
       </p>
       </li>
@return Returns a reference to this object so that method calls can be chained together.
@see CampaignStatus
aws-java-sdk-iotfleetwise/src/main/java/com/amazonaws/services/iotfleetwise/model/UpdateCampaignResult.java