public void setStatus(String status) {
        this.status = status;
    }
<p>
The status of the invitation:
</p>
<ul>
<li>
<p>
<code>PENDING</code> - The invitee hasn't created a member to join the network, and the invitation hasn't yet
expired.
</p>
</li>
<li>
<p>
<code>ACCEPTING</code> - The invitee has begun creating a member, and creation hasn't yet completed.
</p>
</li>
<li>
<p>
<code>ACCEPTED</code> - The invitee created a member and joined the network using the <code>InvitationID</code>.
</p>
</li>
<li>
<p>
<code>REJECTED</code> - The invitee rejected the invitation.
</p>
</li>
<li>
<p>
<code>EXPIRED</code> - The invitee neither created a member nor rejected the invitation before the
<code>ExpirationDate</code>.
</p>
</li>
</ul>

@param status
       The status of the invitation:</p>
       <ul>
       <li>
       <p>
       <code>PENDING</code> - The invitee hasn't created a member to join the network, and the invitation hasn't
       yet expired.
       </p>
       </li>
       <li>
       <p>
       <code>ACCEPTING</code> - The invitee has begun creating a member, and creation hasn't yet completed.
       </p>
       </li>
       <li>
       <p>
       <code>ACCEPTED</code> - The invitee created a member and joined the network using the
       <code>InvitationID</code>.
       </p>
       </li>
       <li>
       <p>
       <code>REJECTED</code> - The invitee rejected the invitation.
       </p>
       </li>
       <li>
       <p>
       <code>EXPIRED</code> - The invitee neither created a member nor rejected the invitation before the
       <code>ExpirationDate</code>.
       </p>
       </li>
@see InvitationStatus
aws-java-sdk-managedblockchain/src/main/java/com/amazonaws/services/managedblockchain/model/Invitation.java