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

package v1

import (
	configv1 "github.com/openshift/api/config/v1"
)

// CustomTLSProfileApplyConfiguration represents a declarative configuration of the CustomTLSProfile type for use
// with apply.
type CustomTLSProfileApplyConfiguration struct {
	TLSProfileSpecApplyConfiguration `json:",inline"`
}

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

// WithCiphers adds the given value to the Ciphers 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 Ciphers field.
func (b *CustomTLSProfileApplyConfiguration) WithCiphers(values ...string) *CustomTLSProfileApplyConfiguration {
	for i := range values {
		b.TLSProfileSpecApplyConfiguration.Ciphers = append(b.TLSProfileSpecApplyConfiguration.Ciphers, values[i])
	}
	return b
}

// WithMinTLSVersion sets the MinTLSVersion 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 MinTLSVersion field is set to the value of the last call.
func (b *CustomTLSProfileApplyConfiguration) WithMinTLSVersion(value configv1.TLSProtocolVersion) *CustomTLSProfileApplyConfiguration {
	b.TLSProfileSpecApplyConfiguration.MinTLSVersion = &value
	return b
}
