func (b *VolumeMountApplyConfiguration) WithMountPath(value string) *VolumeMountApplyConfiguration {
	b.MountPath = &value
	return b
}
WithMountPath sets the MountPath field in the declarative configuration to the given value
and returns the receiver, so that objects can be built by chaining "With" function invocations.
If called multiple times, the MountPath field is set to the value of the last call.
package v1
import (
	v1 "k8s.io/api/core/v1"
)
type VolumeMountApplyConfiguration struct {
	Name             *string                  `json:"name,omitempty"`
	ReadOnly         *bool                    `json:"readOnly,omitempty"`
	MountPath        *string                  `json:"mountPath,omitempty"`
	SubPath          *string                  `json:"subPath,omitempty"`
	MountPropagation *v1.MountPropagationMode `json:"mountPropagation,omitempty"`
	SubPathExpr      *string                  `json:"subPathExpr,omitempty"`
}
func VolumeMount() *VolumeMountApplyConfiguration {
	return &VolumeMountApplyConfiguration{}
}
func (b *VolumeMountApplyConfiguration) WithName(value string) *VolumeMountApplyConfiguration {
	b.Name = &value
	return b
}
func (b *VolumeMountApplyConfiguration) WithReadOnly(value bool) *VolumeMountApplyConfiguration {
	b.ReadOnly = &value
	return b
}