public Connection withEncryptionMode(String encryptionMode) {
        setEncryptionMode(encryptionMode);
        return this;
    }
<p>
The MAC Security (MACsec) connection encryption mode.
</p>
<p>
The valid values are <code>no_encrypt</code>, <code>should_encrypt</code>, and <code>must_encrypt</code>.
</p>

@param encryptionMode
       The MAC Security (MACsec) connection encryption mode.</p>
       <p>
       The valid values are <code>no_encrypt</code>, <code>should_encrypt</code>, and <code>must_encrypt</code>.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-directconnect/src/main/java/com/amazonaws/services/directconnect/model/Connection.java