// Code generated by applyconfiguration-gen. DO NOT EDIT.

package v1

// VSphereCSIDriverConfigSpecApplyConfiguration represents an declarative configuration of the VSphereCSIDriverConfigSpec type for use
// with apply.
type VSphereCSIDriverConfigSpecApplyConfiguration struct {
	TopologyCategories []string `json:"topologyCategories,omitempty"`
}

// VSphereCSIDriverConfigSpecApplyConfiguration constructs an declarative configuration of the VSphereCSIDriverConfigSpec type for use with
// apply.
func VSphereCSIDriverConfigSpec() *VSphereCSIDriverConfigSpecApplyConfiguration {
	return &VSphereCSIDriverConfigSpecApplyConfiguration{}
}

// WithTopologyCategories adds the given value to the TopologyCategories field in the declarative configuration
// and returns the receiver, so that objects can be build by chaining "With" function invocations.
// If called multiple times, values provided by each call will be appended to the TopologyCategories field.
func (b *VSphereCSIDriverConfigSpecApplyConfiguration) WithTopologyCategories(values ...string) *VSphereCSIDriverConfigSpecApplyConfiguration {
	for i := range values {
		b.TopologyCategories = append(b.TopologyCategories, values[i])
	}
	return b
}
