def METHOD_NAME(self, message):
    """
    Sets a summary message on this instance. The summary is optional.
    Args:
        message (ValidationMessage): A validation message to set as this instance's summary.
    """
    if not isinstance(message, ValidationMessage):
        raise TypeError("Argument must of type ValidationMessage")
    self.summary = message