public void setType(String type) {
        this.type = type;
    }
<p>
The encryption algorithm that is used for the host key. The <code>Type</code> parameter is specified by using one
of the following values:
</p>
<ul>
<li>
<p>
<code>ssh-rsa</code>
</p>
</li>
<li>
<p>
<code>ssh-ed25519</code>
</p>
</li>
<li>
<p>
<code>ecdsa-sha2-nistp256</code>
</p>
</li>
<li>
<p>
<code>ecdsa-sha2-nistp384</code>
</p>
</li>
<li>
<p>
<code>ecdsa-sha2-nistp521</code>
</p>
</li>
</ul>

@param type
       The encryption algorithm that is used for the host key. The <code>Type</code> parameter is specified by
       using one of the following values:</p>
       <ul>
       <li>
       <p>
       <code>ssh-rsa</code>
       </p>
       </li>
       <li>
       <p>
       <code>ssh-ed25519</code>
       </p>
       </li>
       <li>
       <p>
       <code>ecdsa-sha2-nistp256</code>
       </p>
       </li>
       <li>
       <p>
       <code>ecdsa-sha2-nistp384</code>
       </p>
       </li>
       <li>
       <p>
       <code>ecdsa-sha2-nistp521</code>
       </p>
       </li>
aws-java-sdk-transfer/src/main/java/com/amazonaws/services/transfer/model/DescribedHostKey.java