public Connection withMacSecKeys(java.util.Collection<MacSecKey> macSecKeys) {
        setMacSecKeys(macSecKeys);
        return this;
    }
<p>
The MAC Security (MACsec) security keys associated with the connection.
</p>

@param macSecKeys
       The MAC Security (MACsec) security keys associated with the connection.
@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