public UpdateVoiceConnectorRequest withRequireEncryption(Boolean requireEncryption) {
        setRequireEncryption(requireEncryption);
        return this;
    }
<p>
When enabled, requires encryption for the Voice Connector.
</p>

@param requireEncryption
       When enabled, requires encryption for the Voice Connector.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-chimesdkvoice/src/main/java/com/amazonaws/services/chimesdkvoice/model/UpdateVoiceConnectorRequest.java