public void setMacSecKeys(java.util.Collection<MacSecKey> macSecKeys) {
        if (macSecKeys == null) {
            this.macSecKeys = null;
            return;
        }

        this.macSecKeys = new com.amazonaws.internal.SdkInternalList<MacSecKey>(macSecKeys);
    }
<p>
The MAC Security (MACsec) security keys associated with the connection.
</p>

@param macSecKeys
       The MAC Security (MACsec) security keys associated with the connection.
aws-java-sdk-directconnect/src/main/java/com/amazonaws/services/directconnect/model/UpdateConnectionResult.java