public TrafficDistributionGroup withStatus(String status) {
        setStatus(status);
        return this;
    }
<p>
The status of the traffic distribution group.
</p>
<ul>
<li>
<p>
<code>CREATION_IN_PROGRESS</code> means the previous <a
href="https://docs.aws.amazon.com/connect/latest/APIReference/API_CreateTrafficDistributionGroup.html"
>CreateTrafficDistributionGroup</a> operation is still in progress and has not yet completed.
</p>
</li>
<li>
<p>
<code>ACTIVE</code> means the previous <a
href="https://docs.aws.amazon.com/connect/latest/APIReference/API_CreateTrafficDistributionGroup.html"
>CreateTrafficDistributionGroup</a> operation has succeeded.
</p>
</li>
<li>
<p>
<code>CREATION_FAILED</code> indicates that the previous <a
href="https://docs.aws.amazon.com/connect/latest/APIReference/API_CreateTrafficDistributionGroup.html"
>CreateTrafficDistributionGroup</a> operation has failed.
</p>
</li>
<li>
<p>
<code>PENDING_DELETION</code> means the previous <a
href="https://docs.aws.amazon.com/connect/latest/APIReference/API_DeleteTrafficDistributionGroup.html"
>DeleteTrafficDistributionGroup</a> operation is still in progress and has not yet completed.
</p>
</li>
<li>
<p>
<code>DELETION_FAILED</code> means the previous <a
href="https://docs.aws.amazon.com/connect/latest/APIReference/API_DeleteTrafficDistributionGroup.html"
>DeleteTrafficDistributionGroup</a> operation has failed.
</p>
</li>
<li>
<p>
<code>UPDATE_IN_PROGRESS</code> means the previous <a
href="https://docs.aws.amazon.com/connect/latest/APIReference/API_UpdateTrafficDistribution.html"
>UpdateTrafficDistribution</a> operation is still in progress and has not yet completed.
</p>
</li>
</ul>

@param status
       The status of the traffic distribution group.</p>
       <ul>
       <li>
       <p>
       <code>CREATION_IN_PROGRESS</code> means the previous <a
       href="https://docs.aws.amazon.com/connect/latest/APIReference/API_CreateTrafficDistributionGroup.html"
       >CreateTrafficDistributionGroup</a> operation is still in progress and has not yet completed.
       </p>
       </li>
       <li>
       <p>
       <code>ACTIVE</code> means the previous <a
       href="https://docs.aws.amazon.com/connect/latest/APIReference/API_CreateTrafficDistributionGroup.html"
       >CreateTrafficDistributionGroup</a> operation has succeeded.
       </p>
       </li>
       <li>
       <p>
       <code>CREATION_FAILED</code> indicates that the previous <a
       href="https://docs.aws.amazon.com/connect/latest/APIReference/API_CreateTrafficDistributionGroup.html"
       >CreateTrafficDistributionGroup</a> operation has failed.
       </p>
       </li>
       <li>
       <p>
       <code>PENDING_DELETION</code> means the previous <a
       href="https://docs.aws.amazon.com/connect/latest/APIReference/API_DeleteTrafficDistributionGroup.html"
       >DeleteTrafficDistributionGroup</a> operation is still in progress and has not yet completed.
       </p>
       </li>
       <li>
       <p>
       <code>DELETION_FAILED</code> means the previous <a
       href="https://docs.aws.amazon.com/connect/latest/APIReference/API_DeleteTrafficDistributionGroup.html"
       >DeleteTrafficDistributionGroup</a> operation has failed.
       </p>
       </li>
       <li>
       <p>
       <code>UPDATE_IN_PROGRESS</code> means the previous <a
       href="https://docs.aws.amazon.com/connect/latest/APIReference/API_UpdateTrafficDistribution.html"
       >UpdateTrafficDistribution</a> operation is still in progress and has not yet completed.
       </p>
       </li>
@return Returns a reference to this object so that method calls can be chained together.
@see TrafficDistributionGroupStatus
aws-java-sdk-connect/src/main/java/com/amazonaws/services/connect/model/TrafficDistributionGroup.java