func (b *Builder) WithName(name string) *Builder {
	if len(name) == 0 {
		b.errs = append(b.errs, errors.New("failed to build PV object: missing PV name"))
		return b
	}
	b.pv.object.Name = name
	return b
}
// WithName sets the Name field of PV with provided value.
WithName sets the Name field of PV with provided value.
// WithName sets the Name field of PV with provided value .
func (b *Builder) WithName(name string) *Builder {
	if len(name) == 0 {
		b.errs = append(b.errs, errors.New("failed to build PV object: missing PV name"))
		return b
	}
	b.pv.object.Name = name
	return b
}
func ( b * Builder ) WithName ( name string ) * Builder { if len ( name ) == 0 { b . errs = append ( b . errs , errors . New ( " " ) ) return b } b . pv . object . Name = name return b }
WithName sets the Name field of PV with provided value.
WithName sets the Name field of PV with provided value .