Returns an immutable instance of [Ref].
public Ref build()Returns an immutable instance of [Ref]. Further updates to this [Builder] will not mutate the returned instance. The following fields are required:
.name()
.type()
IllegalStateException: if any required field is unset.