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

package v1

// ContainerLoggingDestinationParametersApplyConfiguration represents a declarative configuration of the ContainerLoggingDestinationParameters type for use
// with apply.
type ContainerLoggingDestinationParametersApplyConfiguration struct {
	MaxLength *int32 `json:"maxLength,omitempty"`
}

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

// WithMaxLength sets the MaxLength 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 MaxLength field is set to the value of the last call.
func (b *ContainerLoggingDestinationParametersApplyConfiguration) WithMaxLength(value int32) *ContainerLoggingDestinationParametersApplyConfiguration {
	b.MaxLength = &value
	return b
}
