I have the following Sample object being created and adding it to a map as follows. Is there a way I could have added these set values to Sample object without having to cr