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