public UpdateConnectionResult withPortEncryptionStatus(String portEncryptionStatus) {
        setPortEncryptionStatus(portEncryptionStatus);
        return this;
    }
<p>
The MAC Security (MACsec) port link status of the connection.
</p>
<p>
The valid values are <code>Encryption Up</code>, which means that there is an active Connection Key Name, or
<code>Encryption Down</code>.
</p>

@param portEncryptionStatus
       The MAC Security (MACsec) port link status of the connection.</p>
       <p>
       The valid values are <code>Encryption Up</code>, which means that there is an active Connection Key Name,
       or <code>Encryption Down</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/UpdateConnectionResult.java