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

package v1beta1

import (
	runtime "k8s.io/apimachinery/pkg/runtime"
)

// ProviderSpecApplyConfiguration represents an declarative configuration of the ProviderSpec type for use
// with apply.
type ProviderSpecApplyConfiguration struct {
	Value *runtime.RawExtension `json:"value,omitempty"`
}

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

// WithValue sets the Value 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 Value field is set to the value of the last call.
func (b *ProviderSpecApplyConfiguration) WithValue(value runtime.RawExtension) *ProviderSpecApplyConfiguration {
	b.Value = &value
	return b
}
