# File lib/aws/ec2/network_interface/attachment.rb, line 71
        def delete_on_termination= state
          opts = {}
          opts[:network_interface_id] = network_interface.id
          opts[:attachment] = {}
          opts[:attachment][:attachment_id] = id
          opts[:attachment][:delete_on_termination] = state
          network_interface.client.modify_network_interface_attribute(opts)
        end