public PutRecordsResult withEncryptionType(String encryptionType) {
        setEncryptionType(encryptionType);
        return this;
    }
<p>
The encryption type used on the records. This parameter can be one of the following values:
</p>
<ul>
<li>
<p>
<code>NONE</code>: Do not encrypt the records.
</p>
</li>
<li>
<p>
<code>KMS</code>: Use server-side encryption on the records using a customer-managed Amazon Web Services KMS key.
</p>
</li>
</ul>

@param encryptionType
       The encryption type used on the records. This parameter can be one of the following values:</p>
       <ul>
       <li>
       <p>
       <code>NONE</code>: Do not encrypt the records.
       </p>
       </li>
       <li>
       <p>
       <code>KMS</code>: Use server-side encryption on the records using a customer-managed Amazon Web Services
       KMS key.
       </p>
       </li>
@return Returns a reference to this object so that method calls can be chained together.
@see EncryptionType
aws-java-sdk-kinesis/src/main/java/com/amazonaws/services/kinesis/model/PutRecordsResult.java