public OperationSummary withStatusFlag(StatusFlag statusFlag) {
        this.statusFlag = statusFlag.toString();
        return this;
    }
<p>
Automatically checks whether there are no outstanding operations on domains that need customer attention.
</p>
<p>
Valid values are:
</p>
<ul>
<li>
<p>
<code>PENDING_ACCEPTANCE</code>: The operation is waiting for acceptance from the account that is receiving the
domain.
</p>
</li>
<li>
<p>
<code>PENDING_CUSTOMER_ACTION</code>: The operation is waiting for customer action, for example, returning an
email.
</p>
</li>
<li>
<p>
<code>PENDING_AUTHORIZATION</code>: The operation is waiting for the form of authorization. For more information,
see <a
href="https://docs.aws.amazon.com/Route53/latest/APIReference/API_domains_ResendOperationAuthorization.html"
>ResendOperationAuthorization</a>.
</p>
</li>
<li>
<p>
<code>PENDING_PAYMENT_VERIFICATION</code>: The operation is waiting for the payment method to validate.
</p>
</li>
<li>
<p>
<code>PENDING_SUPPORT_CASE</code>: The operation includes a support case and is waiting for its resolution.
</p>
</li>
</ul>

@param statusFlag
       Automatically checks whether there are no outstanding operations on domains that need customer attention.
       </p>
       <p>
       Valid values are:
       </p>
       <ul>
       <li>
       <p>
       <code>PENDING_ACCEPTANCE</code>: The operation is waiting for acceptance from the account that is
       receiving the domain.
       </p>
       </li>
       <li>
       <p>
       <code>PENDING_CUSTOMER_ACTION</code>: The operation is waiting for customer action, for example, returning
       an email.
       </p>
       </li>
       <li>
       <p>
       <code>PENDING_AUTHORIZATION</code>: The operation is waiting for the form of authorization. For more
       information, see <a href=
       "https://docs.aws.amazon.com/Route53/latest/APIReference/API_domains_ResendOperationAuthorization.html"
       >ResendOperationAuthorization</a>.
       </p>
       </li>
       <li>
       <p>
       <code>PENDING_PAYMENT_VERIFICATION</code>: The operation is waiting for the payment method to validate.
       </p>
       </li>
       <li>
       <p>
       <code>PENDING_SUPPORT_CASE</code>: The operation includes a support case and is waiting for its
       resolution.
       </p>
       </li>
@return Returns a reference to this object so that method calls can be chained together.
@see StatusFlag
aws-java-sdk-route53/src/main/java/com/amazonaws/services/route53domains/model/OperationSummary.java