public void setEncryptionInTransit(EncryptionInTransit encryptionInTransit) {
        this.encryptionInTransit = encryptionInTransit;
    }
<p>
The details for encryption in transit.
</p>

@param encryptionInTransit
       <p>
       The details for encryption in transit.
       </p>
aws-java-sdk-kafka/src/main/java/com/amazonaws/services/kafka/model/EncryptionInfo.java