func (b *Builder) WithLabels(labels map[string]string) *Builder {
	if len(labels) == 0 {
		b.errs = append(b.errs, errors.New("failed to build PV object: missing labels"))
		return b
	}
	b.pv.object.Labels = labels
	return b
}
// WithLabels sets the Labels field of PV with provided arguments
WithLabels sets the Labels field of PV with provided arguments
// WithLabels sets the Labels field of PV with provided arguments
func (b *Builder) WithLabels(labels map[string]string) *Builder {
	if len(labels) == 0 {
		b.errs = append(b.errs, errors.New("failed to build PV object: missing labels"))
		return b
	}
	b.pv.object.Labels = labels
	return b
}
func ( b * Builder ) WithLabels ( labels map [ string ] string ) * Builder { if len ( labels ) == 0 { b . errs = append ( b . errs , errors . New ( " " ) ) return b } b . pv . object . Labels = labels return b }
WithLabels sets the Labels field of PV with provided arguments
WithLabels sets the Labels field of PV with provided arguments