public void setType(String type) {
        this.type = type;
    }
<p>
The type of information being passed, specifying how the value is to be interpreted by the other party:
</p>
<ul>
<li>
<p>
<code>ACCOUNT</code> - Specifies an Amazon Web Services account ID number.
</p>
</li>
<li>
<p>
<code>ORGANIZATION</code> - Specifies an organization ID number.
</p>
</li>
<li>
<p>
<code>EMAIL</code> - Specifies the email address that is associated with the account that receives the handshake.
</p>
</li>
<li>
<p>
<code>OWNER_EMAIL</code> - Specifies the email address associated with the management account. Included as
information about an organization.
</p>
</li>
<li>
<p>
<code>OWNER_NAME</code> - Specifies the name associated with the management account. Included as information
about an organization.
</p>
</li>
<li>
<p>
<code>NOTES</code> - Additional text provided by the handshake initiator and intended for the recipient to read.
</p>
</li>
</ul>

@param type
       The type of information being passed, specifying how the value is to be interpreted by the other
       party:</p>
       <ul>
       <li>
       <p>
       <code>ACCOUNT</code> - Specifies an Amazon Web Services account ID number.
       </p>
       </li>
       <li>
       <p>
       <code>ORGANIZATION</code> - Specifies an organization ID number.
       </p>
       </li>
       <li>
       <p>
       <code>EMAIL</code> - Specifies the email address that is associated with the account that receives the
       handshake.
       </p>
       </li>
       <li>
       <p>
       <code>OWNER_EMAIL</code> - Specifies the email address associated with the management account. Included as
       information about an organization.
       </p>
       </li>
       <li>
       <p>
       <code>OWNER_NAME</code> - Specifies the name associated with the management account. Included as
       information about an organization.
       </p>
       </li>
       <li>
       <p>
       <code>NOTES</code> - Additional text provided by the handshake initiator and intended for the recipient to
       read.
       </p>
       </li>
@see HandshakeResourceType
aws-java-sdk-organizations/src/main/java/com/amazonaws/services/organizations/model/HandshakeResource.java