public ContactMethod withStatus(ContactMethodStatus status) {
        this.status = status.toString();
        return this;
    }
<p>
The current status of the contact method.
</p>
<p>
A contact method has the following possible status:
</p>
<ul>
<li>
<p>
<code>PendingVerification</code> - The contact method has not yet been verified, and the verification has not yet
expired.
</p>
</li>
<li>
<p>
<code>Valid</code> - The contact method has been verified.
</p>
</li>
<li>
<p>
<code>InValid</code> - An attempt was made to verify the contact method, but the verification has expired.
</p>
</li>
</ul>

@param status
       The current status of the contact method.</p>
       <p>
       A contact method has the following possible status:
       </p>
       <ul>
       <li>
       <p>
       <code>PendingVerification</code> - The contact method has not yet been verified, and the verification has
       not yet expired.
       </p>
       </li>
       <li>
       <p>
       <code>Valid</code> - The contact method has been verified.
       </p>
       </li>
       <li>
       <p>
       <code>InValid</code> - An attempt was made to verify the contact method, but the verification has expired.
       </p>
       </li>
@return Returns a reference to this object so that method calls can be chained together.
@see ContactMethodStatus
aws-java-sdk-lightsail/src/main/java/com/amazonaws/services/lightsail/model/ContactMethod.java