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

package v1

import (
	v1 "k8s.io/apimachinery/pkg/apis/meta/v1"
)

// DashboardStatusApplyConfiguration represents an declarative configuration of the DashboardStatus type for use
// with apply.
type DashboardStatusApplyConfiguration struct {
	IsHealthy            *bool    `json:"isHealthy,omitempty"`
	HealthLastUpdateTime *v1.Time `json:"healthLastUpdateTime,omitempty"`
}

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

// WithIsHealthy sets the IsHealthy 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 IsHealthy field is set to the value of the last call.
func (b *DashboardStatusApplyConfiguration) WithIsHealthy(value bool) *DashboardStatusApplyConfiguration {
	b.IsHealthy = &value
	return b
}

// WithHealthLastUpdateTime sets the HealthLastUpdateTime 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 HealthLastUpdateTime field is set to the value of the last call.
func (b *DashboardStatusApplyConfiguration) WithHealthLastUpdateTime(value v1.Time) *DashboardStatusApplyConfiguration {
	b.HealthLastUpdateTime = &value
	return b
}
