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

package v1

// MTUMigrationValuesApplyConfiguration represents a declarative configuration of the MTUMigrationValues type for use
// with apply.
type MTUMigrationValuesApplyConfiguration struct {
	To   *uint32 `json:"to,omitempty"`
	From *uint32 `json:"from,omitempty"`
}

// MTUMigrationValuesApplyConfiguration constructs a declarative configuration of the MTUMigrationValues type for use with
// apply.
func MTUMigrationValues() *MTUMigrationValuesApplyConfiguration {
	return &MTUMigrationValuesApplyConfiguration{}
}

// WithTo sets the To 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 To field is set to the value of the last call.
func (b *MTUMigrationValuesApplyConfiguration) WithTo(value uint32) *MTUMigrationValuesApplyConfiguration {
	b.To = &value
	return b
}

// WithFrom sets the From 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 From field is set to the value of the last call.
func (b *MTUMigrationValuesApplyConfiguration) WithFrom(value uint32) *MTUMigrationValuesApplyConfiguration {
	b.From = &value
	return b
}
