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

package v1

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

// PolicyMatchRemapIdentityApplyConfiguration represents a declarative configuration of the PolicyMatchRemapIdentity type for use
// with apply.
type PolicyMatchRemapIdentityApplyConfiguration struct {
	Prefix       *configv1.IdentityRepositoryPrefix `json:"prefix,omitempty"`
	SignedPrefix *configv1.IdentityRepositoryPrefix `json:"signedPrefix,omitempty"`
}

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

// WithPrefix sets the Prefix 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 Prefix field is set to the value of the last call.
func (b *PolicyMatchRemapIdentityApplyConfiguration) WithPrefix(value configv1.IdentityRepositoryPrefix) *PolicyMatchRemapIdentityApplyConfiguration {
	b.Prefix = &value
	return b
}

// WithSignedPrefix sets the SignedPrefix 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 SignedPrefix field is set to the value of the last call.
func (b *PolicyMatchRemapIdentityApplyConfiguration) WithSignedPrefix(value configv1.IdentityRepositoryPrefix) *PolicyMatchRemapIdentityApplyConfiguration {
	b.SignedPrefix = &value
	return b
}
