public StopDeploymentResult withStatus(StopStatus status) {
        this.status = status.toString();
        return this;
    }
<p>
The status of the stop deployment operation:
</p>
<ul>
<li>
<p>
Pending: The stop operation is pending.
</p>
</li>
<li>
<p>
Succeeded: The stop operation was successful.
</p>
</li>
</ul>

@param status
       The status of the stop deployment operation:</p>
       <ul>
       <li>
       <p>
       Pending: The stop operation is pending.
       </p>
       </li>
       <li>
       <p>
       Succeeded: The stop operation was successful.
       </p>
       </li>
@return Returns a reference to this object so that method calls can be chained together.
@see StopStatus
aws-java-sdk-codedeploy/src/main/java/com/amazonaws/services/codedeploy/model/StopDeploymentResult.java