func (b *NodeApplyConfiguration) WithCreationTimestamp(value metav1.Time) *NodeApplyConfiguration {
	b.ensureObjectMetaApplyConfigurationExists()
	b.CreationTimestamp = &value
	return b
}
WithCreationTimestamp sets the CreationTimestamp 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 CreationTimestamp field is set to the value of the last call.
package v1
import (
	apicorev1 "k8s.io/api/core/v1"
	metav1 "k8s.io/apimachinery/pkg/apis/meta/v1"
	types "k8s.io/apimachinery/pkg/types"
	managedfields "k8s.io/apimachinery/pkg/util/managedfields"
	internal "k8s.io/client-go/applyconfigurations/internal"
	v1 "k8s.io/client-go/applyconfigurations/meta/v1"
)
type NodeApplyConfiguration struct {
	v1.TypeMetaApplyConfiguration    `json:",inline"`
	*v1.ObjectMetaApplyConfiguration `json:"metadata,omitempty"`
	Spec                             *NodeSpecApplyConfiguration   `json:"spec,omitempty"`
	Status                           *NodeStatusApplyConfiguration `json:"status,omitempty"`
}
func Node(name string) *NodeApplyConfiguration {
	b := &NodeApplyConfiguration{}
	b.WithName(name)
	b.WithKind("Node")
	b.WithAPIVersion("v1")
	return b
}
func ExtractNode(node *apicorev1.Node, fieldManager string) (*NodeApplyConfiguration, error) {
	return extractNode(node, fieldManager, "")
}
func ExtractNodeStatus(node *apicorev1.Node, fieldManager string) (*NodeApplyConfiguration, error) {
	return extractNode(node, fieldManager, "status")
}
func extractNode(node *apicorev1.Node, fieldManager string, subresource string) (*NodeApplyConfiguration, error) {
	b := &NodeApplyConfiguration{}
	err := managedfields.ExtractInto(node, internal.Parser().Type("io.k8s.api.core.v1.Node"), fieldManager, b, subresource)
	if err != nil {
		return nil, err
	}
	b.WithName(node.Name)
	b.WithKind("Node")
	b.WithAPIVersion("v1")
	return b, nil
}
func (b *NodeApplyConfiguration) WithKind(value string) *NodeApplyConfiguration {
	b.Kind = &value
	return b
}
func (b *NodeApplyConfiguration) WithAPIVersion(value string) *NodeApplyConfiguration {
	b.APIVersion = &value
	return b
}
func (b *NodeApplyConfiguration) WithName(value string) *NodeApplyConfiguration {
	b.ensureObjectMetaApplyConfigurationExists()
	b.Name = &value
	return b
}
func (b *NodeApplyConfiguration) WithGenerateName(value string) *NodeApplyConfiguration {
	b.ensureObjectMetaApplyConfigurationExists()
	b.GenerateName = &value
	return b
}
func (b *NodeApplyConfiguration) WithNamespace(value string) *NodeApplyConfiguration {
	b.ensureObjectMetaApplyConfigurationExists()
	b.Namespace = &value
	return b
}
func (b *NodeApplyConfiguration) WithSelfLink(value string) *NodeApplyConfiguration {
	b.ensureObjectMetaApplyConfigurationExists()
	b.SelfLink = &value
	return b
}
func (b *NodeApplyConfiguration) WithUID(value types.UID) *NodeApplyConfiguration {
	b.ensureObjectMetaApplyConfigurationExists()
	b.UID = &value
	return b
}
func (b *NodeApplyConfiguration) WithResourceVersion(value string) *NodeApplyConfiguration {
	b.ensureObjectMetaApplyConfigurationExists()
	b.ResourceVersion = &value
	return b
}
func (b *NodeApplyConfiguration) WithGeneration(value int64) *NodeApplyConfiguration {
	b.ensureObjectMetaApplyConfigurationExists()
	b.Generation = &value
	return b
}