# File lib/fog/aws/models/compute/server.rb, line 122 def key_pair=(new_keypair) self.key_name = new_keypair && new_keypair.name end