All Downloads are FREE. Search and download functionalities are using the official Maven repository.

annotations.io.alauda.kubernetes.api.model.WatchEventFluentImpl Maven / Gradle / Ivy

There is a newer version: 0.2.12
Show newest version
package io.alauda.kubernetes.api.model;

import io.alauda.kubernetes.api.model.extensions.ReplicaSetCondition;
import io.alauda.devops.api.model.BinaryBuildSourceFluentImpl;
import io.alauda.devops.api.model.BuildStatusOutputToBuilder;
import io.alauda.kubernetes.api.model.authorization.ResourceAttributes;
import io.alauda.kubernetes.api.model.apiextensions.CustomResourceDefinitionCondition;
import io.alauda.kubernetes.api.model.extensions.PodSecurityPolicyList;
import io.alauda.devops.api.model.TagImageHookFluentImpl;
import io.alauda.devops.api.model.BuildRequestFluentImpl;
import io.alauda.devops.api.model.DeploymentDetailsFluentImpl;
import io.alauda.devops.api.model.SecurityContextConstraints;
import io.alauda.devops.api.model.RouteIngressConditionBuilder;
import io.alauda.devops.api.model.RoleBindingList;
import io.alauda.devops.api.model.WebHookTriggerFluentImpl;
import io.alauda.kubernetes.api.model.extensions.ThirdPartyResourceFluentImpl;
import io.alauda.kubernetes.api.model.extensions.DaemonSetUpdateStrategyBuilder;
import io.alauda.devops.api.model.SecretSpecBuilder;
import io.alauda.devops.api.model.SignatureConditionFluentImpl;
import io.alauda.kubernetes.api.model.authorization.SubjectAccessReviewStatusFluentImpl;
import io.alauda.devops.api.model.ImageStreamTagBuilder;
import io.alauda.kubernetes.api.model.authorization.SubjectAccessReviewStatusBuilder;
import io.alauda.devops.api.model.TemplateListFluentImpl;
import io.alauda.devops.api.model.RouteSpec;
import io.alauda.devops.api.model.LocalSubjectAccessReview;
import io.alauda.devops.api.model.RunAsUserStrategyOptions;
import io.alauda.devops.api.model.GenericWebHookCause;
import io.alauda.kubernetes.api.model.extensions.RollingUpdateDeploymentFluentImpl;
import io.alauda.kubernetes.api.model.extensions.DaemonSetListFluentImpl;
import io.alauda.devops.api.model.GitHubWebHookCauseFluentImpl;
import io.alauda.devops.api.model.SignatureCondition;
import io.alauda.devops.api.model.SourceBuildStrategyBuilder;
import io.alauda.kubernetes.api.model.extensions.NetworkPolicy;
import io.alauda.devops.api.model.BuildBuilder;
import io.alauda.devops.api.model.RoleListBuilder;
import io.alauda.kubernetes.api.model.apiextensions.CustomResourceDefinitionStatusFluentImpl;
import io.alauda.devops.api.model.ImageChangeTriggerFluentImpl;
import io.alauda.kubernetes.api.model.version.InfoBuilder;
import io.alauda.devops.api.model.RoleBindingRestrictionFluentImpl;
import io.alauda.devops.api.model.GitLabWebHookCauseBuilder;
import io.alauda.devops.api.model.ParameterBuilder;
import io.alauda.kubernetes.api.model.extensions.PodSecurityPolicyListBuilder;
import io.alauda.devops.api.model.GitBuildSourceFluentImpl;
import io.alauda.kubernetes.api.model.authentication.TokenReview;
import io.alauda.devops.api.model.BuildSource;
import io.alauda.devops.api.model.OAuthAccessTokenList;
import io.alauda.kubernetes.api.model.extensions.ReplicaSetConditionFluentImpl;
import io.alauda.devops.api.model.ImageStreamTagListFluentImpl;
import io.alauda.devops.api.model.ImageSignature;
import io.alauda.devops.api.model.DeploymentConfigListBuilder;
import io.alauda.devops.api.model.DockerBuildStrategyFluentImpl;
import io.alauda.kubernetes.api.model.extensions.ScaleSpecFluentImpl;
import io.alauda.devops.api.model.WebHookTriggerBuilder;
import io.alauda.devops.api.model.DeploymentConfigSpecBuilder;
import io.alauda.kubernetes.api.model.extensions.RollbackConfigBuilder;
import io.alauda.devops.api.model.OAuthClientListFluentImpl;
import io.alauda.devops.api.model.SourceBuildStrategyFluentImpl;
import io.alauda.devops.api.model.ImageStreamListFluentImpl;
import io.alauda.devops.api.model.DeploymentConfigListFluentImpl;
import io.alauda.kubernetes.api.model.apiextensions.CustomResourceDefinitionSpecFluentImpl;
import io.alauda.devops.api.model.SourceControlUser;
import io.alauda.devops.api.model.GitHubWebHookCause;
import io.alauda.devops.api.model.OAuthClient;
import io.alauda.devops.api.model.BuildTriggerPolicyBuilder;
import io.alauda.devops.api.model.SourceBuildStrategy;
import io.alauda.devops.api.model.CustomBuildStrategy;
import io.alauda.devops.api.model.NamedTagEventListBuilder;
import io.alauda.kubernetes.api.model.extensions.IngressStatus;
import io.alauda.devops.api.model.RoleBindingRestrictionSpec;
import io.alauda.kubernetes.api.model.extensions.HTTPIngressRuleValueFluentImpl;
import io.alauda.devops.api.model.SignatureSubjectFluentImpl;
import io.alauda.kubernetes.api.model.extensions.IngressSpecBuilder;
import io.alauda.devops.api.model.ImageSource;
import io.alauda.kubernetes.api.model.extensions.DeploymentSpecBuilder;
import io.alauda.devops.api.model.ImageStreamSpec;
import io.alauda.devops.api.model.SecretSpecFluentImpl;
import io.alauda.devops.api.model.SELinuxContextStrategyOptionsBuilder;
import io.alauda.devops.api.model.ImageSourcePathBuilder;
import io.alauda.devops.api.model.Group;
import io.alauda.devops.api.model.RouteBuilder;
import io.alauda.devops.api.model.StageInfoFluentImpl;
import io.alauda.devops.api.model.RunAsUserStrategyOptionsFluentImpl;
import io.alauda.kubernetes.api.model.extensions.StatefulSetBuilder;
import io.alauda.devops.api.model.BuildStatusOutputBuilder;
import io.alauda.devops.api.model.BuildConfigFluentImpl;
import io.alauda.kubernetes.api.model.extensions.IngressTLSFluentImpl;
import io.alauda.kubernetes.api.model.extensions.KubernetesRunAsUserStrategyOptions;
import io.alauda.kubernetes.api.model.authorization.ResourceAttributesBuilder;
import io.alauda.devops.api.model.DeploymentStrategyBuilder;
import io.alauda.devops.api.model.CustomDeploymentStrategyParamsBuilder;
import io.alauda.kubernetes.api.model.authentication.TokenReviewStatus;
import io.alauda.kubernetes.api.model.extensions.ReplicaSetStatus;
import io.alauda.devops.api.model.NamedClusterRoleBinding;
import io.alauda.devops.api.model.NamedTagEventListFluentImpl;
import io.alauda.kubernetes.api.model.authentication.TokenReviewSpecFluentImpl;
import io.alauda.kubernetes.api.model.extensions.IngressListBuilder;
import io.alauda.kubernetes.api.model.extensions.PodSecurityPolicySpecBuilder;
import io.alauda.devops.api.model.OAuthAuthorizeTokenListBuilder;
import io.alauda.kubernetes.api.model.extensions.DaemonSet;
import io.alauda.devops.api.model.DeploymentCauseImageTriggerFluentImpl;
import io.alauda.devops.api.model.DeploymentCauseBuilder;
import io.alauda.devops.api.model.SecretBuildSource;
import io.alauda.devops.api.model.DeploymentConfigList;
import io.alauda.devops.api.model.JenkinsPipelineBuildStrategyBuilder;
import io.alauda.kubernetes.api.model.extensions.PodSecurityPolicyFluentImpl;
import io.alauda.devops.api.model.DeploymentTriggerPolicy;
import io.alauda.devops.api.model.RecreateDeploymentStrategyParamsBuilder;
import io.alauda.devops.api.model.JenkinsPipelineBuildStrategy;
import io.alauda.devops.api.model.UserFluentImpl;
import io.alauda.devops.api.model.ScopeRestrictionFluentImpl;
import io.alauda.kubernetes.api.model.extensions.IngressRule;
import java.lang.Boolean;
import io.alauda.devops.api.model.ClusterRoleScopeRestrictionBuilder;
import io.alauda.devops.api.model.RoutePort;
import io.alauda.devops.api.model.GitBuildSource;
import java.lang.Object;
import io.alauda.devops.api.model.SELinuxContextStrategyOptions;
import io.alauda.devops.api.model.PolicyBindingFluentImpl;
import io.alauda.devops.api.model.UserRestriction;
import io.alauda.kubernetes.api.model.apiextensions.CustomResourceDefinitionSpecBuilder;
import io.alauda.devops.api.model.ImageChangeCause;
import io.alauda.devops.api.model.CustomDeploymentStrategyParams;
import io.alauda.devops.api.model.ParameterFluentImpl;
import io.alauda.kubernetes.api.model.extensions.DaemonSetSpecFluentImpl;
import io.alauda.devops.api.model.TemplateListBuilder;
import io.alauda.devops.api.model.TagImageHook;
import io.alauda.devops.api.model.ClusterPolicy;
import io.alauda.devops.api.model.RoleFluentImpl;
import io.alauda.devops.api.model.TagImageHookBuilder;
import io.alauda.devops.api.model.ImageStreamSpecBuilder;
import io.alauda.kubernetes.api.builder.VisitableBuilder;
import io.alauda.devops.api.model.GitHubWebHookCauseBuilder;
import io.alauda.devops.api.model.ClusterPolicyList;
import io.alauda.devops.api.model.BitbucketWebHookCause;
import io.alauda.devops.api.model.BuildConfigStatus;
import io.alauda.devops.api.model.FSGroupStrategyOptions;
import io.alauda.devops.api.model.DeploymentConfigSpecFluentImpl;
import io.alauda.devops.api.model.RoleBindingBuilder;
import io.alauda.devops.api.model.TagEvent;
import io.alauda.devops.api.model.OAuthClientFluentImpl;
import io.alauda.devops.api.model.IDRangeFluentImpl;
import io.alauda.devops.api.model.GitSourceRevision;
import io.alauda.devops.api.model.FSGroupStrategyOptionsFluentImpl;
import io.alauda.devops.api.model.SecretBuildSourceFluentImpl;
import io.alauda.kubernetes.api.model.extensions.IngressSpec;
import io.alauda.kubernetes.api.model.extensions.DeploymentList;
import io.alauda.kubernetes.api.model.extensions.ThirdPartyResourceList;
import io.alauda.kubernetes.api.model.extensions.ReplicaSetBuilder;
import io.alauda.devops.api.model.ServiceAccountRestrictionBuilder;
import io.alauda.devops.api.model.RoleBindingFluentImpl;
import io.alauda.devops.api.model.BuildSpecBuilder;
import io.alauda.devops.api.model.ImageSourceFluentImpl;
import io.alauda.devops.api.model.GenericWebHookCauseFluentImpl;
import io.alauda.devops.api.model.NamedRoleBinding;
import io.alauda.devops.api.model.SourceControlUserBuilder;
import io.alauda.devops.api.model.BuildStrategy;
import io.alauda.devops.api.model.OAuthAccessTokenBuilder;
import io.alauda.kubernetes.api.model.extensions.StatefulSetStatusBuilder;
import io.alauda.kubernetes.api.model.extensions.NetworkPolicyPortFluentImpl;
import io.alauda.kubernetes.api.model.authentication.TokenReviewStatusBuilder;
import io.alauda.kubernetes.api.model.extensions.RollingUpdateStatefulSetStrategyFluentImpl;
import io.alauda.devops.api.model.RouteTargetReferenceFluentImpl;
import io.alauda.devops.api.model.UserRestrictionFluentImpl;
import io.alauda.devops.api.model.SignatureSubjectBuilder;
import io.alauda.devops.api.model.NamedRoleFluentImpl;
import io.alauda.devops.api.model.WebHookTrigger;
import java.lang.Deprecated;
import io.alauda.devops.api.model.ImageStreamStatusBuilder;
import io.alauda.devops.api.model.TagEventFluentImpl;
import io.alauda.kubernetes.api.model.policy.PodDisruptionBudgetStatusFluentImpl;
import io.alauda.devops.api.model.ImageSignatureBuilder;
import io.alauda.devops.api.model.DockerStrategyOptions;
import io.alauda.kubernetes.api.model.extensions.DeploymentRollbackFluentImpl;
import io.alauda.kubernetes.api.model.extensions.IngressFluentImpl;
import io.alauda.kubernetes.api.model.extensions.NetworkPolicyList;
import io.alauda.devops.api.model.SecurityContextConstraintsFluentImpl;
import io.alauda.devops.api.model.ClusterRoleBindingBuilder;
import io.alauda.devops.api.model.ClusterPolicyListFluentImpl;
import io.alauda.devops.api.model.RouteIngressCondition;
import io.alauda.devops.api.model.Role;
import io.alauda.devops.api.model.ImageFluentImpl;
import io.alauda.devops.api.model.BuildConfigListFluentImpl;
import io.alauda.devops.api.model.OAuthClientAuthorizationBuilder;
import io.alauda.devops.api.model.RoleListFluentImpl;
import io.alauda.kubernetes.api.model.extensions.SELinuxStrategyOptionsBuilder;
import io.alauda.devops.api.model.TagEventConditionBuilder;
import io.alauda.devops.api.model.TagEventConditionFluentImpl;
import io.alauda.devops.api.model.TLSConfigFluentImpl;
import io.alauda.kubernetes.api.model.authentication.UserInfoBuilder;
import io.alauda.kubernetes.api.model.apiextensions.CustomResourceDefinitionListFluentImpl;
import io.alauda.devops.api.model.ClusterRoleBindingFluentImpl;
import io.alauda.devops.api.model.UserList;
import io.alauda.devops.api.model.ClusterPolicyBindingList;
import io.alauda.kubernetes.api.model.extensions.ReplicaSetSpec;
import io.alauda.kubernetes.api.model.authorization.SubjectAccessReviewSpec;
import io.alauda.devops.api.model.ImageListFluentImpl;
import io.alauda.kubernetes.api.model.authentication.TokenReviewSpec;
import io.alauda.devops.api.model.BitbucketWebHookCauseBuilder;
import io.alauda.devops.api.model.BuildStatusBuilder;
import io.alauda.kubernetes.api.model.apiextensions.CustomResourceDefinitionConditionBuilder;
import io.alauda.devops.api.model.ImageStreamStatusFluentImpl;
import io.alauda.kubernetes.api.model.extensions.StatefulSetList;
import io.alauda.devops.api.model.GitLabWebHookCauseFluentImpl;
import io.alauda.devops.api.model.BuildSourceBuilder;
import io.alauda.kubernetes.api.model.authentication.UserInfoFluentImpl;
import io.alauda.devops.api.model.OAuthClientAuthorizationFluentImpl;
import io.alauda.kubernetes.api.model.extensions.StatefulSetSpecBuilder;
import io.alauda.kubernetes.api.model.apiextensions.CustomResourceDefinitionNamesFluentImpl;
import io.alauda.kubernetes.api.model.extensions.DeploymentBuilder;
import io.alauda.devops.api.model.StepInfo;
import io.alauda.kubernetes.api.model.extensions.ReplicaSetListFluentImpl;
import io.alauda.devops.api.model.BuildStatusOutputTo;
import io.alauda.kubernetes.api.model.apiextensions.CustomResourceDefinitionSpec;
import io.alauda.kubernetes.api.model.authentication.TokenReviewBuilder;
import io.alauda.kubernetes.api.model.extensions.NetworkPolicyListFluentImpl;
import io.alauda.devops.api.model.ServiceAccountRestrictionFluentImpl;
import io.alauda.devops.api.model.SELinuxContextStrategyOptionsFluentImpl;
import io.alauda.devops.api.model.RouteIngressBuilder;
import io.alauda.kubernetes.api.model.extensions.DeploymentStatus;
import io.alauda.devops.api.model.GroupFluentImpl;
import io.alauda.devops.api.model.TemplateBuilder;
import io.alauda.kubernetes.api.model.policy.PodDisruptionBudgetBuilder;
import io.alauda.devops.api.model.Template;
import io.alauda.devops.api.model.Build;
import io.alauda.kubernetes.api.model.extensions.ThirdPartyResourceBuilder;
import io.alauda.devops.api.model.NamedClusterRoleBuilder;
import io.alauda.devops.api.model.SourceRevisionBuilder;
import io.alauda.kubernetes.api.model.extensions.NetworkPolicyFluentImpl;
import io.alauda.kubernetes.api.model.policy.PodDisruptionBudgetSpec;
import io.alauda.devops.api.model.DeploymentTriggerImageChangeParams;
import io.alauda.devops.api.model.FSGroupStrategyOptionsBuilder;
import io.alauda.kubernetes.api.model.extensions.StatefulSetUpdateStrategyFluentImpl;
import io.alauda.devops.api.model.GitBuildSourceBuilder;
import io.alauda.devops.api.model.BuildConfigStatusBuilder;
import io.alauda.devops.api.model.BuildPostCommitSpec;
import io.alauda.devops.api.model.ClusterRoleBindingListBuilder;
import io.alauda.devops.api.model.DeploymentStrategyFluentImpl;
import io.alauda.kubernetes.api.model.extensions.APIVersionBuilder;
import io.alauda.kubernetes.api.model.policy.PodDisruptionBudgetStatus;
import io.alauda.kubernetes.api.model.apiextensions.CustomResourceDefinition;
import io.alauda.devops.api.model.BinaryBuildSource;
import io.alauda.devops.api.model.RouteIngress;
import io.alauda.devops.api.model.ClusterRoleBinding;
import io.alauda.kubernetes.api.model.extensions.RollingUpdateDaemonSetFluentImpl;
import io.alauda.devops.api.model.NamedRole;
import io.alauda.devops.api.model.UserBuilder;
import io.alauda.devops.api.model.RecreateDeploymentStrategyParams;
import io.alauda.kubernetes.api.model.extensions.ScaleSpecBuilder;
import io.alauda.devops.api.model.RoleBindingRestrictionSpecBuilder;
import io.alauda.devops.api.model.SourceRevision;
import io.alauda.devops.api.model.LifecycleHook;
import io.alauda.devops.api.model.SubjectAccessReview;
import io.alauda.devops.api.model.BuildStatus;
import io.alauda.devops.api.model.ImageSourcePathFluentImpl;
import io.alauda.devops.api.model.IDRange;
import io.alauda.devops.api.model.BuildPostCommitSpecBuilder;
import io.alauda.devops.api.model.GitSourceRevisionBuilder;
import io.alauda.devops.api.model.BuildStatusOutputToFluentImpl;
import io.alauda.devops.api.model.IdentityListBuilder;
import io.alauda.kubernetes.api.model.extensions.HostPortRangeBuilder;
import io.alauda.devops.api.model.Route;
import io.alauda.devops.api.model.DeploymentCondition;
import io.alauda.devops.api.model.BuildOutputFluentImpl;
import io.alauda.devops.api.model.PolicyRule;
import io.alauda.devops.api.model.CustomBuildStrategyBuilder;
import io.alauda.kubernetes.api.model.extensions.APIVersionFluentImpl;
import io.alauda.devops.api.model.ExecNewPodHookFluentImpl;
import io.alauda.devops.api.model.TLSConfigBuilder;
import io.alauda.devops.api.model.BuildConfigList;
import io.alauda.devops.api.model.GroupRestrictionBuilder;
import io.alauda.kubernetes.api.model.extensions.ReplicaSetConditionBuilder;
import io.alauda.kubernetes.api.model.extensions.StatefulSetUpdateStrategy;
import io.alauda.kubernetes.api.model.extensions.ReplicaSetStatusFluentImpl;
import io.alauda.devops.api.model.DockerStrategyOptionsFluentImpl;
import io.alauda.devops.api.model.ImageLabelBuilder;
import io.alauda.kubernetes.api.model.extensions.DaemonSetStatusBuilder;
import io.alauda.devops.api.model.TagImportPolicyFluentImpl;
import io.alauda.devops.api.model.ExecNewPodHook;
import io.alauda.devops.api.model.UserListBuilder;
import io.alauda.devops.api.model.ClusterPolicyListBuilder;
import io.alauda.devops.api.model.BuildTriggerCause;
import io.alauda.devops.api.model.RoleBindingRestrictionBuilder;
import io.alauda.devops.api.model.PolicyListFluentImpl;
import io.alauda.kubernetes.api.model.extensions.DeploymentListFluentImpl;
import io.alauda.devops.api.model.DeploymentDetails;
import io.alauda.kubernetes.api.model.extensions.NetworkPolicyPeer;
import io.alauda.devops.api.model.ImageLayer;
import io.alauda.kubernetes.api.model.extensions.DaemonSetSpec;
import io.alauda.kubernetes.api.model.extensions.StatefulSetListFluentImpl;
import io.alauda.devops.api.model.RouteIngressConditionFluentImpl;
import io.alauda.kubernetes.api.model.extensions.StatefulSetListBuilder;
import io.alauda.devops.api.model.LifecycleHookFluentImpl;
import io.alauda.devops.api.model.DockerBuildStrategyBuilder;
import io.alauda.kubernetes.api.model.extensions.PodSecurityPolicySpecFluentImpl;
import io.alauda.kubernetes.api.model.extensions.HTTPIngressPathBuilder;
import io.alauda.kubernetes.api.model.extensions.ScaleSpec;
import io.alauda.kubernetes.api.model.extensions.DeploymentStatusBuilder;
import io.alauda.devops.api.model.RoutePortBuilder;
import io.alauda.devops.api.model.ImageSourcePath;
import io.alauda.devops.api.model.NamedClusterRoleFluentImpl;
import io.alauda.devops.api.model.ImageStreamSpecFluentImpl;
import io.alauda.devops.api.model.PolicyBuilder;
import io.alauda.devops.api.model.UserRestrictionBuilder;
import io.alauda.kubernetes.api.model.extensions.ScaleBuilder;
import io.alauda.devops.api.model.ImageStreamListBuilder;
import io.alauda.devops.api.model.BuildFluentImpl;
import io.alauda.devops.api.model.JenkinsPipelineBuildStrategyFluentImpl;
import io.alauda.devops.api.model.GenericWebHookCauseBuilder;
import io.alauda.devops.api.model.ImageStreamFluentImpl;
import io.alauda.devops.api.model.TemplateList;
import io.alauda.devops.api.model.DockerBuildStrategy;
import io.alauda.kubernetes.api.builder.Nested;
import io.alauda.kubernetes.api.model.extensions.HTTPIngressPath;
import io.alauda.devops.api.model.DeploymentCauseFluentImpl;
import io.alauda.devops.api.model.BuildList;
import io.alauda.devops.api.model.OAuthClientListBuilder;
import io.alauda.devops.api.model.PolicyFluentImpl;
import io.alauda.devops.api.model.ImageStreamTagListBuilder;
import io.alauda.devops.api.model.DeploymentConfigBuilder;
import io.alauda.devops.api.model.IdentityList;
import java.lang.String;
import io.alauda.devops.api.model.LifecycleHookBuilder;
import io.alauda.kubernetes.api.model.extensions.ReplicaSetListBuilder;
import io.alauda.devops.api.model.CustomBuildStrategyFluentImpl;
import io.alauda.devops.api.model.OAuthAccessTokenFluentImpl;
import io.alauda.devops.api.model.ImageChangeTriggerBuilder;
import io.alauda.kubernetes.api.model.apiextensions.CustomResourceDefinitionStatusBuilder;
import io.alauda.devops.api.model.SubjectAccessReviewBuilder;
import io.alauda.kubernetes.api.model.authorization.SubjectAccessReviewStatus;
import io.alauda.devops.api.model.OAuthClientBuilder;
import io.alauda.devops.api.model.BitbucketWebHookCauseFluentImpl;
import io.alauda.devops.api.model.StageInfo;
import io.alauda.kubernetes.api.model.extensions.HostPortRange;
import io.alauda.devops.api.model.BuildTriggerCauseFluentImpl;
import io.alauda.kubernetes.api.model.policy.PodDisruptionBudgetSpecBuilder;
import io.alauda.kubernetes.api.model.extensions.DaemonSetList;
import io.alauda.kubernetes.api.model.extensions.PodSecurityPolicy;
import io.alauda.kubernetes.api.model.extensions.DaemonSetStatus;
import io.alauda.devops.api.model.GitLabWebHookCause;
import io.alauda.devops.api.model.OAuthAccessTokenListFluentImpl;
import io.alauda.devops.api.model.RollingDeploymentStrategyParams;
import io.alauda.devops.api.model.ClusterPolicyBindingListFluentImpl;
import io.alauda.kubernetes.api.model.extensions.IngressBackendBuilder;
import io.alauda.devops.api.model.ClusterRoleBindingListFluentImpl;
import io.alauda.devops.api.model.OAuthClientAuthorizationListFluentImpl;
import io.alauda.devops.api.model.LocalSubjectAccessReviewBuilder;
import io.alauda.devops.api.model.Parameter;
import io.alauda.kubernetes.api.model.extensions.NetworkPolicyIngressRuleBuilder;
import io.alauda.kubernetes.api.model.extensions.ScaleFluentImpl;
import io.alauda.devops.api.model.BuildStrategyBuilder;
import io.alauda.kubernetes.api.model.extensions.IngressRuleFluentImpl;
import io.alauda.devops.api.model.ImageLookupPolicyFluentImpl;
import io.alauda.devops.api.model.OAuthAuthorizeToken;
import io.alauda.kubernetes.api.model.policy.PodDisruptionBudgetListBuilder;
import io.alauda.kubernetes.api.model.extensions.ReplicaSetSpecBuilder;
import io.alauda.devops.api.model.GitSourceRevisionFluentImpl;
import io.alauda.kubernetes.api.model.authentication.UserInfo;
import io.alauda.devops.api.model.BuildTriggerCauseBuilder;
import io.alauda.devops.api.model.BuildSpec;
import io.alauda.devops.api.model.PolicyList;
import io.alauda.devops.api.model.NamedClusterRoleBindingBuilder;
import io.alauda.kubernetes.api.model.version.Info;
import io.alauda.devops.api.model.RoleBuilder;
import io.alauda.devops.api.model.RouteIngressFluentImpl;
import io.alauda.kubernetes.api.model.extensions.DaemonSetSpecBuilder;
import io.alauda.devops.api.model.RollingDeploymentStrategyParamsFluentImpl;
import io.alauda.devops.api.model.DeploymentTriggerPolicyBuilder;
import io.alauda.devops.api.model.SecurityContextConstraintsBuilder;
import io.alauda.kubernetes.api.model.extensions.PodSecurityPolicySpec;
import io.alauda.kubernetes.api.model.extensions.RollbackConfig;
import io.alauda.devops.api.model.RouteListFluentImpl;
import io.alauda.devops.api.model.StepInfoBuilder;
import io.alauda.kubernetes.api.model.extensions.IngressListFluentImpl;
import io.alauda.devops.api.model.BinaryBuildSourceBuilder;
import io.alauda.devops.api.model.DeploymentTriggerPolicyFluentImpl;
import io.alauda.devops.api.model.ImageListBuilder;
import io.alauda.devops.api.model.BuildSpecFluentImpl;
import io.alauda.devops.api.model.OAuthClientAuthorizationListBuilder;
import io.alauda.devops.api.model.ClusterPolicyBuilder;
import io.alauda.devops.api.model.ClusterRoleBindingList;
import io.alauda.devops.api.model.RouteSpecBuilder;
import io.alauda.devops.api.model.SecurityContextConstraintsListBuilder;
import io.alauda.kubernetes.api.model.apiextensions.CustomResourceDefinitionBuilder;
import io.alauda.kubernetes.api.model.extensions.IngressRuleBuilder;
import io.alauda.devops.api.model.ImageStream;
import io.alauda.kubernetes.api.model.extensions.ReplicaSetStatusBuilder;
import io.alauda.devops.api.model.ImageLookupPolicyBuilder;
import io.alauda.devops.api.model.IdentityBuilder;
import io.alauda.devops.api.model.OAuthClientAuthorizationList;
import io.alauda.kubernetes.api.model.authorization.ResourceAttributesFluentImpl;
import io.alauda.devops.api.model.ServiceAccountReferenceBuilder;
import io.alauda.kubernetes.api.model.extensions.RollingUpdateDaemonSet;
import io.alauda.kubernetes.api.model.extensions.StatefulSetFluentImpl;
import io.alauda.kubernetes.api.model.extensions.DeploymentRollback;
import io.alauda.devops.api.model.RunAsUserStrategyOptionsBuilder;
import io.alauda.devops.api.model.DeploymentConfigStatusFluentImpl;
import io.alauda.devops.api.model.OAuthAuthorizeTokenListFluentImpl;
import io.alauda.kubernetes.api.model.extensions.PodSecurityPolicyBuilder;
import io.alauda.kubernetes.api.model.extensions.NetworkPolicyPeerFluentImpl;
import io.alauda.devops.api.model.PolicyBindingList;
import io.alauda.kubernetes.api.model.extensions.NetworkPolicyIngressRuleFluentImpl;
import io.alauda.devops.api.model.BuildOutput;
import io.alauda.kubernetes.api.model.extensions.APIVersion;
import io.alauda.kubernetes.api.model.extensions.DeploymentSpecFluentImpl;
import io.alauda.kubernetes.api.model.extensions.RollingUpdateStatefulSetStrategy;
import io.alauda.kubernetes.api.model.authorization.SubjectAccessReviewSpecFluentImpl;
import io.alauda.devops.api.model.DeploymentCauseImageTrigger;
import io.alauda.devops.api.model.BuildTriggerPolicy;
import io.alauda.devops.api.model.SupplementalGroupsStrategyOptionsBuilder;
import io.alauda.kubernetes.api.model.extensions.RollingUpdateStatefulSetStrategyBuilder;
import io.alauda.devops.api.model.TagReference;
import io.alauda.devops.api.model.CustomDeploymentStrategyParamsFluentImpl;
import io.alauda.devops.api.model.OAuthClientAuthorization;
import io.alauda.devops.api.model.RouteListBuilder;
import io.alauda.kubernetes.api.model.extensions.DaemonSetUpdateStrategyFluentImpl;
import io.alauda.devops.api.model.IdentityFluentImpl;
import io.alauda.kubernetes.api.model.extensions.SELinuxStrategyOptions;
import io.alauda.devops.api.model.SubjectAccessReviewFluentImpl;
import io.alauda.devops.api.model.TagImportPolicyBuilder;
import io.alauda.devops.api.model.ImageSignatureFluentImpl;
import io.alauda.devops.api.model.BuildStatusFluentImpl;
import io.alauda.devops.api.model.ImageChangeTrigger;
import io.alauda.devops.api.model.TagReferenceFluentImpl;
import io.alauda.kubernetes.api.model.authentication.TokenReviewStatusFluentImpl;
import io.alauda.devops.api.model.GroupBuilder;
import io.alauda.kubernetes.api.model.apiextensions.CustomResourceDefinitionConditionFluentImpl;
import io.alauda.devops.api.model.NamedClusterRoleBindingFluentImpl;
import io.alauda.devops.api.model.UserListFluentImpl;
import io.alauda.kubernetes.api.model.policy.PodDisruptionBudgetStatusBuilder;
import io.alauda.devops.api.model.BuildStrategyFluentImpl;
import io.alauda.devops.api.model.PolicyRuleFluentImpl;
import io.alauda.kubernetes.api.model.extensions.KubernetesRunAsUserStrategyOptionsFluentImpl;
import io.alauda.kubernetes.api.model.policy.PodDisruptionBudgetSpecFluentImpl;
import io.alauda.kubernetes.api.model.extensions.DeploymentSpec;
import java.lang.Long;
import io.alauda.kubernetes.api.model.extensions.StatefulSetStatus;
import io.alauda.kubernetes.api.model.authorization.NonResourceAttributesBuilder;
import io.alauda.kubernetes.api.model.extensions.PodSecurityPolicyListFluentImpl;
import io.alauda.kubernetes.api.model.extensions.DaemonSetListBuilder;
import io.alauda.devops.api.model.DeploymentTriggerImageChangeParamsFluentImpl;
import io.alauda.devops.api.model.PolicyBinding;
import io.alauda.kubernetes.api.model.extensions.IngressBuilder;
import io.alauda.kubernetes.api.model.extensions.NetworkPolicySpecFluentImpl;
import io.alauda.devops.api.model.ExecNewPodHookBuilder;
import io.alauda.devops.api.model.ClusterPolicyFluentImpl;
import io.alauda.devops.api.model.ClusterRoleScopeRestriction;
import io.alauda.devops.api.model.RouteList;
import io.alauda.devops.api.model.ImageChangeCauseBuilder;
import io.alauda.devops.api.model.DeploymentTriggerImageChangeParamsBuilder;
import io.alauda.devops.api.model.SupplementalGroupsStrategyOptionsFluentImpl;
import io.alauda.kubernetes.api.model.extensions.NetworkPolicyListBuilder;
import io.alauda.kubernetes.api.model.extensions.RollingUpdateDeploymentBuilder;
import io.alauda.devops.api.model.BuildStatusOutputFluentImpl;
import io.alauda.devops.api.model.ImageStreamList;
import io.alauda.devops.api.model.PolicyListBuilder;
import io.alauda.kubernetes.api.model.extensions.NetworkPolicyPeerBuilder;
import io.alauda.kubernetes.api.model.extensions.ReplicaSetList;
import javax.validation.Valid;
import io.alauda.devops.api.model.OAuthAccessTokenListBuilder;
import io.alauda.kubernetes.api.model.extensions.ThirdPartyResourceListBuilder;
import io.alauda.kubernetes.api.model.extensions.StatefulSetUpdateStrategyBuilder;
import io.alauda.devops.api.model.TemplateFluentImpl;
import io.alauda.devops.api.model.DeploymentConfigFluentImpl;
import io.alauda.kubernetes.api.model.extensions.HTTPIngressRuleValueBuilder;
import io.alauda.devops.api.model.ImageChangeCauseFluentImpl;
import io.alauda.devops.api.model.RoleBindingListBuilder;
import io.alauda.devops.api.model.TagReferenceBuilder;
import io.alauda.devops.api.model.BuildSourceFluentImpl;
import io.alauda.devops.api.model.ImageList;
import io.alauda.devops.api.model.NamedRoleBindingFluentImpl;
import io.alauda.devops.api.model.StageInfoBuilder;
import io.alauda.kubernetes.api.model.extensions.IngressBackendFluentImpl;
import io.alauda.devops.api.model.SubjectAccessReviewResponseBuilder;
import io.alauda.devops.api.model.LocalSubjectAccessReviewFluentImpl;
import io.alauda.kubernetes.api.model.extensions.DeploymentFluentImpl;
import io.alauda.kubernetes.api.model.extensions.HTTPIngressRuleValue;
import io.alauda.kubernetes.api.model.extensions.ScaleStatusBuilder;
import io.alauda.devops.api.model.ServiceAccountReferenceFluentImpl;
import io.alauda.devops.api.model.GroupRestriction;
import io.alauda.kubernetes.api.model.extensions.HostPortRangeFluentImpl;
import io.alauda.devops.api.model.SourceRevisionFluentImpl;
import io.alauda.kubernetes.api.model.extensions.ThirdPartyResourceListFluentImpl;
import io.alauda.devops.api.model.SignatureIssuerFluentImpl;
import io.alauda.devops.api.model.RouteSpecFluentImpl;
import io.alauda.devops.api.model.TagImportPolicy;
import io.alauda.kubernetes.api.model.apiextensions.CustomResourceDefinitionNames;
import io.alauda.devops.api.model.SignatureIssuer;
import io.alauda.devops.api.model.BuildTriggerPolicyFluentImpl;
import io.alauda.devops.api.model.DeploymentConfigStatusBuilder;
import io.alauda.devops.api.model.DeploymentConfigSpec;
import io.alauda.kubernetes.api.model.apiextensions.CustomResourceDefinitionFluentImpl;
import io.alauda.kubernetes.api.model.extensions.IngressSpecFluentImpl;
import io.alauda.devops.api.model.ImageLayerBuilder;
import io.alauda.devops.api.model.SecurityContextConstraintsListFluentImpl;
import io.alauda.kubernetes.api.model.extensions.StatefulSetSpec;
import io.alauda.kubernetes.api.model.apiextensions.CustomResourceDefinitionList;
import io.alauda.devops.api.model.BuildConfigListBuilder;
import io.alauda.devops.api.model.OAuthAccessToken;
import io.alauda.devops.api.model.DeploymentConfig;
import io.alauda.devops.api.model.PolicyBindingListBuilder;
import io.alauda.devops.api.model.PolicyRuleBuilder;
import io.alauda.devops.api.model.BuildPostCommitSpecFluentImpl;
import io.alauda.devops.api.model.BuildOutputBuilder;
import io.alauda.devops.api.model.SecretBuildSourceBuilder;
import io.alauda.devops.api.model.OAuthAuthorizeTokenBuilder;
import io.alauda.devops.api.model.IdentityListFluentImpl;
import io.alauda.devops.api.model.TagReferencePolicy;
import io.alauda.devops.api.model.NamedTagEventList;
import io.alauda.devops.api.model.RoleBindingRestrictionSpecFluentImpl;
import io.alauda.devops.api.model.ImageSourceBuilder;
import io.alauda.devops.api.model.TagEventCondition;
import io.alauda.kubernetes.api.model.extensions.Deployment;
import io.alauda.devops.api.model.GroupListBuilder;
import io.alauda.devops.api.model.StepInfoFluentImpl;
import io.alauda.devops.api.model.GroupList;
import io.alauda.devops.api.model.BuildConfigSpecBuilder;
import io.alauda.kubernetes.api.model.authorization.NonResourceAttributes;
import io.alauda.kubernetes.api.model.extensions.SELinuxStrategyOptionsFluentImpl;
import io.alauda.kubernetes.api.model.extensions.NetworkPolicyPort;
import io.alauda.devops.api.model.BuildListBuilder;
import io.alauda.devops.api.model.ClusterPolicyBindingFluentImpl;
import io.alauda.devops.api.model.SignatureIssuerBuilder;
import io.alauda.kubernetes.api.model.extensions.IngressList;
import io.alauda.devops.api.model.GroupRestrictionFluentImpl;
import io.alauda.devops.api.model.NamedClusterRole;
import io.alauda.kubernetes.api.model.extensions.StatefulSetSpecFluentImpl;
import io.alauda.devops.api.model.IDRangeBuilder;
import io.alauda.devops.api.model.RoleBindingListFluentImpl;
import io.alauda.kubernetes.api.model.extensions.RollbackConfigFluentImpl;
import io.alauda.kubernetes.api.model.extensions.IngressStatusFluentImpl;
import io.alauda.kubernetes.api.model.extensions.RollingUpdateDaemonSetBuilder;
import io.alauda.devops.api.model.NamedRoleBindingBuilder;
import io.alauda.devops.api.model.SecurityContextConstraintsList;
import io.alauda.devops.api.model.RouteStatusBuilder;
import io.alauda.kubernetes.api.model.extensions.StatefulSetStatusFluentImpl;
import io.alauda.devops.api.model.BuildListFluentImpl;
import io.alauda.devops.api.model.ImageStreamTag;
import io.alauda.devops.api.model.Image;
import io.alauda.devops.api.model.ImageStreamBuilder;
import io.alauda.devops.api.model.RouteStatusFluentImpl;
import io.alauda.devops.api.model.BuildConfig;
import io.alauda.devops.api.model.RouteTargetReferenceBuilder;
import io.alauda.devops.api.model.ClusterRoleBuilder;
import io.alauda.devops.api.model.ServiceAccountReference;
import io.alauda.kubernetes.api.model.extensions.NetworkPolicyIngressRule;
import io.alauda.kubernetes.api.model.extensions.ThirdPartyResource;
import io.alauda.devops.api.model.TagEventBuilder;
import io.alauda.devops.api.model.RoleBindingRestriction;
import io.alauda.kubernetes.api.model.extensions.DeploymentRollbackBuilder;
import io.alauda.kubernetes.api.model.authentication.TokenReviewSpecBuilder;
import io.alauda.kubernetes.api.model.extensions.IngressTLS;
import io.alauda.kubernetes.api.model.extensions.IngressBackend;
import io.alauda.kubernetes.api.model.extensions.ScaleStatusFluentImpl;
import io.alauda.devops.api.model.TagReferencePolicyFluentImpl;
import io.alauda.devops.api.model.OAuthAuthorizeTokenList;
import io.alauda.kubernetes.api.model.extensions.NetworkPolicySpec;
import io.alauda.devops.api.model.ClusterPolicyBindingBuilder;
import io.alauda.kubernetes.api.model.version.InfoFluentImpl;
import io.alauda.devops.api.model.RoleList;
import io.alauda.devops.api.model.RollingDeploymentStrategyParamsBuilder;
import io.alauda.kubernetes.api.model.extensions.Ingress;
import io.alauda.devops.api.model.ImageLabel;
import io.alauda.kubernetes.api.model.extensions.DaemonSetBuilder;
import io.alauda.devops.api.model.DeploymentDetailsBuilder;
import io.alauda.kubernetes.api.model.extensions.Scale;
import io.alauda.devops.api.model.SubjectAccessReviewResponse;
import io.alauda.kubernetes.api.model.extensions.HTTPIngressPathFluentImpl;
import io.alauda.devops.api.model.ImageLayerFluentImpl;
import io.alauda.devops.api.model.RouteStatus;
import io.alauda.devops.api.model.BuildStatusOutput;
import io.alauda.devops.api.model.SignatureConditionBuilder;
import io.alauda.devops.api.model.DeploymentCause;
import io.alauda.devops.api.model.ClusterRole;
import io.alauda.kubernetes.api.model.extensions.NetworkPolicyBuilder;
import io.alauda.devops.api.model.PolicyBindingBuilder;
import io.alauda.devops.api.model.DeploymentConfigStatus;
import io.alauda.devops.api.model.DeploymentConditionBuilder;
import io.alauda.kubernetes.api.model.extensions.DeploymentListBuilder;
import io.alauda.kubernetes.api.model.authorization.NonResourceAttributesFluentImpl;
import io.alauda.kubernetes.api.model.policy.PodDisruptionBudgetList;
import io.alauda.kubernetes.api.model.extensions.ReplicaSet;
import io.alauda.devops.api.model.BuildConfigSpec;
import io.alauda.devops.api.model.SubjectAccessReviewResponseFluentImpl;
import io.alauda.devops.api.model.DeploymentStrategy;
import io.alauda.kubernetes.api.model.extensions.IngressStatusBuilder;
import io.alauda.kubernetes.api.model.authentication.TokenReviewFluentImpl;
import io.alauda.devops.api.model.ImageStreamStatus;
import io.alauda.kubernetes.api.model.policy.PodDisruptionBudgetFluentImpl;
import io.alauda.devops.api.model.NamedRoleBuilder;
import io.alauda.devops.api.model.ServiceAccountRestriction;
import io.alauda.kubernetes.api.model.extensions.KubernetesRunAsUserStrategyOptionsBuilder;
import io.alauda.devops.api.model.RouteFluentImpl;
import io.alauda.kubernetes.api.model.extensions.ReplicaSetSpecFluentImpl;
import io.alauda.kubernetes.api.model.extensions.DaemonSetStatusFluentImpl;
import io.alauda.devops.api.model.ClusterPolicyBindingListBuilder;
import io.alauda.kubernetes.api.model.extensions.ReplicaSetFluentImpl;
import io.alauda.kubernetes.api.model.extensions.NetworkPolicyPortBuilder;
import io.alauda.devops.api.model.OAuthClientList;
import io.alauda.devops.api.model.ImageBuilder;
import io.alauda.devops.api.model.SecretSpec;
import io.alauda.devops.api.model.ClusterRoleScopeRestrictionFluentImpl;
import io.alauda.devops.api.model.ScopeRestriction;
import java.lang.Integer;
import io.alauda.devops.api.model.SignatureSubject;
import com.fasterxml.jackson.annotation.JsonProperty;
import io.alauda.devops.api.model.ImageLabelFluentImpl;
import io.alauda.devops.api.model.ClusterRoleFluentImpl;
import io.alauda.devops.api.model.DeploymentConditionFluentImpl;
import io.alauda.devops.api.model.DockerStrategyOptionsBuilder;
import io.alauda.devops.api.model.BuildRequestBuilder;
import io.alauda.kubernetes.api.builder.BaseFluent;
import io.alauda.devops.api.model.DeploymentCauseImageTriggerBuilder;
import io.alauda.devops.api.model.Identity;
import io.alauda.kubernetes.api.model.apiextensions.CustomResourceDefinitionNamesBuilder;
import io.alauda.devops.api.model.SupplementalGroupsStrategyOptions;
import io.alauda.kubernetes.api.model.extensions.DaemonSetFluentImpl;
import io.alauda.kubernetes.api.model.extensions.ScaleStatus;
import io.alauda.devops.api.model.ImageStreamTagFluentImpl;
import io.alauda.devops.api.model.RecreateDeploymentStrategyParamsFluentImpl;
import io.alauda.devops.api.model.SourceControlUserFluentImpl;
import io.alauda.devops.api.model.ImageStreamTagList;
import io.alauda.devops.api.model.ImageLookupPolicy;
import io.alauda.devops.api.model.TagReferencePolicyBuilder;
import io.alauda.kubernetes.api.model.extensions.IngressTLSBuilder;
import io.alauda.devops.api.model.TLSConfig;
import io.alauda.kubernetes.api.model.extensions.DaemonSetUpdateStrategy;
import io.alauda.kubernetes.api.model.apiextensions.CustomResourceDefinitionListBuilder;
import io.alauda.kubernetes.api.model.authorization.SubjectAccessReviewSpecBuilder;
import io.alauda.devops.api.model.OAuthAuthorizeTokenFluentImpl;
import io.alauda.devops.api.model.Policy;
import io.alauda.kubernetes.api.model.apiextensions.CustomResourceDefinitionStatus;
import io.alauda.devops.api.model.BuildConfigBuilder;
import io.alauda.devops.api.model.RoleBinding;
import io.alauda.kubernetes.api.model.extensions.DeploymentStatusFluentImpl;
import io.alauda.devops.api.model.GroupListFluentImpl;
import io.alauda.devops.api.model.BuildRequest;
import io.alauda.devops.api.model.RoutePortFluentImpl;
import io.alauda.devops.api.model.ScopeRestrictionBuilder;
import io.alauda.kubernetes.api.model.extensions.StatefulSet;
import io.alauda.devops.api.model.PolicyBindingListFluentImpl;
import io.alauda.kubernetes.api.model.extensions.RollingUpdateDeployment;
import io.alauda.devops.api.model.RouteTargetReference;
import io.alauda.devops.api.model.User;
import io.alauda.kubernetes.api.model.policy.PodDisruptionBudget;
import io.alauda.kubernetes.api.model.policy.PodDisruptionBudgetListFluentImpl;
import io.alauda.devops.api.model.BuildConfigStatusFluentImpl;
import io.alauda.devops.api.model.BuildConfigSpecFluentImpl;
import io.alauda.devops.api.model.ClusterPolicyBinding;
import io.alauda.kubernetes.api.model.extensions.NetworkPolicySpecBuilder;

public class WatchEventFluentImpl> extends io.alauda.kubernetes.api.builder.BaseFluent implements WatchEventFluent{

    private VisitableBuilder object;
    private String type;

    public WatchEventFluentImpl(){
    }
    public WatchEventFluentImpl(WatchEvent instance){
            this.withObject(instance.getObject()); 
            this.withType(instance.getType()); 
    }

    
/**
 * This method has been deprecated, please use method buildObject instead.
 */
@Deprecated public KubernetesResource getObject(){
            return this.object!=null?this.object.build():null;
    }

    public KubernetesResource buildObject(){
            return this.object!=null?this.object.build():null;
    }

    public A withObject(KubernetesResource object){
            if (object instanceof NamedCluster){ this.object= new NamedClusterBuilder((NamedCluster)object); _visitables.add(this.object);}
            if (object instanceof WebHookTrigger){ this.object= new WebHookTriggerBuilder((WebHookTrigger)object); _visitables.add(this.object);}
            if (object instanceof AWSElasticBlockStoreVolumeSource){ this.object= new AWSElasticBlockStoreVolumeSourceBuilder((AWSElasticBlockStoreVolumeSource)object); _visitables.add(this.object);}
            if (object instanceof DockerBuildStrategy){ this.object= new DockerBuildStrategyBuilder((DockerBuildStrategy)object); _visitables.add(this.object);}
            if (object instanceof Ingress){ this.object= new IngressBuilder((Ingress)object); _visitables.add(this.object);}
            if (object instanceof TagImageHook){ this.object= new TagImageHookBuilder((TagImageHook)object); _visitables.add(this.object);}
            if (object instanceof ImageChangeCause){ this.object= new ImageChangeCauseBuilder((ImageChangeCause)object); _visitables.add(this.object);}
            if (object instanceof Route){ this.object= new RouteBuilder((Route)object); _visitables.add(this.object);}
            if (object instanceof ImageList){ this.object= new ImageListBuilder((ImageList)object); _visitables.add(this.object);}
            if (object instanceof BuildStatusOutput){ this.object= new BuildStatusOutputBuilder((BuildStatusOutput)object); _visitables.add(this.object);}
            if (object instanceof ResourceQuotaSpec){ this.object= new ResourceQuotaSpecBuilder((ResourceQuotaSpec)object); _visitables.add(this.object);}
            if (object instanceof JobSpec){ this.object= new JobSpecBuilder((JobSpec)object); _visitables.add(this.object);}
            if (object instanceof SecretList){ this.object= new SecretListBuilder((SecretList)object); _visitables.add(this.object);}
            if (object instanceof JenkinsList){ this.object= new JenkinsListBuilder((JenkinsList)object); _visitables.add(this.object);}
            if (object instanceof LabelSelector){ this.object= new LabelSelectorBuilder((LabelSelector)object); _visitables.add(this.object);}
            if (object instanceof DeleteOptions){ this.object= new DeleteOptionsBuilder((DeleteOptions)object); _visitables.add(this.object);}
            if (object instanceof DownwardAPIProjection){ this.object= new DownwardAPIProjectionBuilder((DownwardAPIProjection)object); _visitables.add(this.object);}
            if (object instanceof PipelineTaskApprove){ this.object= new PipelineTaskApproveBuilder((PipelineTaskApprove)object); _visitables.add(this.object);}
            if (object instanceof WeightedPodAffinityTerm){ this.object= new WeightedPodAffinityTermBuilder((WeightedPodAffinityTerm)object); _visitables.add(this.object);}
            if (object instanceof NodeList){ this.object= new NodeListBuilder((NodeList)object); _visitables.add(this.object);}
            if (object instanceof CinderVolumeSource){ this.object= new CinderVolumeSourceBuilder((CinderVolumeSource)object); _visitables.add(this.object);}
            if (object instanceof PolicyBinding){ this.object= new PolicyBindingBuilder((PolicyBinding)object); _visitables.add(this.object);}
            if (object instanceof ImageStreamSpec){ this.object= new ImageStreamSpecBuilder((ImageStreamSpec)object); _visitables.add(this.object);}
            if (object instanceof LocalVolumeSource){ this.object= new LocalVolumeSourceBuilder((LocalVolumeSource)object); _visitables.add(this.object);}
            if (object instanceof ResourceQuota){ this.object= new ResourceQuotaBuilder((ResourceQuota)object); _visitables.add(this.object);}
            if (object instanceof TagReferencePolicy){ this.object= new TagReferencePolicyBuilder((TagReferencePolicy)object); _visitables.add(this.object);}
            if (object instanceof UserInfo){ this.object= new UserInfoBuilder((UserInfo)object); _visitables.add(this.object);}
            if (object instanceof CustomDeploymentStrategyParams){ this.object= new CustomDeploymentStrategyParamsBuilder((CustomDeploymentStrategyParams)object); _visitables.add(this.object);}
            if (object instanceof CustomResourceDefinitionSpec){ this.object= new CustomResourceDefinitionSpecBuilder((CustomResourceDefinitionSpec)object); _visitables.add(this.object);}
            if (object instanceof AzureFileVolumeSource){ this.object= new AzureFileVolumeSourceBuilder((AzureFileVolumeSource)object); _visitables.add(this.object);}
            if (object instanceof ServiceAccount){ this.object= new ServiceAccountBuilder((ServiceAccount)object); _visitables.add(this.object);}
            if (object instanceof StorageOSPersistentVolumeSource){ this.object= new StorageOSPersistentVolumeSourceBuilder((StorageOSPersistentVolumeSource)object); _visitables.add(this.object);}
            if (object instanceof PipelineStageInstance){ this.object= new PipelineStageInstanceBuilder((PipelineStageInstance)object); _visitables.add(this.object);}
            if (object instanceof ConfigMap){ this.object= new ConfigMapBuilder((ConfigMap)object); _visitables.add(this.object);}
            if (object instanceof OAuthClientAuthorization){ this.object= new OAuthClientAuthorizationBuilder((OAuthClientAuthorization)object); _visitables.add(this.object);}
            if (object instanceof PolicyBindingList){ this.object= new PolicyBindingListBuilder((PolicyBindingList)object); _visitables.add(this.object);}
            if (object instanceof Policy){ this.object= new PolicyBuilder((Policy)object); _visitables.add(this.object);}
            if (object instanceof Volume){ this.object= new VolumeBuilder((Volume)object); _visitables.add(this.object);}
            if (object instanceof PipelineCause){ this.object= new PipelineCauseBuilder((PipelineCause)object); _visitables.add(this.object);}
            if (object instanceof GitLabWebHookCause){ this.object= new GitLabWebHookCauseBuilder((GitLabWebHookCause)object); _visitables.add(this.object);}
            if (object instanceof OAuthAuthorizeToken){ this.object= new OAuthAuthorizeTokenBuilder((OAuthAuthorizeToken)object); _visitables.add(this.object);}
            if (object instanceof PipelineStatusJenkins){ this.object= new PipelineStatusJenkinsBuilder((PipelineStatusJenkins)object); _visitables.add(this.object);}
            if (object instanceof RollingDeploymentStrategyParams){ this.object= new RollingDeploymentStrategyParamsBuilder((RollingDeploymentStrategyParams)object); _visitables.add(this.object);}
            if (object instanceof JenkinsBinding){ this.object= new JenkinsBindingBuilder((JenkinsBinding)object); _visitables.add(this.object);}
            if (object instanceof ImageLayer){ this.object= new ImageLayerBuilder((ImageLayer)object); _visitables.add(this.object);}
            if (object instanceof DaemonSetStatus){ this.object= new DaemonSetStatusBuilder((DaemonSetStatus)object); _visitables.add(this.object);}
            if (object instanceof Initializer){ this.object= new InitializerBuilder((Initializer)object); _visitables.add(this.object);}
            if (object instanceof SELinuxContextStrategyOptions){ this.object= new SELinuxContextStrategyOptionsBuilder((SELinuxContextStrategyOptions)object); _visitables.add(this.object);}
            if (object instanceof ListMeta){ this.object= new ListMetaBuilder((ListMeta)object); _visitables.add(this.object);}
            if (object instanceof Identity){ this.object= new IdentityBuilder((Identity)object); _visitables.add(this.object);}
            if (object instanceof ComponentStatusList){ this.object= new ComponentStatusListBuilder((ComponentStatusList)object); _visitables.add(this.object);}
            if (object instanceof JenkinsBindingList){ this.object= new JenkinsBindingListBuilder((JenkinsBindingList)object); _visitables.add(this.object);}
            if (object instanceof GlobalParameter){ this.object= new GlobalParameterBuilder((GlobalParameter)object); _visitables.add(this.object);}
            if (object instanceof NamedClusterRoleBinding){ this.object= new NamedClusterRoleBindingBuilder((NamedClusterRoleBinding)object); _visitables.add(this.object);}
            if (object instanceof VolumeMount){ this.object= new VolumeMountBuilder((VolumeMount)object); _visitables.add(this.object);}
            if (object instanceof RoutePort){ this.object= new RoutePortBuilder((RoutePort)object); _visitables.add(this.object);}
            if (object instanceof PodTemplate){ this.object= new PodTemplateBuilder((PodTemplate)object); _visitables.add(this.object);}
            if (object instanceof FSGroupStrategyOptions){ this.object= new FSGroupStrategyOptionsBuilder((FSGroupStrategyOptions)object); _visitables.add(this.object);}
            if (object instanceof PipelineTemplateArgumentValue){ this.object= new PipelineTemplateArgumentValueBuilder((PipelineTemplateArgumentValue)object); _visitables.add(this.object);}
            if (object instanceof FCVolumeSource){ this.object= new FCVolumeSourceBuilder((FCVolumeSource)object); _visitables.add(this.object);}
            if (object instanceof DeploymentCauseImageTrigger){ this.object= new DeploymentCauseImageTriggerBuilder((DeploymentCauseImageTrigger)object); _visitables.add(this.object);}
            if (object instanceof DaemonSetSpec){ this.object= new DaemonSetSpecBuilder((DaemonSetSpec)object); _visitables.add(this.object);}
            if (object instanceof BuildPostCommitSpec){ this.object= new BuildPostCommitSpecBuilder((BuildPostCommitSpec)object); _visitables.add(this.object);}
            if (object instanceof TokenReview){ this.object= new TokenReviewBuilder((TokenReview)object); _visitables.add(this.object);}
            if (object instanceof NetworkPolicyPeer){ this.object= new NetworkPolicyPeerBuilder((NetworkPolicyPeer)object); _visitables.add(this.object);}
            if (object instanceof NamedRole){ this.object= new NamedRoleBuilder((NamedRole)object); _visitables.add(this.object);}
            if (object instanceof RouteList){ this.object= new RouteListBuilder((RouteList)object); _visitables.add(this.object);}
            if (object instanceof DaemonSetUpdateStrategy){ this.object= new DaemonSetUpdateStrategyBuilder((DaemonSetUpdateStrategy)object); _visitables.add(this.object);}
            if (object instanceof IngressList){ this.object= new IngressListBuilder((IngressList)object); _visitables.add(this.object);}
            if (object instanceof FlexVolumeSource){ this.object= new FlexVolumeSourceBuilder((FlexVolumeSource)object); _visitables.add(this.object);}
            if (object instanceof CustomResourceDefinition){ this.object= new CustomResourceDefinitionBuilder((CustomResourceDefinition)object); _visitables.add(this.object);}
            if (object instanceof io.alauda.kubernetes.api.model.extensions.DeploymentCondition){ this.object= new io.alauda.kubernetes.api.model.extensions.DeploymentConditionBuilder((io.alauda.kubernetes.api.model.extensions.DeploymentCondition)object); _visitables.add(this.object);}
            if (object instanceof Config){ this.object= new ConfigBuilder((Config)object); _visitables.add(this.object);}
            if (object instanceof NamespaceList){ this.object= new NamespaceListBuilder((NamespaceList)object); _visitables.add(this.object);}
            if (object instanceof SignatureSubject){ this.object= new SignatureSubjectBuilder((SignatureSubject)object); _visitables.add(this.object);}
            if (object instanceof QuobyteVolumeSource){ this.object= new QuobyteVolumeSourceBuilder((QuobyteVolumeSource)object); _visitables.add(this.object);}
            if (object instanceof PreferredSchedulingTerm){ this.object= new PreferredSchedulingTermBuilder((PreferredSchedulingTerm)object); _visitables.add(this.object);}
            if (object instanceof HostPortRange){ this.object= new HostPortRangeBuilder((HostPortRange)object); _visitables.add(this.object);}
            if (object instanceof PodSecurityPolicyList){ this.object= new PodSecurityPolicyListBuilder((PodSecurityPolicyList)object); _visitables.add(this.object);}
            if (object instanceof PolicyRule){ this.object= new PolicyRuleBuilder((PolicyRule)object); _visitables.add(this.object);}
            if (object instanceof PipelineConfigList){ this.object= new PipelineConfigListBuilder((PipelineConfigList)object); _visitables.add(this.object);}
            if (object instanceof PipelineHookHTTPRequest){ this.object= new PipelineHookHTTPRequestBuilder((PipelineHookHTTPRequest)object); _visitables.add(this.object);}
            if (object instanceof ResourceFieldSelector){ this.object= new ResourceFieldSelectorBuilder((ResourceFieldSelector)object); _visitables.add(this.object);}
            if (object instanceof ImageSignature){ this.object= new ImageSignatureBuilder((ImageSignature)object); _visitables.add(this.object);}
            if (object instanceof SELinuxStrategyOptions){ this.object= new SELinuxStrategyOptionsBuilder((SELinuxStrategyOptions)object); _visitables.add(this.object);}
            if (object instanceof Preconditions){ this.object= new PreconditionsBuilder((Preconditions)object); _visitables.add(this.object);}
            if (object instanceof ClusterRole){ this.object= new ClusterRoleBuilder((ClusterRole)object); _visitables.add(this.object);}
            if (object instanceof RoleBindingRestrictionSpec){ this.object= new RoleBindingRestrictionSpecBuilder((RoleBindingRestrictionSpec)object); _visitables.add(this.object);}
            if (object instanceof StatefulSetStatus){ this.object= new StatefulSetStatusBuilder((StatefulSetStatus)object); _visitables.add(this.object);}
            if (object instanceof Namespace){ this.object= new NamespaceBuilder((Namespace)object); _visitables.add(this.object);}
            if (object instanceof RouteIngressCondition){ this.object= new RouteIngressConditionBuilder((RouteIngressCondition)object); _visitables.add(this.object);}
            if (object instanceof HTTPGetAction){ this.object= new HTTPGetActionBuilder((HTTPGetAction)object); _visitables.add(this.object);}
            if (object instanceof EndpointsList){ this.object= new EndpointsListBuilder((EndpointsList)object); _visitables.add(this.object);}
            if (object instanceof BuildConfigList){ this.object= new BuildConfigListBuilder((BuildConfigList)object); _visitables.add(this.object);}
            if (object instanceof DeploymentCause){ this.object= new DeploymentCauseBuilder((DeploymentCause)object); _visitables.add(this.object);}
            if (object instanceof ClusterPolicy){ this.object= new ClusterPolicyBuilder((ClusterPolicy)object); _visitables.add(this.object);}
            if (object instanceof JenkinsStatus){ this.object= new JenkinsStatusBuilder((JenkinsStatus)object); _visitables.add(this.object);}
            if (object instanceof PipelineTriggerCodeChange){ this.object= new PipelineTriggerCodeChangeBuilder((PipelineTriggerCodeChange)object); _visitables.add(this.object);}
            if (object instanceof IngressStatus){ this.object= new IngressStatusBuilder((IngressStatus)object); _visitables.add(this.object);}
            if (object instanceof Initializers){ this.object= new InitializersBuilder((Initializers)object); _visitables.add(this.object);}
            if (object instanceof PodCondition){ this.object= new PodConditionBuilder((PodCondition)object); _visitables.add(this.object);}
            if (object instanceof ContainerStateTerminated){ this.object= new ContainerStateTerminatedBuilder((ContainerStateTerminated)object); _visitables.add(this.object);}
            if (object instanceof ReplicaSetSpec){ this.object= new ReplicaSetSpecBuilder((ReplicaSetSpec)object); _visitables.add(this.object);}
            if (object instanceof CodeRepositoryRef){ this.object= new CodeRepositoryRefBuilder((CodeRepositoryRef)object); _visitables.add(this.object);}
            if (object instanceof GitRepoVolumeSource){ this.object= new GitRepoVolumeSourceBuilder((GitRepoVolumeSource)object); _visitables.add(this.object);}
            if (object instanceof PodTemplateSpec){ this.object= new PodTemplateSpecBuilder((PodTemplateSpec)object); _visitables.add(this.object);}
            if (object instanceof PipelineTemplateTaskInstanceSpec){ this.object= new PipelineTemplateTaskInstanceSpecBuilder((PipelineTemplateTaskInstanceSpec)object); _visitables.add(this.object);}
            if (object instanceof SecretSpec){ this.object= new SecretSpecBuilder((SecretSpec)object); _visitables.add(this.object);}
            if (object instanceof ConfigMapVolumeSource){ this.object= new ConfigMapVolumeSourceBuilder((ConfigMapVolumeSource)object); _visitables.add(this.object);}
            if (object instanceof OwnerReference){ this.object= new OwnerReferenceBuilder((OwnerReference)object); _visitables.add(this.object);}
            if (object instanceof ServiceAccountRestriction){ this.object= new ServiceAccountRestrictionBuilder((ServiceAccountRestriction)object); _visitables.add(this.object);}
            if (object instanceof FlockerVolumeSource){ this.object= new FlockerVolumeSourceBuilder((FlockerVolumeSource)object); _visitables.add(this.object);}
            if (object instanceof LifecycleHook){ this.object= new LifecycleHookBuilder((LifecycleHook)object); _visitables.add(this.object);}
            if (object instanceof PodAntiAffinity){ this.object= new PodAntiAffinityBuilder((PodAntiAffinity)object); _visitables.add(this.object);}
            if (object instanceof DeploymentStrategy){ this.object= new DeploymentStrategyBuilder((DeploymentStrategy)object); _visitables.add(this.object);}
            if (object instanceof Build){ this.object= new BuildBuilder((Build)object); _visitables.add(this.object);}
            if (object instanceof EnvVar){ this.object= new EnvVarBuilder((EnvVar)object); _visitables.add(this.object);}
            if (object instanceof ScaleIOVolumeSource){ this.object= new ScaleIOVolumeSourceBuilder((ScaleIOVolumeSource)object); _visitables.add(this.object);}
            if (object instanceof StepInfo){ this.object= new StepInfoBuilder((StepInfo)object); _visitables.add(this.object);}
            if (object instanceof Scale){ this.object= new ScaleBuilder((Scale)object); _visitables.add(this.object);}
            if (object instanceof RouteStatus){ this.object= new RouteStatusBuilder((RouteStatus)object); _visitables.add(this.object);}
            if (object instanceof PodSpec){ this.object= new PodSpecBuilder((PodSpec)object); _visitables.add(this.object);}
            if (object instanceof PipelineConfigSpec){ this.object= new PipelineConfigSpecBuilder((PipelineConfigSpec)object); _visitables.add(this.object);}
            if (object instanceof ComponentCondition){ this.object= new ComponentConditionBuilder((ComponentCondition)object); _visitables.add(this.object);}
            if (object instanceof Pod){ this.object= new PodBuilder((Pod)object); _visitables.add(this.object);}
            if (object instanceof CephFSVolumeSource){ this.object= new CephFSVolumeSourceBuilder((CephFSVolumeSource)object); _visitables.add(this.object);}
            if (object instanceof ReplicationControllerCondition){ this.object= new ReplicationControllerConditionBuilder((ReplicationControllerCondition)object); _visitables.add(this.object);}
            if (object instanceof ServiceAccountReference){ this.object= new ServiceAccountReferenceBuilder((ServiceAccountReference)object); _visitables.add(this.object);}
            if (object instanceof HorizontalPodAutoscaler){ this.object= new HorizontalPodAutoscalerBuilder((HorizontalPodAutoscaler)object); _visitables.add(this.object);}
            if (object instanceof CrossVersionObjectReference){ this.object= new CrossVersionObjectReferenceBuilder((CrossVersionObjectReference)object); _visitables.add(this.object);}
            if (object instanceof Cluster){ this.object= new ClusterBuilder((Cluster)object); _visitables.add(this.object);}
            if (object instanceof NetworkPolicyIngressRule){ this.object= new NetworkPolicyIngressRuleBuilder((NetworkPolicyIngressRule)object); _visitables.add(this.object);}
            if (object instanceof ConfigMapKeySelector){ this.object= new ConfigMapKeySelectorBuilder((ConfigMapKeySelector)object); _visitables.add(this.object);}
            if (object instanceof PipelineTemplateArgumentGroup){ this.object= new PipelineTemplateArgumentGroupBuilder((PipelineTemplateArgumentGroup)object); _visitables.add(this.object);}
            if (object instanceof GroupList){ this.object= new GroupListBuilder((GroupList)object); _visitables.add(this.object);}
            if (object instanceof GlusterfsVolumeSource){ this.object= new GlusterfsVolumeSourceBuilder((GlusterfsVolumeSource)object); _visitables.add(this.object);}
            if (object instanceof ThirdPartyResource){ this.object= new ThirdPartyResourceBuilder((ThirdPartyResource)object); _visitables.add(this.object);}
            if (object instanceof DeploymentCondition){ this.object= new DeploymentConditionBuilder((DeploymentCondition)object); _visitables.add(this.object);}
            if (object instanceof PortworxVolumeSource){ this.object= new PortworxVolumeSourceBuilder((PortworxVolumeSource)object); _visitables.add(this.object);}
            if (object instanceof PipelineHook){ this.object= new PipelineHookBuilder((PipelineHook)object); _visitables.add(this.object);}
            if (object instanceof StorageOSVolumeSource){ this.object= new StorageOSVolumeSourceBuilder((StorageOSVolumeSource)object); _visitables.add(this.object);}
            if (object instanceof CronJobStatus){ this.object= new CronJobStatusBuilder((CronJobStatus)object); _visitables.add(this.object);}
            if (object instanceof ServiceAccountList){ this.object= new ServiceAccountListBuilder((ServiceAccountList)object); _visitables.add(this.object);}
            if (object instanceof ImageStreamTag){ this.object= new ImageStreamTagBuilder((ImageStreamTag)object); _visitables.add(this.object);}
            if (object instanceof ComponentStatus){ this.object= new ComponentStatusBuilder((ComponentStatus)object); _visitables.add(this.object);}
            if (object instanceof ThirdPartyResourceList){ this.object= new ThirdPartyResourceListBuilder((ThirdPartyResourceList)object); _visitables.add(this.object);}
            if (object instanceof SourceControlUser){ this.object= new SourceControlUserBuilder((SourceControlUser)object); _visitables.add(this.object);}
            if (object instanceof ProjectedVolumeSource){ this.object= new ProjectedVolumeSourceBuilder((ProjectedVolumeSource)object); _visitables.add(this.object);}
            if (object instanceof HostPort){ this.object= new HostPortBuilder((HostPort)object); _visitables.add(this.object);}
            if (object instanceof RoleList){ this.object= new RoleListBuilder((RoleList)object); _visitables.add(this.object);}
            if (object instanceof ResourceQuotaList){ this.object= new ResourceQuotaListBuilder((ResourceQuotaList)object); _visitables.add(this.object);}
            if (object instanceof Secret){ this.object= new SecretBuilder((Secret)object); _visitables.add(this.object);}
            if (object instanceof ReplicationController){ this.object= new ReplicationControllerBuilder((ReplicationController)object); _visitables.add(this.object);}
            if (object instanceof LimitRange){ this.object= new LimitRangeBuilder((LimitRange)object); _visitables.add(this.object);}
            if (object instanceof Endpoints){ this.object= new EndpointsBuilder((Endpoints)object); _visitables.add(this.object);}
            if (object instanceof NodeSelectorRequirement){ this.object= new NodeSelectorRequirementBuilder((NodeSelectorRequirement)object); _visitables.add(this.object);}
            if (object instanceof DeploymentTriggerPolicy){ this.object= new DeploymentTriggerPolicyBuilder((DeploymentTriggerPolicy)object); _visitables.add(this.object);}
            if (object instanceof OAuthAccessTokenList){ this.object= new OAuthAccessTokenListBuilder((OAuthAccessTokenList)object); _visitables.add(this.object);}
            if (object instanceof LocalObjectReference){ this.object= new LocalObjectReferenceBuilder((LocalObjectReference)object); _visitables.add(this.object);}
            if (object instanceof JenkinsPipelineBuildStrategy){ this.object= new JenkinsPipelineBuildStrategyBuilder((JenkinsPipelineBuildStrategy)object); _visitables.add(this.object);}
            if (object instanceof CustomResourceDefinitionCondition){ this.object= new CustomResourceDefinitionConditionBuilder((CustomResourceDefinitionCondition)object); _visitables.add(this.object);}
            if (object instanceof SecurityContextConstraints){ this.object= new SecurityContextConstraintsBuilder((SecurityContextConstraints)object); _visitables.add(this.object);}
            if (object instanceof DaemonEndpoint){ this.object= new DaemonEndpointBuilder((DaemonEndpoint)object); _visitables.add(this.object);}
            if (object instanceof VsphereVirtualDiskVolumeSource){ this.object= new VsphereVirtualDiskVolumeSourceBuilder((VsphereVirtualDiskVolumeSource)object); _visitables.add(this.object);}
            if (object instanceof ImageStreamTagList){ this.object= new ImageStreamTagListBuilder((ImageStreamTagList)object); _visitables.add(this.object);}
            if (object instanceof SecretKeySetRef){ this.object= new SecretKeySetRefBuilder((SecretKeySetRef)object); _visitables.add(this.object);}
            if (object instanceof TokenReviewStatus){ this.object= new TokenReviewStatusBuilder((TokenReviewStatus)object); _visitables.add(this.object);}
            if (object instanceof EventSource){ this.object= new EventSourceBuilder((EventSource)object); _visitables.add(this.object);}
            if (object instanceof Group){ this.object= new GroupBuilder((Group)object); _visitables.add(this.object);}
            if (object instanceof TagEventCondition){ this.object= new TagEventConditionBuilder((TagEventCondition)object); _visitables.add(this.object);}
            if (object instanceof PipelineTemplateArgument){ this.object= new PipelineTemplateArgumentBuilder((PipelineTemplateArgument)object); _visitables.add(this.object);}
            if (object instanceof VolumeProjection){ this.object= new VolumeProjectionBuilder((VolumeProjection)object); _visitables.add(this.object);}
            if (object instanceof Event){ this.object= new EventBuilder((Event)object); _visitables.add(this.object);}
            if (object instanceof BinaryBuildSource){ this.object= new BinaryBuildSourceBuilder((BinaryBuildSource)object); _visitables.add(this.object);}
            if (object instanceof OAuthAuthorizeTokenList){ this.object= new OAuthAuthorizeTokenListBuilder((OAuthAuthorizeTokenList)object); _visitables.add(this.object);}
            if (object instanceof ImageSource){ this.object= new ImageSourceBuilder((ImageSource)object); _visitables.add(this.object);}
            if (object instanceof Taint){ this.object= new TaintBuilder((Taint)object); _visitables.add(this.object);}
            if (object instanceof CustomResourceDefinitionNames){ this.object= new CustomResourceDefinitionNamesBuilder((CustomResourceDefinitionNames)object); _visitables.add(this.object);}
            if (object instanceof Node){ this.object= new NodeBuilder((Node)object); _visitables.add(this.object);}
            if (object instanceof Info){ this.object= new InfoBuilder((Info)object); _visitables.add(this.object);}
            if (object instanceof TCPSocketAction){ this.object= new TCPSocketActionBuilder((TCPSocketAction)object); _visitables.add(this.object);}
            if (object instanceof EnvFromSource){ this.object= new EnvFromSourceBuilder((EnvFromSource)object); _visitables.add(this.object);}
            if (object instanceof KeyToPath){ this.object= new KeyToPathBuilder((KeyToPath)object); _visitables.add(this.object);}
            if (object instanceof ReplicaSet){ this.object= new ReplicaSetBuilder((ReplicaSet)object); _visitables.add(this.object);}
            if (object instanceof SubjectAccessReviewStatus){ this.object= new SubjectAccessReviewStatusBuilder((SubjectAccessReviewStatus)object); _visitables.add(this.object);}
            if (object instanceof NodeSelectorTerm){ this.object= new NodeSelectorTermBuilder((NodeSelectorTerm)object); _visitables.add(this.object);}
            if (object instanceof DeploymentList){ this.object= new DeploymentListBuilder((DeploymentList)object); _visitables.add(this.object);}
            if (object instanceof EndpointSubset){ this.object= new EndpointSubsetBuilder((EndpointSubset)object); _visitables.add(this.object);}
            if (object instanceof LoadBalancerStatus){ this.object= new LoadBalancerStatusBuilder((LoadBalancerStatus)object); _visitables.add(this.object);}
            if (object instanceof DaemonSetList){ this.object= new DaemonSetListBuilder((DaemonSetList)object); _visitables.add(this.object);}
            if (object instanceof HorizontalPodAutoscalerStatus){ this.object= new HorizontalPodAutoscalerStatusBuilder((HorizontalPodAutoscalerStatus)object); _visitables.add(this.object);}
            if (object instanceof SubjectAccessReviewSpec){ this.object= new SubjectAccessReviewSpecBuilder((SubjectAccessReviewSpec)object); _visitables.add(this.object);}
            if (object instanceof DeploymentConfigStatus){ this.object= new DeploymentConfigStatusBuilder((DeploymentConfigStatus)object); _visitables.add(this.object);}
            if (object instanceof NamedAuthInfo){ this.object= new NamedAuthInfoBuilder((NamedAuthInfo)object); _visitables.add(this.object);}
            if (object instanceof RouteIngress){ this.object= new RouteIngressBuilder((RouteIngress)object); _visitables.add(this.object);}
            if (object instanceof PipelineTriggerCron){ this.object= new PipelineTriggerCronBuilder((PipelineTriggerCron)object); _visitables.add(this.object);}
            if (object instanceof ObjectMeta){ this.object= new ObjectMetaBuilder((ObjectMeta)object); _visitables.add(this.object);}
            if (object instanceof ClusterRoleBinding){ this.object= new ClusterRoleBindingBuilder((ClusterRoleBinding)object); _visitables.add(this.object);}
            if (object instanceof PhotonPersistentDiskVolumeSource){ this.object= new PhotonPersistentDiskVolumeSourceBuilder((PhotonPersistentDiskVolumeSource)object); _visitables.add(this.object);}
            if (object instanceof RouteSpec){ this.object= new RouteSpecBuilder((RouteSpec)object); _visitables.add(this.object);}
            if (object instanceof HTTPIngressPath){ this.object= new HTTPIngressPathBuilder((HTTPIngressPath)object); _visitables.add(this.object);}
            if (object instanceof PodAffinity){ this.object= new PodAffinityBuilder((PodAffinity)object); _visitables.add(this.object);}
            if (object instanceof ImageStreamStatus){ this.object= new ImageStreamStatusBuilder((ImageStreamStatus)object); _visitables.add(this.object);}
            if (object instanceof ServiceSpec){ this.object= new ServiceSpecBuilder((ServiceSpec)object); _visitables.add(this.object);}
            if (object instanceof ReplicaSetList){ this.object= new ReplicaSetListBuilder((ReplicaSetList)object); _visitables.add(this.object);}
            if (object instanceof StatefulSetSpec){ this.object= new StatefulSetSpecBuilder((StatefulSetSpec)object); _visitables.add(this.object);}
            if (object instanceof SecretProjection){ this.object= new SecretProjectionBuilder((SecretProjection)object); _visitables.add(this.object);}
            if (object instanceof BuildSource){ this.object= new BuildSourceBuilder((BuildSource)object); _visitables.add(this.object);}
            if (object instanceof JobCondition){ this.object= new JobConditionBuilder((JobCondition)object); _visitables.add(this.object);}
            if (object instanceof Jenkins){ this.object= new JenkinsBuilder((Jenkins)object); _visitables.add(this.object);}
            if (object instanceof ImageLabel){ this.object= new ImageLabelBuilder((ImageLabel)object); _visitables.add(this.object);}
            if (object instanceof io.alauda.kubernetes.api.model.extensions.DeploymentStrategy){ this.object= new io.alauda.kubernetes.api.model.extensions.DeploymentStrategyBuilder((io.alauda.kubernetes.api.model.extensions.DeploymentStrategy)object); _visitables.add(this.object);}
            if (object instanceof ContainerPort){ this.object= new ContainerPortBuilder((ContainerPort)object); _visitables.add(this.object);}
            if (object instanceof DaemonSet){ this.object= new DaemonSetBuilder((DaemonSet)object); _visitables.add(this.object);}
            if (object instanceof SubjectAccessReviewResponse){ this.object= new SubjectAccessReviewResponseBuilder((SubjectAccessReviewResponse)object); _visitables.add(this.object);}
            if (object instanceof PodDisruptionBudget){ this.object= new PodDisruptionBudgetBuilder((PodDisruptionBudget)object); _visitables.add(this.object);}
            if (object instanceof ImageStream){ this.object= new ImageStreamBuilder((ImageStream)object); _visitables.add(this.object);}
            if (object instanceof BuildSpec){ this.object= new BuildSpecBuilder((BuildSpec)object); _visitables.add(this.object);}
            if (object instanceof HTTPIngressRuleValue){ this.object= new HTTPIngressRuleValueBuilder((HTTPIngressRuleValue)object); _visitables.add(this.object);}
            if (object instanceof StatusCause){ this.object= new StatusCauseBuilder((StatusCause)object); _visitables.add(this.object);}
            if (object instanceof EndpointPort){ this.object= new EndpointPortBuilder((EndpointPort)object); _visitables.add(this.object);}
            if (object instanceof NodeCondition){ this.object= new NodeConditionBuilder((NodeCondition)object); _visitables.add(this.object);}
            if (object instanceof RollingUpdateDeployment){ this.object= new RollingUpdateDeploymentBuilder((RollingUpdateDeployment)object); _visitables.add(this.object);}
            if (object instanceof GitBuildSource){ this.object= new GitBuildSourceBuilder((GitBuildSource)object); _visitables.add(this.object);}
            if (object instanceof IDRange){ this.object= new IDRangeBuilder((IDRange)object); _visitables.add(this.object);}
            if (object instanceof BuildStatus){ this.object= new BuildStatusBuilder((BuildStatus)object); _visitables.add(this.object);}
            if (object instanceof SupplementalGroupsStrategyOptions){ this.object= new SupplementalGroupsStrategyOptionsBuilder((SupplementalGroupsStrategyOptions)object); _visitables.add(this.object);}
            if (object instanceof PipelineStrategyJenkins){ this.object= new PipelineStrategyJenkinsBuilder((PipelineStrategyJenkins)object); _visitables.add(this.object);}
            if (object instanceof Affinity){ this.object= new AffinityBuilder((Affinity)object); _visitables.add(this.object);}
            if (object instanceof BuildStatusOutputTo){ this.object= new BuildStatusOutputToBuilder((BuildStatusOutputTo)object); _visitables.add(this.object);}
            if (object instanceof Context){ this.object= new ContextBuilder((Context)object); _visitables.add(this.object);}
            if (object instanceof RoleBindingRestriction){ this.object= new RoleBindingRestrictionBuilder((RoleBindingRestriction)object); _visitables.add(this.object);}
            if (object instanceof ServicePort){ this.object= new ServicePortBuilder((ServicePort)object); _visitables.add(this.object);}
            if (object instanceof Binding){ this.object= new BindingBuilder((Binding)object); _visitables.add(this.object);}
            if (object instanceof AuthInfo){ this.object= new AuthInfoBuilder((AuthInfo)object); _visitables.add(this.object);}
            if (object instanceof TLSConfig){ this.object= new TLSConfigBuilder((TLSConfig)object); _visitables.add(this.object);}
            if (object instanceof RollingUpdateStatefulSetStrategy){ this.object= new RollingUpdateStatefulSetStrategyBuilder((RollingUpdateStatefulSetStrategy)object); _visitables.add(this.object);}
            if (object instanceof io.alauda.kubernetes.api.model.authorization.LocalSubjectAccessReview){ this.object= new io.alauda.kubernetes.api.model.authorization.LocalSubjectAccessReviewBuilder((io.alauda.kubernetes.api.model.authorization.LocalSubjectAccessReview)object); _visitables.add(this.object);}
            if (object instanceof StatefulSet){ this.object= new StatefulSetBuilder((StatefulSet)object); _visitables.add(this.object);}
            if (object instanceof PipelineTaskArgumentSchema){ this.object= new PipelineTaskArgumentSchemaBuilder((PipelineTaskArgumentSchema)object); _visitables.add(this.object);}
            if (object instanceof SourceBuildStrategy){ this.object= new SourceBuildStrategyBuilder((SourceBuildStrategy)object); _visitables.add(this.object);}
            if (object instanceof Container){ this.object= new ContainerBuilder((Container)object); _visitables.add(this.object);}
            if (object instanceof PipelineTemplateTaskInstance){ this.object= new PipelineTemplateTaskInstanceBuilder((PipelineTemplateTaskInstance)object); _visitables.add(this.object);}
            if (object instanceof PipelineTaskOption){ this.object= new PipelineTaskOptionBuilder((PipelineTaskOption)object); _visitables.add(this.object);}
            if (object instanceof ClusterRoleBindingList){ this.object= new ClusterRoleBindingListBuilder((ClusterRoleBindingList)object); _visitables.add(this.object);}
            if (object instanceof OAuthClient){ this.object= new OAuthClientBuilder((OAuthClient)object); _visitables.add(this.object);}
            if (object instanceof CronJobSpec){ this.object= new CronJobSpecBuilder((CronJobSpec)object); _visitables.add(this.object);}
            if (object instanceof PipelineTrigger){ this.object= new PipelineTriggerBuilder((PipelineTrigger)object); _visitables.add(this.object);}
            if (object instanceof DeploymentRollback){ this.object= new DeploymentRollbackBuilder((DeploymentRollback)object); _visitables.add(this.object);}
            if (object instanceof SecretVolumeSource){ this.object= new SecretVolumeSourceBuilder((SecretVolumeSource)object); _visitables.add(this.object);}
            if (object instanceof Template){ this.object= new TemplateBuilder((Template)object); _visitables.add(this.object);}
            if (object instanceof LoadBalancerIngress){ this.object= new LoadBalancerIngressBuilder((LoadBalancerIngress)object); _visitables.add(this.object);}
            if (object instanceof HorizontalPodAutoscalerSpec){ this.object= new HorizontalPodAutoscalerSpecBuilder((HorizontalPodAutoscalerSpec)object); _visitables.add(this.object);}
            if (object instanceof ProjectNamespaceStatus){ this.object= new ProjectNamespaceStatusBuilder((ProjectNamespaceStatus)object); _visitables.add(this.object);}
            if (object instanceof BuildConfig){ this.object= new BuildConfigBuilder((BuildConfig)object); _visitables.add(this.object);}
            if (object instanceof KubernetesRunAsUserStrategyOptions){ this.object= new KubernetesRunAsUserStrategyOptionsBuilder((KubernetesRunAsUserStrategyOptions)object); _visitables.add(this.object);}
            if (object instanceof PolicyList){ this.object= new PolicyListBuilder((PolicyList)object); _visitables.add(this.object);}
            if (object instanceof StatusDetails){ this.object= new StatusDetailsBuilder((StatusDetails)object); _visitables.add(this.object);}
            if (object instanceof RoleBindingList){ this.object= new RoleBindingListBuilder((RoleBindingList)object); _visitables.add(this.object);}
            if (object instanceof GitHubWebHookCause){ this.object= new GitHubWebHookCauseBuilder((GitHubWebHookCause)object); _visitables.add(this.object);}
            if (object instanceof PodSecurityPolicy){ this.object= new PodSecurityPolicyBuilder((PodSecurityPolicy)object); _visitables.add(this.object);}
            if (object instanceof Pipeline){ this.object= new PipelineBuilder((Pipeline)object); _visitables.add(this.object);}
            if (object instanceof CustomResourceDefinitionStatus){ this.object= new CustomResourceDefinitionStatusBuilder((CustomResourceDefinitionStatus)object); _visitables.add(this.object);}
            if (object instanceof NetworkPolicySpec){ this.object= new NetworkPolicySpecBuilder((NetworkPolicySpec)object); _visitables.add(this.object);}
            if (object instanceof ClusterPolicyBindingList){ this.object= new ClusterPolicyBindingListBuilder((ClusterPolicyBindingList)object); _visitables.add(this.object);}
            if (object instanceof PodList){ this.object= new PodListBuilder((PodList)object); _visitables.add(this.object);}
            if (object instanceof Parameter){ this.object= new ParameterBuilder((Parameter)object); _visitables.add(this.object);}
            if (object instanceof OAuthClientAuthorizationList){ this.object= new OAuthClientAuthorizationListBuilder((OAuthClientAuthorizationList)object); _visitables.add(this.object);}
            if (object instanceof LimitRangeSpec){ this.object= new LimitRangeSpecBuilder((LimitRangeSpec)object); _visitables.add(this.object);}
            if (object instanceof ProjectList){ this.object= new ProjectListBuilder((ProjectList)object); _visitables.add(this.object);}
            if (object instanceof io.alauda.kubernetes.api.model.extensions.FSGroupStrategyOptions){ this.object= new io.alauda.kubernetes.api.model.extensions.FSGroupStrategyOptionsBuilder((io.alauda.kubernetes.api.model.extensions.FSGroupStrategyOptions)object); _visitables.add(this.object);}
            if (object instanceof TagImportPolicy){ this.object= new TagImportPolicyBuilder((TagImportPolicy)object); _visitables.add(this.object);}
            if (object instanceof NodeAffinity){ this.object= new NodeAffinityBuilder((NodeAffinity)object); _visitables.add(this.object);}
            if (object instanceof Role){ this.object= new RoleBuilder((Role)object); _visitables.add(this.object);}
            if (object instanceof PipelineConfigStatus){ this.object= new PipelineConfigStatusBuilder((PipelineConfigStatus)object); _visitables.add(this.object);}
            if (object instanceof ConfigMapList){ this.object= new ConfigMapListBuilder((ConfigMapList)object); _visitables.add(this.object);}
            if (object instanceof BaseKubernetesList){ this.object= new BaseKubernetesListBuilder((BaseKubernetesList)object); _visitables.add(this.object);}
            if (object instanceof Status){ this.object= new StatusBuilder((Status)object); _visitables.add(this.object);}
            if (object instanceof CronJob){ this.object= new CronJobBuilder((CronJob)object); _visitables.add(this.object);}
            if (object instanceof BitbucketWebHookCause){ this.object= new BitbucketWebHookCauseBuilder((BitbucketWebHookCause)object); _visitables.add(this.object);}
            if (object instanceof SubjectAccessReview){ this.object= new SubjectAccessReviewBuilder((SubjectAccessReview)object); _visitables.add(this.object);}
            if (object instanceof NodeStatus){ this.object= new NodeStatusBuilder((NodeStatus)object); _visitables.add(this.object);}
            if (object instanceof TokenReviewSpec){ this.object= new TokenReviewSpecBuilder((TokenReviewSpec)object); _visitables.add(this.object);}
            if (object instanceof EventList){ this.object= new EventListBuilder((EventList)object); _visitables.add(this.object);}
            if (object instanceof PipelineEnvironment){ this.object= new PipelineEnvironmentBuilder((PipelineEnvironment)object); _visitables.add(this.object);}
            if (object instanceof User){ this.object= new UserBuilder((User)object); _visitables.add(this.object);}
            if (object instanceof io.alauda.kubernetes.api.model.authorization.SubjectAccessReview){ this.object= new io.alauda.kubernetes.api.model.authorization.SubjectAccessReviewBuilder((io.alauda.kubernetes.api.model.authorization.SubjectAccessReview)object); _visitables.add(this.object);}
            if (object instanceof SELinuxOptions){ this.object= new SELinuxOptionsBuilder((SELinuxOptions)object); _visitables.add(this.object);}
            if (object instanceof DeploymentSpec){ this.object= new DeploymentSpecBuilder((DeploymentSpec)object); _visitables.add(this.object);}
            if (object instanceof PersistentVolumeClaimList){ this.object= new PersistentVolumeClaimListBuilder((PersistentVolumeClaimList)object); _visitables.add(this.object);}
            if (object instanceof PipelineStatus){ this.object= new PipelineStatusBuilder((PipelineStatus)object); _visitables.add(this.object);}
            if (object instanceof CustomBuildStrategy){ this.object= new CustomBuildStrategyBuilder((CustomBuildStrategy)object); _visitables.add(this.object);}
            if (object instanceof BuildTriggerPolicy){ this.object= new BuildTriggerPolicyBuilder((BuildTriggerPolicy)object); _visitables.add(this.object);}
            if (object instanceof PipelineStrategy){ this.object= new PipelineStrategyBuilder((PipelineStrategy)object); _visitables.add(this.object);}
            if (object instanceof Condition){ this.object= new ConditionBuilder((Condition)object); _visitables.add(this.object);}
            if (object instanceof ContainerStateWaiting){ this.object= new ContainerStateWaitingBuilder((ContainerStateWaiting)object); _visitables.add(this.object);}
            if (object instanceof SourceRevision){ this.object= new SourceRevisionBuilder((SourceRevision)object); _visitables.add(this.object);}
            if (object instanceof ScaleSpec){ this.object= new ScaleSpecBuilder((ScaleSpec)object); _visitables.add(this.object);}
            if (object instanceof Preferences){ this.object= new PreferencesBuilder((Preferences)object); _visitables.add(this.object);}
            if (object instanceof UserList){ this.object= new UserListBuilder((UserList)object); _visitables.add(this.object);}
            if (object instanceof NodeDaemonEndpoints){ this.object= new NodeDaemonEndpointsBuilder((NodeDaemonEndpoints)object); _visitables.add(this.object);}
            if (object instanceof PersistentVolumeList){ this.object= new PersistentVolumeListBuilder((PersistentVolumeList)object); _visitables.add(this.object);}
            if (object instanceof LimitRangeItem){ this.object= new LimitRangeItemBuilder((LimitRangeItem)object); _visitables.add(this.object);}
            if (object instanceof ScopeRestriction){ this.object= new ScopeRestrictionBuilder((ScopeRestriction)object); _visitables.add(this.object);}
            if (object instanceof JenkinsAgent){ this.object= new JenkinsAgentBuilder((JenkinsAgent)object); _visitables.add(this.object);}
            if (object instanceof PipelineParameter){ this.object= new PipelineParameterBuilder((PipelineParameter)object); _visitables.add(this.object);}
            if (object instanceof PodDisruptionBudgetStatus){ this.object= new PodDisruptionBudgetStatusBuilder((PodDisruptionBudgetStatus)object); _visitables.add(this.object);}
            if (object instanceof PodDisruptionBudgetList){ this.object= new PodDisruptionBudgetListBuilder((PodDisruptionBudgetList)object); _visitables.add(this.object);}
            if (object instanceof DeploymentStatus){ this.object= new DeploymentStatusBuilder((DeploymentStatus)object); _visitables.add(this.object);}
            if (object instanceof StorageClass){ this.object= new StorageClassBuilder((StorageClass)object); _visitables.add(this.object);}
            if (object instanceof UserAccount){ this.object= new UserAccountBuilder((UserAccount)object); _visitables.add(this.object);}
            if (object instanceof ReplicationControllerSpec){ this.object= new ReplicationControllerSpecBuilder((ReplicationControllerSpec)object); _visitables.add(this.object);}
            if (object instanceof HostPathVolumeSource){ this.object= new HostPathVolumeSourceBuilder((HostPathVolumeSource)object); _visitables.add(this.object);}
            if (object instanceof IdentityList){ this.object= new IdentityListBuilder((IdentityList)object); _visitables.add(this.object);}
            if (object instanceof ContainerStatus){ this.object= new ContainerStatusBuilder((ContainerStatus)object); _visitables.add(this.object);}
            if (object instanceof ExecAction){ this.object= new ExecActionBuilder((ExecAction)object); _visitables.add(this.object);}
            if (object instanceof PipelineConfigTemplate){ this.object= new PipelineConfigTemplateBuilder((PipelineConfigTemplate)object); _visitables.add(this.object);}
            if (object instanceof BuildList){ this.object= new BuildListBuilder((BuildList)object); _visitables.add(this.object);}
            if (object instanceof ImageLookupPolicy){ this.object= new ImageLookupPolicyBuilder((ImageLookupPolicy)object); _visitables.add(this.object);}
            if (object instanceof IngressRule){ this.object= new IngressRuleBuilder((IngressRule)object); _visitables.add(this.object);}
            if (object instanceof NodeSelector){ this.object= new NodeSelectorBuilder((NodeSelector)object); _visitables.add(this.object);}
            if (object instanceof PipelineList){ this.object= new PipelineListBuilder((PipelineList)object); _visitables.add(this.object);}
            if (object instanceof DeploymentConfigList){ this.object= new DeploymentConfigListBuilder((DeploymentConfigList)object); _visitables.add(this.object);}
            if (object instanceof ReplicationControllerStatus){ this.object= new ReplicationControllerStatusBuilder((ReplicationControllerStatus)object); _visitables.add(this.object);}
            if (object instanceof PipelineConfig){ this.object= new PipelineConfigBuilder((PipelineConfig)object); _visitables.add(this.object);}
            if (object instanceof Toleration){ this.object= new TolerationBuilder((Toleration)object); _visitables.add(this.object);}
            if (object instanceof PipelineTaskArgumentValidation){ this.object= new PipelineTaskArgumentValidationBuilder((PipelineTaskArgumentValidation)object); _visitables.add(this.object);}
            if (object instanceof DockerStrategyOptions){ this.object= new DockerStrategyOptionsBuilder((DockerStrategyOptions)object); _visitables.add(this.object);}
            if (object instanceof AttachedVolume){ this.object= new AttachedVolumeBuilder((AttachedVolume)object); _visitables.add(this.object);}
            if (object instanceof StatefulSetList){ this.object= new StatefulSetListBuilder((StatefulSetList)object); _visitables.add(this.object);}
            if (object instanceof NamedExtension){ this.object= new NamedExtensionBuilder((NamedExtension)object); _visitables.add(this.object);}
            if (object instanceof NamedTagEventList){ this.object= new NamedTagEventListBuilder((NamedTagEventList)object); _visitables.add(this.object);}
            if (object instanceof ServiceList){ this.object= new ServiceListBuilder((ServiceList)object); _visitables.add(this.object);}
            if (object instanceof RecreateDeploymentStrategyParams){ this.object= new RecreateDeploymentStrategyParamsBuilder((RecreateDeploymentStrategyParams)object); _visitables.add(this.object);}
            if (object instanceof SecretKeySelector){ this.object= new SecretKeySelectorBuilder((SecretKeySelector)object); _visitables.add(this.object);}
            if (object instanceof DeploymentConfig){ this.object= new DeploymentConfigBuilder((DeploymentConfig)object); _visitables.add(this.object);}
            if (object instanceof io.alauda.kubernetes.api.model.extensions.SupplementalGroupsStrategyOptions){ this.object= new io.alauda.kubernetes.api.model.extensions.SupplementalGroupsStrategyOptionsBuilder((io.alauda.kubernetes.api.model.extensions.SupplementalGroupsStrategyOptions)object); _visitables.add(this.object);}
            if (object instanceof HostPortStatus){ this.object= new HostPortStatusBuilder((HostPortStatus)object); _visitables.add(this.object);}
            if (object instanceof PipelineSourceGit){ this.object= new PipelineSourceGitBuilder((PipelineSourceGit)object); _visitables.add(this.object);}
            if (object instanceof AzureDiskVolumeSource){ this.object= new AzureDiskVolumeSourceBuilder((AzureDiskVolumeSource)object); _visitables.add(this.object);}
            if (object instanceof ISCSIVolumeSource){ this.object= new ISCSIVolumeSourceBuilder((ISCSIVolumeSource)object); _visitables.add(this.object);}
            if (object instanceof DownwardAPIVolumeSource){ this.object= new DownwardAPIVolumeSourceBuilder((DownwardAPIVolumeSource)object); _visitables.add(this.object);}
            if (object instanceof StorageClassList){ this.object= new StorageClassListBuilder((StorageClassList)object); _visitables.add(this.object);}
            if (object instanceof JenkinsBindingCondition){ this.object= new JenkinsBindingConditionBuilder((JenkinsBindingCondition)object); _visitables.add(this.object);}
            if (object instanceof JenkinsSpec){ this.object= new JenkinsSpecBuilder((JenkinsSpec)object); _visitables.add(this.object);}
            if (object instanceof UserRestriction){ this.object= new UserRestrictionBuilder((UserRestriction)object); _visitables.add(this.object);}
            if (object instanceof NamedClusterRole){ this.object= new NamedClusterRoleBuilder((NamedClusterRole)object); _visitables.add(this.object);}
            if (object instanceof ContainerStateRunning){ this.object= new ContainerStateRunningBuilder((ContainerStateRunning)object); _visitables.add(this.object);}
            if (object instanceof LabelSelectorRequirement){ this.object= new LabelSelectorRequirementBuilder((LabelSelectorRequirement)object); _visitables.add(this.object);}
            if (object instanceof ImageChangeTrigger){ this.object= new ImageChangeTriggerBuilder((ImageChangeTrigger)object); _visitables.add(this.object);}
            if (object instanceof JenkinsInstance){ this.object= new JenkinsInstanceBuilder((JenkinsInstance)object); _visitables.add(this.object);}
            if (object instanceof OAuthClientList){ this.object= new OAuthClientListBuilder((OAuthClientList)object); _visitables.add(this.object);}
            if (object instanceof ResourceAttributes){ this.object= new ResourceAttributesBuilder((ResourceAttributes)object); _visitables.add(this.object);}
            if (object instanceof NamedContext){ this.object= new NamedContextBuilder((NamedContext)object); _visitables.add(this.object);}
            if (object instanceof Handler){ this.object= new HandlerBuilder((Handler)object); _visitables.add(this.object);}
            if (object instanceof ServiceStatus){ this.object= new ServiceStatusBuilder((ServiceStatus)object); _visitables.add(this.object);}
            if (object instanceof io.alauda.kubernetes.api.model.extensions.IDRange){ this.object= new io.alauda.kubernetes.api.model.extensions.IDRangeBuilder((io.alauda.kubernetes.api.model.extensions.IDRange)object); _visitables.add(this.object);}
            if (object instanceof ReplicaSetCondition){ this.object= new ReplicaSetConditionBuilder((ReplicaSetCondition)object); _visitables.add(this.object);}
            if (object instanceof HorizontalPodAutoscalerList){ this.object= new HorizontalPodAutoscalerListBuilder((HorizontalPodAutoscalerList)object); _visitables.add(this.object);}
            if (object instanceof ExecNewPodHook){ this.object= new ExecNewPodHookBuilder((ExecNewPodHook)object); _visitables.add(this.object);}
            if (object instanceof BuildTriggerCause){ this.object= new BuildTriggerCauseBuilder((BuildTriggerCause)object); _visitables.add(this.object);}
            if (object instanceof PipelineSource){ this.object= new PipelineSourceBuilder((PipelineSource)object); _visitables.add(this.object);}
            if (object instanceof PodStatus){ this.object= new PodStatusBuilder((PodStatus)object); _visitables.add(this.object);}
            if (object instanceof AuthProviderConfig){ this.object= new AuthProviderConfigBuilder((AuthProviderConfig)object); _visitables.add(this.object);}
            if (object instanceof GCEPersistentDiskVolumeSource){ this.object= new GCEPersistentDiskVolumeSourceBuilder((GCEPersistentDiskVolumeSource)object); _visitables.add(this.object);}
            if (object instanceof EmptyDirVolumeSource){ this.object= new EmptyDirVolumeSourceBuilder((EmptyDirVolumeSource)object); _visitables.add(this.object);}
            if (object instanceof NodeSpec){ this.object= new NodeSpecBuilder((NodeSpec)object); _visitables.add(this.object);}
            if (object instanceof BuildOutput){ this.object= new BuildOutputBuilder((BuildOutput)object); _visitables.add(this.object);}
            if (object instanceof ConfigMapProjection){ this.object= new ConfigMapProjectionBuilder((ConfigMapProjection)object); _visitables.add(this.object);}
            if (object instanceof PersistentVolumeClaimStatus){ this.object= new PersistentVolumeClaimStatusBuilder((PersistentVolumeClaimStatus)object); _visitables.add(this.object);}
            if (object instanceof LimitRangeList){ this.object= new LimitRangeListBuilder((LimitRangeList)object); _visitables.add(this.object);}
            if (object instanceof TagEvent){ this.object= new TagEventBuilder((TagEvent)object); _visitables.add(this.object);}
            if (object instanceof EndpointAddress){ this.object= new EndpointAddressBuilder((EndpointAddress)object); _visitables.add(this.object);}
            if (object instanceof Probe){ this.object= new ProbeBuilder((Probe)object); _visitables.add(this.object);}
            if (object instanceof OAuthAccessToken){ this.object= new OAuthAccessTokenBuilder((OAuthAccessToken)object); _visitables.add(this.object);}
            if (object instanceof PodAffinityTerm){ this.object= new PodAffinityTermBuilder((PodAffinityTerm)object); _visitables.add(this.object);}
            if (object instanceof JobList){ this.object= new JobListBuilder((JobList)object); _visitables.add(this.object);}
            if (object instanceof RBDVolumeSource){ this.object= new RBDVolumeSourceBuilder((RBDVolumeSource)object); _visitables.add(this.object);}
            if (object instanceof CronJobList){ this.object= new CronJobListBuilder((CronJobList)object); _visitables.add(this.object);}
            if (object instanceof SecretBuildSource){ this.object= new SecretBuildSourceBuilder((SecretBuildSource)object); _visitables.add(this.object);}
            if (object instanceof RunAsUserStrategyOptions){ this.object= new RunAsUserStrategyOptionsBuilder((RunAsUserStrategyOptions)object); _visitables.add(this.object);}
            if (object instanceof IngressBackend){ this.object= new IngressBackendBuilder((IngressBackend)object); _visitables.add(this.object);}
            if (object instanceof PersistentVolumeClaim){ this.object= new PersistentVolumeClaimBuilder((PersistentVolumeClaim)object); _visitables.add(this.object);}
            if (object instanceof NetworkPolicyList){ this.object= new NetworkPolicyListBuilder((NetworkPolicyList)object); _visitables.add(this.object);}
            if (object instanceof ResourceRequirements){ this.object= new ResourceRequirementsBuilder((ResourceRequirements)object); _visitables.add(this.object);}
            if (object instanceof JenkinsBindingSpec){ this.object= new JenkinsBindingSpecBuilder((JenkinsBindingSpec)object); _visitables.add(this.object);}
            if (object instanceof PodSecurityContext){ this.object= new PodSecurityContextBuilder((PodSecurityContext)object); _visitables.add(this.object);}
            if (object instanceof NodeSystemInfo){ this.object= new NodeSystemInfoBuilder((NodeSystemInfo)object); _visitables.add(this.object);}
            if (object instanceof CustomResourceDefinitionList){ this.object= new CustomResourceDefinitionListBuilder((CustomResourceDefinitionList)object); _visitables.add(this.object);}
            if (object instanceof RootPaths){ this.object= new RootPathsBuilder((RootPaths)object); _visitables.add(this.object);}
            if (object instanceof ImageStreamList){ this.object= new ImageStreamListBuilder((ImageStreamList)object); _visitables.add(this.object);}
            if (object instanceof KubernetesList){ this.object= new KubernetesListBuilder((KubernetesList)object); _visitables.add(this.object);}
            if (object instanceof NetworkPolicy){ this.object= new NetworkPolicyBuilder((NetworkPolicy)object); _visitables.add(this.object);}
            if (object instanceof ContainerState){ this.object= new ContainerStateBuilder((ContainerState)object); _visitables.add(this.object);}
            if (object instanceof TagReference){ this.object= new TagReferenceBuilder((TagReference)object); _visitables.add(this.object);}
            if (object instanceof APIVersion){ this.object= new APIVersionBuilder((APIVersion)object); _visitables.add(this.object);}
            if (object instanceof ProjectSpec){ this.object= new ProjectSpecBuilder((ProjectSpec)object); _visitables.add(this.object);}
            if (object instanceof ProjectNamespace){ this.object= new ProjectNamespaceBuilder((ProjectNamespace)object); _visitables.add(this.object);}
            if (object instanceof Image){ this.object= new ImageBuilder((Image)object); _visitables.add(this.object);}
            if (object instanceof HTTPHeader){ this.object= new HTTPHeaderBuilder((HTTPHeader)object); _visitables.add(this.object);}
            if (object instanceof Service){ this.object= new ServiceBuilder((Service)object); _visitables.add(this.object);}
            if (object instanceof NetworkPolicyPort){ this.object= new NetworkPolicyPortBuilder((NetworkPolicyPort)object); _visitables.add(this.object);}
            if (object instanceof TemplateList){ this.object= new TemplateListBuilder((TemplateList)object); _visitables.add(this.object);}
            if (object instanceof IngressTLS){ this.object= new IngressTLSBuilder((IngressTLS)object); _visitables.add(this.object);}
            if (object instanceof PersistentVolumeSpec){ this.object= new PersistentVolumeSpecBuilder((PersistentVolumeSpec)object); _visitables.add(this.object);}
            if (object instanceof SecretEnvSource){ this.object= new SecretEnvSourceBuilder((SecretEnvSource)object); _visitables.add(this.object);}
            if (object instanceof NFSVolumeSource){ this.object= new NFSVolumeSourceBuilder((NFSVolumeSource)object); _visitables.add(this.object);}
            if (object instanceof LocalSubjectAccessReview){ this.object= new LocalSubjectAccessReviewBuilder((LocalSubjectAccessReview)object); _visitables.add(this.object);}
            if (object instanceof ObjectFieldSelector){ this.object= new ObjectFieldSelectorBuilder((ObjectFieldSelector)object); _visitables.add(this.object);}
            if (object instanceof IngressSpec){ this.object= new IngressSpecBuilder((IngressSpec)object); _visitables.add(this.object);}
            if (object instanceof StageInfo){ this.object= new StageInfoBuilder((StageInfo)object); _visitables.add(this.object);}
            if (object instanceof NamespaceStatus){ this.object= new NamespaceStatusBuilder((NamespaceStatus)object); _visitables.add(this.object);}
            if (object instanceof SecurityContext){ this.object= new SecurityContextBuilder((SecurityContext)object); _visitables.add(this.object);}
            if (object instanceof JenkinsBindingStatus){ this.object= new JenkinsBindingStatusBuilder((JenkinsBindingStatus)object); _visitables.add(this.object);}
            if (object instanceof PodDisruptionBudgetSpec){ this.object= new PodDisruptionBudgetSpecBuilder((PodDisruptionBudgetSpec)object); _visitables.add(this.object);}
            if (object instanceof BuildConfigSpec){ this.object= new BuildConfigSpecBuilder((BuildConfigSpec)object); _visitables.add(this.object);}
            if (object instanceof PodSecurityPolicySpec){ this.object= new PodSecurityPolicySpecBuilder((PodSecurityPolicySpec)object); _visitables.add(this.object);}
            if (object instanceof SignatureIssuer){ this.object= new SignatureIssuerBuilder((SignatureIssuer)object); _visitables.add(this.object);}
            if (object instanceof ClusterRoleScopeRestriction){ this.object= new ClusterRoleScopeRestrictionBuilder((ClusterRoleScopeRestriction)object); _visitables.add(this.object);}
            if (object instanceof PersistentVolumeClaimSpec){ this.object= new PersistentVolumeClaimSpecBuilder((PersistentVolumeClaimSpec)object); _visitables.add(this.object);}
            if (object instanceof SignatureCondition){ this.object= new SignatureConditionBuilder((SignatureCondition)object); _visitables.add(this.object);}
            if (object instanceof NamespaceSpec){ this.object= new NamespaceSpecBuilder((NamespaceSpec)object); _visitables.add(this.object);}
            if (object instanceof BuildConfigStatus){ this.object= new BuildConfigStatusBuilder((BuildConfigStatus)object); _visitables.add(this.object);}
            if (object instanceof PipelineTaskArgumentDisplay){ this.object= new PipelineTaskArgumentDisplayBuilder((PipelineTaskArgumentDisplay)object); _visitables.add(this.object);}
            if (object instanceof Patch){ this.object= new PatchBuilder((Patch)object); _visitables.add(this.object);}
            if (object instanceof JobTemplateSpec){ this.object= new JobTemplateSpecBuilder((JobTemplateSpec)object); _visitables.add(this.object);}
            if (object instanceof GenericWebHookCause){ this.object= new GenericWebHookCauseBuilder((GenericWebHookCause)object); _visitables.add(this.object);}
            if (object instanceof ReplicaSetStatus){ this.object= new ReplicaSetStatusBuilder((ReplicaSetStatus)object); _visitables.add(this.object);}
            if (object instanceof PipelineConfigTemplateSpec){ this.object= new PipelineConfigTemplateSpecBuilder((PipelineConfigTemplateSpec)object); _visitables.add(this.object);}
            if (object instanceof GitSourceRevision){ this.object= new GitSourceRevisionBuilder((GitSourceRevision)object); _visitables.add(this.object);}
            if (object instanceof Lifecycle){ this.object= new LifecycleBuilder((Lifecycle)object); _visitables.add(this.object);}
            if (object instanceof Job){ this.object= new JobBuilder((Job)object); _visitables.add(this.object);}
            if (object instanceof ContainerImage){ this.object= new ContainerImageBuilder((ContainerImage)object); _visitables.add(this.object);}
            if (object instanceof StatefulSetUpdateStrategy){ this.object= new StatefulSetUpdateStrategyBuilder((StatefulSetUpdateStrategy)object); _visitables.add(this.object);}
            if (object instanceof NonResourceAttributes){ this.object= new NonResourceAttributesBuilder((NonResourceAttributes)object); _visitables.add(this.object);}
            if (object instanceof EnvVarSource){ this.object= new EnvVarSourceBuilder((EnvVarSource)object); _visitables.add(this.object);}
            if (object instanceof NamedRoleBinding){ this.object= new NamedRoleBindingBuilder((NamedRoleBinding)object); _visitables.add(this.object);}
            if (object instanceof RollingUpdateDaemonSet){ this.object= new RollingUpdateDaemonSetBuilder((RollingUpdateDaemonSet)object); _visitables.add(this.object);}
            if (object instanceof DeploymentTriggerImageChangeParams){ this.object= new DeploymentTriggerImageChangeParamsBuilder((DeploymentTriggerImageChangeParams)object); _visitables.add(this.object);}
            if (object instanceof ReplicationControllerList){ this.object= new ReplicationControllerListBuilder((ReplicationControllerList)object); _visitables.add(this.object);}
            if (object instanceof DeploymentConfigSpec){ this.object= new DeploymentConfigSpecBuilder((DeploymentConfigSpec)object); _visitables.add(this.object);}
            if (object instanceof RouteTargetReference){ this.object= new RouteTargetReferenceBuilder((RouteTargetReference)object); _visitables.add(this.object);}
            if (object instanceof JobStatus){ this.object= new JobStatusBuilder((JobStatus)object); _visitables.add(this.object);}
            if (object instanceof DownwardAPIVolumeFile){ this.object= new DownwardAPIVolumeFileBuilder((DownwardAPIVolumeFile)object); _visitables.add(this.object);}
            if (object instanceof RollbackConfig){ this.object= new RollbackConfigBuilder((RollbackConfig)object); _visitables.add(this.object);}
            if (object instanceof Capabilities){ this.object= new CapabilitiesBuilder((Capabilities)object); _visitables.add(this.object);}
            if (object instanceof ResourceQuotaStatus){ this.object= new ResourceQuotaStatusBuilder((ResourceQuotaStatus)object); _visitables.add(this.object);}
            if (object instanceof Deployment){ this.object= new DeploymentBuilder((Deployment)object); _visitables.add(this.object);}
            if (object instanceof PersistentVolumeClaimVolumeSource){ this.object= new PersistentVolumeClaimVolumeSourceBuilder((PersistentVolumeClaimVolumeSource)object); _visitables.add(this.object);}
            if (object instanceof PodTemplateList){ this.object= new PodTemplateListBuilder((PodTemplateList)object); _visitables.add(this.object);}
            if (object instanceof NodeAddress){ this.object= new NodeAddressBuilder((NodeAddress)object); _visitables.add(this.object);}
            if (object instanceof PersistentVolumeStatus){ this.object= new PersistentVolumeStatusBuilder((PersistentVolumeStatus)object); _visitables.add(this.object);}
            if (object instanceof BuildStrategy){ this.object= new BuildStrategyBuilder((BuildStrategy)object); _visitables.add(this.object);}
            if (object instanceof ImageSourcePath){ this.object= new ImageSourcePathBuilder((ImageSourcePath)object); _visitables.add(this.object);}
            if (object instanceof ClusterPolicyBinding){ this.object= new ClusterPolicyBindingBuilder((ClusterPolicyBinding)object); _visitables.add(this.object);}
            if (object instanceof ProjectStatus){ this.object= new ProjectStatusBuilder((ProjectStatus)object); _visitables.add(this.object);}
            if (object instanceof ClusterPolicyList){ this.object= new ClusterPolicyListBuilder((ClusterPolicyList)object); _visitables.add(this.object);}
            if (object instanceof ScaleStatus){ this.object= new ScaleStatusBuilder((ScaleStatus)object); _visitables.add(this.object);}
            if (object instanceof PipelineSpec){ this.object= new PipelineSpecBuilder((PipelineSpec)object); _visitables.add(this.object);}
            if (object instanceof GroupRestriction){ this.object= new GroupRestrictionBuilder((GroupRestriction)object); _visitables.add(this.object);}
            if (object instanceof Project){ this.object= new ProjectBuilder((Project)object); _visitables.add(this.object);}
            if (object instanceof BuildRequest){ this.object= new BuildRequestBuilder((BuildRequest)object); _visitables.add(this.object);}
            if (object instanceof ConfigMapEnvSource){ this.object= new ConfigMapEnvSourceBuilder((ConfigMapEnvSource)object); _visitables.add(this.object);}
            if (object instanceof WatchEvent){ this.object= new WatchEventBuilder((WatchEvent)object); _visitables.add(this.object);}
            if (object instanceof HostAlias){ this.object= new HostAliasBuilder((HostAlias)object); _visitables.add(this.object);}
            if (object instanceof DeploymentDetails){ this.object= new DeploymentDetailsBuilder((DeploymentDetails)object); _visitables.add(this.object);}
            if (object instanceof I18nName){ this.object= new I18nNameBuilder((I18nName)object); _visitables.add(this.object);}
            if (object instanceof PipelineRunLimits){ this.object= new PipelineRunLimitsBuilder((PipelineRunLimits)object); _visitables.add(this.object);}
            if (object instanceof RoleBinding){ this.object= new RoleBindingBuilder((RoleBinding)object); _visitables.add(this.object);}
            if (object instanceof ObjectReference){ this.object= new ObjectReferenceBuilder((ObjectReference)object); _visitables.add(this.object);}
            if (object instanceof SecurityContextConstraintsList){ this.object= new SecurityContextConstraintsListBuilder((SecurityContextConstraintsList)object); _visitables.add(this.object);}
            if (object instanceof PersistentVolume){ this.object= new PersistentVolumeBuilder((PersistentVolume)object); _visitables.add(this.object);}
            return (A) this;
    }

    public Boolean hasObject(){
            return this.object!=null;
    }

    public A withNamedClusterObject(NamedCluster namedClusterObject){
            _visitables.remove(this.object);
            if (namedClusterObject!=null){ this.object= new NamedClusterBuilder(namedClusterObject); _visitables.add(this.object);} return (A) this;
    }

    public WatchEventFluent.NamedClusterObjectNested withNewNamedClusterObject(){
            return new NamedClusterObjectNestedImpl();
    }

    public WatchEventFluent.NamedClusterObjectNested withNewNamedClusterObjectLike(NamedCluster item){
            return new NamedClusterObjectNestedImpl(item);
    }

    public A withWebHookTriggerObject(WebHookTrigger webHookTriggerObject){
            _visitables.remove(this.object);
            if (webHookTriggerObject!=null){ this.object= new WebHookTriggerBuilder(webHookTriggerObject); _visitables.add(this.object);} return (A) this;
    }

    public WatchEventFluent.WebHookTriggerObjectNested withNewWebHookTriggerObject(){
            return new WebHookTriggerObjectNestedImpl();
    }

    public WatchEventFluent.WebHookTriggerObjectNested withNewWebHookTriggerObjectLike(WebHookTrigger item){
            return new WebHookTriggerObjectNestedImpl(item);
    }

    public A withNewWebHookTriggerObject(Boolean allowEnv,String secret){
            return (A)withWebHookTriggerObject(new WebHookTrigger(allowEnv, secret));
    }

    public A withAWSElasticBlockStoreVolumeSourceObject(AWSElasticBlockStoreVolumeSource aWSElasticBlockStoreVolumeSourceObject){
            _visitables.remove(this.object);
            if (aWSElasticBlockStoreVolumeSourceObject!=null){ this.object= new AWSElasticBlockStoreVolumeSourceBuilder(aWSElasticBlockStoreVolumeSourceObject); _visitables.add(this.object);} return (A) this;
    }

    public WatchEventFluent.AWSElasticBlockStoreVolumeSourceObjectNested withNewAWSElasticBlockStoreVolumeSourceObject(){
            return new AWSElasticBlockStoreVolumeSourceObjectNestedImpl();
    }

    public WatchEventFluent.AWSElasticBlockStoreVolumeSourceObjectNested withNewAWSElasticBlockStoreVolumeSourceObjectLike(AWSElasticBlockStoreVolumeSource item){
            return new AWSElasticBlockStoreVolumeSourceObjectNestedImpl(item);
    }

    public A withNewAWSElasticBlockStoreVolumeSourceObject(String fsType,Integer partition,Boolean readOnly,String volumeID){
            return (A)withAWSElasticBlockStoreVolumeSourceObject(new AWSElasticBlockStoreVolumeSource(fsType, partition, readOnly, volumeID));
    }

    public A withDockerBuildStrategyObject(DockerBuildStrategy dockerBuildStrategyObject){
            _visitables.remove(this.object);
            if (dockerBuildStrategyObject!=null){ this.object= new DockerBuildStrategyBuilder(dockerBuildStrategyObject); _visitables.add(this.object);} return (A) this;
    }

    public WatchEventFluent.DockerBuildStrategyObjectNested withNewDockerBuildStrategyObject(){
            return new DockerBuildStrategyObjectNestedImpl();
    }

    public WatchEventFluent.DockerBuildStrategyObjectNested withNewDockerBuildStrategyObjectLike(DockerBuildStrategy item){
            return new DockerBuildStrategyObjectNestedImpl(item);
    }

    public A withIngressObject(Ingress ingressObject){
            _visitables.remove(this.object);
            if (ingressObject!=null){ this.object= new IngressBuilder(ingressObject); _visitables.add(this.object);} return (A) this;
    }

    public WatchEventFluent.IngressObjectNested withNewIngressObject(){
            return new IngressObjectNestedImpl();
    }

    public WatchEventFluent.IngressObjectNested withNewIngressObjectLike(Ingress item){
            return new IngressObjectNestedImpl(item);
    }

    public A withTagImageHookObject(TagImageHook tagImageHookObject){
            _visitables.remove(this.object);
            if (tagImageHookObject!=null){ this.object= new TagImageHookBuilder(tagImageHookObject); _visitables.add(this.object);} return (A) this;
    }

    public WatchEventFluent.TagImageHookObjectNested withNewTagImageHookObject(){
            return new TagImageHookObjectNestedImpl();
    }

    public WatchEventFluent.TagImageHookObjectNested withNewTagImageHookObjectLike(TagImageHook item){
            return new TagImageHookObjectNestedImpl(item);
    }

    public A withImageChangeCauseObject(ImageChangeCause imageChangeCauseObject){
            _visitables.remove(this.object);
            if (imageChangeCauseObject!=null){ this.object= new ImageChangeCauseBuilder(imageChangeCauseObject); _visitables.add(this.object);} return (A) this;
    }

    public WatchEventFluent.ImageChangeCauseObjectNested withNewImageChangeCauseObject(){
            return new ImageChangeCauseObjectNestedImpl();
    }

    public WatchEventFluent.ImageChangeCauseObjectNested withNewImageChangeCauseObjectLike(ImageChangeCause item){
            return new ImageChangeCauseObjectNestedImpl(item);
    }

    public A withRouteObject(Route routeObject){
            _visitables.remove(this.object);
            if (routeObject!=null){ this.object= new RouteBuilder(routeObject); _visitables.add(this.object);} return (A) this;
    }

    public WatchEventFluent.RouteObjectNested withNewRouteObject(){
            return new RouteObjectNestedImpl();
    }

    public WatchEventFluent.RouteObjectNested withNewRouteObjectLike(Route item){
            return new RouteObjectNestedImpl(item);
    }

    public A withImageListObject(ImageList imageListObject){
            _visitables.remove(this.object);
            if (imageListObject!=null){ this.object= new ImageListBuilder(imageListObject); _visitables.add(this.object);} return (A) this;
    }

    public WatchEventFluent.ImageListObjectNested withNewImageListObject(){
            return new ImageListObjectNestedImpl();
    }

    public WatchEventFluent.ImageListObjectNested withNewImageListObjectLike(ImageList item){
            return new ImageListObjectNestedImpl(item);
    }

    public A withBuildStatusOutputObject(BuildStatusOutput buildStatusOutputObject){
            _visitables.remove(this.object);
            if (buildStatusOutputObject!=null){ this.object= new BuildStatusOutputBuilder(buildStatusOutputObject); _visitables.add(this.object);} return (A) this;
    }

    public WatchEventFluent.BuildStatusOutputObjectNested withNewBuildStatusOutputObject(){
            return new BuildStatusOutputObjectNestedImpl();
    }

    public WatchEventFluent.BuildStatusOutputObjectNested withNewBuildStatusOutputObjectLike(BuildStatusOutput item){
            return new BuildStatusOutputObjectNestedImpl(item);
    }

    public A withResourceQuotaSpecObject(ResourceQuotaSpec resourceQuotaSpecObject){
            _visitables.remove(this.object);
            if (resourceQuotaSpecObject!=null){ this.object= new ResourceQuotaSpecBuilder(resourceQuotaSpecObject); _visitables.add(this.object);} return (A) this;
    }

    public WatchEventFluent.ResourceQuotaSpecObjectNested withNewResourceQuotaSpecObject(){
            return new ResourceQuotaSpecObjectNestedImpl();
    }

    public WatchEventFluent.ResourceQuotaSpecObjectNested withNewResourceQuotaSpecObjectLike(ResourceQuotaSpec item){
            return new ResourceQuotaSpecObjectNestedImpl(item);
    }

    public A withJobSpecObject(JobSpec jobSpecObject){
            _visitables.remove(this.object);
            if (jobSpecObject!=null){ this.object= new JobSpecBuilder(jobSpecObject); _visitables.add(this.object);} return (A) this;
    }

    public WatchEventFluent.JobSpecObjectNested withNewJobSpecObject(){
            return new JobSpecObjectNestedImpl();
    }

    public WatchEventFluent.JobSpecObjectNested withNewJobSpecObjectLike(JobSpec item){
            return new JobSpecObjectNestedImpl(item);
    }

    public A withSecretListObject(SecretList secretListObject){
            _visitables.remove(this.object);
            if (secretListObject!=null){ this.object= new SecretListBuilder(secretListObject); _visitables.add(this.object);} return (A) this;
    }

    public WatchEventFluent.SecretListObjectNested withNewSecretListObject(){
            return new SecretListObjectNestedImpl();
    }

    public WatchEventFluent.SecretListObjectNested withNewSecretListObjectLike(SecretList item){
            return new SecretListObjectNestedImpl(item);
    }

    public A withJenkinsListObject(JenkinsList jenkinsListObject){
            _visitables.remove(this.object);
            if (jenkinsListObject!=null){ this.object= new JenkinsListBuilder(jenkinsListObject); _visitables.add(this.object);} return (A) this;
    }

    public WatchEventFluent.JenkinsListObjectNested withNewJenkinsListObject(){
            return new JenkinsListObjectNestedImpl();
    }

    public WatchEventFluent.JenkinsListObjectNested withNewJenkinsListObjectLike(JenkinsList item){
            return new JenkinsListObjectNestedImpl(item);
    }

    public A withLabelSelectorObject(LabelSelector labelSelectorObject){
            _visitables.remove(this.object);
            if (labelSelectorObject!=null){ this.object= new LabelSelectorBuilder(labelSelectorObject); _visitables.add(this.object);} return (A) this;
    }

    public WatchEventFluent.LabelSelectorObjectNested withNewLabelSelectorObject(){
            return new LabelSelectorObjectNestedImpl();
    }

    public WatchEventFluent.LabelSelectorObjectNested withNewLabelSelectorObjectLike(LabelSelector item){
            return new LabelSelectorObjectNestedImpl(item);
    }

    public A withDeleteOptionsObject(DeleteOptions deleteOptionsObject){
            _visitables.remove(this.object);
            if (deleteOptionsObject!=null){ this.object= new DeleteOptionsBuilder(deleteOptionsObject); _visitables.add(this.object);} return (A) this;
    }

    public WatchEventFluent.DeleteOptionsObjectNested withNewDeleteOptionsObject(){
            return new DeleteOptionsObjectNestedImpl();
    }

    public WatchEventFluent.DeleteOptionsObjectNested withNewDeleteOptionsObjectLike(DeleteOptions item){
            return new DeleteOptionsObjectNestedImpl(item);
    }

    public A withDownwardAPIProjectionObject(DownwardAPIProjection downwardAPIProjectionObject){
            _visitables.remove(this.object);
            if (downwardAPIProjectionObject!=null){ this.object= new DownwardAPIProjectionBuilder(downwardAPIProjectionObject); _visitables.add(this.object);} return (A) this;
    }

    public WatchEventFluent.DownwardAPIProjectionObjectNested withNewDownwardAPIProjectionObject(){
            return new DownwardAPIProjectionObjectNestedImpl();
    }

    public WatchEventFluent.DownwardAPIProjectionObjectNested withNewDownwardAPIProjectionObjectLike(DownwardAPIProjection item){
            return new DownwardAPIProjectionObjectNestedImpl(item);
    }

    public A withPipelineTaskApproveObject(PipelineTaskApprove pipelineTaskApproveObject){
            _visitables.remove(this.object);
            if (pipelineTaskApproveObject!=null){ this.object= new PipelineTaskApproveBuilder(pipelineTaskApproveObject); _visitables.add(this.object);} return (A) this;
    }

    public WatchEventFluent.PipelineTaskApproveObjectNested withNewPipelineTaskApproveObject(){
            return new PipelineTaskApproveObjectNestedImpl();
    }

    public WatchEventFluent.PipelineTaskApproveObjectNested withNewPipelineTaskApproveObjectLike(PipelineTaskApprove item){
            return new PipelineTaskApproveObjectNestedImpl(item);
    }

    public A withNewPipelineTaskApproveObject(String message,Long timeout){
            return (A)withPipelineTaskApproveObject(new PipelineTaskApprove(message, timeout));
    }

    public A withWeightedPodAffinityTermObject(WeightedPodAffinityTerm weightedPodAffinityTermObject){
            _visitables.remove(this.object);
            if (weightedPodAffinityTermObject!=null){ this.object= new WeightedPodAffinityTermBuilder(weightedPodAffinityTermObject); _visitables.add(this.object);} return (A) this;
    }

    public WatchEventFluent.WeightedPodAffinityTermObjectNested withNewWeightedPodAffinityTermObject(){
            return new WeightedPodAffinityTermObjectNestedImpl();
    }

    public WatchEventFluent.WeightedPodAffinityTermObjectNested withNewWeightedPodAffinityTermObjectLike(WeightedPodAffinityTerm item){
            return new WeightedPodAffinityTermObjectNestedImpl(item);
    }

    public A withNodeListObject(NodeList nodeListObject){
            _visitables.remove(this.object);
            if (nodeListObject!=null){ this.object= new NodeListBuilder(nodeListObject); _visitables.add(this.object);} return (A) this;
    }

    public WatchEventFluent.NodeListObjectNested withNewNodeListObject(){
            return new NodeListObjectNestedImpl();
    }

    public WatchEventFluent.NodeListObjectNested withNewNodeListObjectLike(NodeList item){
            return new NodeListObjectNestedImpl(item);
    }

    public A withCinderVolumeSourceObject(CinderVolumeSource cinderVolumeSourceObject){
            _visitables.remove(this.object);
            if (cinderVolumeSourceObject!=null){ this.object= new CinderVolumeSourceBuilder(cinderVolumeSourceObject); _visitables.add(this.object);} return (A) this;
    }

    public WatchEventFluent.CinderVolumeSourceObjectNested withNewCinderVolumeSourceObject(){
            return new CinderVolumeSourceObjectNestedImpl();
    }

    public WatchEventFluent.CinderVolumeSourceObjectNested withNewCinderVolumeSourceObjectLike(CinderVolumeSource item){
            return new CinderVolumeSourceObjectNestedImpl(item);
    }

    public A withNewCinderVolumeSourceObject(String fsType,Boolean readOnly,String volumeID){
            return (A)withCinderVolumeSourceObject(new CinderVolumeSource(fsType, readOnly, volumeID));
    }

    public A withPolicyBindingObject(PolicyBinding policyBindingObject){
            _visitables.remove(this.object);
            if (policyBindingObject!=null){ this.object= new PolicyBindingBuilder(policyBindingObject); _visitables.add(this.object);} return (A) this;
    }

    public WatchEventFluent.PolicyBindingObjectNested withNewPolicyBindingObject(){
            return new PolicyBindingObjectNestedImpl();
    }

    public WatchEventFluent.PolicyBindingObjectNested withNewPolicyBindingObjectLike(PolicyBinding item){
            return new PolicyBindingObjectNestedImpl(item);
    }

    public A withImageStreamSpecObject(ImageStreamSpec imageStreamSpecObject){
            _visitables.remove(this.object);
            if (imageStreamSpecObject!=null){ this.object= new ImageStreamSpecBuilder(imageStreamSpecObject); _visitables.add(this.object);} return (A) this;
    }

    public WatchEventFluent.ImageStreamSpecObjectNested withNewImageStreamSpecObject(){
            return new ImageStreamSpecObjectNestedImpl();
    }

    public WatchEventFluent.ImageStreamSpecObjectNested withNewImageStreamSpecObjectLike(ImageStreamSpec item){
            return new ImageStreamSpecObjectNestedImpl(item);
    }

    public A withLocalVolumeSourceObject(LocalVolumeSource localVolumeSourceObject){
            _visitables.remove(this.object);
            if (localVolumeSourceObject!=null){ this.object= new LocalVolumeSourceBuilder(localVolumeSourceObject); _visitables.add(this.object);} return (A) this;
    }

    public WatchEventFluent.LocalVolumeSourceObjectNested withNewLocalVolumeSourceObject(){
            return new LocalVolumeSourceObjectNestedImpl();
    }

    public WatchEventFluent.LocalVolumeSourceObjectNested withNewLocalVolumeSourceObjectLike(LocalVolumeSource item){
            return new LocalVolumeSourceObjectNestedImpl(item);
    }

    public A withNewLocalVolumeSourceObject(String path){
            return (A)withLocalVolumeSourceObject(new LocalVolumeSource(path));
    }

    public A withResourceQuotaObject(ResourceQuota resourceQuotaObject){
            _visitables.remove(this.object);
            if (resourceQuotaObject!=null){ this.object= new ResourceQuotaBuilder(resourceQuotaObject); _visitables.add(this.object);} return (A) this;
    }

    public WatchEventFluent.ResourceQuotaObjectNested withNewResourceQuotaObject(){
            return new ResourceQuotaObjectNestedImpl();
    }

    public WatchEventFluent.ResourceQuotaObjectNested withNewResourceQuotaObjectLike(ResourceQuota item){
            return new ResourceQuotaObjectNestedImpl(item);
    }

    public A withTagReferencePolicyObject(TagReferencePolicy tagReferencePolicyObject){
            _visitables.remove(this.object);
            if (tagReferencePolicyObject!=null){ this.object= new TagReferencePolicyBuilder(tagReferencePolicyObject); _visitables.add(this.object);} return (A) this;
    }

    public WatchEventFluent.TagReferencePolicyObjectNested withNewTagReferencePolicyObject(){
            return new TagReferencePolicyObjectNestedImpl();
    }

    public WatchEventFluent.TagReferencePolicyObjectNested withNewTagReferencePolicyObjectLike(TagReferencePolicy item){
            return new TagReferencePolicyObjectNestedImpl(item);
    }

    public A withNewTagReferencePolicyObject(String type){
            return (A)withTagReferencePolicyObject(new TagReferencePolicy(type));
    }

    public A withUserInfoObject(UserInfo userInfoObject){
            _visitables.remove(this.object);
            if (userInfoObject!=null){ this.object= new UserInfoBuilder(userInfoObject); _visitables.add(this.object);} return (A) this;
    }

    public WatchEventFluent.UserInfoObjectNested withNewUserInfoObject(){
            return new UserInfoObjectNestedImpl();
    }

    public WatchEventFluent.UserInfoObjectNested withNewUserInfoObjectLike(UserInfo item){
            return new UserInfoObjectNestedImpl(item);
    }

    public A withCustomDeploymentStrategyParamsObject(CustomDeploymentStrategyParams customDeploymentStrategyParamsObject){
            _visitables.remove(this.object);
            if (customDeploymentStrategyParamsObject!=null){ this.object= new CustomDeploymentStrategyParamsBuilder(customDeploymentStrategyParamsObject); _visitables.add(this.object);} return (A) this;
    }

    public WatchEventFluent.CustomDeploymentStrategyParamsObjectNested withNewCustomDeploymentStrategyParamsObject(){
            return new CustomDeploymentStrategyParamsObjectNestedImpl();
    }

    public WatchEventFluent.CustomDeploymentStrategyParamsObjectNested withNewCustomDeploymentStrategyParamsObjectLike(CustomDeploymentStrategyParams item){
            return new CustomDeploymentStrategyParamsObjectNestedImpl(item);
    }

    public A withCustomResourceDefinitionSpecObject(CustomResourceDefinitionSpec customResourceDefinitionSpecObject){
            _visitables.remove(this.object);
            if (customResourceDefinitionSpecObject!=null){ this.object= new CustomResourceDefinitionSpecBuilder(customResourceDefinitionSpecObject); _visitables.add(this.object);} return (A) this;
    }

    public WatchEventFluent.CustomResourceDefinitionSpecObjectNested withNewCustomResourceDefinitionSpecObject(){
            return new CustomResourceDefinitionSpecObjectNestedImpl();
    }

    public WatchEventFluent.CustomResourceDefinitionSpecObjectNested withNewCustomResourceDefinitionSpecObjectLike(CustomResourceDefinitionSpec item){
            return new CustomResourceDefinitionSpecObjectNestedImpl(item);
    }

    public A withAzureFileVolumeSourceObject(AzureFileVolumeSource azureFileVolumeSourceObject){
            _visitables.remove(this.object);
            if (azureFileVolumeSourceObject!=null){ this.object= new AzureFileVolumeSourceBuilder(azureFileVolumeSourceObject); _visitables.add(this.object);} return (A) this;
    }

    public WatchEventFluent.AzureFileVolumeSourceObjectNested withNewAzureFileVolumeSourceObject(){
            return new AzureFileVolumeSourceObjectNestedImpl();
    }

    public WatchEventFluent.AzureFileVolumeSourceObjectNested withNewAzureFileVolumeSourceObjectLike(AzureFileVolumeSource item){
            return new AzureFileVolumeSourceObjectNestedImpl(item);
    }

    public A withNewAzureFileVolumeSourceObject(Boolean readOnly,String secretName,String shareName){
            return (A)withAzureFileVolumeSourceObject(new AzureFileVolumeSource(readOnly, secretName, shareName));
    }

    public A withServiceAccountObject(ServiceAccount serviceAccountObject){
            _visitables.remove(this.object);
            if (serviceAccountObject!=null){ this.object= new ServiceAccountBuilder(serviceAccountObject); _visitables.add(this.object);} return (A) this;
    }

    public WatchEventFluent.ServiceAccountObjectNested withNewServiceAccountObject(){
            return new ServiceAccountObjectNestedImpl();
    }

    public WatchEventFluent.ServiceAccountObjectNested withNewServiceAccountObjectLike(ServiceAccount item){
            return new ServiceAccountObjectNestedImpl(item);
    }

    public A withStorageOSPersistentVolumeSourceObject(StorageOSPersistentVolumeSource storageOSPersistentVolumeSourceObject){
            _visitables.remove(this.object);
            if (storageOSPersistentVolumeSourceObject!=null){ this.object= new StorageOSPersistentVolumeSourceBuilder(storageOSPersistentVolumeSourceObject); _visitables.add(this.object);} return (A) this;
    }

    public WatchEventFluent.StorageOSPersistentVolumeSourceObjectNested withNewStorageOSPersistentVolumeSourceObject(){
            return new StorageOSPersistentVolumeSourceObjectNestedImpl();
    }

    public WatchEventFluent.StorageOSPersistentVolumeSourceObjectNested withNewStorageOSPersistentVolumeSourceObjectLike(StorageOSPersistentVolumeSource item){
            return new StorageOSPersistentVolumeSourceObjectNestedImpl(item);
    }

    public A withPipelineStageInstanceObject(PipelineStageInstance pipelineStageInstanceObject){
            _visitables.remove(this.object);
            if (pipelineStageInstanceObject!=null){ this.object= new PipelineStageInstanceBuilder(pipelineStageInstanceObject); _visitables.add(this.object);} return (A) this;
    }

    public WatchEventFluent.PipelineStageInstanceObjectNested withNewPipelineStageInstanceObject(){
            return new PipelineStageInstanceObjectNestedImpl();
    }

    public WatchEventFluent.PipelineStageInstanceObjectNested withNewPipelineStageInstanceObjectLike(PipelineStageInstance item){
            return new PipelineStageInstanceObjectNestedImpl(item);
    }

    public A withConfigMapObject(ConfigMap configMapObject){
            _visitables.remove(this.object);
            if (configMapObject!=null){ this.object= new ConfigMapBuilder(configMapObject); _visitables.add(this.object);} return (A) this;
    }

    public WatchEventFluent.ConfigMapObjectNested withNewConfigMapObject(){
            return new ConfigMapObjectNestedImpl();
    }

    public WatchEventFluent.ConfigMapObjectNested withNewConfigMapObjectLike(ConfigMap item){
            return new ConfigMapObjectNestedImpl(item);
    }

    public A withOAuthClientAuthorizationObject(OAuthClientAuthorization oAuthClientAuthorizationObject){
            _visitables.remove(this.object);
            if (oAuthClientAuthorizationObject!=null){ this.object= new OAuthClientAuthorizationBuilder(oAuthClientAuthorizationObject); _visitables.add(this.object);} return (A) this;
    }

    public WatchEventFluent.OAuthClientAuthorizationObjectNested withNewOAuthClientAuthorizationObject(){
            return new OAuthClientAuthorizationObjectNestedImpl();
    }

    public WatchEventFluent.OAuthClientAuthorizationObjectNested withNewOAuthClientAuthorizationObjectLike(OAuthClientAuthorization item){
            return new OAuthClientAuthorizationObjectNestedImpl(item);
    }

    public A withPolicyBindingListObject(PolicyBindingList policyBindingListObject){
            _visitables.remove(this.object);
            if (policyBindingListObject!=null){ this.object= new PolicyBindingListBuilder(policyBindingListObject); _visitables.add(this.object);} return (A) this;
    }

    public WatchEventFluent.PolicyBindingListObjectNested withNewPolicyBindingListObject(){
            return new PolicyBindingListObjectNestedImpl();
    }

    public WatchEventFluent.PolicyBindingListObjectNested withNewPolicyBindingListObjectLike(PolicyBindingList item){
            return new PolicyBindingListObjectNestedImpl(item);
    }

    public A withPolicyObject(Policy policyObject){
            _visitables.remove(this.object);
            if (policyObject!=null){ this.object= new PolicyBuilder(policyObject); _visitables.add(this.object);} return (A) this;
    }

    public WatchEventFluent.PolicyObjectNested withNewPolicyObject(){
            return new PolicyObjectNestedImpl();
    }

    public WatchEventFluent.PolicyObjectNested withNewPolicyObjectLike(Policy item){
            return new PolicyObjectNestedImpl(item);
    }

    public A withVolumeObject(Volume volumeObject){
            _visitables.remove(this.object);
            if (volumeObject!=null){ this.object= new VolumeBuilder(volumeObject); _visitables.add(this.object);} return (A) this;
    }

    public WatchEventFluent.VolumeObjectNested withNewVolumeObject(){
            return new VolumeObjectNestedImpl();
    }

    public WatchEventFluent.VolumeObjectNested withNewVolumeObjectLike(Volume item){
            return new VolumeObjectNestedImpl(item);
    }

    public A withPipelineCauseObject(PipelineCause pipelineCauseObject){
            _visitables.remove(this.object);
            if (pipelineCauseObject!=null){ this.object= new PipelineCauseBuilder(pipelineCauseObject); _visitables.add(this.object);} return (A) this;
    }

    public WatchEventFluent.PipelineCauseObjectNested withNewPipelineCauseObject(){
            return new PipelineCauseObjectNestedImpl();
    }

    public WatchEventFluent.PipelineCauseObjectNested withNewPipelineCauseObjectLike(PipelineCause item){
            return new PipelineCauseObjectNestedImpl(item);
    }

    public A withNewPipelineCauseObject(String message,String type){
            return (A)withPipelineCauseObject(new PipelineCause(message, type));
    }

    public A withGitLabWebHookCauseObject(GitLabWebHookCause gitLabWebHookCauseObject){
            _visitables.remove(this.object);
            if (gitLabWebHookCauseObject!=null){ this.object= new GitLabWebHookCauseBuilder(gitLabWebHookCauseObject); _visitables.add(this.object);} return (A) this;
    }

    public WatchEventFluent.GitLabWebHookCauseObjectNested withNewGitLabWebHookCauseObject(){
            return new GitLabWebHookCauseObjectNestedImpl();
    }

    public WatchEventFluent.GitLabWebHookCauseObjectNested withNewGitLabWebHookCauseObjectLike(GitLabWebHookCause item){
            return new GitLabWebHookCauseObjectNestedImpl(item);
    }

    public A withOAuthAuthorizeTokenObject(OAuthAuthorizeToken oAuthAuthorizeTokenObject){
            _visitables.remove(this.object);
            if (oAuthAuthorizeTokenObject!=null){ this.object= new OAuthAuthorizeTokenBuilder(oAuthAuthorizeTokenObject); _visitables.add(this.object);} return (A) this;
    }

    public WatchEventFluent.OAuthAuthorizeTokenObjectNested withNewOAuthAuthorizeTokenObject(){
            return new OAuthAuthorizeTokenObjectNestedImpl();
    }

    public WatchEventFluent.OAuthAuthorizeTokenObjectNested withNewOAuthAuthorizeTokenObjectLike(OAuthAuthorizeToken item){
            return new OAuthAuthorizeTokenObjectNestedImpl(item);
    }

    public A withPipelineStatusJenkinsObject(PipelineStatusJenkins pipelineStatusJenkinsObject){
            _visitables.remove(this.object);
            if (pipelineStatusJenkinsObject!=null){ this.object= new PipelineStatusJenkinsBuilder(pipelineStatusJenkinsObject); _visitables.add(this.object);} return (A) this;
    }

    public WatchEventFluent.PipelineStatusJenkinsObjectNested withNewPipelineStatusJenkinsObject(){
            return new PipelineStatusJenkinsObjectNestedImpl();
    }

    public WatchEventFluent.PipelineStatusJenkinsObjectNested withNewPipelineStatusJenkinsObjectLike(PipelineStatusJenkins item){
            return new PipelineStatusJenkinsObjectNestedImpl(item);
    }

    public A withNewPipelineStatusJenkinsObject(String build,String result,String stages,String startStageID,String status){
            return (A)withPipelineStatusJenkinsObject(new PipelineStatusJenkins(build, result, stages, startStageID, status));
    }

    public A withRollingDeploymentStrategyParamsObject(RollingDeploymentStrategyParams rollingDeploymentStrategyParamsObject){
            _visitables.remove(this.object);
            if (rollingDeploymentStrategyParamsObject!=null){ this.object= new RollingDeploymentStrategyParamsBuilder(rollingDeploymentStrategyParamsObject); _visitables.add(this.object);} return (A) this;
    }

    public WatchEventFluent.RollingDeploymentStrategyParamsObjectNested withNewRollingDeploymentStrategyParamsObject(){
            return new RollingDeploymentStrategyParamsObjectNestedImpl();
    }

    public WatchEventFluent.RollingDeploymentStrategyParamsObjectNested withNewRollingDeploymentStrategyParamsObjectLike(RollingDeploymentStrategyParams item){
            return new RollingDeploymentStrategyParamsObjectNestedImpl(item);
    }

    public A withJenkinsBindingObject(JenkinsBinding jenkinsBindingObject){
            _visitables.remove(this.object);
            if (jenkinsBindingObject!=null){ this.object= new JenkinsBindingBuilder(jenkinsBindingObject); _visitables.add(this.object);} return (A) this;
    }

    public WatchEventFluent.JenkinsBindingObjectNested withNewJenkinsBindingObject(){
            return new JenkinsBindingObjectNestedImpl();
    }

    public WatchEventFluent.JenkinsBindingObjectNested withNewJenkinsBindingObjectLike(JenkinsBinding item){
            return new JenkinsBindingObjectNestedImpl(item);
    }

    public A withImageLayerObject(ImageLayer imageLayerObject){
            _visitables.remove(this.object);
            if (imageLayerObject!=null){ this.object= new ImageLayerBuilder(imageLayerObject); _visitables.add(this.object);} return (A) this;
    }

    public WatchEventFluent.ImageLayerObjectNested withNewImageLayerObject(){
            return new ImageLayerObjectNestedImpl();
    }

    public WatchEventFluent.ImageLayerObjectNested withNewImageLayerObjectLike(ImageLayer item){
            return new ImageLayerObjectNestedImpl(item);
    }

    public A withNewImageLayerObject(String mediaType,String name,Long size){
            return (A)withImageLayerObject(new ImageLayer(mediaType, name, size));
    }

    public A withDaemonSetStatusObject(DaemonSetStatus daemonSetStatusObject){
            _visitables.remove(this.object);
            if (daemonSetStatusObject!=null){ this.object= new DaemonSetStatusBuilder(daemonSetStatusObject); _visitables.add(this.object);} return (A) this;
    }

    public WatchEventFluent.DaemonSetStatusObjectNested withNewDaemonSetStatusObject(){
            return new DaemonSetStatusObjectNestedImpl();
    }

    public WatchEventFluent.DaemonSetStatusObjectNested withNewDaemonSetStatusObjectLike(DaemonSetStatus item){
            return new DaemonSetStatusObjectNestedImpl(item);
    }

    public A withInitializerObject(Initializer initializerObject){
            _visitables.remove(this.object);
            if (initializerObject!=null){ this.object= new InitializerBuilder(initializerObject); _visitables.add(this.object);} return (A) this;
    }

    public WatchEventFluent.InitializerObjectNested withNewInitializerObject(){
            return new InitializerObjectNestedImpl();
    }

    public WatchEventFluent.InitializerObjectNested withNewInitializerObjectLike(Initializer item){
            return new InitializerObjectNestedImpl(item);
    }

    public A withNewInitializerObject(String name){
            return (A)withInitializerObject(new Initializer(name));
    }

    public A withSELinuxContextStrategyOptionsObject(SELinuxContextStrategyOptions sELinuxContextStrategyOptionsObject){
            _visitables.remove(this.object);
            if (sELinuxContextStrategyOptionsObject!=null){ this.object= new SELinuxContextStrategyOptionsBuilder(sELinuxContextStrategyOptionsObject); _visitables.add(this.object);} return (A) this;
    }

    public WatchEventFluent.SELinuxContextStrategyOptionsObjectNested withNewSELinuxContextStrategyOptionsObject(){
            return new SELinuxContextStrategyOptionsObjectNestedImpl();
    }

    public WatchEventFluent.SELinuxContextStrategyOptionsObjectNested withNewSELinuxContextStrategyOptionsObjectLike(SELinuxContextStrategyOptions item){
            return new SELinuxContextStrategyOptionsObjectNestedImpl(item);
    }

    public A withListMetaObject(ListMeta listMetaObject){
            _visitables.remove(this.object);
            if (listMetaObject!=null){ this.object= new ListMetaBuilder(listMetaObject); _visitables.add(this.object);} return (A) this;
    }

    public WatchEventFluent.ListMetaObjectNested withNewListMetaObject(){
            return new ListMetaObjectNestedImpl();
    }

    public WatchEventFluent.ListMetaObjectNested withNewListMetaObjectLike(ListMeta item){
            return new ListMetaObjectNestedImpl(item);
    }

    public A withNewListMetaObject(String resourceVersion,String selfLink){
            return (A)withListMetaObject(new ListMeta(resourceVersion, selfLink));
    }

    public A withIdentityObject(Identity identityObject){
            _visitables.remove(this.object);
            if (identityObject!=null){ this.object= new IdentityBuilder(identityObject); _visitables.add(this.object);} return (A) this;
    }

    public WatchEventFluent.IdentityObjectNested withNewIdentityObject(){
            return new IdentityObjectNestedImpl();
    }

    public WatchEventFluent.IdentityObjectNested withNewIdentityObjectLike(Identity item){
            return new IdentityObjectNestedImpl(item);
    }

    public A withComponentStatusListObject(ComponentStatusList componentStatusListObject){
            _visitables.remove(this.object);
            if (componentStatusListObject!=null){ this.object= new ComponentStatusListBuilder(componentStatusListObject); _visitables.add(this.object);} return (A) this;
    }

    public WatchEventFluent.ComponentStatusListObjectNested withNewComponentStatusListObject(){
            return new ComponentStatusListObjectNestedImpl();
    }

    public WatchEventFluent.ComponentStatusListObjectNested withNewComponentStatusListObjectLike(ComponentStatusList item){
            return new ComponentStatusListObjectNestedImpl(item);
    }

    public A withJenkinsBindingListObject(JenkinsBindingList jenkinsBindingListObject){
            _visitables.remove(this.object);
            if (jenkinsBindingListObject!=null){ this.object= new JenkinsBindingListBuilder(jenkinsBindingListObject); _visitables.add(this.object);} return (A) this;
    }

    public WatchEventFluent.JenkinsBindingListObjectNested withNewJenkinsBindingListObject(){
            return new JenkinsBindingListObjectNestedImpl();
    }

    public WatchEventFluent.JenkinsBindingListObjectNested withNewJenkinsBindingListObjectLike(JenkinsBindingList item){
            return new JenkinsBindingListObjectNestedImpl(item);
    }

    public A withGlobalParameterObject(GlobalParameter globalParameterObject){
            _visitables.remove(this.object);
            if (globalParameterObject!=null){ this.object= new GlobalParameterBuilder(globalParameterObject); _visitables.add(this.object);} return (A) this;
    }

    public WatchEventFluent.GlobalParameterObjectNested withNewGlobalParameterObject(){
            return new GlobalParameterObjectNestedImpl();
    }

    public WatchEventFluent.GlobalParameterObjectNested withNewGlobalParameterObjectLike(GlobalParameter item){
            return new GlobalParameterObjectNestedImpl(item);
    }

    public A withNamedClusterRoleBindingObject(NamedClusterRoleBinding namedClusterRoleBindingObject){
            _visitables.remove(this.object);
            if (namedClusterRoleBindingObject!=null){ this.object= new NamedClusterRoleBindingBuilder(namedClusterRoleBindingObject); _visitables.add(this.object);} return (A) this;
    }

    public WatchEventFluent.NamedClusterRoleBindingObjectNested withNewNamedClusterRoleBindingObject(){
            return new NamedClusterRoleBindingObjectNestedImpl();
    }

    public WatchEventFluent.NamedClusterRoleBindingObjectNested withNewNamedClusterRoleBindingObjectLike(NamedClusterRoleBinding item){
            return new NamedClusterRoleBindingObjectNestedImpl(item);
    }

    public A withVolumeMountObject(VolumeMount volumeMountObject){
            _visitables.remove(this.object);
            if (volumeMountObject!=null){ this.object= new VolumeMountBuilder(volumeMountObject); _visitables.add(this.object);} return (A) this;
    }

    public WatchEventFluent.VolumeMountObjectNested withNewVolumeMountObject(){
            return new VolumeMountObjectNestedImpl();
    }

    public WatchEventFluent.VolumeMountObjectNested withNewVolumeMountObjectLike(VolumeMount item){
            return new VolumeMountObjectNestedImpl(item);
    }

    public A withNewVolumeMountObject(String mountPath,String name,Boolean readOnly,String subPath){
            return (A)withVolumeMountObject(new VolumeMount(mountPath, name, readOnly, subPath));
    }

    public A withRoutePortObject(RoutePort routePortObject){
            _visitables.remove(this.object);
            if (routePortObject!=null){ this.object= new RoutePortBuilder(routePortObject); _visitables.add(this.object);} return (A) this;
    }

    public WatchEventFluent.RoutePortObjectNested withNewRoutePortObject(){
            return new RoutePortObjectNestedImpl();
    }

    public WatchEventFluent.RoutePortObjectNested withNewRoutePortObjectLike(RoutePort item){
            return new RoutePortObjectNestedImpl(item);
    }

    public A withPodTemplateObject(PodTemplate podTemplateObject){
            _visitables.remove(this.object);
            if (podTemplateObject!=null){ this.object= new PodTemplateBuilder(podTemplateObject); _visitables.add(this.object);} return (A) this;
    }

    public WatchEventFluent.PodTemplateObjectNested withNewPodTemplateObject(){
            return new PodTemplateObjectNestedImpl();
    }

    public WatchEventFluent.PodTemplateObjectNested withNewPodTemplateObjectLike(PodTemplate item){
            return new PodTemplateObjectNestedImpl(item);
    }

    public A withFSGroupStrategyOptionsObject(FSGroupStrategyOptions fSGroupStrategyOptionsObject){
            _visitables.remove(this.object);
            if (fSGroupStrategyOptionsObject!=null){ this.object= new FSGroupStrategyOptionsBuilder(fSGroupStrategyOptionsObject); _visitables.add(this.object);} return (A) this;
    }

    public WatchEventFluent.FSGroupStrategyOptionsObjectNested withNewFSGroupStrategyOptionsObject(){
            return new FSGroupStrategyOptionsObjectNestedImpl();
    }

    public WatchEventFluent.FSGroupStrategyOptionsObjectNested withNewFSGroupStrategyOptionsObjectLike(FSGroupStrategyOptions item){
            return new FSGroupStrategyOptionsObjectNestedImpl(item);
    }

    public A withPipelineTemplateArgumentValueObject(PipelineTemplateArgumentValue pipelineTemplateArgumentValueObject){
            _visitables.remove(this.object);
            if (pipelineTemplateArgumentValueObject!=null){ this.object= new PipelineTemplateArgumentValueBuilder(pipelineTemplateArgumentValueObject); _visitables.add(this.object);} return (A) this;
    }

    public WatchEventFluent.PipelineTemplateArgumentValueObjectNested withNewPipelineTemplateArgumentValueObject(){
            return new PipelineTemplateArgumentValueObjectNestedImpl();
    }

    public WatchEventFluent.PipelineTemplateArgumentValueObjectNested withNewPipelineTemplateArgumentValueObjectLike(PipelineTemplateArgumentValue item){
            return new PipelineTemplateArgumentValueObjectNestedImpl(item);
    }

    public A withFCVolumeSourceObject(FCVolumeSource fCVolumeSourceObject){
            _visitables.remove(this.object);
            if (fCVolumeSourceObject!=null){ this.object= new FCVolumeSourceBuilder(fCVolumeSourceObject); _visitables.add(this.object);} return (A) this;
    }

    public WatchEventFluent.FCVolumeSourceObjectNested withNewFCVolumeSourceObject(){
            return new FCVolumeSourceObjectNestedImpl();
    }

    public WatchEventFluent.FCVolumeSourceObjectNested withNewFCVolumeSourceObjectLike(FCVolumeSource item){
            return new FCVolumeSourceObjectNestedImpl(item);
    }

    public A withDeploymentCauseImageTriggerObject(DeploymentCauseImageTrigger deploymentCauseImageTriggerObject){
            _visitables.remove(this.object);
            if (deploymentCauseImageTriggerObject!=null){ this.object= new DeploymentCauseImageTriggerBuilder(deploymentCauseImageTriggerObject); _visitables.add(this.object);} return (A) this;
    }

    public WatchEventFluent.DeploymentCauseImageTriggerObjectNested withNewDeploymentCauseImageTriggerObject(){
            return new DeploymentCauseImageTriggerObjectNestedImpl();
    }

    public WatchEventFluent.DeploymentCauseImageTriggerObjectNested withNewDeploymentCauseImageTriggerObjectLike(DeploymentCauseImageTrigger item){
            return new DeploymentCauseImageTriggerObjectNestedImpl(item);
    }

    public A withDaemonSetSpecObject(DaemonSetSpec daemonSetSpecObject){
            _visitables.remove(this.object);
            if (daemonSetSpecObject!=null){ this.object= new DaemonSetSpecBuilder(daemonSetSpecObject); _visitables.add(this.object);} return (A) this;
    }

    public WatchEventFluent.DaemonSetSpecObjectNested withNewDaemonSetSpecObject(){
            return new DaemonSetSpecObjectNestedImpl();
    }

    public WatchEventFluent.DaemonSetSpecObjectNested withNewDaemonSetSpecObjectLike(DaemonSetSpec item){
            return new DaemonSetSpecObjectNestedImpl(item);
    }

    public A withBuildPostCommitSpecObject(BuildPostCommitSpec buildPostCommitSpecObject){
            _visitables.remove(this.object);
            if (buildPostCommitSpecObject!=null){ this.object= new BuildPostCommitSpecBuilder(buildPostCommitSpecObject); _visitables.add(this.object);} return (A) this;
    }

    public WatchEventFluent.BuildPostCommitSpecObjectNested withNewBuildPostCommitSpecObject(){
            return new BuildPostCommitSpecObjectNestedImpl();
    }

    public WatchEventFluent.BuildPostCommitSpecObjectNested withNewBuildPostCommitSpecObjectLike(BuildPostCommitSpec item){
            return new BuildPostCommitSpecObjectNestedImpl(item);
    }

    public A withTokenReviewObject(TokenReview tokenReviewObject){
            _visitables.remove(this.object);
            if (tokenReviewObject!=null){ this.object= new TokenReviewBuilder(tokenReviewObject); _visitables.add(this.object);} return (A) this;
    }

    public WatchEventFluent.TokenReviewObjectNested withNewTokenReviewObject(){
            return new TokenReviewObjectNestedImpl();
    }

    public WatchEventFluent.TokenReviewObjectNested withNewTokenReviewObjectLike(TokenReview item){
            return new TokenReviewObjectNestedImpl(item);
    }

    public A withNetworkPolicyPeerObject(NetworkPolicyPeer networkPolicyPeerObject){
            _visitables.remove(this.object);
            if (networkPolicyPeerObject!=null){ this.object= new NetworkPolicyPeerBuilder(networkPolicyPeerObject); _visitables.add(this.object);} return (A) this;
    }

    public WatchEventFluent.NetworkPolicyPeerObjectNested withNewNetworkPolicyPeerObject(){
            return new NetworkPolicyPeerObjectNestedImpl();
    }

    public WatchEventFluent.NetworkPolicyPeerObjectNested withNewNetworkPolicyPeerObjectLike(NetworkPolicyPeer item){
            return new NetworkPolicyPeerObjectNestedImpl(item);
    }

    public A withNamedRoleObject(NamedRole namedRoleObject){
            _visitables.remove(this.object);
            if (namedRoleObject!=null){ this.object= new NamedRoleBuilder(namedRoleObject); _visitables.add(this.object);} return (A) this;
    }

    public WatchEventFluent.NamedRoleObjectNested withNewNamedRoleObject(){
            return new NamedRoleObjectNestedImpl();
    }

    public WatchEventFluent.NamedRoleObjectNested withNewNamedRoleObjectLike(NamedRole item){
            return new NamedRoleObjectNestedImpl(item);
    }

    public A withRouteListObject(RouteList routeListObject){
            _visitables.remove(this.object);
            if (routeListObject!=null){ this.object= new RouteListBuilder(routeListObject); _visitables.add(this.object);} return (A) this;
    }

    public WatchEventFluent.RouteListObjectNested withNewRouteListObject(){
            return new RouteListObjectNestedImpl();
    }

    public WatchEventFluent.RouteListObjectNested withNewRouteListObjectLike(RouteList item){
            return new RouteListObjectNestedImpl(item);
    }

    public A withDaemonSetUpdateStrategyObject(DaemonSetUpdateStrategy daemonSetUpdateStrategyObject){
            _visitables.remove(this.object);
            if (daemonSetUpdateStrategyObject!=null){ this.object= new DaemonSetUpdateStrategyBuilder(daemonSetUpdateStrategyObject); _visitables.add(this.object);} return (A) this;
    }

    public WatchEventFluent.DaemonSetUpdateStrategyObjectNested withNewDaemonSetUpdateStrategyObject(){
            return new DaemonSetUpdateStrategyObjectNestedImpl();
    }

    public WatchEventFluent.DaemonSetUpdateStrategyObjectNested withNewDaemonSetUpdateStrategyObjectLike(DaemonSetUpdateStrategy item){
            return new DaemonSetUpdateStrategyObjectNestedImpl(item);
    }

    public A withIngressListObject(IngressList ingressListObject){
            _visitables.remove(this.object);
            if (ingressListObject!=null){ this.object= new IngressListBuilder(ingressListObject); _visitables.add(this.object);} return (A) this;
    }

    public WatchEventFluent.IngressListObjectNested withNewIngressListObject(){
            return new IngressListObjectNestedImpl();
    }

    public WatchEventFluent.IngressListObjectNested withNewIngressListObjectLike(IngressList item){
            return new IngressListObjectNestedImpl(item);
    }

    public A withFlexVolumeSourceObject(FlexVolumeSource flexVolumeSourceObject){
            _visitables.remove(this.object);
            if (flexVolumeSourceObject!=null){ this.object= new FlexVolumeSourceBuilder(flexVolumeSourceObject); _visitables.add(this.object);} return (A) this;
    }

    public WatchEventFluent.FlexVolumeSourceObjectNested withNewFlexVolumeSourceObject(){
            return new FlexVolumeSourceObjectNestedImpl();
    }

    public WatchEventFluent.FlexVolumeSourceObjectNested withNewFlexVolumeSourceObjectLike(FlexVolumeSource item){
            return new FlexVolumeSourceObjectNestedImpl(item);
    }

    public A withCustomResourceDefinitionObject(CustomResourceDefinition customResourceDefinitionObject){
            _visitables.remove(this.object);
            if (customResourceDefinitionObject!=null){ this.object= new CustomResourceDefinitionBuilder(customResourceDefinitionObject); _visitables.add(this.object);} return (A) this;
    }

    public WatchEventFluent.CustomResourceDefinitionObjectNested withNewCustomResourceDefinitionObject(){
            return new CustomResourceDefinitionObjectNestedImpl();
    }

    public WatchEventFluent.CustomResourceDefinitionObjectNested withNewCustomResourceDefinitionObjectLike(CustomResourceDefinition item){
            return new CustomResourceDefinitionObjectNestedImpl(item);
    }

    public A withDeploymentConditionObject(io.alauda.kubernetes.api.model.extensions.DeploymentCondition deploymentConditionObject){
            _visitables.remove(this.object);
            if (deploymentConditionObject!=null){ this.object= new io.alauda.kubernetes.api.model.extensions.DeploymentConditionBuilder(deploymentConditionObject); _visitables.add(this.object);} return (A) this;
    }

    public WatchEventFluent.ExtensionsDeploymentConditionObjectNested withNewExtensionsDeploymentConditionObject(){
            return new ExtensionsDeploymentConditionObjectNestedImpl();
    }

    public WatchEventFluent.ExtensionsDeploymentConditionObjectNested withNewDeploymentConditionObjectLike(io.alauda.kubernetes.api.model.extensions.DeploymentCondition item){
            return new ExtensionsDeploymentConditionObjectNestedImpl(item);
    }

    public A withConfigObject(Config configObject){
            _visitables.remove(this.object);
            if (configObject!=null){ this.object= new ConfigBuilder(configObject); _visitables.add(this.object);} return (A) this;
    }

    public WatchEventFluent.ConfigObjectNested withNewConfigObject(){
            return new ConfigObjectNestedImpl();
    }

    public WatchEventFluent.ConfigObjectNested withNewConfigObjectLike(Config item){
            return new ConfigObjectNestedImpl(item);
    }

    public A withNamespaceListObject(NamespaceList namespaceListObject){
            _visitables.remove(this.object);
            if (namespaceListObject!=null){ this.object= new NamespaceListBuilder(namespaceListObject); _visitables.add(this.object);} return (A) this;
    }

    public WatchEventFluent.NamespaceListObjectNested withNewNamespaceListObject(){
            return new NamespaceListObjectNestedImpl();
    }

    public WatchEventFluent.NamespaceListObjectNested withNewNamespaceListObjectLike(NamespaceList item){
            return new NamespaceListObjectNestedImpl(item);
    }

    public A withSignatureSubjectObject(SignatureSubject signatureSubjectObject){
            _visitables.remove(this.object);
            if (signatureSubjectObject!=null){ this.object= new SignatureSubjectBuilder(signatureSubjectObject); _visitables.add(this.object);} return (A) this;
    }

    public WatchEventFluent.SignatureSubjectObjectNested withNewSignatureSubjectObject(){
            return new SignatureSubjectObjectNestedImpl();
    }

    public WatchEventFluent.SignatureSubjectObjectNested withNewSignatureSubjectObjectLike(SignatureSubject item){
            return new SignatureSubjectObjectNestedImpl(item);
    }

    public A withNewSignatureSubjectObject(String commonName,String organization,String publicKeyID){
            return (A)withSignatureSubjectObject(new SignatureSubject(commonName, organization, publicKeyID));
    }

    public A withQuobyteVolumeSourceObject(QuobyteVolumeSource quobyteVolumeSourceObject){
            _visitables.remove(this.object);
            if (quobyteVolumeSourceObject!=null){ this.object= new QuobyteVolumeSourceBuilder(quobyteVolumeSourceObject); _visitables.add(this.object);} return (A) this;
    }

    public WatchEventFluent.QuobyteVolumeSourceObjectNested withNewQuobyteVolumeSourceObject(){
            return new QuobyteVolumeSourceObjectNestedImpl();
    }

    public WatchEventFluent.QuobyteVolumeSourceObjectNested withNewQuobyteVolumeSourceObjectLike(QuobyteVolumeSource item){
            return new QuobyteVolumeSourceObjectNestedImpl(item);
    }

    public A withNewQuobyteVolumeSourceObject(String group,Boolean readOnly,String registry,String user,String volume){
            return (A)withQuobyteVolumeSourceObject(new QuobyteVolumeSource(group, readOnly, registry, user, volume));
    }

    public A withPreferredSchedulingTermObject(PreferredSchedulingTerm preferredSchedulingTermObject){
            _visitables.remove(this.object);
            if (preferredSchedulingTermObject!=null){ this.object= new PreferredSchedulingTermBuilder(preferredSchedulingTermObject); _visitables.add(this.object);} return (A) this;
    }

    public WatchEventFluent.PreferredSchedulingTermObjectNested withNewPreferredSchedulingTermObject(){
            return new PreferredSchedulingTermObjectNestedImpl();
    }

    public WatchEventFluent.PreferredSchedulingTermObjectNested withNewPreferredSchedulingTermObjectLike(PreferredSchedulingTerm item){
            return new PreferredSchedulingTermObjectNestedImpl(item);
    }

    public A withHostPortRangeObject(HostPortRange hostPortRangeObject){
            _visitables.remove(this.object);
            if (hostPortRangeObject!=null){ this.object= new HostPortRangeBuilder(hostPortRangeObject); _visitables.add(this.object);} return (A) this;
    }

    public WatchEventFluent.HostPortRangeObjectNested withNewHostPortRangeObject(){
            return new HostPortRangeObjectNestedImpl();
    }

    public WatchEventFluent.HostPortRangeObjectNested withNewHostPortRangeObjectLike(HostPortRange item){
            return new HostPortRangeObjectNestedImpl(item);
    }

    public A withNewHostPortRangeObject(Integer max,Integer min){
            return (A)withHostPortRangeObject(new HostPortRange(max, min));
    }

    public A withPodSecurityPolicyListObject(PodSecurityPolicyList podSecurityPolicyListObject){
            _visitables.remove(this.object);
            if (podSecurityPolicyListObject!=null){ this.object= new PodSecurityPolicyListBuilder(podSecurityPolicyListObject); _visitables.add(this.object);} return (A) this;
    }

    public WatchEventFluent.PodSecurityPolicyListObjectNested withNewPodSecurityPolicyListObject(){
            return new PodSecurityPolicyListObjectNestedImpl();
    }

    public WatchEventFluent.PodSecurityPolicyListObjectNested withNewPodSecurityPolicyListObjectLike(PodSecurityPolicyList item){
            return new PodSecurityPolicyListObjectNestedImpl(item);
    }

    public A withPolicyRuleObject(PolicyRule policyRuleObject){
            _visitables.remove(this.object);
            if (policyRuleObject!=null){ this.object= new PolicyRuleBuilder(policyRuleObject); _visitables.add(this.object);} return (A) this;
    }

    public WatchEventFluent.PolicyRuleObjectNested withNewPolicyRuleObject(){
            return new PolicyRuleObjectNestedImpl();
    }

    public WatchEventFluent.PolicyRuleObjectNested withNewPolicyRuleObjectLike(PolicyRule item){
            return new PolicyRuleObjectNestedImpl(item);
    }

    public A withPipelineConfigListObject(PipelineConfigList pipelineConfigListObject){
            _visitables.remove(this.object);
            if (pipelineConfigListObject!=null){ this.object= new PipelineConfigListBuilder(pipelineConfigListObject); _visitables.add(this.object);} return (A) this;
    }

    public WatchEventFluent.PipelineConfigListObjectNested withNewPipelineConfigListObject(){
            return new PipelineConfigListObjectNestedImpl();
    }

    public WatchEventFluent.PipelineConfigListObjectNested withNewPipelineConfigListObjectLike(PipelineConfigList item){
            return new PipelineConfigListObjectNestedImpl(item);
    }

    public A withPipelineHookHTTPRequestObject(PipelineHookHTTPRequest pipelineHookHTTPRequestObject){
            _visitables.remove(this.object);
            if (pipelineHookHTTPRequestObject!=null){ this.object= new PipelineHookHTTPRequestBuilder(pipelineHookHTTPRequestObject); _visitables.add(this.object);} return (A) this;
    }

    public WatchEventFluent.PipelineHookHTTPRequestObjectNested withNewPipelineHookHTTPRequestObject(){
            return new PipelineHookHTTPRequestObjectNestedImpl();
    }

    public WatchEventFluent.PipelineHookHTTPRequestObjectNested withNewPipelineHookHTTPRequestObjectLike(PipelineHookHTTPRequest item){
            return new PipelineHookHTTPRequestObjectNestedImpl(item);
    }

    public A withResourceFieldSelectorObject(ResourceFieldSelector resourceFieldSelectorObject){
            _visitables.remove(this.object);
            if (resourceFieldSelectorObject!=null){ this.object= new ResourceFieldSelectorBuilder(resourceFieldSelectorObject); _visitables.add(this.object);} return (A) this;
    }

    public WatchEventFluent.ResourceFieldSelectorObjectNested withNewResourceFieldSelectorObject(){
            return new ResourceFieldSelectorObjectNestedImpl();
    }

    public WatchEventFluent.ResourceFieldSelectorObjectNested withNewResourceFieldSelectorObjectLike(ResourceFieldSelector item){
            return new ResourceFieldSelectorObjectNestedImpl(item);
    }

    public A withImageSignatureObject(ImageSignature imageSignatureObject){
            _visitables.remove(this.object);
            if (imageSignatureObject!=null){ this.object= new ImageSignatureBuilder(imageSignatureObject); _visitables.add(this.object);} return (A) this;
    }

    public WatchEventFluent.ImageSignatureObjectNested withNewImageSignatureObject(){
            return new ImageSignatureObjectNestedImpl();
    }

    public WatchEventFluent.ImageSignatureObjectNested withNewImageSignatureObjectLike(ImageSignature item){
            return new ImageSignatureObjectNestedImpl(item);
    }

    public A withSELinuxStrategyOptionsObject(SELinuxStrategyOptions sELinuxStrategyOptionsObject){
            _visitables.remove(this.object);
            if (sELinuxStrategyOptionsObject!=null){ this.object= new SELinuxStrategyOptionsBuilder(sELinuxStrategyOptionsObject); _visitables.add(this.object);} return (A) this;
    }

    public WatchEventFluent.SELinuxStrategyOptionsObjectNested withNewSELinuxStrategyOptionsObject(){
            return new SELinuxStrategyOptionsObjectNestedImpl();
    }

    public WatchEventFluent.SELinuxStrategyOptionsObjectNested withNewSELinuxStrategyOptionsObjectLike(SELinuxStrategyOptions item){
            return new SELinuxStrategyOptionsObjectNestedImpl(item);
    }

    public A withPreconditionsObject(Preconditions preconditionsObject){
            _visitables.remove(this.object);
            if (preconditionsObject!=null){ this.object= new PreconditionsBuilder(preconditionsObject); _visitables.add(this.object);} return (A) this;
    }

    public WatchEventFluent.PreconditionsObjectNested withNewPreconditionsObject(){
            return new PreconditionsObjectNestedImpl();
    }

    public WatchEventFluent.PreconditionsObjectNested withNewPreconditionsObjectLike(Preconditions item){
            return new PreconditionsObjectNestedImpl(item);
    }

    public A withNewPreconditionsObject(String uid){
            return (A)withPreconditionsObject(new Preconditions(uid));
    }

    public A withClusterRoleObject(ClusterRole clusterRoleObject){
            _visitables.remove(this.object);
            if (clusterRoleObject!=null){ this.object= new ClusterRoleBuilder(clusterRoleObject); _visitables.add(this.object);} return (A) this;
    }

    public WatchEventFluent.ClusterRoleObjectNested withNewClusterRoleObject(){
            return new ClusterRoleObjectNestedImpl();
    }

    public WatchEventFluent.ClusterRoleObjectNested withNewClusterRoleObjectLike(ClusterRole item){
            return new ClusterRoleObjectNestedImpl(item);
    }

    public A withRoleBindingRestrictionSpecObject(RoleBindingRestrictionSpec roleBindingRestrictionSpecObject){
            _visitables.remove(this.object);
            if (roleBindingRestrictionSpecObject!=null){ this.object= new RoleBindingRestrictionSpecBuilder(roleBindingRestrictionSpecObject); _visitables.add(this.object);} return (A) this;
    }

    public WatchEventFluent.RoleBindingRestrictionSpecObjectNested withNewRoleBindingRestrictionSpecObject(){
            return new RoleBindingRestrictionSpecObjectNestedImpl();
    }

    public WatchEventFluent.RoleBindingRestrictionSpecObjectNested withNewRoleBindingRestrictionSpecObjectLike(RoleBindingRestrictionSpec item){
            return new RoleBindingRestrictionSpecObjectNestedImpl(item);
    }

    public A withStatefulSetStatusObject(StatefulSetStatus statefulSetStatusObject){
            _visitables.remove(this.object);
            if (statefulSetStatusObject!=null){ this.object= new StatefulSetStatusBuilder(statefulSetStatusObject); _visitables.add(this.object);} return (A) this;
    }

    public WatchEventFluent.StatefulSetStatusObjectNested withNewStatefulSetStatusObject(){
            return new StatefulSetStatusObjectNestedImpl();
    }

    public WatchEventFluent.StatefulSetStatusObjectNested withNewStatefulSetStatusObjectLike(StatefulSetStatus item){
            return new StatefulSetStatusObjectNestedImpl(item);
    }

    public A withNamespaceObject(Namespace namespaceObject){
            _visitables.remove(this.object);
            if (namespaceObject!=null){ this.object= new NamespaceBuilder(namespaceObject); _visitables.add(this.object);} return (A) this;
    }

    public WatchEventFluent.NamespaceObjectNested withNewNamespaceObject(){
            return new NamespaceObjectNestedImpl();
    }

    public WatchEventFluent.NamespaceObjectNested withNewNamespaceObjectLike(Namespace item){
            return new NamespaceObjectNestedImpl(item);
    }

    public A withRouteIngressConditionObject(RouteIngressCondition routeIngressConditionObject){
            _visitables.remove(this.object);
            if (routeIngressConditionObject!=null){ this.object= new RouteIngressConditionBuilder(routeIngressConditionObject); _visitables.add(this.object);} return (A) this;
    }

    public WatchEventFluent.RouteIngressConditionObjectNested withNewRouteIngressConditionObject(){
            return new RouteIngressConditionObjectNestedImpl();
    }

    public WatchEventFluent.RouteIngressConditionObjectNested withNewRouteIngressConditionObjectLike(RouteIngressCondition item){
            return new RouteIngressConditionObjectNestedImpl(item);
    }

    public A withNewRouteIngressConditionObject(String lastTransitionTime,String message,String reason,String status,String type){
            return (A)withRouteIngressConditionObject(new RouteIngressCondition(lastTransitionTime, message, reason, status, type));
    }

    public A withHTTPGetActionObject(HTTPGetAction hTTPGetActionObject){
            _visitables.remove(this.object);
            if (hTTPGetActionObject!=null){ this.object= new HTTPGetActionBuilder(hTTPGetActionObject); _visitables.add(this.object);} return (A) this;
    }

    public WatchEventFluent.HTTPGetActionObjectNested withNewHTTPGetActionObject(){
            return new HTTPGetActionObjectNestedImpl();
    }

    public WatchEventFluent.HTTPGetActionObjectNested withNewHTTPGetActionObjectLike(HTTPGetAction item){
            return new HTTPGetActionObjectNestedImpl(item);
    }

    public A withEndpointsListObject(EndpointsList endpointsListObject){
            _visitables.remove(this.object);
            if (endpointsListObject!=null){ this.object= new EndpointsListBuilder(endpointsListObject); _visitables.add(this.object);} return (A) this;
    }

    public WatchEventFluent.EndpointsListObjectNested withNewEndpointsListObject(){
            return new EndpointsListObjectNestedImpl();
    }

    public WatchEventFluent.EndpointsListObjectNested withNewEndpointsListObjectLike(EndpointsList item){
            return new EndpointsListObjectNestedImpl(item);
    }

    public A withBuildConfigListObject(BuildConfigList buildConfigListObject){
            _visitables.remove(this.object);
            if (buildConfigListObject!=null){ this.object= new BuildConfigListBuilder(buildConfigListObject); _visitables.add(this.object);} return (A) this;
    }

    public WatchEventFluent.BuildConfigListObjectNested withNewBuildConfigListObject(){
            return new BuildConfigListObjectNestedImpl();
    }

    public WatchEventFluent.BuildConfigListObjectNested withNewBuildConfigListObjectLike(BuildConfigList item){
            return new BuildConfigListObjectNestedImpl(item);
    }

    public A withDeploymentCauseObject(DeploymentCause deploymentCauseObject){
            _visitables.remove(this.object);
            if (deploymentCauseObject!=null){ this.object= new DeploymentCauseBuilder(deploymentCauseObject); _visitables.add(this.object);} return (A) this;
    }

    public WatchEventFluent.DeploymentCauseObjectNested withNewDeploymentCauseObject(){
            return new DeploymentCauseObjectNestedImpl();
    }

    public WatchEventFluent.DeploymentCauseObjectNested withNewDeploymentCauseObjectLike(DeploymentCause item){
            return new DeploymentCauseObjectNestedImpl(item);
    }

    public A withClusterPolicyObject(ClusterPolicy clusterPolicyObject){
            _visitables.remove(this.object);
            if (clusterPolicyObject!=null){ this.object= new ClusterPolicyBuilder(clusterPolicyObject); _visitables.add(this.object);} return (A) this;
    }

    public WatchEventFluent.ClusterPolicyObjectNested withNewClusterPolicyObject(){
            return new ClusterPolicyObjectNestedImpl();
    }

    public WatchEventFluent.ClusterPolicyObjectNested withNewClusterPolicyObjectLike(ClusterPolicy item){
            return new ClusterPolicyObjectNestedImpl(item);
    }

    public A withJenkinsStatusObject(JenkinsStatus jenkinsStatusObject){
            _visitables.remove(this.object);
            if (jenkinsStatusObject!=null){ this.object= new JenkinsStatusBuilder(jenkinsStatusObject); _visitables.add(this.object);} return (A) this;
    }

    public WatchEventFluent.JenkinsStatusObjectNested withNewJenkinsStatusObject(){
            return new JenkinsStatusObjectNestedImpl();
    }

    public WatchEventFluent.JenkinsStatusObjectNested withNewJenkinsStatusObjectLike(JenkinsStatus item){
            return new JenkinsStatusObjectNestedImpl(item);
    }

    public A withPipelineTriggerCodeChangeObject(PipelineTriggerCodeChange pipelineTriggerCodeChangeObject){
            _visitables.remove(this.object);
            if (pipelineTriggerCodeChangeObject!=null){ this.object= new PipelineTriggerCodeChangeBuilder(pipelineTriggerCodeChangeObject); _visitables.add(this.object);} return (A) this;
    }

    public WatchEventFluent.PipelineTriggerCodeChangeObjectNested withNewPipelineTriggerCodeChangeObject(){
            return new PipelineTriggerCodeChangeObjectNestedImpl();
    }

    public WatchEventFluent.PipelineTriggerCodeChangeObjectNested withNewPipelineTriggerCodeChangeObjectLike(PipelineTriggerCodeChange item){
            return new PipelineTriggerCodeChangeObjectNestedImpl(item);
    }

    public A withNewPipelineTriggerCodeChangeObject(Boolean enabled,String periodicCheck){
            return (A)withPipelineTriggerCodeChangeObject(new PipelineTriggerCodeChange(enabled, periodicCheck));
    }

    public A withIngressStatusObject(IngressStatus ingressStatusObject){
            _visitables.remove(this.object);
            if (ingressStatusObject!=null){ this.object= new IngressStatusBuilder(ingressStatusObject); _visitables.add(this.object);} return (A) this;
    }

    public WatchEventFluent.IngressStatusObjectNested withNewIngressStatusObject(){
            return new IngressStatusObjectNestedImpl();
    }

    public WatchEventFluent.IngressStatusObjectNested withNewIngressStatusObjectLike(IngressStatus item){
            return new IngressStatusObjectNestedImpl(item);
    }

    public A withInitializersObject(Initializers initializersObject){
            _visitables.remove(this.object);
            if (initializersObject!=null){ this.object= new InitializersBuilder(initializersObject); _visitables.add(this.object);} return (A) this;
    }

    public WatchEventFluent.InitializersObjectNested withNewInitializersObject(){
            return new InitializersObjectNestedImpl();
    }

    public WatchEventFluent.InitializersObjectNested withNewInitializersObjectLike(Initializers item){
            return new InitializersObjectNestedImpl(item);
    }

    public A withPodConditionObject(PodCondition podConditionObject){
            _visitables.remove(this.object);
            if (podConditionObject!=null){ this.object= new PodConditionBuilder(podConditionObject); _visitables.add(this.object);} return (A) this;
    }

    public WatchEventFluent.PodConditionObjectNested withNewPodConditionObject(){
            return new PodConditionObjectNestedImpl();
    }

    public WatchEventFluent.PodConditionObjectNested withNewPodConditionObjectLike(PodCondition item){
            return new PodConditionObjectNestedImpl(item);
    }

    public A withContainerStateTerminatedObject(ContainerStateTerminated containerStateTerminatedObject){
            _visitables.remove(this.object);
            if (containerStateTerminatedObject!=null){ this.object= new ContainerStateTerminatedBuilder(containerStateTerminatedObject); _visitables.add(this.object);} return (A) this;
    }

    public WatchEventFluent.ContainerStateTerminatedObjectNested withNewContainerStateTerminatedObject(){
            return new ContainerStateTerminatedObjectNestedImpl();
    }

    public WatchEventFluent.ContainerStateTerminatedObjectNested withNewContainerStateTerminatedObjectLike(ContainerStateTerminated item){
            return new ContainerStateTerminatedObjectNestedImpl(item);
    }

    public A withReplicaSetSpecObject(ReplicaSetSpec replicaSetSpecObject){
            _visitables.remove(this.object);
            if (replicaSetSpecObject!=null){ this.object= new ReplicaSetSpecBuilder(replicaSetSpecObject); _visitables.add(this.object);} return (A) this;
    }

    public WatchEventFluent.ReplicaSetSpecObjectNested withNewReplicaSetSpecObject(){
            return new ReplicaSetSpecObjectNestedImpl();
    }

    public WatchEventFluent.ReplicaSetSpecObjectNested withNewReplicaSetSpecObjectLike(ReplicaSetSpec item){
            return new ReplicaSetSpecObjectNestedImpl(item);
    }

    public A withCodeRepositoryRefObject(CodeRepositoryRef codeRepositoryRefObject){
            _visitables.remove(this.object);
            if (codeRepositoryRefObject!=null){ this.object= new CodeRepositoryRefBuilder(codeRepositoryRefObject); _visitables.add(this.object);} return (A) this;
    }

    public WatchEventFluent.CodeRepositoryRefObjectNested withNewCodeRepositoryRefObject(){
            return new CodeRepositoryRefObjectNestedImpl();
    }

    public WatchEventFluent.CodeRepositoryRefObjectNested withNewCodeRepositoryRefObjectLike(CodeRepositoryRef item){
            return new CodeRepositoryRefObjectNestedImpl(item);
    }

    public A withGitRepoVolumeSourceObject(GitRepoVolumeSource gitRepoVolumeSourceObject){
            _visitables.remove(this.object);
            if (gitRepoVolumeSourceObject!=null){ this.object= new GitRepoVolumeSourceBuilder(gitRepoVolumeSourceObject); _visitables.add(this.object);} return (A) this;
    }

    public WatchEventFluent.GitRepoVolumeSourceObjectNested withNewGitRepoVolumeSourceObject(){
            return new GitRepoVolumeSourceObjectNestedImpl();
    }

    public WatchEventFluent.GitRepoVolumeSourceObjectNested withNewGitRepoVolumeSourceObjectLike(GitRepoVolumeSource item){
            return new GitRepoVolumeSourceObjectNestedImpl(item);
    }

    public A withNewGitRepoVolumeSourceObject(String directory,String repository,String revision){
            return (A)withGitRepoVolumeSourceObject(new GitRepoVolumeSource(directory, repository, revision));
    }

    public A withPodTemplateSpecObject(PodTemplateSpec podTemplateSpecObject){
            _visitables.remove(this.object);
            if (podTemplateSpecObject!=null){ this.object= new PodTemplateSpecBuilder(podTemplateSpecObject); _visitables.add(this.object);} return (A) this;
    }

    public WatchEventFluent.PodTemplateSpecObjectNested withNewPodTemplateSpecObject(){
            return new PodTemplateSpecObjectNestedImpl();
    }

    public WatchEventFluent.PodTemplateSpecObjectNested withNewPodTemplateSpecObjectLike(PodTemplateSpec item){
            return new PodTemplateSpecObjectNestedImpl(item);
    }

    public A withPipelineTemplateTaskInstanceSpecObject(PipelineTemplateTaskInstanceSpec pipelineTemplateTaskInstanceSpecObject){
            _visitables.remove(this.object);
            if (pipelineTemplateTaskInstanceSpecObject!=null){ this.object= new PipelineTemplateTaskInstanceSpecBuilder(pipelineTemplateTaskInstanceSpecObject); _visitables.add(this.object);} return (A) this;
    }

    public WatchEventFluent.PipelineTemplateTaskInstanceSpecObjectNested withNewPipelineTemplateTaskInstanceSpecObject(){
            return new PipelineTemplateTaskInstanceSpecObjectNestedImpl();
    }

    public WatchEventFluent.PipelineTemplateTaskInstanceSpecObjectNested withNewPipelineTemplateTaskInstanceSpecObjectLike(PipelineTemplateTaskInstanceSpec item){
            return new PipelineTemplateTaskInstanceSpecObjectNestedImpl(item);
    }

    public A withSecretSpecObject(SecretSpec secretSpecObject){
            _visitables.remove(this.object);
            if (secretSpecObject!=null){ this.object= new SecretSpecBuilder(secretSpecObject); _visitables.add(this.object);} return (A) this;
    }

    public WatchEventFluent.SecretSpecObjectNested withNewSecretSpecObject(){
            return new SecretSpecObjectNestedImpl();
    }

    public WatchEventFluent.SecretSpecObjectNested withNewSecretSpecObjectLike(SecretSpec item){
            return new SecretSpecObjectNestedImpl(item);
    }

    public A withConfigMapVolumeSourceObject(ConfigMapVolumeSource configMapVolumeSourceObject){
            _visitables.remove(this.object);
            if (configMapVolumeSourceObject!=null){ this.object= new ConfigMapVolumeSourceBuilder(configMapVolumeSourceObject); _visitables.add(this.object);} return (A) this;
    }

    public WatchEventFluent.ConfigMapVolumeSourceObjectNested withNewConfigMapVolumeSourceObject(){
            return new ConfigMapVolumeSourceObjectNestedImpl();
    }

    public WatchEventFluent.ConfigMapVolumeSourceObjectNested withNewConfigMapVolumeSourceObjectLike(ConfigMapVolumeSource item){
            return new ConfigMapVolumeSourceObjectNestedImpl(item);
    }

    public A withOwnerReferenceObject(OwnerReference ownerReferenceObject){
            _visitables.remove(this.object);
            if (ownerReferenceObject!=null){ this.object= new OwnerReferenceBuilder(ownerReferenceObject); _visitables.add(this.object);} return (A) this;
    }

    public WatchEventFluent.OwnerReferenceObjectNested withNewOwnerReferenceObject(){
            return new OwnerReferenceObjectNestedImpl();
    }

    public WatchEventFluent.OwnerReferenceObjectNested withNewOwnerReferenceObjectLike(OwnerReference item){
            return new OwnerReferenceObjectNestedImpl(item);
    }

    public A withServiceAccountRestrictionObject(ServiceAccountRestriction serviceAccountRestrictionObject){
            _visitables.remove(this.object);
            if (serviceAccountRestrictionObject!=null){ this.object= new ServiceAccountRestrictionBuilder(serviceAccountRestrictionObject); _visitables.add(this.object);} return (A) this;
    }

    public WatchEventFluent.ServiceAccountRestrictionObjectNested withNewServiceAccountRestrictionObject(){
            return new ServiceAccountRestrictionObjectNestedImpl();
    }

    public WatchEventFluent.ServiceAccountRestrictionObjectNested withNewServiceAccountRestrictionObjectLike(ServiceAccountRestriction item){
            return new ServiceAccountRestrictionObjectNestedImpl(item);
    }

    public A withFlockerVolumeSourceObject(FlockerVolumeSource flockerVolumeSourceObject){
            _visitables.remove(this.object);
            if (flockerVolumeSourceObject!=null){ this.object= new FlockerVolumeSourceBuilder(flockerVolumeSourceObject); _visitables.add(this.object);} return (A) this;
    }

    public WatchEventFluent.FlockerVolumeSourceObjectNested withNewFlockerVolumeSourceObject(){
            return new FlockerVolumeSourceObjectNestedImpl();
    }

    public WatchEventFluent.FlockerVolumeSourceObjectNested withNewFlockerVolumeSourceObjectLike(FlockerVolumeSource item){
            return new FlockerVolumeSourceObjectNestedImpl(item);
    }

    public A withNewFlockerVolumeSourceObject(String datasetName,String datasetUUID){
            return (A)withFlockerVolumeSourceObject(new FlockerVolumeSource(datasetName, datasetUUID));
    }

    public A withLifecycleHookObject(LifecycleHook lifecycleHookObject){
            _visitables.remove(this.object);
            if (lifecycleHookObject!=null){ this.object= new LifecycleHookBuilder(lifecycleHookObject); _visitables.add(this.object);} return (A) this;
    }

    public WatchEventFluent.LifecycleHookObjectNested withNewLifecycleHookObject(){
            return new LifecycleHookObjectNestedImpl();
    }

    public WatchEventFluent.LifecycleHookObjectNested withNewLifecycleHookObjectLike(LifecycleHook item){
            return new LifecycleHookObjectNestedImpl(item);
    }

    public A withPodAntiAffinityObject(PodAntiAffinity podAntiAffinityObject){
            _visitables.remove(this.object);
            if (podAntiAffinityObject!=null){ this.object= new PodAntiAffinityBuilder(podAntiAffinityObject); _visitables.add(this.object);} return (A) this;
    }

    public WatchEventFluent.PodAntiAffinityObjectNested withNewPodAntiAffinityObject(){
            return new PodAntiAffinityObjectNestedImpl();
    }

    public WatchEventFluent.PodAntiAffinityObjectNested withNewPodAntiAffinityObjectLike(PodAntiAffinity item){
            return new PodAntiAffinityObjectNestedImpl(item);
    }

    public A withDeploymentStrategyObject(DeploymentStrategy deploymentStrategyObject){
            _visitables.remove(this.object);
            if (deploymentStrategyObject!=null){ this.object= new DeploymentStrategyBuilder(deploymentStrategyObject); _visitables.add(this.object);} return (A) this;
    }

    public WatchEventFluent.DeploymentStrategyObjectNested withNewDeploymentStrategyObject(){
            return new DeploymentStrategyObjectNestedImpl();
    }

    public WatchEventFluent.DeploymentStrategyObjectNested withNewDeploymentStrategyObjectLike(DeploymentStrategy item){
            return new DeploymentStrategyObjectNestedImpl(item);
    }

    public A withBuildObject(Build buildObject){
            _visitables.remove(this.object);
            if (buildObject!=null){ this.object= new BuildBuilder(buildObject); _visitables.add(this.object);} return (A) this;
    }

    public WatchEventFluent.BuildObjectNested withNewBuildObject(){
            return new BuildObjectNestedImpl();
    }

    public WatchEventFluent.BuildObjectNested withNewBuildObjectLike(Build item){
            return new BuildObjectNestedImpl(item);
    }

    public A withEnvVarObject(EnvVar envVarObject){
            _visitables.remove(this.object);
            if (envVarObject!=null){ this.object= new EnvVarBuilder(envVarObject); _visitables.add(this.object);} return (A) this;
    }

    public WatchEventFluent.EnvVarObjectNested withNewEnvVarObject(){
            return new EnvVarObjectNestedImpl();
    }

    public WatchEventFluent.EnvVarObjectNested withNewEnvVarObjectLike(EnvVar item){
            return new EnvVarObjectNestedImpl(item);
    }

    public A withScaleIOVolumeSourceObject(ScaleIOVolumeSource scaleIOVolumeSourceObject){
            _visitables.remove(this.object);
            if (scaleIOVolumeSourceObject!=null){ this.object= new ScaleIOVolumeSourceBuilder(scaleIOVolumeSourceObject); _visitables.add(this.object);} return (A) this;
    }

    public WatchEventFluent.ScaleIOVolumeSourceObjectNested withNewScaleIOVolumeSourceObject(){
            return new ScaleIOVolumeSourceObjectNestedImpl();
    }

    public WatchEventFluent.ScaleIOVolumeSourceObjectNested withNewScaleIOVolumeSourceObjectLike(ScaleIOVolumeSource item){
            return new ScaleIOVolumeSourceObjectNestedImpl(item);
    }

    public A withStepInfoObject(StepInfo stepInfoObject){
            _visitables.remove(this.object);
            if (stepInfoObject!=null){ this.object= new StepInfoBuilder(stepInfoObject); _visitables.add(this.object);} return (A) this;
    }

    public WatchEventFluent.StepInfoObjectNested withNewStepInfoObject(){
            return new StepInfoObjectNestedImpl();
    }

    public WatchEventFluent.StepInfoObjectNested withNewStepInfoObjectLike(StepInfo item){
            return new StepInfoObjectNestedImpl(item);
    }

    public A withNewStepInfoObject(Long durationMilliseconds,String name,String startTime){
            return (A)withStepInfoObject(new StepInfo(durationMilliseconds, name, startTime));
    }

    public A withScaleObject(Scale scaleObject){
            _visitables.remove(this.object);
            if (scaleObject!=null){ this.object= new ScaleBuilder(scaleObject); _visitables.add(this.object);} return (A) this;
    }

    public WatchEventFluent.ScaleObjectNested withNewScaleObject(){
            return new ScaleObjectNestedImpl();
    }

    public WatchEventFluent.ScaleObjectNested withNewScaleObjectLike(Scale item){
            return new ScaleObjectNestedImpl(item);
    }

    public A withRouteStatusObject(RouteStatus routeStatusObject){
            _visitables.remove(this.object);
            if (routeStatusObject!=null){ this.object= new RouteStatusBuilder(routeStatusObject); _visitables.add(this.object);} return (A) this;
    }

    public WatchEventFluent.RouteStatusObjectNested withNewRouteStatusObject(){
            return new RouteStatusObjectNestedImpl();
    }

    public WatchEventFluent.RouteStatusObjectNested withNewRouteStatusObjectLike(RouteStatus item){
            return new RouteStatusObjectNestedImpl(item);
    }

    public A withPodSpecObject(PodSpec podSpecObject){
            _visitables.remove(this.object);
            if (podSpecObject!=null){ this.object= new PodSpecBuilder(podSpecObject); _visitables.add(this.object);} return (A) this;
    }

    public WatchEventFluent.PodSpecObjectNested withNewPodSpecObject(){
            return new PodSpecObjectNestedImpl();
    }

    public WatchEventFluent.PodSpecObjectNested withNewPodSpecObjectLike(PodSpec item){
            return new PodSpecObjectNestedImpl(item);
    }

    public A withPipelineConfigSpecObject(PipelineConfigSpec pipelineConfigSpecObject){
            _visitables.remove(this.object);
            if (pipelineConfigSpecObject!=null){ this.object= new PipelineConfigSpecBuilder(pipelineConfigSpecObject); _visitables.add(this.object);} return (A) this;
    }

    public WatchEventFluent.PipelineConfigSpecObjectNested withNewPipelineConfigSpecObject(){
            return new PipelineConfigSpecObjectNestedImpl();
    }

    public WatchEventFluent.PipelineConfigSpecObjectNested withNewPipelineConfigSpecObjectLike(PipelineConfigSpec item){
            return new PipelineConfigSpecObjectNestedImpl(item);
    }

    public A withComponentConditionObject(ComponentCondition componentConditionObject){
            _visitables.remove(this.object);
            if (componentConditionObject!=null){ this.object= new ComponentConditionBuilder(componentConditionObject); _visitables.add(this.object);} return (A) this;
    }

    public WatchEventFluent.ComponentConditionObjectNested withNewComponentConditionObject(){
            return new ComponentConditionObjectNestedImpl();
    }

    public WatchEventFluent.ComponentConditionObjectNested withNewComponentConditionObjectLike(ComponentCondition item){
            return new ComponentConditionObjectNestedImpl(item);
    }

    public A withNewComponentConditionObject(String error,String message,String status,String type){
            return (A)withComponentConditionObject(new ComponentCondition(error, message, status, type));
    }

    public A withPodObject(Pod podObject){
            _visitables.remove(this.object);
            if (podObject!=null){ this.object= new PodBuilder(podObject); _visitables.add(this.object);} return (A) this;
    }

    public WatchEventFluent.PodObjectNested withNewPodObject(){
            return new PodObjectNestedImpl();
    }

    public WatchEventFluent.PodObjectNested withNewPodObjectLike(Pod item){
            return new PodObjectNestedImpl(item);
    }

    public A withCephFSVolumeSourceObject(CephFSVolumeSource cephFSVolumeSourceObject){
            _visitables.remove(this.object);
            if (cephFSVolumeSourceObject!=null){ this.object= new CephFSVolumeSourceBuilder(cephFSVolumeSourceObject); _visitables.add(this.object);} return (A) this;
    }

    public WatchEventFluent.CephFSVolumeSourceObjectNested withNewCephFSVolumeSourceObject(){
            return new CephFSVolumeSourceObjectNestedImpl();
    }

    public WatchEventFluent.CephFSVolumeSourceObjectNested withNewCephFSVolumeSourceObjectLike(CephFSVolumeSource item){
            return new CephFSVolumeSourceObjectNestedImpl(item);
    }

    public A withReplicationControllerConditionObject(ReplicationControllerCondition replicationControllerConditionObject){
            _visitables.remove(this.object);
            if (replicationControllerConditionObject!=null){ this.object= new ReplicationControllerConditionBuilder(replicationControllerConditionObject); _visitables.add(this.object);} return (A) this;
    }

    public WatchEventFluent.ReplicationControllerConditionObjectNested withNewReplicationControllerConditionObject(){
            return new ReplicationControllerConditionObjectNestedImpl();
    }

    public WatchEventFluent.ReplicationControllerConditionObjectNested withNewReplicationControllerConditionObjectLike(ReplicationControllerCondition item){
            return new ReplicationControllerConditionObjectNestedImpl(item);
    }

    public A withNewReplicationControllerConditionObject(String lastTransitionTime,String message,String reason,String status,String type){
            return (A)withReplicationControllerConditionObject(new ReplicationControllerCondition(lastTransitionTime, message, reason, status, type));
    }

    public A withServiceAccountReferenceObject(ServiceAccountReference serviceAccountReferenceObject){
            _visitables.remove(this.object);
            if (serviceAccountReferenceObject!=null){ this.object= new ServiceAccountReferenceBuilder(serviceAccountReferenceObject); _visitables.add(this.object);} return (A) this;
    }

    public WatchEventFluent.ServiceAccountReferenceObjectNested withNewServiceAccountReferenceObject(){
            return new ServiceAccountReferenceObjectNestedImpl();
    }

    public WatchEventFluent.ServiceAccountReferenceObjectNested withNewServiceAccountReferenceObjectLike(ServiceAccountReference item){
            return new ServiceAccountReferenceObjectNestedImpl(item);
    }

    public A withNewServiceAccountReferenceObject(String name,String namespace){
            return (A)withServiceAccountReferenceObject(new ServiceAccountReference(name, namespace));
    }

    public A withHorizontalPodAutoscalerObject(HorizontalPodAutoscaler horizontalPodAutoscalerObject){
            _visitables.remove(this.object);
            if (horizontalPodAutoscalerObject!=null){ this.object= new HorizontalPodAutoscalerBuilder(horizontalPodAutoscalerObject); _visitables.add(this.object);} return (A) this;
    }

    public WatchEventFluent.HorizontalPodAutoscalerObjectNested withNewHorizontalPodAutoscalerObject(){
            return new HorizontalPodAutoscalerObjectNestedImpl();
    }

    public WatchEventFluent.HorizontalPodAutoscalerObjectNested withNewHorizontalPodAutoscalerObjectLike(HorizontalPodAutoscaler item){
            return new HorizontalPodAutoscalerObjectNestedImpl(item);
    }

    public A withCrossVersionObjectReferenceObject(CrossVersionObjectReference crossVersionObjectReferenceObject){
            _visitables.remove(this.object);
            if (crossVersionObjectReferenceObject!=null){ this.object= new CrossVersionObjectReferenceBuilder(crossVersionObjectReferenceObject); _visitables.add(this.object);} return (A) this;
    }

    public WatchEventFluent.CrossVersionObjectReferenceObjectNested withNewCrossVersionObjectReferenceObject(){
            return new CrossVersionObjectReferenceObjectNestedImpl();
    }

    public WatchEventFluent.CrossVersionObjectReferenceObjectNested withNewCrossVersionObjectReferenceObjectLike(CrossVersionObjectReference item){
            return new CrossVersionObjectReferenceObjectNestedImpl(item);
    }

    public A withNewCrossVersionObjectReferenceObject(String apiVersion,String kind,String name){
            return (A)withCrossVersionObjectReferenceObject(new CrossVersionObjectReference(apiVersion, kind, name));
    }

    public A withClusterObject(Cluster clusterObject){
            _visitables.remove(this.object);
            if (clusterObject!=null){ this.object= new ClusterBuilder(clusterObject); _visitables.add(this.object);} return (A) this;
    }

    public WatchEventFluent.ClusterObjectNested withNewClusterObject(){
            return new ClusterObjectNestedImpl();
    }

    public WatchEventFluent.ClusterObjectNested withNewClusterObjectLike(Cluster item){
            return new ClusterObjectNestedImpl(item);
    }

    public A withNetworkPolicyIngressRuleObject(NetworkPolicyIngressRule networkPolicyIngressRuleObject){
            _visitables.remove(this.object);
            if (networkPolicyIngressRuleObject!=null){ this.object= new NetworkPolicyIngressRuleBuilder(networkPolicyIngressRuleObject); _visitables.add(this.object);} return (A) this;
    }

    public WatchEventFluent.NetworkPolicyIngressRuleObjectNested withNewNetworkPolicyIngressRuleObject(){
            return new NetworkPolicyIngressRuleObjectNestedImpl();
    }

    public WatchEventFluent.NetworkPolicyIngressRuleObjectNested withNewNetworkPolicyIngressRuleObjectLike(NetworkPolicyIngressRule item){
            return new NetworkPolicyIngressRuleObjectNestedImpl(item);
    }

    public A withConfigMapKeySelectorObject(ConfigMapKeySelector configMapKeySelectorObject){
            _visitables.remove(this.object);
            if (configMapKeySelectorObject!=null){ this.object= new ConfigMapKeySelectorBuilder(configMapKeySelectorObject); _visitables.add(this.object);} return (A) this;
    }

    public WatchEventFluent.ConfigMapKeySelectorObjectNested withNewConfigMapKeySelectorObject(){
            return new ConfigMapKeySelectorObjectNestedImpl();
    }

    public WatchEventFluent.ConfigMapKeySelectorObjectNested withNewConfigMapKeySelectorObjectLike(ConfigMapKeySelector item){
            return new ConfigMapKeySelectorObjectNestedImpl(item);
    }

    public A withNewConfigMapKeySelectorObject(String key,String name,Boolean optional){
            return (A)withConfigMapKeySelectorObject(new ConfigMapKeySelector(key, name, optional));
    }

    public A withPipelineTemplateArgumentGroupObject(PipelineTemplateArgumentGroup pipelineTemplateArgumentGroupObject){
            _visitables.remove(this.object);
            if (pipelineTemplateArgumentGroupObject!=null){ this.object= new PipelineTemplateArgumentGroupBuilder(pipelineTemplateArgumentGroupObject); _visitables.add(this.object);} return (A) this;
    }

    public WatchEventFluent.PipelineTemplateArgumentGroupObjectNested withNewPipelineTemplateArgumentGroupObject(){
            return new PipelineTemplateArgumentGroupObjectNestedImpl();
    }

    public WatchEventFluent.PipelineTemplateArgumentGroupObjectNested withNewPipelineTemplateArgumentGroupObjectLike(PipelineTemplateArgumentGroup item){
            return new PipelineTemplateArgumentGroupObjectNestedImpl(item);
    }

    public A withGroupListObject(GroupList groupListObject){
            _visitables.remove(this.object);
            if (groupListObject!=null){ this.object= new GroupListBuilder(groupListObject); _visitables.add(this.object);} return (A) this;
    }

    public WatchEventFluent.GroupListObjectNested withNewGroupListObject(){
            return new GroupListObjectNestedImpl();
    }

    public WatchEventFluent.GroupListObjectNested withNewGroupListObjectLike(GroupList item){
            return new GroupListObjectNestedImpl(item);
    }

    public A withGlusterfsVolumeSourceObject(GlusterfsVolumeSource glusterfsVolumeSourceObject){
            _visitables.remove(this.object);
            if (glusterfsVolumeSourceObject!=null){ this.object= new GlusterfsVolumeSourceBuilder(glusterfsVolumeSourceObject); _visitables.add(this.object);} return (A) this;
    }

    public WatchEventFluent.GlusterfsVolumeSourceObjectNested withNewGlusterfsVolumeSourceObject(){
            return new GlusterfsVolumeSourceObjectNestedImpl();
    }

    public WatchEventFluent.GlusterfsVolumeSourceObjectNested withNewGlusterfsVolumeSourceObjectLike(GlusterfsVolumeSource item){
            return new GlusterfsVolumeSourceObjectNestedImpl(item);
    }

    public A withNewGlusterfsVolumeSourceObject(String endpoints,String path,Boolean readOnly){
            return (A)withGlusterfsVolumeSourceObject(new GlusterfsVolumeSource(endpoints, path, readOnly));
    }

    public A withThirdPartyResourceObject(ThirdPartyResource thirdPartyResourceObject){
            _visitables.remove(this.object);
            if (thirdPartyResourceObject!=null){ this.object= new ThirdPartyResourceBuilder(thirdPartyResourceObject); _visitables.add(this.object);} return (A) this;
    }

    public WatchEventFluent.ThirdPartyResourceObjectNested withNewThirdPartyResourceObject(){
            return new ThirdPartyResourceObjectNestedImpl();
    }

    public WatchEventFluent.ThirdPartyResourceObjectNested withNewThirdPartyResourceObjectLike(ThirdPartyResource item){
            return new ThirdPartyResourceObjectNestedImpl(item);
    }

    public A withDeploymentConditionObject(DeploymentCondition deploymentConditionObject){
            _visitables.remove(this.object);
            if (deploymentConditionObject!=null){ this.object= new DeploymentConditionBuilder(deploymentConditionObject); _visitables.add(this.object);} return (A) this;
    }

    public WatchEventFluent.DeploymentConditionObjectNested withNewDeploymentConditionObject(){
            return new DeploymentConditionObjectNestedImpl();
    }

    public WatchEventFluent.DeploymentConditionObjectNested withNewDeploymentConditionObjectLike(DeploymentCondition item){
            return new DeploymentConditionObjectNestedImpl(item);
    }

    public A withPortworxVolumeSourceObject(PortworxVolumeSource portworxVolumeSourceObject){
            _visitables.remove(this.object);
            if (portworxVolumeSourceObject!=null){ this.object= new PortworxVolumeSourceBuilder(portworxVolumeSourceObject); _visitables.add(this.object);} return (A) this;
    }

    public WatchEventFluent.PortworxVolumeSourceObjectNested withNewPortworxVolumeSourceObject(){
            return new PortworxVolumeSourceObjectNestedImpl();
    }

    public WatchEventFluent.PortworxVolumeSourceObjectNested withNewPortworxVolumeSourceObjectLike(PortworxVolumeSource item){
            return new PortworxVolumeSourceObjectNestedImpl(item);
    }

    public A withNewPortworxVolumeSourceObject(String fsType,Boolean readOnly,String volumeID){
            return (A)withPortworxVolumeSourceObject(new PortworxVolumeSource(fsType, readOnly, volumeID));
    }

    public A withPipelineHookObject(PipelineHook pipelineHookObject){
            _visitables.remove(this.object);
            if (pipelineHookObject!=null){ this.object= new PipelineHookBuilder(pipelineHookObject); _visitables.add(this.object);} return (A) this;
    }

    public WatchEventFluent.PipelineHookObjectNested withNewPipelineHookObject(){
            return new PipelineHookObjectNestedImpl();
    }

    public WatchEventFluent.PipelineHookObjectNested withNewPipelineHookObjectLike(PipelineHook item){
            return new PipelineHookObjectNestedImpl(item);
    }

    public A withStorageOSVolumeSourceObject(StorageOSVolumeSource storageOSVolumeSourceObject){
            _visitables.remove(this.object);
            if (storageOSVolumeSourceObject!=null){ this.object= new StorageOSVolumeSourceBuilder(storageOSVolumeSourceObject); _visitables.add(this.object);} return (A) this;
    }

    public WatchEventFluent.StorageOSVolumeSourceObjectNested withNewStorageOSVolumeSourceObject(){
            return new StorageOSVolumeSourceObjectNestedImpl();
    }

    public WatchEventFluent.StorageOSVolumeSourceObjectNested withNewStorageOSVolumeSourceObjectLike(StorageOSVolumeSource item){
            return new StorageOSVolumeSourceObjectNestedImpl(item);
    }

    public A withCronJobStatusObject(CronJobStatus cronJobStatusObject){
            _visitables.remove(this.object);
            if (cronJobStatusObject!=null){ this.object= new CronJobStatusBuilder(cronJobStatusObject); _visitables.add(this.object);} return (A) this;
    }

    public WatchEventFluent.CronJobStatusObjectNested withNewCronJobStatusObject(){
            return new CronJobStatusObjectNestedImpl();
    }

    public WatchEventFluent.CronJobStatusObjectNested withNewCronJobStatusObjectLike(CronJobStatus item){
            return new CronJobStatusObjectNestedImpl(item);
    }

    public A withServiceAccountListObject(ServiceAccountList serviceAccountListObject){
            _visitables.remove(this.object);
            if (serviceAccountListObject!=null){ this.object= new ServiceAccountListBuilder(serviceAccountListObject); _visitables.add(this.object);} return (A) this;
    }

    public WatchEventFluent.ServiceAccountListObjectNested withNewServiceAccountListObject(){
            return new ServiceAccountListObjectNestedImpl();
    }

    public WatchEventFluent.ServiceAccountListObjectNested withNewServiceAccountListObjectLike(ServiceAccountList item){
            return new ServiceAccountListObjectNestedImpl(item);
    }

    public A withImageStreamTagObject(ImageStreamTag imageStreamTagObject){
            _visitables.remove(this.object);
            if (imageStreamTagObject!=null){ this.object= new ImageStreamTagBuilder(imageStreamTagObject); _visitables.add(this.object);} return (A) this;
    }

    public WatchEventFluent.ImageStreamTagObjectNested withNewImageStreamTagObject(){
            return new ImageStreamTagObjectNestedImpl();
    }

    public WatchEventFluent.ImageStreamTagObjectNested withNewImageStreamTagObjectLike(ImageStreamTag item){
            return new ImageStreamTagObjectNestedImpl(item);
    }

    public A withComponentStatusObject(ComponentStatus componentStatusObject){
            _visitables.remove(this.object);
            if (componentStatusObject!=null){ this.object= new ComponentStatusBuilder(componentStatusObject); _visitables.add(this.object);} return (A) this;
    }

    public WatchEventFluent.ComponentStatusObjectNested withNewComponentStatusObject(){
            return new ComponentStatusObjectNestedImpl();
    }

    public WatchEventFluent.ComponentStatusObjectNested withNewComponentStatusObjectLike(ComponentStatus item){
            return new ComponentStatusObjectNestedImpl(item);
    }

    public A withThirdPartyResourceListObject(ThirdPartyResourceList thirdPartyResourceListObject){
            _visitables.remove(this.object);
            if (thirdPartyResourceListObject!=null){ this.object= new ThirdPartyResourceListBuilder(thirdPartyResourceListObject); _visitables.add(this.object);} return (A) this;
    }

    public WatchEventFluent.ThirdPartyResourceListObjectNested withNewThirdPartyResourceListObject(){
            return new ThirdPartyResourceListObjectNestedImpl();
    }

    public WatchEventFluent.ThirdPartyResourceListObjectNested withNewThirdPartyResourceListObjectLike(ThirdPartyResourceList item){
            return new ThirdPartyResourceListObjectNestedImpl(item);
    }

    public A withSourceControlUserObject(SourceControlUser sourceControlUserObject){
            _visitables.remove(this.object);
            if (sourceControlUserObject!=null){ this.object= new SourceControlUserBuilder(sourceControlUserObject); _visitables.add(this.object);} return (A) this;
    }

    public WatchEventFluent.SourceControlUserObjectNested withNewSourceControlUserObject(){
            return new SourceControlUserObjectNestedImpl();
    }

    public WatchEventFluent.SourceControlUserObjectNested withNewSourceControlUserObjectLike(SourceControlUser item){
            return new SourceControlUserObjectNestedImpl(item);
    }

    public A withNewSourceControlUserObject(String email,String name){
            return (A)withSourceControlUserObject(new SourceControlUser(email, name));
    }

    public A withProjectedVolumeSourceObject(ProjectedVolumeSource projectedVolumeSourceObject){
            _visitables.remove(this.object);
            if (projectedVolumeSourceObject!=null){ this.object= new ProjectedVolumeSourceBuilder(projectedVolumeSourceObject); _visitables.add(this.object);} return (A) this;
    }

    public WatchEventFluent.ProjectedVolumeSourceObjectNested withNewProjectedVolumeSourceObject(){
            return new ProjectedVolumeSourceObjectNestedImpl();
    }

    public WatchEventFluent.ProjectedVolumeSourceObjectNested withNewProjectedVolumeSourceObjectLike(ProjectedVolumeSource item){
            return new ProjectedVolumeSourceObjectNestedImpl(item);
    }

    public A withHostPortObject(HostPort hostPortObject){
            _visitables.remove(this.object);
            if (hostPortObject!=null){ this.object= new HostPortBuilder(hostPortObject); _visitables.add(this.object);} return (A) this;
    }

    public WatchEventFluent.HostPortObjectNested withNewHostPortObject(){
            return new HostPortObjectNestedImpl();
    }

    public WatchEventFluent.HostPortObjectNested withNewHostPortObjectLike(HostPort item){
            return new HostPortObjectNestedImpl(item);
    }

    public A withNewHostPortObject(String host){
            return (A)withHostPortObject(new HostPort(host));
    }

    public A withRoleListObject(RoleList roleListObject){
            _visitables.remove(this.object);
            if (roleListObject!=null){ this.object= new RoleListBuilder(roleListObject); _visitables.add(this.object);} return (A) this;
    }

    public WatchEventFluent.RoleListObjectNested withNewRoleListObject(){
            return new RoleListObjectNestedImpl();
    }

    public WatchEventFluent.RoleListObjectNested withNewRoleListObjectLike(RoleList item){
            return new RoleListObjectNestedImpl(item);
    }

    public A withResourceQuotaListObject(ResourceQuotaList resourceQuotaListObject){
            _visitables.remove(this.object);
            if (resourceQuotaListObject!=null){ this.object= new ResourceQuotaListBuilder(resourceQuotaListObject); _visitables.add(this.object);} return (A) this;
    }

    public WatchEventFluent.ResourceQuotaListObjectNested withNewResourceQuotaListObject(){
            return new ResourceQuotaListObjectNestedImpl();
    }

    public WatchEventFluent.ResourceQuotaListObjectNested withNewResourceQuotaListObjectLike(ResourceQuotaList item){
            return new ResourceQuotaListObjectNestedImpl(item);
    }

    public A withSecretObject(Secret secretObject){
            _visitables.remove(this.object);
            if (secretObject!=null){ this.object= new SecretBuilder(secretObject); _visitables.add(this.object);} return (A) this;
    }

    public WatchEventFluent.SecretObjectNested withNewSecretObject(){
            return new SecretObjectNestedImpl();
    }

    public WatchEventFluent.SecretObjectNested withNewSecretObjectLike(Secret item){
            return new SecretObjectNestedImpl(item);
    }

    public A withReplicationControllerObject(ReplicationController replicationControllerObject){
            _visitables.remove(this.object);
            if (replicationControllerObject!=null){ this.object= new ReplicationControllerBuilder(replicationControllerObject); _visitables.add(this.object);} return (A) this;
    }

    public WatchEventFluent.ReplicationControllerObjectNested withNewReplicationControllerObject(){
            return new ReplicationControllerObjectNestedImpl();
    }

    public WatchEventFluent.ReplicationControllerObjectNested withNewReplicationControllerObjectLike(ReplicationController item){
            return new ReplicationControllerObjectNestedImpl(item);
    }

    public A withLimitRangeObject(LimitRange limitRangeObject){
            _visitables.remove(this.object);
            if (limitRangeObject!=null){ this.object= new LimitRangeBuilder(limitRangeObject); _visitables.add(this.object);} return (A) this;
    }

    public WatchEventFluent.LimitRangeObjectNested withNewLimitRangeObject(){
            return new LimitRangeObjectNestedImpl();
    }

    public WatchEventFluent.LimitRangeObjectNested withNewLimitRangeObjectLike(LimitRange item){
            return new LimitRangeObjectNestedImpl(item);
    }

    public A withEndpointsObject(Endpoints endpointsObject){
            _visitables.remove(this.object);
            if (endpointsObject!=null){ this.object= new EndpointsBuilder(endpointsObject); _visitables.add(this.object);} return (A) this;
    }

    public WatchEventFluent.EndpointsObjectNested withNewEndpointsObject(){
            return new EndpointsObjectNestedImpl();
    }

    public WatchEventFluent.EndpointsObjectNested withNewEndpointsObjectLike(Endpoints item){
            return new EndpointsObjectNestedImpl(item);
    }

    public A withNodeSelectorRequirementObject(NodeSelectorRequirement nodeSelectorRequirementObject){
            _visitables.remove(this.object);
            if (nodeSelectorRequirementObject!=null){ this.object= new NodeSelectorRequirementBuilder(nodeSelectorRequirementObject); _visitables.add(this.object);} return (A) this;
    }

    public WatchEventFluent.NodeSelectorRequirementObjectNested withNewNodeSelectorRequirementObject(){
            return new NodeSelectorRequirementObjectNestedImpl();
    }

    public WatchEventFluent.NodeSelectorRequirementObjectNested withNewNodeSelectorRequirementObjectLike(NodeSelectorRequirement item){
            return new NodeSelectorRequirementObjectNestedImpl(item);
    }

    public A withDeploymentTriggerPolicyObject(DeploymentTriggerPolicy deploymentTriggerPolicyObject){
            _visitables.remove(this.object);
            if (deploymentTriggerPolicyObject!=null){ this.object= new DeploymentTriggerPolicyBuilder(deploymentTriggerPolicyObject); _visitables.add(this.object);} return (A) this;
    }

    public WatchEventFluent.DeploymentTriggerPolicyObjectNested withNewDeploymentTriggerPolicyObject(){
            return new DeploymentTriggerPolicyObjectNestedImpl();
    }

    public WatchEventFluent.DeploymentTriggerPolicyObjectNested withNewDeploymentTriggerPolicyObjectLike(DeploymentTriggerPolicy item){
            return new DeploymentTriggerPolicyObjectNestedImpl(item);
    }

    public A withOAuthAccessTokenListObject(OAuthAccessTokenList oAuthAccessTokenListObject){
            _visitables.remove(this.object);
            if (oAuthAccessTokenListObject!=null){ this.object= new OAuthAccessTokenListBuilder(oAuthAccessTokenListObject); _visitables.add(this.object);} return (A) this;
    }

    public WatchEventFluent.OAuthAccessTokenListObjectNested withNewOAuthAccessTokenListObject(){
            return new OAuthAccessTokenListObjectNestedImpl();
    }

    public WatchEventFluent.OAuthAccessTokenListObjectNested withNewOAuthAccessTokenListObjectLike(OAuthAccessTokenList item){
            return new OAuthAccessTokenListObjectNestedImpl(item);
    }

    public A withLocalObjectReferenceObject(LocalObjectReference localObjectReferenceObject){
            _visitables.remove(this.object);
            if (localObjectReferenceObject!=null){ this.object= new LocalObjectReferenceBuilder(localObjectReferenceObject); _visitables.add(this.object);} return (A) this;
    }

    public WatchEventFluent.LocalObjectReferenceObjectNested withNewLocalObjectReferenceObject(){
            return new LocalObjectReferenceObjectNestedImpl();
    }

    public WatchEventFluent.LocalObjectReferenceObjectNested withNewLocalObjectReferenceObjectLike(LocalObjectReference item){
            return new LocalObjectReferenceObjectNestedImpl(item);
    }

    public A withNewLocalObjectReferenceObject(String name){
            return (A)withLocalObjectReferenceObject(new LocalObjectReference(name));
    }

    public A withJenkinsPipelineBuildStrategyObject(JenkinsPipelineBuildStrategy jenkinsPipelineBuildStrategyObject){
            _visitables.remove(this.object);
            if (jenkinsPipelineBuildStrategyObject!=null){ this.object= new JenkinsPipelineBuildStrategyBuilder(jenkinsPipelineBuildStrategyObject); _visitables.add(this.object);} return (A) this;
    }

    public WatchEventFluent.JenkinsPipelineBuildStrategyObjectNested withNewJenkinsPipelineBuildStrategyObject(){
            return new JenkinsPipelineBuildStrategyObjectNestedImpl();
    }

    public WatchEventFluent.JenkinsPipelineBuildStrategyObjectNested withNewJenkinsPipelineBuildStrategyObjectLike(JenkinsPipelineBuildStrategy item){
            return new JenkinsPipelineBuildStrategyObjectNestedImpl(item);
    }

    public A withCustomResourceDefinitionConditionObject(CustomResourceDefinitionCondition customResourceDefinitionConditionObject){
            _visitables.remove(this.object);
            if (customResourceDefinitionConditionObject!=null){ this.object= new CustomResourceDefinitionConditionBuilder(customResourceDefinitionConditionObject); _visitables.add(this.object);} return (A) this;
    }

    public WatchEventFluent.CustomResourceDefinitionConditionObjectNested withNewCustomResourceDefinitionConditionObject(){
            return new CustomResourceDefinitionConditionObjectNestedImpl();
    }

    public WatchEventFluent.CustomResourceDefinitionConditionObjectNested withNewCustomResourceDefinitionConditionObjectLike(CustomResourceDefinitionCondition item){
            return new CustomResourceDefinitionConditionObjectNestedImpl(item);
    }

    public A withNewCustomResourceDefinitionConditionObject(String lastTransitionTime,String message,String reason,String status,String type){
            return (A)withCustomResourceDefinitionConditionObject(new CustomResourceDefinitionCondition(lastTransitionTime, message, reason, status, type));
    }

    public A withSecurityContextConstraintsObject(SecurityContextConstraints securityContextConstraintsObject){
            _visitables.remove(this.object);
            if (securityContextConstraintsObject!=null){ this.object= new SecurityContextConstraintsBuilder(securityContextConstraintsObject); _visitables.add(this.object);} return (A) this;
    }

    public WatchEventFluent.SecurityContextConstraintsObjectNested withNewSecurityContextConstraintsObject(){
            return new SecurityContextConstraintsObjectNestedImpl();
    }

    public WatchEventFluent.SecurityContextConstraintsObjectNested withNewSecurityContextConstraintsObjectLike(SecurityContextConstraints item){
            return new SecurityContextConstraintsObjectNestedImpl(item);
    }

    public A withDaemonEndpointObject(DaemonEndpoint daemonEndpointObject){
            _visitables.remove(this.object);
            if (daemonEndpointObject!=null){ this.object= new DaemonEndpointBuilder(daemonEndpointObject); _visitables.add(this.object);} return (A) this;
    }

    public WatchEventFluent.DaemonEndpointObjectNested withNewDaemonEndpointObject(){
            return new DaemonEndpointObjectNestedImpl();
    }

    public WatchEventFluent.DaemonEndpointObjectNested withNewDaemonEndpointObjectLike(DaemonEndpoint item){
            return new DaemonEndpointObjectNestedImpl(item);
    }

    public A withNewDaemonEndpointObject(Integer port){
            return (A)withDaemonEndpointObject(new DaemonEndpoint(port));
    }

    public A withVsphereVirtualDiskVolumeSourceObject(VsphereVirtualDiskVolumeSource vsphereVirtualDiskVolumeSourceObject){
            _visitables.remove(this.object);
            if (vsphereVirtualDiskVolumeSourceObject!=null){ this.object= new VsphereVirtualDiskVolumeSourceBuilder(vsphereVirtualDiskVolumeSourceObject); _visitables.add(this.object);} return (A) this;
    }

    public WatchEventFluent.VsphereVirtualDiskVolumeSourceObjectNested withNewVsphereVirtualDiskVolumeSourceObject(){
            return new VsphereVirtualDiskVolumeSourceObjectNestedImpl();
    }

    public WatchEventFluent.VsphereVirtualDiskVolumeSourceObjectNested withNewVsphereVirtualDiskVolumeSourceObjectLike(VsphereVirtualDiskVolumeSource item){
            return new VsphereVirtualDiskVolumeSourceObjectNestedImpl(item);
    }

    public A withNewVsphereVirtualDiskVolumeSourceObject(String fsType,String storagePolicyID,String storagePolicyName,String volumePath){
            return (A)withVsphereVirtualDiskVolumeSourceObject(new VsphereVirtualDiskVolumeSource(fsType, storagePolicyID, storagePolicyName, volumePath));
    }

    public A withImageStreamTagListObject(ImageStreamTagList imageStreamTagListObject){
            _visitables.remove(this.object);
            if (imageStreamTagListObject!=null){ this.object= new ImageStreamTagListBuilder(imageStreamTagListObject); _visitables.add(this.object);} return (A) this;
    }

    public WatchEventFluent.ImageStreamTagListObjectNested withNewImageStreamTagListObject(){
            return new ImageStreamTagListObjectNestedImpl();
    }

    public WatchEventFluent.ImageStreamTagListObjectNested withNewImageStreamTagListObjectLike(ImageStreamTagList item){
            return new ImageStreamTagListObjectNestedImpl(item);
    }

    public A withSecretKeySetRefObject(SecretKeySetRef secretKeySetRefObject){
            _visitables.remove(this.object);
            if (secretKeySetRefObject!=null){ this.object= new SecretKeySetRefBuilder(secretKeySetRefObject); _visitables.add(this.object);} return (A) this;
    }

    public WatchEventFluent.SecretKeySetRefObjectNested withNewSecretKeySetRefObject(){
            return new SecretKeySetRefObjectNestedImpl();
    }

    public WatchEventFluent.SecretKeySetRefObjectNested withNewSecretKeySetRefObjectLike(SecretKeySetRef item){
            return new SecretKeySetRefObjectNestedImpl(item);
    }

    public A withNewSecretKeySetRefObject(String apiTokenKey,String name,String usernameKey){
            return (A)withSecretKeySetRefObject(new SecretKeySetRef(apiTokenKey, name, usernameKey));
    }

    public A withTokenReviewStatusObject(TokenReviewStatus tokenReviewStatusObject){
            _visitables.remove(this.object);
            if (tokenReviewStatusObject!=null){ this.object= new TokenReviewStatusBuilder(tokenReviewStatusObject); _visitables.add(this.object);} return (A) this;
    }

    public WatchEventFluent.TokenReviewStatusObjectNested withNewTokenReviewStatusObject(){
            return new TokenReviewStatusObjectNestedImpl();
    }

    public WatchEventFluent.TokenReviewStatusObjectNested withNewTokenReviewStatusObjectLike(TokenReviewStatus item){
            return new TokenReviewStatusObjectNestedImpl(item);
    }

    public A withEventSourceObject(EventSource eventSourceObject){
            _visitables.remove(this.object);
            if (eventSourceObject!=null){ this.object= new EventSourceBuilder(eventSourceObject); _visitables.add(this.object);} return (A) this;
    }

    public WatchEventFluent.EventSourceObjectNested withNewEventSourceObject(){
            return new EventSourceObjectNestedImpl();
    }

    public WatchEventFluent.EventSourceObjectNested withNewEventSourceObjectLike(EventSource item){
            return new EventSourceObjectNestedImpl(item);
    }

    public A withNewEventSourceObject(String component,String host){
            return (A)withEventSourceObject(new EventSource(component, host));
    }

    public A withGroupObject(Group groupObject){
            _visitables.remove(this.object);
            if (groupObject!=null){ this.object= new GroupBuilder(groupObject); _visitables.add(this.object);} return (A) this;
    }

    public WatchEventFluent.GroupObjectNested withNewGroupObject(){
            return new GroupObjectNestedImpl();
    }

    public WatchEventFluent.GroupObjectNested withNewGroupObjectLike(Group item){
            return new GroupObjectNestedImpl(item);
    }

    public A withTagEventConditionObject(TagEventCondition tagEventConditionObject){
            _visitables.remove(this.object);
            if (tagEventConditionObject!=null){ this.object= new TagEventConditionBuilder(tagEventConditionObject); _visitables.add(this.object);} return (A) this;
    }

    public WatchEventFluent.TagEventConditionObjectNested withNewTagEventConditionObject(){
            return new TagEventConditionObjectNestedImpl();
    }

    public WatchEventFluent.TagEventConditionObjectNested withNewTagEventConditionObjectLike(TagEventCondition item){
            return new TagEventConditionObjectNestedImpl(item);
    }

    public A withPipelineTemplateArgumentObject(PipelineTemplateArgument pipelineTemplateArgumentObject){
            _visitables.remove(this.object);
            if (pipelineTemplateArgumentObject!=null){ this.object= new PipelineTemplateArgumentBuilder(pipelineTemplateArgumentObject); _visitables.add(this.object);} return (A) this;
    }

    public WatchEventFluent.PipelineTemplateArgumentObjectNested withNewPipelineTemplateArgumentObject(){
            return new PipelineTemplateArgumentObjectNestedImpl();
    }

    public WatchEventFluent.PipelineTemplateArgumentObjectNested withNewPipelineTemplateArgumentObjectLike(PipelineTemplateArgument item){
            return new PipelineTemplateArgumentObjectNestedImpl(item);
    }

    public A withVolumeProjectionObject(VolumeProjection volumeProjectionObject){
            _visitables.remove(this.object);
            if (volumeProjectionObject!=null){ this.object= new VolumeProjectionBuilder(volumeProjectionObject); _visitables.add(this.object);} return (A) this;
    }

    public WatchEventFluent.VolumeProjectionObjectNested withNewVolumeProjectionObject(){
            return new VolumeProjectionObjectNestedImpl();
    }

    public WatchEventFluent.VolumeProjectionObjectNested withNewVolumeProjectionObjectLike(VolumeProjection item){
            return new VolumeProjectionObjectNestedImpl(item);
    }

    public A withEventObject(Event eventObject){
            _visitables.remove(this.object);
            if (eventObject!=null){ this.object= new EventBuilder(eventObject); _visitables.add(this.object);} return (A) this;
    }

    public WatchEventFluent.EventObjectNested withNewEventObject(){
            return new EventObjectNestedImpl();
    }

    public WatchEventFluent.EventObjectNested withNewEventObjectLike(Event item){
            return new EventObjectNestedImpl(item);
    }

    public A withBinaryBuildSourceObject(BinaryBuildSource binaryBuildSourceObject){
            _visitables.remove(this.object);
            if (binaryBuildSourceObject!=null){ this.object= new BinaryBuildSourceBuilder(binaryBuildSourceObject); _visitables.add(this.object);} return (A) this;
    }

    public WatchEventFluent.BinaryBuildSourceObjectNested withNewBinaryBuildSourceObject(){
            return new BinaryBuildSourceObjectNestedImpl();
    }

    public WatchEventFluent.BinaryBuildSourceObjectNested withNewBinaryBuildSourceObjectLike(BinaryBuildSource item){
            return new BinaryBuildSourceObjectNestedImpl(item);
    }

    public A withNewBinaryBuildSourceObject(String asFile){
            return (A)withBinaryBuildSourceObject(new BinaryBuildSource(asFile));
    }

    public A withOAuthAuthorizeTokenListObject(OAuthAuthorizeTokenList oAuthAuthorizeTokenListObject){
            _visitables.remove(this.object);
            if (oAuthAuthorizeTokenListObject!=null){ this.object= new OAuthAuthorizeTokenListBuilder(oAuthAuthorizeTokenListObject); _visitables.add(this.object);} return (A) this;
    }

    public WatchEventFluent.OAuthAuthorizeTokenListObjectNested withNewOAuthAuthorizeTokenListObject(){
            return new OAuthAuthorizeTokenListObjectNestedImpl();
    }

    public WatchEventFluent.OAuthAuthorizeTokenListObjectNested withNewOAuthAuthorizeTokenListObjectLike(OAuthAuthorizeTokenList item){
            return new OAuthAuthorizeTokenListObjectNestedImpl(item);
    }

    public A withImageSourceObject(ImageSource imageSourceObject){
            _visitables.remove(this.object);
            if (imageSourceObject!=null){ this.object= new ImageSourceBuilder(imageSourceObject); _visitables.add(this.object);} return (A) this;
    }

    public WatchEventFluent.ImageSourceObjectNested withNewImageSourceObject(){
            return new ImageSourceObjectNestedImpl();
    }

    public WatchEventFluent.ImageSourceObjectNested withNewImageSourceObjectLike(ImageSource item){
            return new ImageSourceObjectNestedImpl(item);
    }

    public A withTaintObject(Taint taintObject){
            _visitables.remove(this.object);
            if (taintObject!=null){ this.object= new TaintBuilder(taintObject); _visitables.add(this.object);} return (A) this;
    }

    public WatchEventFluent.TaintObjectNested withNewTaintObject(){
            return new TaintObjectNestedImpl();
    }

    public WatchEventFluent.TaintObjectNested withNewTaintObjectLike(Taint item){
            return new TaintObjectNestedImpl(item);
    }

    public A withNewTaintObject(String effect,String key,String timeAdded,String value){
            return (A)withTaintObject(new Taint(effect, key, timeAdded, value));
    }

    public A withCustomResourceDefinitionNamesObject(CustomResourceDefinitionNames customResourceDefinitionNamesObject){
            _visitables.remove(this.object);
            if (customResourceDefinitionNamesObject!=null){ this.object= new CustomResourceDefinitionNamesBuilder(customResourceDefinitionNamesObject); _visitables.add(this.object);} return (A) this;
    }

    public WatchEventFluent.CustomResourceDefinitionNamesObjectNested withNewCustomResourceDefinitionNamesObject(){
            return new CustomResourceDefinitionNamesObjectNestedImpl();
    }

    public WatchEventFluent.CustomResourceDefinitionNamesObjectNested withNewCustomResourceDefinitionNamesObjectLike(CustomResourceDefinitionNames item){
            return new CustomResourceDefinitionNamesObjectNestedImpl(item);
    }

    public A withNodeObject(Node nodeObject){
            _visitables.remove(this.object);
            if (nodeObject!=null){ this.object= new NodeBuilder(nodeObject); _visitables.add(this.object);} return (A) this;
    }

    public WatchEventFluent.NodeObjectNested withNewNodeObject(){
            return new NodeObjectNestedImpl();
    }

    public WatchEventFluent.NodeObjectNested withNewNodeObjectLike(Node item){
            return new NodeObjectNestedImpl(item);
    }

    public A withInfoObject(Info infoObject){
            _visitables.remove(this.object);
            if (infoObject!=null){ this.object= new InfoBuilder(infoObject); _visitables.add(this.object);} return (A) this;
    }

    public WatchEventFluent.InfoObjectNested withNewInfoObject(){
            return new InfoObjectNestedImpl();
    }

    public WatchEventFluent.InfoObjectNested withNewInfoObjectLike(Info item){
            return new InfoObjectNestedImpl(item);
    }

    public A withTCPSocketActionObject(TCPSocketAction tCPSocketActionObject){
            _visitables.remove(this.object);
            if (tCPSocketActionObject!=null){ this.object= new TCPSocketActionBuilder(tCPSocketActionObject); _visitables.add(this.object);} return (A) this;
    }

    public WatchEventFluent.TCPSocketActionObjectNested withNewTCPSocketActionObject(){
            return new TCPSocketActionObjectNestedImpl();
    }

    public WatchEventFluent.TCPSocketActionObjectNested withNewTCPSocketActionObjectLike(TCPSocketAction item){
            return new TCPSocketActionObjectNestedImpl(item);
    }

    public A withEnvFromSourceObject(EnvFromSource envFromSourceObject){
            _visitables.remove(this.object);
            if (envFromSourceObject!=null){ this.object= new EnvFromSourceBuilder(envFromSourceObject); _visitables.add(this.object);} return (A) this;
    }

    public WatchEventFluent.EnvFromSourceObjectNested withNewEnvFromSourceObject(){
            return new EnvFromSourceObjectNestedImpl();
    }

    public WatchEventFluent.EnvFromSourceObjectNested withNewEnvFromSourceObjectLike(EnvFromSource item){
            return new EnvFromSourceObjectNestedImpl(item);
    }

    public A withKeyToPathObject(KeyToPath keyToPathObject){
            _visitables.remove(this.object);
            if (keyToPathObject!=null){ this.object= new KeyToPathBuilder(keyToPathObject); _visitables.add(this.object);} return (A) this;
    }

    public WatchEventFluent.KeyToPathObjectNested withNewKeyToPathObject(){
            return new KeyToPathObjectNestedImpl();
    }

    public WatchEventFluent.KeyToPathObjectNested withNewKeyToPathObjectLike(KeyToPath item){
            return new KeyToPathObjectNestedImpl(item);
    }

    public A withNewKeyToPathObject(String key,Integer mode,String path){
            return (A)withKeyToPathObject(new KeyToPath(key, mode, path));
    }

    public A withReplicaSetObject(ReplicaSet replicaSetObject){
            _visitables.remove(this.object);
            if (replicaSetObject!=null){ this.object= new ReplicaSetBuilder(replicaSetObject); _visitables.add(this.object);} return (A) this;
    }

    public WatchEventFluent.ReplicaSetObjectNested withNewReplicaSetObject(){
            return new ReplicaSetObjectNestedImpl();
    }

    public WatchEventFluent.ReplicaSetObjectNested withNewReplicaSetObjectLike(ReplicaSet item){
            return new ReplicaSetObjectNestedImpl(item);
    }

    public A withSubjectAccessReviewStatusObject(SubjectAccessReviewStatus subjectAccessReviewStatusObject){
            _visitables.remove(this.object);
            if (subjectAccessReviewStatusObject!=null){ this.object= new SubjectAccessReviewStatusBuilder(subjectAccessReviewStatusObject); _visitables.add(this.object);} return (A) this;
    }

    public WatchEventFluent.SubjectAccessReviewStatusObjectNested withNewSubjectAccessReviewStatusObject(){
            return new SubjectAccessReviewStatusObjectNestedImpl();
    }

    public WatchEventFluent.SubjectAccessReviewStatusObjectNested withNewSubjectAccessReviewStatusObjectLike(SubjectAccessReviewStatus item){
            return new SubjectAccessReviewStatusObjectNestedImpl(item);
    }

    public A withNewSubjectAccessReviewStatusObject(Boolean allowed,String evaluationError,String reason){
            return (A)withSubjectAccessReviewStatusObject(new SubjectAccessReviewStatus(allowed, evaluationError, reason));
    }

    public A withNodeSelectorTermObject(NodeSelectorTerm nodeSelectorTermObject){
            _visitables.remove(this.object);
            if (nodeSelectorTermObject!=null){ this.object= new NodeSelectorTermBuilder(nodeSelectorTermObject); _visitables.add(this.object);} return (A) this;
    }

    public WatchEventFluent.NodeSelectorTermObjectNested withNewNodeSelectorTermObject(){
            return new NodeSelectorTermObjectNestedImpl();
    }

    public WatchEventFluent.NodeSelectorTermObjectNested withNewNodeSelectorTermObjectLike(NodeSelectorTerm item){
            return new NodeSelectorTermObjectNestedImpl(item);
    }

    public A withDeploymentListObject(DeploymentList deploymentListObject){
            _visitables.remove(this.object);
            if (deploymentListObject!=null){ this.object= new DeploymentListBuilder(deploymentListObject); _visitables.add(this.object);} return (A) this;
    }

    public WatchEventFluent.DeploymentListObjectNested withNewDeploymentListObject(){
            return new DeploymentListObjectNestedImpl();
    }

    public WatchEventFluent.DeploymentListObjectNested withNewDeploymentListObjectLike(DeploymentList item){
            return new DeploymentListObjectNestedImpl(item);
    }

    public A withEndpointSubsetObject(EndpointSubset endpointSubsetObject){
            _visitables.remove(this.object);
            if (endpointSubsetObject!=null){ this.object= new EndpointSubsetBuilder(endpointSubsetObject); _visitables.add(this.object);} return (A) this;
    }

    public WatchEventFluent.EndpointSubsetObjectNested withNewEndpointSubsetObject(){
            return new EndpointSubsetObjectNestedImpl();
    }

    public WatchEventFluent.EndpointSubsetObjectNested withNewEndpointSubsetObjectLike(EndpointSubset item){
            return new EndpointSubsetObjectNestedImpl(item);
    }

    public A withLoadBalancerStatusObject(LoadBalancerStatus loadBalancerStatusObject){
            _visitables.remove(this.object);
            if (loadBalancerStatusObject!=null){ this.object= new LoadBalancerStatusBuilder(loadBalancerStatusObject); _visitables.add(this.object);} return (A) this;
    }

    public WatchEventFluent.LoadBalancerStatusObjectNested withNewLoadBalancerStatusObject(){
            return new LoadBalancerStatusObjectNestedImpl();
    }

    public WatchEventFluent.LoadBalancerStatusObjectNested withNewLoadBalancerStatusObjectLike(LoadBalancerStatus item){
            return new LoadBalancerStatusObjectNestedImpl(item);
    }

    public A withDaemonSetListObject(DaemonSetList daemonSetListObject){
            _visitables.remove(this.object);
            if (daemonSetListObject!=null){ this.object= new DaemonSetListBuilder(daemonSetListObject); _visitables.add(this.object);} return (A) this;
    }

    public WatchEventFluent.DaemonSetListObjectNested withNewDaemonSetListObject(){
            return new DaemonSetListObjectNestedImpl();
    }

    public WatchEventFluent.DaemonSetListObjectNested withNewDaemonSetListObjectLike(DaemonSetList item){
            return new DaemonSetListObjectNestedImpl(item);
    }

    public A withHorizontalPodAutoscalerStatusObject(HorizontalPodAutoscalerStatus horizontalPodAutoscalerStatusObject){
            _visitables.remove(this.object);
            if (horizontalPodAutoscalerStatusObject!=null){ this.object= new HorizontalPodAutoscalerStatusBuilder(horizontalPodAutoscalerStatusObject); _visitables.add(this.object);} return (A) this;
    }

    public WatchEventFluent.HorizontalPodAutoscalerStatusObjectNested withNewHorizontalPodAutoscalerStatusObject(){
            return new HorizontalPodAutoscalerStatusObjectNestedImpl();
    }

    public WatchEventFluent.HorizontalPodAutoscalerStatusObjectNested withNewHorizontalPodAutoscalerStatusObjectLike(HorizontalPodAutoscalerStatus item){
            return new HorizontalPodAutoscalerStatusObjectNestedImpl(item);
    }

    public A withNewHorizontalPodAutoscalerStatusObject(Integer currentCPUUtilizationPercentage,Integer currentReplicas,Integer desiredReplicas,String lastScaleTime,Long observedGeneration){
            return (A)withHorizontalPodAutoscalerStatusObject(new HorizontalPodAutoscalerStatus(currentCPUUtilizationPercentage, currentReplicas, desiredReplicas, lastScaleTime, observedGeneration));
    }

    public A withSubjectAccessReviewSpecObject(SubjectAccessReviewSpec subjectAccessReviewSpecObject){
            _visitables.remove(this.object);
            if (subjectAccessReviewSpecObject!=null){ this.object= new SubjectAccessReviewSpecBuilder(subjectAccessReviewSpecObject); _visitables.add(this.object);} return (A) this;
    }

    public WatchEventFluent.SubjectAccessReviewSpecObjectNested withNewSubjectAccessReviewSpecObject(){
            return new SubjectAccessReviewSpecObjectNestedImpl();
    }

    public WatchEventFluent.SubjectAccessReviewSpecObjectNested withNewSubjectAccessReviewSpecObjectLike(SubjectAccessReviewSpec item){
            return new SubjectAccessReviewSpecObjectNestedImpl(item);
    }

    public A withDeploymentConfigStatusObject(DeploymentConfigStatus deploymentConfigStatusObject){
            _visitables.remove(this.object);
            if (deploymentConfigStatusObject!=null){ this.object= new DeploymentConfigStatusBuilder(deploymentConfigStatusObject); _visitables.add(this.object);} return (A) this;
    }

    public WatchEventFluent.DeploymentConfigStatusObjectNested withNewDeploymentConfigStatusObject(){
            return new DeploymentConfigStatusObjectNestedImpl();
    }

    public WatchEventFluent.DeploymentConfigStatusObjectNested withNewDeploymentConfigStatusObjectLike(DeploymentConfigStatus item){
            return new DeploymentConfigStatusObjectNestedImpl(item);
    }

    public A withNamedAuthInfoObject(NamedAuthInfo namedAuthInfoObject){
            _visitables.remove(this.object);
            if (namedAuthInfoObject!=null){ this.object= new NamedAuthInfoBuilder(namedAuthInfoObject); _visitables.add(this.object);} return (A) this;
    }

    public WatchEventFluent.NamedAuthInfoObjectNested withNewNamedAuthInfoObject(){
            return new NamedAuthInfoObjectNestedImpl();
    }

    public WatchEventFluent.NamedAuthInfoObjectNested withNewNamedAuthInfoObjectLike(NamedAuthInfo item){
            return new NamedAuthInfoObjectNestedImpl(item);
    }

    public A withRouteIngressObject(RouteIngress routeIngressObject){
            _visitables.remove(this.object);
            if (routeIngressObject!=null){ this.object= new RouteIngressBuilder(routeIngressObject); _visitables.add(this.object);} return (A) this;
    }

    public WatchEventFluent.RouteIngressObjectNested withNewRouteIngressObject(){
            return new RouteIngressObjectNestedImpl();
    }

    public WatchEventFluent.RouteIngressObjectNested withNewRouteIngressObjectLike(RouteIngress item){
            return new RouteIngressObjectNestedImpl(item);
    }

    public A withPipelineTriggerCronObject(PipelineTriggerCron pipelineTriggerCronObject){
            _visitables.remove(this.object);
            if (pipelineTriggerCronObject!=null){ this.object= new PipelineTriggerCronBuilder(pipelineTriggerCronObject); _visitables.add(this.object);} return (A) this;
    }

    public WatchEventFluent.PipelineTriggerCronObjectNested withNewPipelineTriggerCronObject(){
            return new PipelineTriggerCronObjectNestedImpl();
    }

    public WatchEventFluent.PipelineTriggerCronObjectNested withNewPipelineTriggerCronObjectLike(PipelineTriggerCron item){
            return new PipelineTriggerCronObjectNestedImpl(item);
    }

    public A withNewPipelineTriggerCronObject(Boolean enabled,String rule){
            return (A)withPipelineTriggerCronObject(new PipelineTriggerCron(enabled, rule));
    }

    public A withObjectMetaObject(ObjectMeta objectMetaObject){
            _visitables.remove(this.object);
            if (objectMetaObject!=null){ this.object= new ObjectMetaBuilder(objectMetaObject); _visitables.add(this.object);} return (A) this;
    }

    public WatchEventFluent.ObjectMetaObjectNested withNewObjectMetaObject(){
            return new ObjectMetaObjectNestedImpl();
    }

    public WatchEventFluent.ObjectMetaObjectNested withNewObjectMetaObjectLike(ObjectMeta item){
            return new ObjectMetaObjectNestedImpl(item);
    }

    public A withClusterRoleBindingObject(ClusterRoleBinding clusterRoleBindingObject){
            _visitables.remove(this.object);
            if (clusterRoleBindingObject!=null){ this.object= new ClusterRoleBindingBuilder(clusterRoleBindingObject); _visitables.add(this.object);} return (A) this;
    }

    public WatchEventFluent.ClusterRoleBindingObjectNested withNewClusterRoleBindingObject(){
            return new ClusterRoleBindingObjectNestedImpl();
    }

    public WatchEventFluent.ClusterRoleBindingObjectNested withNewClusterRoleBindingObjectLike(ClusterRoleBinding item){
            return new ClusterRoleBindingObjectNestedImpl(item);
    }

    public A withPhotonPersistentDiskVolumeSourceObject(PhotonPersistentDiskVolumeSource photonPersistentDiskVolumeSourceObject){
            _visitables.remove(this.object);
            if (photonPersistentDiskVolumeSourceObject!=null){ this.object= new PhotonPersistentDiskVolumeSourceBuilder(photonPersistentDiskVolumeSourceObject); _visitables.add(this.object);} return (A) this;
    }

    public WatchEventFluent.PhotonPersistentDiskVolumeSourceObjectNested withNewPhotonPersistentDiskVolumeSourceObject(){
            return new PhotonPersistentDiskVolumeSourceObjectNestedImpl();
    }

    public WatchEventFluent.PhotonPersistentDiskVolumeSourceObjectNested withNewPhotonPersistentDiskVolumeSourceObjectLike(PhotonPersistentDiskVolumeSource item){
            return new PhotonPersistentDiskVolumeSourceObjectNestedImpl(item);
    }

    public A withNewPhotonPersistentDiskVolumeSourceObject(String fsType,String pdID){
            return (A)withPhotonPersistentDiskVolumeSourceObject(new PhotonPersistentDiskVolumeSource(fsType, pdID));
    }

    public A withRouteSpecObject(RouteSpec routeSpecObject){
            _visitables.remove(this.object);
            if (routeSpecObject!=null){ this.object= new RouteSpecBuilder(routeSpecObject); _visitables.add(this.object);} return (A) this;
    }

    public WatchEventFluent.RouteSpecObjectNested withNewRouteSpecObject(){
            return new RouteSpecObjectNestedImpl();
    }

    public WatchEventFluent.RouteSpecObjectNested withNewRouteSpecObjectLike(RouteSpec item){
            return new RouteSpecObjectNestedImpl(item);
    }

    public A withHTTPIngressPathObject(HTTPIngressPath hTTPIngressPathObject){
            _visitables.remove(this.object);
            if (hTTPIngressPathObject!=null){ this.object= new HTTPIngressPathBuilder(hTTPIngressPathObject); _visitables.add(this.object);} return (A) this;
    }

    public WatchEventFluent.HTTPIngressPathObjectNested withNewHTTPIngressPathObject(){
            return new HTTPIngressPathObjectNestedImpl();
    }

    public WatchEventFluent.HTTPIngressPathObjectNested withNewHTTPIngressPathObjectLike(HTTPIngressPath item){
            return new HTTPIngressPathObjectNestedImpl(item);
    }

    public A withPodAffinityObject(PodAffinity podAffinityObject){
            _visitables.remove(this.object);
            if (podAffinityObject!=null){ this.object= new PodAffinityBuilder(podAffinityObject); _visitables.add(this.object);} return (A) this;
    }

    public WatchEventFluent.PodAffinityObjectNested withNewPodAffinityObject(){
            return new PodAffinityObjectNestedImpl();
    }

    public WatchEventFluent.PodAffinityObjectNested withNewPodAffinityObjectLike(PodAffinity item){
            return new PodAffinityObjectNestedImpl(item);
    }

    public A withImageStreamStatusObject(ImageStreamStatus imageStreamStatusObject){
            _visitables.remove(this.object);
            if (imageStreamStatusObject!=null){ this.object= new ImageStreamStatusBuilder(imageStreamStatusObject); _visitables.add(this.object);} return (A) this;
    }

    public WatchEventFluent.ImageStreamStatusObjectNested withNewImageStreamStatusObject(){
            return new ImageStreamStatusObjectNestedImpl();
    }

    public WatchEventFluent.ImageStreamStatusObjectNested withNewImageStreamStatusObjectLike(ImageStreamStatus item){
            return new ImageStreamStatusObjectNestedImpl(item);
    }

    public A withServiceSpecObject(ServiceSpec serviceSpecObject){
            _visitables.remove(this.object);
            if (serviceSpecObject!=null){ this.object= new ServiceSpecBuilder(serviceSpecObject); _visitables.add(this.object);} return (A) this;
    }

    public WatchEventFluent.ServiceSpecObjectNested withNewServiceSpecObject(){
            return new ServiceSpecObjectNestedImpl();
    }

    public WatchEventFluent.ServiceSpecObjectNested withNewServiceSpecObjectLike(ServiceSpec item){
            return new ServiceSpecObjectNestedImpl(item);
    }

    public A withReplicaSetListObject(ReplicaSetList replicaSetListObject){
            _visitables.remove(this.object);
            if (replicaSetListObject!=null){ this.object= new ReplicaSetListBuilder(replicaSetListObject); _visitables.add(this.object);} return (A) this;
    }

    public WatchEventFluent.ReplicaSetListObjectNested withNewReplicaSetListObject(){
            return new ReplicaSetListObjectNestedImpl();
    }

    public WatchEventFluent.ReplicaSetListObjectNested withNewReplicaSetListObjectLike(ReplicaSetList item){
            return new ReplicaSetListObjectNestedImpl(item);
    }

    public A withStatefulSetSpecObject(StatefulSetSpec statefulSetSpecObject){
            _visitables.remove(this.object);
            if (statefulSetSpecObject!=null){ this.object= new StatefulSetSpecBuilder(statefulSetSpecObject); _visitables.add(this.object);} return (A) this;
    }

    public WatchEventFluent.StatefulSetSpecObjectNested withNewStatefulSetSpecObject(){
            return new StatefulSetSpecObjectNestedImpl();
    }

    public WatchEventFluent.StatefulSetSpecObjectNested withNewStatefulSetSpecObjectLike(StatefulSetSpec item){
            return new StatefulSetSpecObjectNestedImpl(item);
    }

    public A withSecretProjectionObject(SecretProjection secretProjectionObject){
            _visitables.remove(this.object);
            if (secretProjectionObject!=null){ this.object= new SecretProjectionBuilder(secretProjectionObject); _visitables.add(this.object);} return (A) this;
    }

    public WatchEventFluent.SecretProjectionObjectNested withNewSecretProjectionObject(){
            return new SecretProjectionObjectNestedImpl();
    }

    public WatchEventFluent.SecretProjectionObjectNested withNewSecretProjectionObjectLike(SecretProjection item){
            return new SecretProjectionObjectNestedImpl(item);
    }

    public A withBuildSourceObject(BuildSource buildSourceObject){
            _visitables.remove(this.object);
            if (buildSourceObject!=null){ this.object= new BuildSourceBuilder(buildSourceObject); _visitables.add(this.object);} return (A) this;
    }

    public WatchEventFluent.BuildSourceObjectNested withNewBuildSourceObject(){
            return new BuildSourceObjectNestedImpl();
    }

    public WatchEventFluent.BuildSourceObjectNested withNewBuildSourceObjectLike(BuildSource item){
            return new BuildSourceObjectNestedImpl(item);
    }

    public A withJobConditionObject(JobCondition jobConditionObject){
            _visitables.remove(this.object);
            if (jobConditionObject!=null){ this.object= new JobConditionBuilder(jobConditionObject); _visitables.add(this.object);} return (A) this;
    }

    public WatchEventFluent.JobConditionObjectNested withNewJobConditionObject(){
            return new JobConditionObjectNestedImpl();
    }

    public WatchEventFluent.JobConditionObjectNested withNewJobConditionObjectLike(JobCondition item){
            return new JobConditionObjectNestedImpl(item);
    }

    public A withJenkinsObject(Jenkins jenkinsObject){
            _visitables.remove(this.object);
            if (jenkinsObject!=null){ this.object= new JenkinsBuilder(jenkinsObject); _visitables.add(this.object);} return (A) this;
    }

    public WatchEventFluent.JenkinsObjectNested withNewJenkinsObject(){
            return new JenkinsObjectNestedImpl();
    }

    public WatchEventFluent.JenkinsObjectNested withNewJenkinsObjectLike(Jenkins item){
            return new JenkinsObjectNestedImpl(item);
    }

    public A withImageLabelObject(ImageLabel imageLabelObject){
            _visitables.remove(this.object);
            if (imageLabelObject!=null){ this.object= new ImageLabelBuilder(imageLabelObject); _visitables.add(this.object);} return (A) this;
    }

    public WatchEventFluent.ImageLabelObjectNested withNewImageLabelObject(){
            return new ImageLabelObjectNestedImpl();
    }

    public WatchEventFluent.ImageLabelObjectNested withNewImageLabelObjectLike(ImageLabel item){
            return new ImageLabelObjectNestedImpl(item);
    }

    public A withNewImageLabelObject(String name,String value){
            return (A)withImageLabelObject(new ImageLabel(name, value));
    }

    public A withDeploymentStrategyObject(io.alauda.kubernetes.api.model.extensions.DeploymentStrategy deploymentStrategyObject){
            _visitables.remove(this.object);
            if (deploymentStrategyObject!=null){ this.object= new io.alauda.kubernetes.api.model.extensions.DeploymentStrategyBuilder(deploymentStrategyObject); _visitables.add(this.object);} return (A) this;
    }

    public WatchEventFluent.ExtensionsDeploymentStrategyObjectNested withNewExtensionsDeploymentStrategyObject(){
            return new ExtensionsDeploymentStrategyObjectNestedImpl();
    }

    public WatchEventFluent.ExtensionsDeploymentStrategyObjectNested withNewDeploymentStrategyObjectLike(io.alauda.kubernetes.api.model.extensions.DeploymentStrategy item){
            return new ExtensionsDeploymentStrategyObjectNestedImpl(item);
    }

    public A withContainerPortObject(ContainerPort containerPortObject){
            _visitables.remove(this.object);
            if (containerPortObject!=null){ this.object= new ContainerPortBuilder(containerPortObject); _visitables.add(this.object);} return (A) this;
    }

    public WatchEventFluent.ContainerPortObjectNested withNewContainerPortObject(){
            return new ContainerPortObjectNestedImpl();
    }

    public WatchEventFluent.ContainerPortObjectNested withNewContainerPortObjectLike(ContainerPort item){
            return new ContainerPortObjectNestedImpl(item);
    }

    public A withNewContainerPortObject(Integer containerPort,String hostIP,Integer hostPort,String name,String protocol){
            return (A)withContainerPortObject(new ContainerPort(containerPort, hostIP, hostPort, name, protocol));
    }

    public A withDaemonSetObject(DaemonSet daemonSetObject){
            _visitables.remove(this.object);
            if (daemonSetObject!=null){ this.object= new DaemonSetBuilder(daemonSetObject); _visitables.add(this.object);} return (A) this;
    }

    public WatchEventFluent.DaemonSetObjectNested withNewDaemonSetObject(){
            return new DaemonSetObjectNestedImpl();
    }

    public WatchEventFluent.DaemonSetObjectNested withNewDaemonSetObjectLike(DaemonSet item){
            return new DaemonSetObjectNestedImpl(item);
    }

    public A withSubjectAccessReviewResponseObject(SubjectAccessReviewResponse subjectAccessReviewResponseObject){
            _visitables.remove(this.object);
            if (subjectAccessReviewResponseObject!=null){ this.object= new SubjectAccessReviewResponseBuilder(subjectAccessReviewResponseObject); _visitables.add(this.object);} return (A) this;
    }

    public WatchEventFluent.SubjectAccessReviewResponseObjectNested withNewSubjectAccessReviewResponseObject(){
            return new SubjectAccessReviewResponseObjectNestedImpl();
    }

    public WatchEventFluent.SubjectAccessReviewResponseObjectNested withNewSubjectAccessReviewResponseObjectLike(SubjectAccessReviewResponse item){
            return new SubjectAccessReviewResponseObjectNestedImpl(item);
    }

    public A withPodDisruptionBudgetObject(PodDisruptionBudget podDisruptionBudgetObject){
            _visitables.remove(this.object);
            if (podDisruptionBudgetObject!=null){ this.object= new PodDisruptionBudgetBuilder(podDisruptionBudgetObject); _visitables.add(this.object);} return (A) this;
    }

    public WatchEventFluent.PodDisruptionBudgetObjectNested withNewPodDisruptionBudgetObject(){
            return new PodDisruptionBudgetObjectNestedImpl();
    }

    public WatchEventFluent.PodDisruptionBudgetObjectNested withNewPodDisruptionBudgetObjectLike(PodDisruptionBudget item){
            return new PodDisruptionBudgetObjectNestedImpl(item);
    }

    public A withImageStreamObject(ImageStream imageStreamObject){
            _visitables.remove(this.object);
            if (imageStreamObject!=null){ this.object= new ImageStreamBuilder(imageStreamObject); _visitables.add(this.object);} return (A) this;
    }

    public WatchEventFluent.ImageStreamObjectNested withNewImageStreamObject(){
            return new ImageStreamObjectNestedImpl();
    }

    public WatchEventFluent.ImageStreamObjectNested withNewImageStreamObjectLike(ImageStream item){
            return new ImageStreamObjectNestedImpl(item);
    }

    public A withBuildSpecObject(BuildSpec buildSpecObject){
            _visitables.remove(this.object);
            if (buildSpecObject!=null){ this.object= new BuildSpecBuilder(buildSpecObject); _visitables.add(this.object);} return (A) this;
    }

    public WatchEventFluent.BuildSpecObjectNested withNewBuildSpecObject(){
            return new BuildSpecObjectNestedImpl();
    }

    public WatchEventFluent.BuildSpecObjectNested withNewBuildSpecObjectLike(BuildSpec item){
            return new BuildSpecObjectNestedImpl(item);
    }

    public A withHTTPIngressRuleValueObject(HTTPIngressRuleValue hTTPIngressRuleValueObject){
            _visitables.remove(this.object);
            if (hTTPIngressRuleValueObject!=null){ this.object= new HTTPIngressRuleValueBuilder(hTTPIngressRuleValueObject); _visitables.add(this.object);} return (A) this;
    }

    public WatchEventFluent.HTTPIngressRuleValueObjectNested withNewHTTPIngressRuleValueObject(){
            return new HTTPIngressRuleValueObjectNestedImpl();
    }

    public WatchEventFluent.HTTPIngressRuleValueObjectNested withNewHTTPIngressRuleValueObjectLike(HTTPIngressRuleValue item){
            return new HTTPIngressRuleValueObjectNestedImpl(item);
    }

    public A withStatusCauseObject(StatusCause statusCauseObject){
            _visitables.remove(this.object);
            if (statusCauseObject!=null){ this.object= new StatusCauseBuilder(statusCauseObject); _visitables.add(this.object);} return (A) this;
    }

    public WatchEventFluent.StatusCauseObjectNested withNewStatusCauseObject(){
            return new StatusCauseObjectNestedImpl();
    }

    public WatchEventFluent.StatusCauseObjectNested withNewStatusCauseObjectLike(StatusCause item){
            return new StatusCauseObjectNestedImpl(item);
    }

    public A withNewStatusCauseObject(String field,String message,String reason){
            return (A)withStatusCauseObject(new StatusCause(field, message, reason));
    }

    public A withEndpointPortObject(EndpointPort endpointPortObject){
            _visitables.remove(this.object);
            if (endpointPortObject!=null){ this.object= new EndpointPortBuilder(endpointPortObject); _visitables.add(this.object);} return (A) this;
    }

    public WatchEventFluent.EndpointPortObjectNested withNewEndpointPortObject(){
            return new EndpointPortObjectNestedImpl();
    }

    public WatchEventFluent.EndpointPortObjectNested withNewEndpointPortObjectLike(EndpointPort item){
            return new EndpointPortObjectNestedImpl(item);
    }

    public A withNewEndpointPortObject(String name,Integer port,String protocol){
            return (A)withEndpointPortObject(new EndpointPort(name, port, protocol));
    }

    public A withNodeConditionObject(NodeCondition nodeConditionObject){
            _visitables.remove(this.object);
            if (nodeConditionObject!=null){ this.object= new NodeConditionBuilder(nodeConditionObject); _visitables.add(this.object);} return (A) this;
    }

    public WatchEventFluent.NodeConditionObjectNested withNewNodeConditionObject(){
            return new NodeConditionObjectNestedImpl();
    }

    public WatchEventFluent.NodeConditionObjectNested withNewNodeConditionObjectLike(NodeCondition item){
            return new NodeConditionObjectNestedImpl(item);
    }

    public A withRollingUpdateDeploymentObject(RollingUpdateDeployment rollingUpdateDeploymentObject){
            _visitables.remove(this.object);
            if (rollingUpdateDeploymentObject!=null){ this.object= new RollingUpdateDeploymentBuilder(rollingUpdateDeploymentObject); _visitables.add(this.object);} return (A) this;
    }

    public WatchEventFluent.RollingUpdateDeploymentObjectNested withNewRollingUpdateDeploymentObject(){
            return new RollingUpdateDeploymentObjectNestedImpl();
    }

    public WatchEventFluent.RollingUpdateDeploymentObjectNested withNewRollingUpdateDeploymentObjectLike(RollingUpdateDeployment item){
            return new RollingUpdateDeploymentObjectNestedImpl(item);
    }

    public A withGitBuildSourceObject(GitBuildSource gitBuildSourceObject){
            _visitables.remove(this.object);
            if (gitBuildSourceObject!=null){ this.object= new GitBuildSourceBuilder(gitBuildSourceObject); _visitables.add(this.object);} return (A) this;
    }

    public WatchEventFluent.GitBuildSourceObjectNested withNewGitBuildSourceObject(){
            return new GitBuildSourceObjectNestedImpl();
    }

    public WatchEventFluent.GitBuildSourceObjectNested withNewGitBuildSourceObjectLike(GitBuildSource item){
            return new GitBuildSourceObjectNestedImpl(item);
    }

    public A withNewGitBuildSourceObject(String httpProxy,String httpsProxy,String noProxy,String ref,String uri){
            return (A)withGitBuildSourceObject(new GitBuildSource(httpProxy, httpsProxy, noProxy, ref, uri));
    }

    public A withIDRangeObject(IDRange iDRangeObject){
            _visitables.remove(this.object);
            if (iDRangeObject!=null){ this.object= new IDRangeBuilder(iDRangeObject); _visitables.add(this.object);} return (A) this;
    }

    public WatchEventFluent.IDRangeObjectNested withNewIDRangeObject(){
            return new IDRangeObjectNestedImpl();
    }

    public WatchEventFluent.IDRangeObjectNested withNewIDRangeObjectLike(IDRange item){
            return new IDRangeObjectNestedImpl(item);
    }

    public A withNewIDRangeObject(Long max,Long min){
            return (A)withIDRangeObject(new IDRange(max, min));
    }

    public A withBuildStatusObject(BuildStatus buildStatusObject){
            _visitables.remove(this.object);
            if (buildStatusObject!=null){ this.object= new BuildStatusBuilder(buildStatusObject); _visitables.add(this.object);} return (A) this;
    }

    public WatchEventFluent.BuildStatusObjectNested withNewBuildStatusObject(){
            return new BuildStatusObjectNestedImpl();
    }

    public WatchEventFluent.BuildStatusObjectNested withNewBuildStatusObjectLike(BuildStatus item){
            return new BuildStatusObjectNestedImpl(item);
    }

    public A withSupplementalGroupsStrategyOptionsObject(SupplementalGroupsStrategyOptions supplementalGroupsStrategyOptionsObject){
            _visitables.remove(this.object);
            if (supplementalGroupsStrategyOptionsObject!=null){ this.object= new SupplementalGroupsStrategyOptionsBuilder(supplementalGroupsStrategyOptionsObject); _visitables.add(this.object);} return (A) this;
    }

    public WatchEventFluent.SupplementalGroupsStrategyOptionsObjectNested withNewSupplementalGroupsStrategyOptionsObject(){
            return new SupplementalGroupsStrategyOptionsObjectNestedImpl();
    }

    public WatchEventFluent.SupplementalGroupsStrategyOptionsObjectNested withNewSupplementalGroupsStrategyOptionsObjectLike(SupplementalGroupsStrategyOptions item){
            return new SupplementalGroupsStrategyOptionsObjectNestedImpl(item);
    }

    public A withPipelineStrategyJenkinsObject(PipelineStrategyJenkins pipelineStrategyJenkinsObject){
            _visitables.remove(this.object);
            if (pipelineStrategyJenkinsObject!=null){ this.object= new PipelineStrategyJenkinsBuilder(pipelineStrategyJenkinsObject); _visitables.add(this.object);} return (A) this;
    }

    public WatchEventFluent.PipelineStrategyJenkinsObjectNested withNewPipelineStrategyJenkinsObject(){
            return new PipelineStrategyJenkinsObjectNestedImpl();
    }

    public WatchEventFluent.PipelineStrategyJenkinsObjectNested withNewPipelineStrategyJenkinsObjectLike(PipelineStrategyJenkins item){
            return new PipelineStrategyJenkinsObjectNestedImpl(item);
    }

    public A withNewPipelineStrategyJenkinsObject(String jenkinsfile,String jenkinsfilePath){
            return (A)withPipelineStrategyJenkinsObject(new PipelineStrategyJenkins(jenkinsfile, jenkinsfilePath));
    }

    public A withAffinityObject(Affinity affinityObject){
            _visitables.remove(this.object);
            if (affinityObject!=null){ this.object= new AffinityBuilder(affinityObject); _visitables.add(this.object);} return (A) this;
    }

    public WatchEventFluent.AffinityObjectNested withNewAffinityObject(){
            return new AffinityObjectNestedImpl();
    }

    public WatchEventFluent.AffinityObjectNested withNewAffinityObjectLike(Affinity item){
            return new AffinityObjectNestedImpl(item);
    }

    public A withBuildStatusOutputToObject(BuildStatusOutputTo buildStatusOutputToObject){
            _visitables.remove(this.object);
            if (buildStatusOutputToObject!=null){ this.object= new BuildStatusOutputToBuilder(buildStatusOutputToObject); _visitables.add(this.object);} return (A) this;
    }

    public WatchEventFluent.BuildStatusOutputToObjectNested withNewBuildStatusOutputToObject(){
            return new BuildStatusOutputToObjectNestedImpl();
    }

    public WatchEventFluent.BuildStatusOutputToObjectNested withNewBuildStatusOutputToObjectLike(BuildStatusOutputTo item){
            return new BuildStatusOutputToObjectNestedImpl(item);
    }

    public A withNewBuildStatusOutputToObject(String imageDigest){
            return (A)withBuildStatusOutputToObject(new BuildStatusOutputTo(imageDigest));
    }

    public A withContextObject(Context contextObject){
            _visitables.remove(this.object);
            if (contextObject!=null){ this.object= new ContextBuilder(contextObject); _visitables.add(this.object);} return (A) this;
    }

    public WatchEventFluent.ContextObjectNested withNewContextObject(){
            return new ContextObjectNestedImpl();
    }

    public WatchEventFluent.ContextObjectNested withNewContextObjectLike(Context item){
            return new ContextObjectNestedImpl(item);
    }

    public A withRoleBindingRestrictionObject(RoleBindingRestriction roleBindingRestrictionObject){
            _visitables.remove(this.object);
            if (roleBindingRestrictionObject!=null){ this.object= new RoleBindingRestrictionBuilder(roleBindingRestrictionObject); _visitables.add(this.object);} return (A) this;
    }

    public WatchEventFluent.RoleBindingRestrictionObjectNested withNewRoleBindingRestrictionObject(){
            return new RoleBindingRestrictionObjectNestedImpl();
    }

    public WatchEventFluent.RoleBindingRestrictionObjectNested withNewRoleBindingRestrictionObjectLike(RoleBindingRestriction item){
            return new RoleBindingRestrictionObjectNestedImpl(item);
    }

    public A withServicePortObject(ServicePort servicePortObject){
            _visitables.remove(this.object);
            if (servicePortObject!=null){ this.object= new ServicePortBuilder(servicePortObject); _visitables.add(this.object);} return (A) this;
    }

    public WatchEventFluent.ServicePortObjectNested withNewServicePortObject(){
            return new ServicePortObjectNestedImpl();
    }

    public WatchEventFluent.ServicePortObjectNested withNewServicePortObjectLike(ServicePort item){
            return new ServicePortObjectNestedImpl(item);
    }

    public A withBindingObject(Binding bindingObject){
            _visitables.remove(this.object);
            if (bindingObject!=null){ this.object= new BindingBuilder(bindingObject); _visitables.add(this.object);} return (A) this;
    }

    public WatchEventFluent.BindingObjectNested withNewBindingObject(){
            return new BindingObjectNestedImpl();
    }

    public WatchEventFluent.BindingObjectNested withNewBindingObjectLike(Binding item){
            return new BindingObjectNestedImpl(item);
    }

    public A withAuthInfoObject(AuthInfo authInfoObject){
            _visitables.remove(this.object);
            if (authInfoObject!=null){ this.object= new AuthInfoBuilder(authInfoObject); _visitables.add(this.object);} return (A) this;
    }

    public WatchEventFluent.AuthInfoObjectNested withNewAuthInfoObject(){
            return new AuthInfoObjectNestedImpl();
    }

    public WatchEventFluent.AuthInfoObjectNested withNewAuthInfoObjectLike(AuthInfo item){
            return new AuthInfoObjectNestedImpl(item);
    }

    public A withTLSConfigObject(TLSConfig tLSConfigObject){
            _visitables.remove(this.object);
            if (tLSConfigObject!=null){ this.object= new TLSConfigBuilder(tLSConfigObject); _visitables.add(this.object);} return (A) this;
    }

    public WatchEventFluent.TLSConfigObjectNested withNewTLSConfigObject(){
            return new TLSConfigObjectNestedImpl();
    }

    public WatchEventFluent.TLSConfigObjectNested withNewTLSConfigObjectLike(TLSConfig item){
            return new TLSConfigObjectNestedImpl(item);
    }

    public A withRollingUpdateStatefulSetStrategyObject(RollingUpdateStatefulSetStrategy rollingUpdateStatefulSetStrategyObject){
            _visitables.remove(this.object);
            if (rollingUpdateStatefulSetStrategyObject!=null){ this.object= new RollingUpdateStatefulSetStrategyBuilder(rollingUpdateStatefulSetStrategyObject); _visitables.add(this.object);} return (A) this;
    }

    public WatchEventFluent.RollingUpdateStatefulSetStrategyObjectNested withNewRollingUpdateStatefulSetStrategyObject(){
            return new RollingUpdateStatefulSetStrategyObjectNestedImpl();
    }

    public WatchEventFluent.RollingUpdateStatefulSetStrategyObjectNested withNewRollingUpdateStatefulSetStrategyObjectLike(RollingUpdateStatefulSetStrategy item){
            return new RollingUpdateStatefulSetStrategyObjectNestedImpl(item);
    }

    public A withNewRollingUpdateStatefulSetStrategyObject(Integer partition){
            return (A)withRollingUpdateStatefulSetStrategyObject(new RollingUpdateStatefulSetStrategy(partition));
    }

    public A withLocalSubjectAccessReviewObject(io.alauda.kubernetes.api.model.authorization.LocalSubjectAccessReview localSubjectAccessReviewObject){
            _visitables.remove(this.object);
            if (localSubjectAccessReviewObject!=null){ this.object= new io.alauda.kubernetes.api.model.authorization.LocalSubjectAccessReviewBuilder(localSubjectAccessReviewObject); _visitables.add(this.object);} return (A) this;
    }

    public WatchEventFluent.AuthorizationLocalSubjectAccessReviewObjectNested withNewAuthorizationLocalSubjectAccessReviewObject(){
            return new AuthorizationLocalSubjectAccessReviewObjectNestedImpl();
    }

    public WatchEventFluent.AuthorizationLocalSubjectAccessReviewObjectNested withNewLocalSubjectAccessReviewObjectLike(io.alauda.kubernetes.api.model.authorization.LocalSubjectAccessReview item){
            return new AuthorizationLocalSubjectAccessReviewObjectNestedImpl(item);
    }

    public A withStatefulSetObject(StatefulSet statefulSetObject){
            _visitables.remove(this.object);
            if (statefulSetObject!=null){ this.object= new StatefulSetBuilder(statefulSetObject); _visitables.add(this.object);} return (A) this;
    }

    public WatchEventFluent.StatefulSetObjectNested withNewStatefulSetObject(){
            return new StatefulSetObjectNestedImpl();
    }

    public WatchEventFluent.StatefulSetObjectNested withNewStatefulSetObjectLike(StatefulSet item){
            return new StatefulSetObjectNestedImpl(item);
    }

    public A withPipelineTaskArgumentSchemaObject(PipelineTaskArgumentSchema pipelineTaskArgumentSchemaObject){
            _visitables.remove(this.object);
            if (pipelineTaskArgumentSchemaObject!=null){ this.object= new PipelineTaskArgumentSchemaBuilder(pipelineTaskArgumentSchemaObject); _visitables.add(this.object);} return (A) this;
    }

    public WatchEventFluent.PipelineTaskArgumentSchemaObjectNested withNewPipelineTaskArgumentSchemaObject(){
            return new PipelineTaskArgumentSchemaObjectNestedImpl();
    }

    public WatchEventFluent.PipelineTaskArgumentSchemaObjectNested withNewPipelineTaskArgumentSchemaObjectLike(PipelineTaskArgumentSchema item){
            return new PipelineTaskArgumentSchemaObjectNestedImpl(item);
    }

    public A withNewPipelineTaskArgumentSchemaObject(String type){
            return (A)withPipelineTaskArgumentSchemaObject(new PipelineTaskArgumentSchema(type));
    }

    public A withSourceBuildStrategyObject(SourceBuildStrategy sourceBuildStrategyObject){
            _visitables.remove(this.object);
            if (sourceBuildStrategyObject!=null){ this.object= new SourceBuildStrategyBuilder(sourceBuildStrategyObject); _visitables.add(this.object);} return (A) this;
    }

    public WatchEventFluent.SourceBuildStrategyObjectNested withNewSourceBuildStrategyObject(){
            return new SourceBuildStrategyObjectNestedImpl();
    }

    public WatchEventFluent.SourceBuildStrategyObjectNested withNewSourceBuildStrategyObjectLike(SourceBuildStrategy item){
            return new SourceBuildStrategyObjectNestedImpl(item);
    }

    public A withContainerObject(Container containerObject){
            _visitables.remove(this.object);
            if (containerObject!=null){ this.object= new ContainerBuilder(containerObject); _visitables.add(this.object);} return (A) this;
    }

    public WatchEventFluent.ContainerObjectNested withNewContainerObject(){
            return new ContainerObjectNestedImpl();
    }

    public WatchEventFluent.ContainerObjectNested withNewContainerObjectLike(Container item){
            return new ContainerObjectNestedImpl(item);
    }

    public A withPipelineTemplateTaskInstanceObject(PipelineTemplateTaskInstance pipelineTemplateTaskInstanceObject){
            _visitables.remove(this.object);
            if (pipelineTemplateTaskInstanceObject!=null){ this.object= new PipelineTemplateTaskInstanceBuilder(pipelineTemplateTaskInstanceObject); _visitables.add(this.object);} return (A) this;
    }

    public WatchEventFluent.PipelineTemplateTaskInstanceObjectNested withNewPipelineTemplateTaskInstanceObject(){
            return new PipelineTemplateTaskInstanceObjectNestedImpl();
    }

    public WatchEventFluent.PipelineTemplateTaskInstanceObjectNested withNewPipelineTemplateTaskInstanceObjectLike(PipelineTemplateTaskInstance item){
            return new PipelineTemplateTaskInstanceObjectNestedImpl(item);
    }

    public A withPipelineTaskOptionObject(PipelineTaskOption pipelineTaskOptionObject){
            _visitables.remove(this.object);
            if (pipelineTaskOptionObject!=null){ this.object= new PipelineTaskOptionBuilder(pipelineTaskOptionObject); _visitables.add(this.object);} return (A) this;
    }

    public WatchEventFluent.PipelineTaskOptionObjectNested withNewPipelineTaskOptionObject(){
            return new PipelineTaskOptionObjectNestedImpl();
    }

    public WatchEventFluent.PipelineTaskOptionObjectNested withNewPipelineTaskOptionObjectLike(PipelineTaskOption item){
            return new PipelineTaskOptionObjectNestedImpl(item);
    }

    public A withNewPipelineTaskOptionObject(Long timeout){
            return (A)withPipelineTaskOptionObject(new PipelineTaskOption(timeout));
    }

    public A withClusterRoleBindingListObject(ClusterRoleBindingList clusterRoleBindingListObject){
            _visitables.remove(this.object);
            if (clusterRoleBindingListObject!=null){ this.object= new ClusterRoleBindingListBuilder(clusterRoleBindingListObject); _visitables.add(this.object);} return (A) this;
    }

    public WatchEventFluent.ClusterRoleBindingListObjectNested withNewClusterRoleBindingListObject(){
            return new ClusterRoleBindingListObjectNestedImpl();
    }

    public WatchEventFluent.ClusterRoleBindingListObjectNested withNewClusterRoleBindingListObjectLike(ClusterRoleBindingList item){
            return new ClusterRoleBindingListObjectNestedImpl(item);
    }

    public A withOAuthClientObject(OAuthClient oAuthClientObject){
            _visitables.remove(this.object);
            if (oAuthClientObject!=null){ this.object= new OAuthClientBuilder(oAuthClientObject); _visitables.add(this.object);} return (A) this;
    }

    public WatchEventFluent.OAuthClientObjectNested withNewOAuthClientObject(){
            return new OAuthClientObjectNestedImpl();
    }

    public WatchEventFluent.OAuthClientObjectNested withNewOAuthClientObjectLike(OAuthClient item){
            return new OAuthClientObjectNestedImpl(item);
    }

    public A withCronJobSpecObject(CronJobSpec cronJobSpecObject){
            _visitables.remove(this.object);
            if (cronJobSpecObject!=null){ this.object= new CronJobSpecBuilder(cronJobSpecObject); _visitables.add(this.object);} return (A) this;
    }

    public WatchEventFluent.CronJobSpecObjectNested withNewCronJobSpecObject(){
            return new CronJobSpecObjectNestedImpl();
    }

    public WatchEventFluent.CronJobSpecObjectNested withNewCronJobSpecObjectLike(CronJobSpec item){
            return new CronJobSpecObjectNestedImpl(item);
    }

    public A withPipelineTriggerObject(PipelineTrigger pipelineTriggerObject){
            _visitables.remove(this.object);
            if (pipelineTriggerObject!=null){ this.object= new PipelineTriggerBuilder(pipelineTriggerObject); _visitables.add(this.object);} return (A) this;
    }

    public WatchEventFluent.PipelineTriggerObjectNested withNewPipelineTriggerObject(){
            return new PipelineTriggerObjectNestedImpl();
    }

    public WatchEventFluent.PipelineTriggerObjectNested withNewPipelineTriggerObjectLike(PipelineTrigger item){
            return new PipelineTriggerObjectNestedImpl(item);
    }

    public A withDeploymentRollbackObject(DeploymentRollback deploymentRollbackObject){
            _visitables.remove(this.object);
            if (deploymentRollbackObject!=null){ this.object= new DeploymentRollbackBuilder(deploymentRollbackObject); _visitables.add(this.object);} return (A) this;
    }

    public WatchEventFluent.DeploymentRollbackObjectNested withNewDeploymentRollbackObject(){
            return new DeploymentRollbackObjectNestedImpl();
    }

    public WatchEventFluent.DeploymentRollbackObjectNested withNewDeploymentRollbackObjectLike(DeploymentRollback item){
            return new DeploymentRollbackObjectNestedImpl(item);
    }

    public A withSecretVolumeSourceObject(SecretVolumeSource secretVolumeSourceObject){
            _visitables.remove(this.object);
            if (secretVolumeSourceObject!=null){ this.object= new SecretVolumeSourceBuilder(secretVolumeSourceObject); _visitables.add(this.object);} return (A) this;
    }

    public WatchEventFluent.SecretVolumeSourceObjectNested withNewSecretVolumeSourceObject(){
            return new SecretVolumeSourceObjectNestedImpl();
    }

    public WatchEventFluent.SecretVolumeSourceObjectNested withNewSecretVolumeSourceObjectLike(SecretVolumeSource item){
            return new SecretVolumeSourceObjectNestedImpl(item);
    }

    public A withTemplateObject(Template templateObject){
            _visitables.remove(this.object);
            if (templateObject!=null){ this.object= new TemplateBuilder(templateObject); _visitables.add(this.object);} return (A) this;
    }

    public WatchEventFluent.TemplateObjectNested withNewTemplateObject(){
            return new TemplateObjectNestedImpl();
    }

    public WatchEventFluent.TemplateObjectNested withNewTemplateObjectLike(Template item){
            return new TemplateObjectNestedImpl(item);
    }

    public A withLoadBalancerIngressObject(LoadBalancerIngress loadBalancerIngressObject){
            _visitables.remove(this.object);
            if (loadBalancerIngressObject!=null){ this.object= new LoadBalancerIngressBuilder(loadBalancerIngressObject); _visitables.add(this.object);} return (A) this;
    }

    public WatchEventFluent.LoadBalancerIngressObjectNested withNewLoadBalancerIngressObject(){
            return new LoadBalancerIngressObjectNestedImpl();
    }

    public WatchEventFluent.LoadBalancerIngressObjectNested withNewLoadBalancerIngressObjectLike(LoadBalancerIngress item){
            return new LoadBalancerIngressObjectNestedImpl(item);
    }

    public A withNewLoadBalancerIngressObject(String hostname,String ip){
            return (A)withLoadBalancerIngressObject(new LoadBalancerIngress(hostname, ip));
    }

    public A withHorizontalPodAutoscalerSpecObject(HorizontalPodAutoscalerSpec horizontalPodAutoscalerSpecObject){
            _visitables.remove(this.object);
            if (horizontalPodAutoscalerSpecObject!=null){ this.object= new HorizontalPodAutoscalerSpecBuilder(horizontalPodAutoscalerSpecObject); _visitables.add(this.object);} return (A) this;
    }

    public WatchEventFluent.HorizontalPodAutoscalerSpecObjectNested withNewHorizontalPodAutoscalerSpecObject(){
            return new HorizontalPodAutoscalerSpecObjectNestedImpl();
    }

    public WatchEventFluent.HorizontalPodAutoscalerSpecObjectNested withNewHorizontalPodAutoscalerSpecObjectLike(HorizontalPodAutoscalerSpec item){
            return new HorizontalPodAutoscalerSpecObjectNestedImpl(item);
    }

    public A withProjectNamespaceStatusObject(ProjectNamespaceStatus projectNamespaceStatusObject){
            _visitables.remove(this.object);
            if (projectNamespaceStatusObject!=null){ this.object= new ProjectNamespaceStatusBuilder(projectNamespaceStatusObject); _visitables.add(this.object);} return (A) this;
    }

    public WatchEventFluent.ProjectNamespaceStatusObjectNested withNewProjectNamespaceStatusObject(){
            return new ProjectNamespaceStatusObjectNestedImpl();
    }

    public WatchEventFluent.ProjectNamespaceStatusObjectNested withNewProjectNamespaceStatusObjectLike(ProjectNamespaceStatus item){
            return new ProjectNamespaceStatusObjectNestedImpl(item);
    }

    public A withNewProjectNamespaceStatusObject(String name,String status){
            return (A)withProjectNamespaceStatusObject(new ProjectNamespaceStatus(name, status));
    }

    public A withBuildConfigObject(BuildConfig buildConfigObject){
            _visitables.remove(this.object);
            if (buildConfigObject!=null){ this.object= new BuildConfigBuilder(buildConfigObject); _visitables.add(this.object);} return (A) this;
    }

    public WatchEventFluent.BuildConfigObjectNested withNewBuildConfigObject(){
            return new BuildConfigObjectNestedImpl();
    }

    public WatchEventFluent.BuildConfigObjectNested withNewBuildConfigObjectLike(BuildConfig item){
            return new BuildConfigObjectNestedImpl(item);
    }

    public A withKubernetesRunAsUserStrategyOptionsObject(KubernetesRunAsUserStrategyOptions kubernetesRunAsUserStrategyOptionsObject){
            _visitables.remove(this.object);
            if (kubernetesRunAsUserStrategyOptionsObject!=null){ this.object= new KubernetesRunAsUserStrategyOptionsBuilder(kubernetesRunAsUserStrategyOptionsObject); _visitables.add(this.object);} return (A) this;
    }

    public WatchEventFluent.KubernetesRunAsUserStrategyOptionsObjectNested withNewKubernetesRunAsUserStrategyOptionsObject(){
            return new KubernetesRunAsUserStrategyOptionsObjectNestedImpl();
    }

    public WatchEventFluent.KubernetesRunAsUserStrategyOptionsObjectNested withNewKubernetesRunAsUserStrategyOptionsObjectLike(KubernetesRunAsUserStrategyOptions item){
            return new KubernetesRunAsUserStrategyOptionsObjectNestedImpl(item);
    }

    public A withPolicyListObject(PolicyList policyListObject){
            _visitables.remove(this.object);
            if (policyListObject!=null){ this.object= new PolicyListBuilder(policyListObject); _visitables.add(this.object);} return (A) this;
    }

    public WatchEventFluent.PolicyListObjectNested withNewPolicyListObject(){
            return new PolicyListObjectNestedImpl();
    }

    public WatchEventFluent.PolicyListObjectNested withNewPolicyListObjectLike(PolicyList item){
            return new PolicyListObjectNestedImpl(item);
    }

    public A withStatusDetailsObject(StatusDetails statusDetailsObject){
            _visitables.remove(this.object);
            if (statusDetailsObject!=null){ this.object= new StatusDetailsBuilder(statusDetailsObject); _visitables.add(this.object);} return (A) this;
    }

    public WatchEventFluent.StatusDetailsObjectNested withNewStatusDetailsObject(){
            return new StatusDetailsObjectNestedImpl();
    }

    public WatchEventFluent.StatusDetailsObjectNested withNewStatusDetailsObjectLike(StatusDetails item){
            return new StatusDetailsObjectNestedImpl(item);
    }

    public A withRoleBindingListObject(RoleBindingList roleBindingListObject){
            _visitables.remove(this.object);
            if (roleBindingListObject!=null){ this.object= new RoleBindingListBuilder(roleBindingListObject); _visitables.add(this.object);} return (A) this;
    }

    public WatchEventFluent.RoleBindingListObjectNested withNewRoleBindingListObject(){
            return new RoleBindingListObjectNestedImpl();
    }

    public WatchEventFluent.RoleBindingListObjectNested withNewRoleBindingListObjectLike(RoleBindingList item){
            return new RoleBindingListObjectNestedImpl(item);
    }

    public A withGitHubWebHookCauseObject(GitHubWebHookCause gitHubWebHookCauseObject){
            _visitables.remove(this.object);
            if (gitHubWebHookCauseObject!=null){ this.object= new GitHubWebHookCauseBuilder(gitHubWebHookCauseObject); _visitables.add(this.object);} return (A) this;
    }

    public WatchEventFluent.GitHubWebHookCauseObjectNested withNewGitHubWebHookCauseObject(){
            return new GitHubWebHookCauseObjectNestedImpl();
    }

    public WatchEventFluent.GitHubWebHookCauseObjectNested withNewGitHubWebHookCauseObjectLike(GitHubWebHookCause item){
            return new GitHubWebHookCauseObjectNestedImpl(item);
    }

    public A withPodSecurityPolicyObject(PodSecurityPolicy podSecurityPolicyObject){
            _visitables.remove(this.object);
            if (podSecurityPolicyObject!=null){ this.object= new PodSecurityPolicyBuilder(podSecurityPolicyObject); _visitables.add(this.object);} return (A) this;
    }

    public WatchEventFluent.PodSecurityPolicyObjectNested withNewPodSecurityPolicyObject(){
            return new PodSecurityPolicyObjectNestedImpl();
    }

    public WatchEventFluent.PodSecurityPolicyObjectNested withNewPodSecurityPolicyObjectLike(PodSecurityPolicy item){
            return new PodSecurityPolicyObjectNestedImpl(item);
    }

    public A withPipelineObject(Pipeline pipelineObject){
            _visitables.remove(this.object);
            if (pipelineObject!=null){ this.object= new PipelineBuilder(pipelineObject); _visitables.add(this.object);} return (A) this;
    }

    public WatchEventFluent.PipelineObjectNested withNewPipelineObject(){
            return new PipelineObjectNestedImpl();
    }

    public WatchEventFluent.PipelineObjectNested withNewPipelineObjectLike(Pipeline item){
            return new PipelineObjectNestedImpl(item);
    }

    public A withCustomResourceDefinitionStatusObject(CustomResourceDefinitionStatus customResourceDefinitionStatusObject){
            _visitables.remove(this.object);
            if (customResourceDefinitionStatusObject!=null){ this.object= new CustomResourceDefinitionStatusBuilder(customResourceDefinitionStatusObject); _visitables.add(this.object);} return (A) this;
    }

    public WatchEventFluent.CustomResourceDefinitionStatusObjectNested withNewCustomResourceDefinitionStatusObject(){
            return new CustomResourceDefinitionStatusObjectNestedImpl();
    }

    public WatchEventFluent.CustomResourceDefinitionStatusObjectNested withNewCustomResourceDefinitionStatusObjectLike(CustomResourceDefinitionStatus item){
            return new CustomResourceDefinitionStatusObjectNestedImpl(item);
    }

    public A withNetworkPolicySpecObject(NetworkPolicySpec networkPolicySpecObject){
            _visitables.remove(this.object);
            if (networkPolicySpecObject!=null){ this.object= new NetworkPolicySpecBuilder(networkPolicySpecObject); _visitables.add(this.object);} return (A) this;
    }

    public WatchEventFluent.NetworkPolicySpecObjectNested withNewNetworkPolicySpecObject(){
            return new NetworkPolicySpecObjectNestedImpl();
    }

    public WatchEventFluent.NetworkPolicySpecObjectNested withNewNetworkPolicySpecObjectLike(NetworkPolicySpec item){
            return new NetworkPolicySpecObjectNestedImpl(item);
    }

    public A withClusterPolicyBindingListObject(ClusterPolicyBindingList clusterPolicyBindingListObject){
            _visitables.remove(this.object);
            if (clusterPolicyBindingListObject!=null){ this.object= new ClusterPolicyBindingListBuilder(clusterPolicyBindingListObject); _visitables.add(this.object);} return (A) this;
    }

    public WatchEventFluent.ClusterPolicyBindingListObjectNested withNewClusterPolicyBindingListObject(){
            return new ClusterPolicyBindingListObjectNestedImpl();
    }

    public WatchEventFluent.ClusterPolicyBindingListObjectNested withNewClusterPolicyBindingListObjectLike(ClusterPolicyBindingList item){
            return new ClusterPolicyBindingListObjectNestedImpl(item);
    }

    public A withPodListObject(PodList podListObject){
            _visitables.remove(this.object);
            if (podListObject!=null){ this.object= new PodListBuilder(podListObject); _visitables.add(this.object);} return (A) this;
    }

    public WatchEventFluent.PodListObjectNested withNewPodListObject(){
            return new PodListObjectNestedImpl();
    }

    public WatchEventFluent.PodListObjectNested withNewPodListObjectLike(PodList item){
            return new PodListObjectNestedImpl(item);
    }

    public A withParameterObject(Parameter parameterObject){
            _visitables.remove(this.object);
            if (parameterObject!=null){ this.object= new ParameterBuilder(parameterObject); _visitables.add(this.object);} return (A) this;
    }

    public WatchEventFluent.ParameterObjectNested withNewParameterObject(){
            return new ParameterObjectNestedImpl();
    }

    public WatchEventFluent.ParameterObjectNested withNewParameterObjectLike(Parameter item){
            return new ParameterObjectNestedImpl(item);
    }

    public A withOAuthClientAuthorizationListObject(OAuthClientAuthorizationList oAuthClientAuthorizationListObject){
            _visitables.remove(this.object);
            if (oAuthClientAuthorizationListObject!=null){ this.object= new OAuthClientAuthorizationListBuilder(oAuthClientAuthorizationListObject); _visitables.add(this.object);} return (A) this;
    }

    public WatchEventFluent.OAuthClientAuthorizationListObjectNested withNewOAuthClientAuthorizationListObject(){
            return new OAuthClientAuthorizationListObjectNestedImpl();
    }

    public WatchEventFluent.OAuthClientAuthorizationListObjectNested withNewOAuthClientAuthorizationListObjectLike(OAuthClientAuthorizationList item){
            return new OAuthClientAuthorizationListObjectNestedImpl(item);
    }

    public A withLimitRangeSpecObject(LimitRangeSpec limitRangeSpecObject){
            _visitables.remove(this.object);
            if (limitRangeSpecObject!=null){ this.object= new LimitRangeSpecBuilder(limitRangeSpecObject); _visitables.add(this.object);} return (A) this;
    }

    public WatchEventFluent.LimitRangeSpecObjectNested withNewLimitRangeSpecObject(){
            return new LimitRangeSpecObjectNestedImpl();
    }

    public WatchEventFluent.LimitRangeSpecObjectNested withNewLimitRangeSpecObjectLike(LimitRangeSpec item){
            return new LimitRangeSpecObjectNestedImpl(item);
    }

    public A withProjectListObject(ProjectList projectListObject){
            _visitables.remove(this.object);
            if (projectListObject!=null){ this.object= new ProjectListBuilder(projectListObject); _visitables.add(this.object);} return (A) this;
    }

    public WatchEventFluent.ProjectListObjectNested withNewProjectListObject(){
            return new ProjectListObjectNestedImpl();
    }

    public WatchEventFluent.ProjectListObjectNested withNewProjectListObjectLike(ProjectList item){
            return new ProjectListObjectNestedImpl(item);
    }

    public A withFSGroupStrategyOptionsObject(io.alauda.kubernetes.api.model.extensions.FSGroupStrategyOptions fSGroupStrategyOptionsObject){
            _visitables.remove(this.object);
            if (fSGroupStrategyOptionsObject!=null){ this.object= new io.alauda.kubernetes.api.model.extensions.FSGroupStrategyOptionsBuilder(fSGroupStrategyOptionsObject); _visitables.add(this.object);} return (A) this;
    }

    public WatchEventFluent.ExtensionsFSGroupStrategyOptionsObjectNested withNewExtensionsFSGroupStrategyOptionsObject(){
            return new ExtensionsFSGroupStrategyOptionsObjectNestedImpl();
    }

    public WatchEventFluent.ExtensionsFSGroupStrategyOptionsObjectNested withNewFSGroupStrategyOptionsObjectLike(io.alauda.kubernetes.api.model.extensions.FSGroupStrategyOptions item){
            return new ExtensionsFSGroupStrategyOptionsObjectNestedImpl(item);
    }

    public A withTagImportPolicyObject(TagImportPolicy tagImportPolicyObject){
            _visitables.remove(this.object);
            if (tagImportPolicyObject!=null){ this.object= new TagImportPolicyBuilder(tagImportPolicyObject); _visitables.add(this.object);} return (A) this;
    }

    public WatchEventFluent.TagImportPolicyObjectNested withNewTagImportPolicyObject(){
            return new TagImportPolicyObjectNestedImpl();
    }

    public WatchEventFluent.TagImportPolicyObjectNested withNewTagImportPolicyObjectLike(TagImportPolicy item){
            return new TagImportPolicyObjectNestedImpl(item);
    }

    public A withNewTagImportPolicyObject(Boolean insecure,Boolean scheduled){
            return (A)withTagImportPolicyObject(new TagImportPolicy(insecure, scheduled));
    }

    public A withNodeAffinityObject(NodeAffinity nodeAffinityObject){
            _visitables.remove(this.object);
            if (nodeAffinityObject!=null){ this.object= new NodeAffinityBuilder(nodeAffinityObject); _visitables.add(this.object);} return (A) this;
    }

    public WatchEventFluent.NodeAffinityObjectNested withNewNodeAffinityObject(){
            return new NodeAffinityObjectNestedImpl();
    }

    public WatchEventFluent.NodeAffinityObjectNested withNewNodeAffinityObjectLike(NodeAffinity item){
            return new NodeAffinityObjectNestedImpl(item);
    }

    public A withRoleObject(Role roleObject){
            _visitables.remove(this.object);
            if (roleObject!=null){ this.object= new RoleBuilder(roleObject); _visitables.add(this.object);} return (A) this;
    }

    public WatchEventFluent.RoleObjectNested withNewRoleObject(){
            return new RoleObjectNestedImpl();
    }

    public WatchEventFluent.RoleObjectNested withNewRoleObjectLike(Role item){
            return new RoleObjectNestedImpl(item);
    }

    public A withPipelineConfigStatusObject(PipelineConfigStatus pipelineConfigStatusObject){
            _visitables.remove(this.object);
            if (pipelineConfigStatusObject!=null){ this.object= new PipelineConfigStatusBuilder(pipelineConfigStatusObject); _visitables.add(this.object);} return (A) this;
    }

    public WatchEventFluent.PipelineConfigStatusObjectNested withNewPipelineConfigStatusObject(){
            return new PipelineConfigStatusObjectNestedImpl();
    }

    public WatchEventFluent.PipelineConfigStatusObjectNested withNewPipelineConfigStatusObjectLike(PipelineConfigStatus item){
            return new PipelineConfigStatusObjectNestedImpl(item);
    }

    public A withConfigMapListObject(ConfigMapList configMapListObject){
            _visitables.remove(this.object);
            if (configMapListObject!=null){ this.object= new ConfigMapListBuilder(configMapListObject); _visitables.add(this.object);} return (A) this;
    }

    public WatchEventFluent.ConfigMapListObjectNested withNewConfigMapListObject(){
            return new ConfigMapListObjectNestedImpl();
    }

    public WatchEventFluent.ConfigMapListObjectNested withNewConfigMapListObjectLike(ConfigMapList item){
            return new ConfigMapListObjectNestedImpl(item);
    }

    public A withBaseKubernetesListObject(BaseKubernetesList baseKubernetesListObject){
            _visitables.remove(this.object);
            if (baseKubernetesListObject!=null){ this.object= new BaseKubernetesListBuilder(baseKubernetesListObject); _visitables.add(this.object);} return (A) this;
    }

    public WatchEventFluent.BaseKubernetesListObjectNested withNewBaseKubernetesListObject(){
            return new BaseKubernetesListObjectNestedImpl();
    }

    public WatchEventFluent.BaseKubernetesListObjectNested withNewBaseKubernetesListObjectLike(BaseKubernetesList item){
            return new BaseKubernetesListObjectNestedImpl(item);
    }

    public A withStatusObject(Status statusObject){
            _visitables.remove(this.object);
            if (statusObject!=null){ this.object= new StatusBuilder(statusObject); _visitables.add(this.object);} return (A) this;
    }

    public WatchEventFluent.StatusObjectNested withNewStatusObject(){
            return new StatusObjectNestedImpl();
    }

    public WatchEventFluent.StatusObjectNested withNewStatusObjectLike(Status item){
            return new StatusObjectNestedImpl(item);
    }

    public A withCronJobObject(CronJob cronJobObject){
            _visitables.remove(this.object);
            if (cronJobObject!=null){ this.object= new CronJobBuilder(cronJobObject); _visitables.add(this.object);} return (A) this;
    }

    public WatchEventFluent.CronJobObjectNested withNewCronJobObject(){
            return new CronJobObjectNestedImpl();
    }

    public WatchEventFluent.CronJobObjectNested withNewCronJobObjectLike(CronJob item){
            return new CronJobObjectNestedImpl(item);
    }

    public A withBitbucketWebHookCauseObject(BitbucketWebHookCause bitbucketWebHookCauseObject){
            _visitables.remove(this.object);
            if (bitbucketWebHookCauseObject!=null){ this.object= new BitbucketWebHookCauseBuilder(bitbucketWebHookCauseObject); _visitables.add(this.object);} return (A) this;
    }

    public WatchEventFluent.BitbucketWebHookCauseObjectNested withNewBitbucketWebHookCauseObject(){
            return new BitbucketWebHookCauseObjectNestedImpl();
    }

    public WatchEventFluent.BitbucketWebHookCauseObjectNested withNewBitbucketWebHookCauseObjectLike(BitbucketWebHookCause item){
            return new BitbucketWebHookCauseObjectNestedImpl(item);
    }

    public A withSubjectAccessReviewObject(SubjectAccessReview subjectAccessReviewObject){
            _visitables.remove(this.object);
            if (subjectAccessReviewObject!=null){ this.object= new SubjectAccessReviewBuilder(subjectAccessReviewObject); _visitables.add(this.object);} return (A) this;
    }

    public WatchEventFluent.SubjectAccessReviewObjectNested withNewSubjectAccessReviewObject(){
            return new SubjectAccessReviewObjectNestedImpl();
    }

    public WatchEventFluent.SubjectAccessReviewObjectNested withNewSubjectAccessReviewObjectLike(SubjectAccessReview item){
            return new SubjectAccessReviewObjectNestedImpl(item);
    }

    public A withNodeStatusObject(NodeStatus nodeStatusObject){
            _visitables.remove(this.object);
            if (nodeStatusObject!=null){ this.object= new NodeStatusBuilder(nodeStatusObject); _visitables.add(this.object);} return (A) this;
    }

    public WatchEventFluent.NodeStatusObjectNested withNewNodeStatusObject(){
            return new NodeStatusObjectNestedImpl();
    }

    public WatchEventFluent.NodeStatusObjectNested withNewNodeStatusObjectLike(NodeStatus item){
            return new NodeStatusObjectNestedImpl(item);
    }

    public A withTokenReviewSpecObject(TokenReviewSpec tokenReviewSpecObject){
            _visitables.remove(this.object);
            if (tokenReviewSpecObject!=null){ this.object= new TokenReviewSpecBuilder(tokenReviewSpecObject); _visitables.add(this.object);} return (A) this;
    }

    public WatchEventFluent.TokenReviewSpecObjectNested withNewTokenReviewSpecObject(){
            return new TokenReviewSpecObjectNestedImpl();
    }

    public WatchEventFluent.TokenReviewSpecObjectNested withNewTokenReviewSpecObjectLike(TokenReviewSpec item){
            return new TokenReviewSpecObjectNestedImpl(item);
    }

    public A withNewTokenReviewSpecObject(String token){
            return (A)withTokenReviewSpecObject(new TokenReviewSpec(token));
    }

    public A withEventListObject(EventList eventListObject){
            _visitables.remove(this.object);
            if (eventListObject!=null){ this.object= new EventListBuilder(eventListObject); _visitables.add(this.object);} return (A) this;
    }

    public WatchEventFluent.EventListObjectNested withNewEventListObject(){
            return new EventListObjectNestedImpl();
    }

    public WatchEventFluent.EventListObjectNested withNewEventListObjectLike(EventList item){
            return new EventListObjectNestedImpl(item);
    }

    public A withPipelineEnvironmentObject(PipelineEnvironment pipelineEnvironmentObject){
            _visitables.remove(this.object);
            if (pipelineEnvironmentObject!=null){ this.object= new PipelineEnvironmentBuilder(pipelineEnvironmentObject); _visitables.add(this.object);} return (A) this;
    }

    public WatchEventFluent.PipelineEnvironmentObjectNested withNewPipelineEnvironmentObject(){
            return new PipelineEnvironmentObjectNestedImpl();
    }

    public WatchEventFluent.PipelineEnvironmentObjectNested withNewPipelineEnvironmentObjectLike(PipelineEnvironment item){
            return new PipelineEnvironmentObjectNestedImpl(item);
    }

    public A withNewPipelineEnvironmentObject(String name,String value){
            return (A)withPipelineEnvironmentObject(new PipelineEnvironment(name, value));
    }

    public A withUserObject(User userObject){
            _visitables.remove(this.object);
            if (userObject!=null){ this.object= new UserBuilder(userObject); _visitables.add(this.object);} return (A) this;
    }

    public WatchEventFluent.UserObjectNested withNewUserObject(){
            return new UserObjectNestedImpl();
    }

    public WatchEventFluent.UserObjectNested withNewUserObjectLike(User item){
            return new UserObjectNestedImpl(item);
    }

    public A withSubjectAccessReviewObject(io.alauda.kubernetes.api.model.authorization.SubjectAccessReview subjectAccessReviewObject){
            _visitables.remove(this.object);
            if (subjectAccessReviewObject!=null){ this.object= new io.alauda.kubernetes.api.model.authorization.SubjectAccessReviewBuilder(subjectAccessReviewObject); _visitables.add(this.object);} return (A) this;
    }

    public WatchEventFluent.AuthorizationSubjectAccessReviewObjectNested withNewAuthorizationSubjectAccessReviewObject(){
            return new AuthorizationSubjectAccessReviewObjectNestedImpl();
    }

    public WatchEventFluent.AuthorizationSubjectAccessReviewObjectNested withNewSubjectAccessReviewObjectLike(io.alauda.kubernetes.api.model.authorization.SubjectAccessReview item){
            return new AuthorizationSubjectAccessReviewObjectNestedImpl(item);
    }

    public A withSELinuxOptionsObject(SELinuxOptions sELinuxOptionsObject){
            _visitables.remove(this.object);
            if (sELinuxOptionsObject!=null){ this.object= new SELinuxOptionsBuilder(sELinuxOptionsObject); _visitables.add(this.object);} return (A) this;
    }

    public WatchEventFluent.SELinuxOptionsObjectNested withNewSELinuxOptionsObject(){
            return new SELinuxOptionsObjectNestedImpl();
    }

    public WatchEventFluent.SELinuxOptionsObjectNested withNewSELinuxOptionsObjectLike(SELinuxOptions item){
            return new SELinuxOptionsObjectNestedImpl(item);
    }

    public A withNewSELinuxOptionsObject(String level,String role,String type,String user){
            return (A)withSELinuxOptionsObject(new SELinuxOptions(level, role, type, user));
    }

    public A withDeploymentSpecObject(DeploymentSpec deploymentSpecObject){
            _visitables.remove(this.object);
            if (deploymentSpecObject!=null){ this.object= new DeploymentSpecBuilder(deploymentSpecObject); _visitables.add(this.object);} return (A) this;
    }

    public WatchEventFluent.DeploymentSpecObjectNested withNewDeploymentSpecObject(){
            return new DeploymentSpecObjectNestedImpl();
    }

    public WatchEventFluent.DeploymentSpecObjectNested withNewDeploymentSpecObjectLike(DeploymentSpec item){
            return new DeploymentSpecObjectNestedImpl(item);
    }

    public A withPersistentVolumeClaimListObject(PersistentVolumeClaimList persistentVolumeClaimListObject){
            _visitables.remove(this.object);
            if (persistentVolumeClaimListObject!=null){ this.object= new PersistentVolumeClaimListBuilder(persistentVolumeClaimListObject); _visitables.add(this.object);} return (A) this;
    }

    public WatchEventFluent.PersistentVolumeClaimListObjectNested withNewPersistentVolumeClaimListObject(){
            return new PersistentVolumeClaimListObjectNestedImpl();
    }

    public WatchEventFluent.PersistentVolumeClaimListObjectNested withNewPersistentVolumeClaimListObjectLike(PersistentVolumeClaimList item){
            return new PersistentVolumeClaimListObjectNestedImpl(item);
    }

    public A withPipelineStatusObject(PipelineStatus pipelineStatusObject){
            _visitables.remove(this.object);
            if (pipelineStatusObject!=null){ this.object= new PipelineStatusBuilder(pipelineStatusObject); _visitables.add(this.object);} return (A) this;
    }

    public WatchEventFluent.PipelineStatusObjectNested withNewPipelineStatusObject(){
            return new PipelineStatusObjectNestedImpl();
    }

    public WatchEventFluent.PipelineStatusObjectNested withNewPipelineStatusObjectLike(PipelineStatus item){
            return new PipelineStatusObjectNestedImpl(item);
    }

    public A withCustomBuildStrategyObject(CustomBuildStrategy customBuildStrategyObject){
            _visitables.remove(this.object);
            if (customBuildStrategyObject!=null){ this.object= new CustomBuildStrategyBuilder(customBuildStrategyObject); _visitables.add(this.object);} return (A) this;
    }

    public WatchEventFluent.CustomBuildStrategyObjectNested withNewCustomBuildStrategyObject(){
            return new CustomBuildStrategyObjectNestedImpl();
    }

    public WatchEventFluent.CustomBuildStrategyObjectNested withNewCustomBuildStrategyObjectLike(CustomBuildStrategy item){
            return new CustomBuildStrategyObjectNestedImpl(item);
    }

    public A withBuildTriggerPolicyObject(BuildTriggerPolicy buildTriggerPolicyObject){
            _visitables.remove(this.object);
            if (buildTriggerPolicyObject!=null){ this.object= new BuildTriggerPolicyBuilder(buildTriggerPolicyObject); _visitables.add(this.object);} return (A) this;
    }

    public WatchEventFluent.BuildTriggerPolicyObjectNested withNewBuildTriggerPolicyObject(){
            return new BuildTriggerPolicyObjectNestedImpl();
    }

    public WatchEventFluent.BuildTriggerPolicyObjectNested withNewBuildTriggerPolicyObjectLike(BuildTriggerPolicy item){
            return new BuildTriggerPolicyObjectNestedImpl(item);
    }

    public A withPipelineStrategyObject(PipelineStrategy pipelineStrategyObject){
            _visitables.remove(this.object);
            if (pipelineStrategyObject!=null){ this.object= new PipelineStrategyBuilder(pipelineStrategyObject); _visitables.add(this.object);} return (A) this;
    }

    public WatchEventFluent.PipelineStrategyObjectNested withNewPipelineStrategyObject(){
            return new PipelineStrategyObjectNestedImpl();
    }

    public WatchEventFluent.PipelineStrategyObjectNested withNewPipelineStrategyObjectLike(PipelineStrategy item){
            return new PipelineStrategyObjectNestedImpl(item);
    }

    public A withConditionObject(Condition conditionObject){
            _visitables.remove(this.object);
            if (conditionObject!=null){ this.object= new ConditionBuilder(conditionObject); _visitables.add(this.object);} return (A) this;
    }

    public WatchEventFluent.ConditionObjectNested withNewConditionObject(){
            return new ConditionObjectNestedImpl();
    }

    public WatchEventFluent.ConditionObjectNested withNewConditionObjectLike(Condition item){
            return new ConditionObjectNestedImpl(item);
    }

    public A withNewConditionObject(String lastAttempt,String message,String reason,String status,String type){
            return (A)withConditionObject(new Condition(lastAttempt, message, reason, status, type));
    }

    public A withContainerStateWaitingObject(ContainerStateWaiting containerStateWaitingObject){
            _visitables.remove(this.object);
            if (containerStateWaitingObject!=null){ this.object= new ContainerStateWaitingBuilder(containerStateWaitingObject); _visitables.add(this.object);} return (A) this;
    }

    public WatchEventFluent.ContainerStateWaitingObjectNested withNewContainerStateWaitingObject(){
            return new ContainerStateWaitingObjectNestedImpl();
    }

    public WatchEventFluent.ContainerStateWaitingObjectNested withNewContainerStateWaitingObjectLike(ContainerStateWaiting item){
            return new ContainerStateWaitingObjectNestedImpl(item);
    }

    public A withNewContainerStateWaitingObject(String message,String reason){
            return (A)withContainerStateWaitingObject(new ContainerStateWaiting(message, reason));
    }

    public A withSourceRevisionObject(SourceRevision sourceRevisionObject){
            _visitables.remove(this.object);
            if (sourceRevisionObject!=null){ this.object= new SourceRevisionBuilder(sourceRevisionObject); _visitables.add(this.object);} return (A) this;
    }

    public WatchEventFluent.SourceRevisionObjectNested withNewSourceRevisionObject(){
            return new SourceRevisionObjectNestedImpl();
    }

    public WatchEventFluent.SourceRevisionObjectNested withNewSourceRevisionObjectLike(SourceRevision item){
            return new SourceRevisionObjectNestedImpl(item);
    }

    public A withScaleSpecObject(ScaleSpec scaleSpecObject){
            _visitables.remove(this.object);
            if (scaleSpecObject!=null){ this.object= new ScaleSpecBuilder(scaleSpecObject); _visitables.add(this.object);} return (A) this;
    }

    public WatchEventFluent.ScaleSpecObjectNested withNewScaleSpecObject(){
            return new ScaleSpecObjectNestedImpl();
    }

    public WatchEventFluent.ScaleSpecObjectNested withNewScaleSpecObjectLike(ScaleSpec item){
            return new ScaleSpecObjectNestedImpl(item);
    }

    public A withNewScaleSpecObject(Integer replicas){
            return (A)withScaleSpecObject(new ScaleSpec(replicas));
    }

    public A withPreferencesObject(Preferences preferencesObject){
            _visitables.remove(this.object);
            if (preferencesObject!=null){ this.object= new PreferencesBuilder(preferencesObject); _visitables.add(this.object);} return (A) this;
    }

    public WatchEventFluent.PreferencesObjectNested withNewPreferencesObject(){
            return new PreferencesObjectNestedImpl();
    }

    public WatchEventFluent.PreferencesObjectNested withNewPreferencesObjectLike(Preferences item){
            return new PreferencesObjectNestedImpl(item);
    }

    public A withUserListObject(UserList userListObject){
            _visitables.remove(this.object);
            if (userListObject!=null){ this.object= new UserListBuilder(userListObject); _visitables.add(this.object);} return (A) this;
    }

    public WatchEventFluent.UserListObjectNested withNewUserListObject(){
            return new UserListObjectNestedImpl();
    }

    public WatchEventFluent.UserListObjectNested withNewUserListObjectLike(UserList item){
            return new UserListObjectNestedImpl(item);
    }

    public A withNodeDaemonEndpointsObject(NodeDaemonEndpoints nodeDaemonEndpointsObject){
            _visitables.remove(this.object);
            if (nodeDaemonEndpointsObject!=null){ this.object= new NodeDaemonEndpointsBuilder(nodeDaemonEndpointsObject); _visitables.add(this.object);} return (A) this;
    }

    public WatchEventFluent.NodeDaemonEndpointsObjectNested withNewNodeDaemonEndpointsObject(){
            return new NodeDaemonEndpointsObjectNestedImpl();
    }

    public WatchEventFluent.NodeDaemonEndpointsObjectNested withNewNodeDaemonEndpointsObjectLike(NodeDaemonEndpoints item){
            return new NodeDaemonEndpointsObjectNestedImpl(item);
    }

    public A withPersistentVolumeListObject(PersistentVolumeList persistentVolumeListObject){
            _visitables.remove(this.object);
            if (persistentVolumeListObject!=null){ this.object= new PersistentVolumeListBuilder(persistentVolumeListObject); _visitables.add(this.object);} return (A) this;
    }

    public WatchEventFluent.PersistentVolumeListObjectNested withNewPersistentVolumeListObject(){
            return new PersistentVolumeListObjectNestedImpl();
    }

    public WatchEventFluent.PersistentVolumeListObjectNested withNewPersistentVolumeListObjectLike(PersistentVolumeList item){
            return new PersistentVolumeListObjectNestedImpl(item);
    }

    public A withLimitRangeItemObject(LimitRangeItem limitRangeItemObject){
            _visitables.remove(this.object);
            if (limitRangeItemObject!=null){ this.object= new LimitRangeItemBuilder(limitRangeItemObject); _visitables.add(this.object);} return (A) this;
    }

    public WatchEventFluent.LimitRangeItemObjectNested withNewLimitRangeItemObject(){
            return new LimitRangeItemObjectNestedImpl();
    }

    public WatchEventFluent.LimitRangeItemObjectNested withNewLimitRangeItemObjectLike(LimitRangeItem item){
            return new LimitRangeItemObjectNestedImpl(item);
    }

    public A withScopeRestrictionObject(ScopeRestriction scopeRestrictionObject){
            _visitables.remove(this.object);
            if (scopeRestrictionObject!=null){ this.object= new ScopeRestrictionBuilder(scopeRestrictionObject); _visitables.add(this.object);} return (A) this;
    }

    public WatchEventFluent.ScopeRestrictionObjectNested withNewScopeRestrictionObject(){
            return new ScopeRestrictionObjectNestedImpl();
    }

    public WatchEventFluent.ScopeRestrictionObjectNested withNewScopeRestrictionObjectLike(ScopeRestriction item){
            return new ScopeRestrictionObjectNestedImpl(item);
    }

    public A withJenkinsAgentObject(JenkinsAgent jenkinsAgentObject){
            _visitables.remove(this.object);
            if (jenkinsAgentObject!=null){ this.object= new JenkinsAgentBuilder(jenkinsAgentObject); _visitables.add(this.object);} return (A) this;
    }

    public WatchEventFluent.JenkinsAgentObjectNested withNewJenkinsAgentObject(){
            return new JenkinsAgentObjectNestedImpl();
    }

    public WatchEventFluent.JenkinsAgentObjectNested withNewJenkinsAgentObjectLike(JenkinsAgent item){
            return new JenkinsAgentObjectNestedImpl(item);
    }

    public A withNewJenkinsAgentObject(String label){
            return (A)withJenkinsAgentObject(new JenkinsAgent(label));
    }

    public A withPipelineParameterObject(PipelineParameter pipelineParameterObject){
            _visitables.remove(this.object);
            if (pipelineParameterObject!=null){ this.object= new PipelineParameterBuilder(pipelineParameterObject); _visitables.add(this.object);} return (A) this;
    }

    public WatchEventFluent.PipelineParameterObjectNested withNewPipelineParameterObject(){
            return new PipelineParameterObjectNestedImpl();
    }

    public WatchEventFluent.PipelineParameterObjectNested withNewPipelineParameterObjectLike(PipelineParameter item){
            return new PipelineParameterObjectNestedImpl(item);
    }

    public A withNewPipelineParameterObject(String description,String name,String type,String value){
            return (A)withPipelineParameterObject(new PipelineParameter(description, name, type, value));
    }

    public A withPodDisruptionBudgetStatusObject(PodDisruptionBudgetStatus podDisruptionBudgetStatusObject){
            _visitables.remove(this.object);
            if (podDisruptionBudgetStatusObject!=null){ this.object= new PodDisruptionBudgetStatusBuilder(podDisruptionBudgetStatusObject); _visitables.add(this.object);} return (A) this;
    }

    public WatchEventFluent.PodDisruptionBudgetStatusObjectNested withNewPodDisruptionBudgetStatusObject(){
            return new PodDisruptionBudgetStatusObjectNestedImpl();
    }

    public WatchEventFluent.PodDisruptionBudgetStatusObjectNested withNewPodDisruptionBudgetStatusObjectLike(PodDisruptionBudgetStatus item){
            return new PodDisruptionBudgetStatusObjectNestedImpl(item);
    }

    public A withPodDisruptionBudgetListObject(PodDisruptionBudgetList podDisruptionBudgetListObject){
            _visitables.remove(this.object);
            if (podDisruptionBudgetListObject!=null){ this.object= new PodDisruptionBudgetListBuilder(podDisruptionBudgetListObject); _visitables.add(this.object);} return (A) this;
    }

    public WatchEventFluent.PodDisruptionBudgetListObjectNested withNewPodDisruptionBudgetListObject(){
            return new PodDisruptionBudgetListObjectNestedImpl();
    }

    public WatchEventFluent.PodDisruptionBudgetListObjectNested withNewPodDisruptionBudgetListObjectLike(PodDisruptionBudgetList item){
            return new PodDisruptionBudgetListObjectNestedImpl(item);
    }

    public A withDeploymentStatusObject(DeploymentStatus deploymentStatusObject){
            _visitables.remove(this.object);
            if (deploymentStatusObject!=null){ this.object= new DeploymentStatusBuilder(deploymentStatusObject); _visitables.add(this.object);} return (A) this;
    }

    public WatchEventFluent.DeploymentStatusObjectNested withNewDeploymentStatusObject(){
            return new DeploymentStatusObjectNestedImpl();
    }

    public WatchEventFluent.DeploymentStatusObjectNested withNewDeploymentStatusObjectLike(DeploymentStatus item){
            return new DeploymentStatusObjectNestedImpl(item);
    }

    public A withStorageClassObject(StorageClass storageClassObject){
            _visitables.remove(this.object);
            if (storageClassObject!=null){ this.object= new StorageClassBuilder(storageClassObject); _visitables.add(this.object);} return (A) this;
    }

    public WatchEventFluent.StorageClassObjectNested withNewStorageClassObject(){
            return new StorageClassObjectNestedImpl();
    }

    public WatchEventFluent.StorageClassObjectNested withNewStorageClassObjectLike(StorageClass item){
            return new StorageClassObjectNestedImpl(item);
    }

    public A withUserAccountObject(UserAccount userAccountObject){
            _visitables.remove(this.object);
            if (userAccountObject!=null){ this.object= new UserAccountBuilder(userAccountObject); _visitables.add(this.object);} return (A) this;
    }

    public WatchEventFluent.UserAccountObjectNested withNewUserAccountObject(){
            return new UserAccountObjectNestedImpl();
    }

    public WatchEventFluent.UserAccountObjectNested withNewUserAccountObjectLike(UserAccount item){
            return new UserAccountObjectNestedImpl(item);
    }

    public A withReplicationControllerSpecObject(ReplicationControllerSpec replicationControllerSpecObject){
            _visitables.remove(this.object);
            if (replicationControllerSpecObject!=null){ this.object= new ReplicationControllerSpecBuilder(replicationControllerSpecObject); _visitables.add(this.object);} return (A) this;
    }

    public WatchEventFluent.ReplicationControllerSpecObjectNested withNewReplicationControllerSpecObject(){
            return new ReplicationControllerSpecObjectNestedImpl();
    }

    public WatchEventFluent.ReplicationControllerSpecObjectNested withNewReplicationControllerSpecObjectLike(ReplicationControllerSpec item){
            return new ReplicationControllerSpecObjectNestedImpl(item);
    }

    public A withHostPathVolumeSourceObject(HostPathVolumeSource hostPathVolumeSourceObject){
            _visitables.remove(this.object);
            if (hostPathVolumeSourceObject!=null){ this.object= new HostPathVolumeSourceBuilder(hostPathVolumeSourceObject); _visitables.add(this.object);} return (A) this;
    }

    public WatchEventFluent.HostPathVolumeSourceObjectNested withNewHostPathVolumeSourceObject(){
            return new HostPathVolumeSourceObjectNestedImpl();
    }

    public WatchEventFluent.HostPathVolumeSourceObjectNested withNewHostPathVolumeSourceObjectLike(HostPathVolumeSource item){
            return new HostPathVolumeSourceObjectNestedImpl(item);
    }

    public A withNewHostPathVolumeSourceObject(String path){
            return (A)withHostPathVolumeSourceObject(new HostPathVolumeSource(path));
    }

    public A withIdentityListObject(IdentityList identityListObject){
            _visitables.remove(this.object);
            if (identityListObject!=null){ this.object= new IdentityListBuilder(identityListObject); _visitables.add(this.object);} return (A) this;
    }

    public WatchEventFluent.IdentityListObjectNested withNewIdentityListObject(){
            return new IdentityListObjectNestedImpl();
    }

    public WatchEventFluent.IdentityListObjectNested withNewIdentityListObjectLike(IdentityList item){
            return new IdentityListObjectNestedImpl(item);
    }

    public A withContainerStatusObject(ContainerStatus containerStatusObject){
            _visitables.remove(this.object);
            if (containerStatusObject!=null){ this.object= new ContainerStatusBuilder(containerStatusObject); _visitables.add(this.object);} return (A) this;
    }

    public WatchEventFluent.ContainerStatusObjectNested withNewContainerStatusObject(){
            return new ContainerStatusObjectNestedImpl();
    }

    public WatchEventFluent.ContainerStatusObjectNested withNewContainerStatusObjectLike(ContainerStatus item){
            return new ContainerStatusObjectNestedImpl(item);
    }

    public A withExecActionObject(ExecAction execActionObject){
            _visitables.remove(this.object);
            if (execActionObject!=null){ this.object= new ExecActionBuilder(execActionObject); _visitables.add(this.object);} return (A) this;
    }

    public WatchEventFluent.ExecActionObjectNested withNewExecActionObject(){
            return new ExecActionObjectNestedImpl();
    }

    public WatchEventFluent.ExecActionObjectNested withNewExecActionObjectLike(ExecAction item){
            return new ExecActionObjectNestedImpl(item);
    }

    public A withPipelineConfigTemplateObject(PipelineConfigTemplate pipelineConfigTemplateObject){
            _visitables.remove(this.object);
            if (pipelineConfigTemplateObject!=null){ this.object= new PipelineConfigTemplateBuilder(pipelineConfigTemplateObject); _visitables.add(this.object);} return (A) this;
    }

    public WatchEventFluent.PipelineConfigTemplateObjectNested withNewPipelineConfigTemplateObject(){
            return new PipelineConfigTemplateObjectNestedImpl();
    }

    public WatchEventFluent.PipelineConfigTemplateObjectNested withNewPipelineConfigTemplateObjectLike(PipelineConfigTemplate item){
            return new PipelineConfigTemplateObjectNestedImpl(item);
    }

    public A withBuildListObject(BuildList buildListObject){
            _visitables.remove(this.object);
            if (buildListObject!=null){ this.object= new BuildListBuilder(buildListObject); _visitables.add(this.object);} return (A) this;
    }

    public WatchEventFluent.BuildListObjectNested withNewBuildListObject(){
            return new BuildListObjectNestedImpl();
    }

    public WatchEventFluent.BuildListObjectNested withNewBuildListObjectLike(BuildList item){
            return new BuildListObjectNestedImpl(item);
    }

    public A withImageLookupPolicyObject(ImageLookupPolicy imageLookupPolicyObject){
            _visitables.remove(this.object);
            if (imageLookupPolicyObject!=null){ this.object= new ImageLookupPolicyBuilder(imageLookupPolicyObject); _visitables.add(this.object);} return (A) this;
    }

    public WatchEventFluent.ImageLookupPolicyObjectNested withNewImageLookupPolicyObject(){
            return new ImageLookupPolicyObjectNestedImpl();
    }

    public WatchEventFluent.ImageLookupPolicyObjectNested withNewImageLookupPolicyObjectLike(ImageLookupPolicy item){
            return new ImageLookupPolicyObjectNestedImpl(item);
    }

    public A withNewImageLookupPolicyObject(Boolean local){
            return (A)withImageLookupPolicyObject(new ImageLookupPolicy(local));
    }

    public A withIngressRuleObject(IngressRule ingressRuleObject){
            _visitables.remove(this.object);
            if (ingressRuleObject!=null){ this.object= new IngressRuleBuilder(ingressRuleObject); _visitables.add(this.object);} return (A) this;
    }

    public WatchEventFluent.IngressRuleObjectNested withNewIngressRuleObject(){
            return new IngressRuleObjectNestedImpl();
    }

    public WatchEventFluent.IngressRuleObjectNested withNewIngressRuleObjectLike(IngressRule item){
            return new IngressRuleObjectNestedImpl(item);
    }

    public A withNodeSelectorObject(NodeSelector nodeSelectorObject){
            _visitables.remove(this.object);
            if (nodeSelectorObject!=null){ this.object= new NodeSelectorBuilder(nodeSelectorObject); _visitables.add(this.object);} return (A) this;
    }

    public WatchEventFluent.NodeSelectorObjectNested withNewNodeSelectorObject(){
            return new NodeSelectorObjectNestedImpl();
    }

    public WatchEventFluent.NodeSelectorObjectNested withNewNodeSelectorObjectLike(NodeSelector item){
            return new NodeSelectorObjectNestedImpl(item);
    }

    public A withPipelineListObject(PipelineList pipelineListObject){
            _visitables.remove(this.object);
            if (pipelineListObject!=null){ this.object= new PipelineListBuilder(pipelineListObject); _visitables.add(this.object);} return (A) this;
    }

    public WatchEventFluent.PipelineListObjectNested withNewPipelineListObject(){
            return new PipelineListObjectNestedImpl();
    }

    public WatchEventFluent.PipelineListObjectNested withNewPipelineListObjectLike(PipelineList item){
            return new PipelineListObjectNestedImpl(item);
    }

    public A withDeploymentConfigListObject(DeploymentConfigList deploymentConfigListObject){
            _visitables.remove(this.object);
            if (deploymentConfigListObject!=null){ this.object= new DeploymentConfigListBuilder(deploymentConfigListObject); _visitables.add(this.object);} return (A) this;
    }

    public WatchEventFluent.DeploymentConfigListObjectNested withNewDeploymentConfigListObject(){
            return new DeploymentConfigListObjectNestedImpl();
    }

    public WatchEventFluent.DeploymentConfigListObjectNested withNewDeploymentConfigListObjectLike(DeploymentConfigList item){
            return new DeploymentConfigListObjectNestedImpl(item);
    }

    public A withReplicationControllerStatusObject(ReplicationControllerStatus replicationControllerStatusObject){
            _visitables.remove(this.object);
            if (replicationControllerStatusObject!=null){ this.object= new ReplicationControllerStatusBuilder(replicationControllerStatusObject); _visitables.add(this.object);} return (A) this;
    }

    public WatchEventFluent.ReplicationControllerStatusObjectNested withNewReplicationControllerStatusObject(){
            return new ReplicationControllerStatusObjectNestedImpl();
    }

    public WatchEventFluent.ReplicationControllerStatusObjectNested withNewReplicationControllerStatusObjectLike(ReplicationControllerStatus item){
            return new ReplicationControllerStatusObjectNestedImpl(item);
    }

    public A withPipelineConfigObject(PipelineConfig pipelineConfigObject){
            _visitables.remove(this.object);
            if (pipelineConfigObject!=null){ this.object= new PipelineConfigBuilder(pipelineConfigObject); _visitables.add(this.object);} return (A) this;
    }

    public WatchEventFluent.PipelineConfigObjectNested withNewPipelineConfigObject(){
            return new PipelineConfigObjectNestedImpl();
    }

    public WatchEventFluent.PipelineConfigObjectNested withNewPipelineConfigObjectLike(PipelineConfig item){
            return new PipelineConfigObjectNestedImpl(item);
    }

    public A withTolerationObject(Toleration tolerationObject){
            _visitables.remove(this.object);
            if (tolerationObject!=null){ this.object= new TolerationBuilder(tolerationObject); _visitables.add(this.object);} return (A) this;
    }

    public WatchEventFluent.TolerationObjectNested withNewTolerationObject(){
            return new TolerationObjectNestedImpl();
    }

    public WatchEventFluent.TolerationObjectNested withNewTolerationObjectLike(Toleration item){
            return new TolerationObjectNestedImpl(item);
    }

    public A withNewTolerationObject(String effect,String key,String operator,Long tolerationSeconds,String value){
            return (A)withTolerationObject(new Toleration(effect, key, operator, tolerationSeconds, value));
    }

    public A withPipelineTaskArgumentValidationObject(PipelineTaskArgumentValidation pipelineTaskArgumentValidationObject){
            _visitables.remove(this.object);
            if (pipelineTaskArgumentValidationObject!=null){ this.object= new PipelineTaskArgumentValidationBuilder(pipelineTaskArgumentValidationObject); _visitables.add(this.object);} return (A) this;
    }

    public WatchEventFluent.PipelineTaskArgumentValidationObjectNested withNewPipelineTaskArgumentValidationObject(){
            return new PipelineTaskArgumentValidationObjectNestedImpl();
    }

    public WatchEventFluent.PipelineTaskArgumentValidationObjectNested withNewPipelineTaskArgumentValidationObjectLike(PipelineTaskArgumentValidation item){
            return new PipelineTaskArgumentValidationObjectNestedImpl(item);
    }

    public A withNewPipelineTaskArgumentValidationObject(String pattern){
            return (A)withPipelineTaskArgumentValidationObject(new PipelineTaskArgumentValidation(pattern));
    }

    public A withDockerStrategyOptionsObject(DockerStrategyOptions dockerStrategyOptionsObject){
            _visitables.remove(this.object);
            if (dockerStrategyOptionsObject!=null){ this.object= new DockerStrategyOptionsBuilder(dockerStrategyOptionsObject); _visitables.add(this.object);} return (A) this;
    }

    public WatchEventFluent.DockerStrategyOptionsObjectNested withNewDockerStrategyOptionsObject(){
            return new DockerStrategyOptionsObjectNestedImpl();
    }

    public WatchEventFluent.DockerStrategyOptionsObjectNested withNewDockerStrategyOptionsObjectLike(DockerStrategyOptions item){
            return new DockerStrategyOptionsObjectNestedImpl(item);
    }

    public A withAttachedVolumeObject(AttachedVolume attachedVolumeObject){
            _visitables.remove(this.object);
            if (attachedVolumeObject!=null){ this.object= new AttachedVolumeBuilder(attachedVolumeObject); _visitables.add(this.object);} return (A) this;
    }

    public WatchEventFluent.AttachedVolumeObjectNested withNewAttachedVolumeObject(){
            return new AttachedVolumeObjectNestedImpl();
    }

    public WatchEventFluent.AttachedVolumeObjectNested withNewAttachedVolumeObjectLike(AttachedVolume item){
            return new AttachedVolumeObjectNestedImpl(item);
    }

    public A withNewAttachedVolumeObject(String devicePath,String name){
            return (A)withAttachedVolumeObject(new AttachedVolume(devicePath, name));
    }

    public A withStatefulSetListObject(StatefulSetList statefulSetListObject){
            _visitables.remove(this.object);
            if (statefulSetListObject!=null){ this.object= new StatefulSetListBuilder(statefulSetListObject); _visitables.add(this.object);} return (A) this;
    }

    public WatchEventFluent.StatefulSetListObjectNested withNewStatefulSetListObject(){
            return new StatefulSetListObjectNestedImpl();
    }

    public WatchEventFluent.StatefulSetListObjectNested withNewStatefulSetListObjectLike(StatefulSetList item){
            return new StatefulSetListObjectNestedImpl(item);
    }

    public A withNamedExtensionObject(NamedExtension namedExtensionObject){
            _visitables.remove(this.object);
            if (namedExtensionObject!=null){ this.object= new NamedExtensionBuilder(namedExtensionObject); _visitables.add(this.object);} return (A) this;
    }

    public WatchEventFluent.NamedExtensionObjectNested withNewNamedExtensionObject(){
            return new NamedExtensionObjectNestedImpl();
    }

    public WatchEventFluent.NamedExtensionObjectNested withNewNamedExtensionObjectLike(NamedExtension item){
            return new NamedExtensionObjectNestedImpl(item);
    }

    public A withNamedTagEventListObject(NamedTagEventList namedTagEventListObject){
            _visitables.remove(this.object);
            if (namedTagEventListObject!=null){ this.object= new NamedTagEventListBuilder(namedTagEventListObject); _visitables.add(this.object);} return (A) this;
    }

    public WatchEventFluent.NamedTagEventListObjectNested withNewNamedTagEventListObject(){
            return new NamedTagEventListObjectNestedImpl();
    }

    public WatchEventFluent.NamedTagEventListObjectNested withNewNamedTagEventListObjectLike(NamedTagEventList item){
            return new NamedTagEventListObjectNestedImpl(item);
    }

    public A withServiceListObject(ServiceList serviceListObject){
            _visitables.remove(this.object);
            if (serviceListObject!=null){ this.object= new ServiceListBuilder(serviceListObject); _visitables.add(this.object);} return (A) this;
    }

    public WatchEventFluent.ServiceListObjectNested withNewServiceListObject(){
            return new ServiceListObjectNestedImpl();
    }

    public WatchEventFluent.ServiceListObjectNested withNewServiceListObjectLike(ServiceList item){
            return new ServiceListObjectNestedImpl(item);
    }

    public A withRecreateDeploymentStrategyParamsObject(RecreateDeploymentStrategyParams recreateDeploymentStrategyParamsObject){
            _visitables.remove(this.object);
            if (recreateDeploymentStrategyParamsObject!=null){ this.object= new RecreateDeploymentStrategyParamsBuilder(recreateDeploymentStrategyParamsObject); _visitables.add(this.object);} return (A) this;
    }

    public WatchEventFluent.RecreateDeploymentStrategyParamsObjectNested withNewRecreateDeploymentStrategyParamsObject(){
            return new RecreateDeploymentStrategyParamsObjectNestedImpl();
    }

    public WatchEventFluent.RecreateDeploymentStrategyParamsObjectNested withNewRecreateDeploymentStrategyParamsObjectLike(RecreateDeploymentStrategyParams item){
            return new RecreateDeploymentStrategyParamsObjectNestedImpl(item);
    }

    public A withSecretKeySelectorObject(SecretKeySelector secretKeySelectorObject){
            _visitables.remove(this.object);
            if (secretKeySelectorObject!=null){ this.object= new SecretKeySelectorBuilder(secretKeySelectorObject); _visitables.add(this.object);} return (A) this;
    }

    public WatchEventFluent.SecretKeySelectorObjectNested withNewSecretKeySelectorObject(){
            return new SecretKeySelectorObjectNestedImpl();
    }

    public WatchEventFluent.SecretKeySelectorObjectNested withNewSecretKeySelectorObjectLike(SecretKeySelector item){
            return new SecretKeySelectorObjectNestedImpl(item);
    }

    public A withNewSecretKeySelectorObject(String key,String name,Boolean optional){
            return (A)withSecretKeySelectorObject(new SecretKeySelector(key, name, optional));
    }

    public A withDeploymentConfigObject(DeploymentConfig deploymentConfigObject){
            _visitables.remove(this.object);
            if (deploymentConfigObject!=null){ this.object= new DeploymentConfigBuilder(deploymentConfigObject); _visitables.add(this.object);} return (A) this;
    }

    public WatchEventFluent.DeploymentConfigObjectNested withNewDeploymentConfigObject(){
            return new DeploymentConfigObjectNestedImpl();
    }

    public WatchEventFluent.DeploymentConfigObjectNested withNewDeploymentConfigObjectLike(DeploymentConfig item){
            return new DeploymentConfigObjectNestedImpl(item);
    }

    public A withSupplementalGroupsStrategyOptionsObject(io.alauda.kubernetes.api.model.extensions.SupplementalGroupsStrategyOptions supplementalGroupsStrategyOptionsObject){
            _visitables.remove(this.object);
            if (supplementalGroupsStrategyOptionsObject!=null){ this.object= new io.alauda.kubernetes.api.model.extensions.SupplementalGroupsStrategyOptionsBuilder(supplementalGroupsStrategyOptionsObject); _visitables.add(this.object);} return (A) this;
    }

    public WatchEventFluent.ExtensionsSupplementalGroupsStrategyOptionsObjectNested withNewExtensionsSupplementalGroupsStrategyOptionsObject(){
            return new ExtensionsSupplementalGroupsStrategyOptionsObjectNestedImpl();
    }

    public WatchEventFluent.ExtensionsSupplementalGroupsStrategyOptionsObjectNested withNewSupplementalGroupsStrategyOptionsObjectLike(io.alauda.kubernetes.api.model.extensions.SupplementalGroupsStrategyOptions item){
            return new ExtensionsSupplementalGroupsStrategyOptionsObjectNestedImpl(item);
    }

    public A withHostPortStatusObject(HostPortStatus hostPortStatusObject){
            _visitables.remove(this.object);
            if (hostPortStatusObject!=null){ this.object= new HostPortStatusBuilder(hostPortStatusObject); _visitables.add(this.object);} return (A) this;
    }

    public WatchEventFluent.HostPortStatusObjectNested withNewHostPortStatusObject(){
            return new HostPortStatusObjectNestedImpl();
    }

    public WatchEventFluent.HostPortStatusObjectNested withNewHostPortStatusObjectLike(HostPortStatus item){
            return new HostPortStatusObjectNestedImpl(item);
    }

    public A withNewHostPortStatusObject(Long delay,String lastAttempt,String response,Integer statusCode,String version){
            return (A)withHostPortStatusObject(new HostPortStatus(delay, lastAttempt, response, statusCode, version));
    }

    public A withPipelineSourceGitObject(PipelineSourceGit pipelineSourceGitObject){
            _visitables.remove(this.object);
            if (pipelineSourceGitObject!=null){ this.object= new PipelineSourceGitBuilder(pipelineSourceGitObject); _visitables.add(this.object);} return (A) this;
    }

    public WatchEventFluent.PipelineSourceGitObjectNested withNewPipelineSourceGitObject(){
            return new PipelineSourceGitObjectNestedImpl();
    }

    public WatchEventFluent.PipelineSourceGitObjectNested withNewPipelineSourceGitObjectLike(PipelineSourceGit item){
            return new PipelineSourceGitObjectNestedImpl(item);
    }

    public A withNewPipelineSourceGitObject(String ref,String uri){
            return (A)withPipelineSourceGitObject(new PipelineSourceGit(ref, uri));
    }

    public A withAzureDiskVolumeSourceObject(AzureDiskVolumeSource azureDiskVolumeSourceObject){
            _visitables.remove(this.object);
            if (azureDiskVolumeSourceObject!=null){ this.object= new AzureDiskVolumeSourceBuilder(azureDiskVolumeSourceObject); _visitables.add(this.object);} return (A) this;
    }

    public WatchEventFluent.AzureDiskVolumeSourceObjectNested withNewAzureDiskVolumeSourceObject(){
            return new AzureDiskVolumeSourceObjectNestedImpl();
    }

    public WatchEventFluent.AzureDiskVolumeSourceObjectNested withNewAzureDiskVolumeSourceObjectLike(AzureDiskVolumeSource item){
            return new AzureDiskVolumeSourceObjectNestedImpl(item);
    }

    public A withISCSIVolumeSourceObject(ISCSIVolumeSource iSCSIVolumeSourceObject){
            _visitables.remove(this.object);
            if (iSCSIVolumeSourceObject!=null){ this.object= new ISCSIVolumeSourceBuilder(iSCSIVolumeSourceObject); _visitables.add(this.object);} return (A) this;
    }

    public WatchEventFluent.ISCSIVolumeSourceObjectNested withNewISCSIVolumeSourceObject(){
            return new ISCSIVolumeSourceObjectNestedImpl();
    }

    public WatchEventFluent.ISCSIVolumeSourceObjectNested withNewISCSIVolumeSourceObjectLike(ISCSIVolumeSource item){
            return new ISCSIVolumeSourceObjectNestedImpl(item);
    }

    public A withDownwardAPIVolumeSourceObject(DownwardAPIVolumeSource downwardAPIVolumeSourceObject){
            _visitables.remove(this.object);
            if (downwardAPIVolumeSourceObject!=null){ this.object= new DownwardAPIVolumeSourceBuilder(downwardAPIVolumeSourceObject); _visitables.add(this.object);} return (A) this;
    }

    public WatchEventFluent.DownwardAPIVolumeSourceObjectNested withNewDownwardAPIVolumeSourceObject(){
            return new DownwardAPIVolumeSourceObjectNestedImpl();
    }

    public WatchEventFluent.DownwardAPIVolumeSourceObjectNested withNewDownwardAPIVolumeSourceObjectLike(DownwardAPIVolumeSource item){
            return new DownwardAPIVolumeSourceObjectNestedImpl(item);
    }

    public A withStorageClassListObject(StorageClassList storageClassListObject){
            _visitables.remove(this.object);
            if (storageClassListObject!=null){ this.object= new StorageClassListBuilder(storageClassListObject); _visitables.add(this.object);} return (A) this;
    }

    public WatchEventFluent.StorageClassListObjectNested withNewStorageClassListObject(){
            return new StorageClassListObjectNestedImpl();
    }

    public WatchEventFluent.StorageClassListObjectNested withNewStorageClassListObjectLike(StorageClassList item){
            return new StorageClassListObjectNestedImpl(item);
    }

    public A withJenkinsBindingConditionObject(JenkinsBindingCondition jenkinsBindingConditionObject){
            _visitables.remove(this.object);
            if (jenkinsBindingConditionObject!=null){ this.object= new JenkinsBindingConditionBuilder(jenkinsBindingConditionObject); _visitables.add(this.object);} return (A) this;
    }

    public WatchEventFluent.JenkinsBindingConditionObjectNested withNewJenkinsBindingConditionObject(){
            return new JenkinsBindingConditionObjectNestedImpl();
    }

    public WatchEventFluent.JenkinsBindingConditionObjectNested withNewJenkinsBindingConditionObjectLike(JenkinsBindingCondition item){
            return new JenkinsBindingConditionObjectNestedImpl(item);
    }

    public A withNewJenkinsBindingConditionObject(String lastAttempt,String message,String reason,String status,String type){
            return (A)withJenkinsBindingConditionObject(new JenkinsBindingCondition(lastAttempt, message, reason, status, type));
    }

    public A withJenkinsSpecObject(JenkinsSpec jenkinsSpecObject){
            _visitables.remove(this.object);
            if (jenkinsSpecObject!=null){ this.object= new JenkinsSpecBuilder(jenkinsSpecObject); _visitables.add(this.object);} return (A) this;
    }

    public WatchEventFluent.JenkinsSpecObjectNested withNewJenkinsSpecObject(){
            return new JenkinsSpecObjectNestedImpl();
    }

    public WatchEventFluent.JenkinsSpecObjectNested withNewJenkinsSpecObjectLike(JenkinsSpec item){
            return new JenkinsSpecObjectNestedImpl(item);
    }

    public A withUserRestrictionObject(UserRestriction userRestrictionObject){
            _visitables.remove(this.object);
            if (userRestrictionObject!=null){ this.object= new UserRestrictionBuilder(userRestrictionObject); _visitables.add(this.object);} return (A) this;
    }

    public WatchEventFluent.UserRestrictionObjectNested withNewUserRestrictionObject(){
            return new UserRestrictionObjectNestedImpl();
    }

    public WatchEventFluent.UserRestrictionObjectNested withNewUserRestrictionObjectLike(UserRestriction item){
            return new UserRestrictionObjectNestedImpl(item);
    }

    public A withNamedClusterRoleObject(NamedClusterRole namedClusterRoleObject){
            _visitables.remove(this.object);
            if (namedClusterRoleObject!=null){ this.object= new NamedClusterRoleBuilder(namedClusterRoleObject); _visitables.add(this.object);} return (A) this;
    }

    public WatchEventFluent.NamedClusterRoleObjectNested withNewNamedClusterRoleObject(){
            return new NamedClusterRoleObjectNestedImpl();
    }

    public WatchEventFluent.NamedClusterRoleObjectNested withNewNamedClusterRoleObjectLike(NamedClusterRole item){
            return new NamedClusterRoleObjectNestedImpl(item);
    }

    public A withContainerStateRunningObject(ContainerStateRunning containerStateRunningObject){
            _visitables.remove(this.object);
            if (containerStateRunningObject!=null){ this.object= new ContainerStateRunningBuilder(containerStateRunningObject); _visitables.add(this.object);} return (A) this;
    }

    public WatchEventFluent.ContainerStateRunningObjectNested withNewContainerStateRunningObject(){
            return new ContainerStateRunningObjectNestedImpl();
    }

    public WatchEventFluent.ContainerStateRunningObjectNested withNewContainerStateRunningObjectLike(ContainerStateRunning item){
            return new ContainerStateRunningObjectNestedImpl(item);
    }

    public A withNewContainerStateRunningObject(String startedAt){
            return (A)withContainerStateRunningObject(new ContainerStateRunning(startedAt));
    }

    public A withLabelSelectorRequirementObject(LabelSelectorRequirement labelSelectorRequirementObject){
            _visitables.remove(this.object);
            if (labelSelectorRequirementObject!=null){ this.object= new LabelSelectorRequirementBuilder(labelSelectorRequirementObject); _visitables.add(this.object);} return (A) this;
    }

    public WatchEventFluent.LabelSelectorRequirementObjectNested withNewLabelSelectorRequirementObject(){
            return new LabelSelectorRequirementObjectNestedImpl();
    }

    public WatchEventFluent.LabelSelectorRequirementObjectNested withNewLabelSelectorRequirementObjectLike(LabelSelectorRequirement item){
            return new LabelSelectorRequirementObjectNestedImpl(item);
    }

    public A withImageChangeTriggerObject(ImageChangeTrigger imageChangeTriggerObject){
            _visitables.remove(this.object);
            if (imageChangeTriggerObject!=null){ this.object= new ImageChangeTriggerBuilder(imageChangeTriggerObject); _visitables.add(this.object);} return (A) this;
    }

    public WatchEventFluent.ImageChangeTriggerObjectNested withNewImageChangeTriggerObject(){
            return new ImageChangeTriggerObjectNestedImpl();
    }

    public WatchEventFluent.ImageChangeTriggerObjectNested withNewImageChangeTriggerObjectLike(ImageChangeTrigger item){
            return new ImageChangeTriggerObjectNestedImpl(item);
    }

    public A withJenkinsInstanceObject(JenkinsInstance jenkinsInstanceObject){
            _visitables.remove(this.object);
            if (jenkinsInstanceObject!=null){ this.object= new JenkinsInstanceBuilder(jenkinsInstanceObject); _visitables.add(this.object);} return (A) this;
    }

    public WatchEventFluent.JenkinsInstanceObjectNested withNewJenkinsInstanceObject(){
            return new JenkinsInstanceObjectNestedImpl();
    }

    public WatchEventFluent.JenkinsInstanceObjectNested withNewJenkinsInstanceObjectLike(JenkinsInstance item){
            return new JenkinsInstanceObjectNestedImpl(item);
    }

    public A withNewJenkinsInstanceObject(String name){
            return (A)withJenkinsInstanceObject(new JenkinsInstance(name));
    }

    public A withOAuthClientListObject(OAuthClientList oAuthClientListObject){
            _visitables.remove(this.object);
            if (oAuthClientListObject!=null){ this.object= new OAuthClientListBuilder(oAuthClientListObject); _visitables.add(this.object);} return (A) this;
    }

    public WatchEventFluent.OAuthClientListObjectNested withNewOAuthClientListObject(){
            return new OAuthClientListObjectNestedImpl();
    }

    public WatchEventFluent.OAuthClientListObjectNested withNewOAuthClientListObjectLike(OAuthClientList item){
            return new OAuthClientListObjectNestedImpl(item);
    }

    public A withResourceAttributesObject(ResourceAttributes resourceAttributesObject){
            _visitables.remove(this.object);
            if (resourceAttributesObject!=null){ this.object= new ResourceAttributesBuilder(resourceAttributesObject); _visitables.add(this.object);} return (A) this;
    }

    public WatchEventFluent.ResourceAttributesObjectNested withNewResourceAttributesObject(){
            return new ResourceAttributesObjectNestedImpl();
    }

    public WatchEventFluent.ResourceAttributesObjectNested withNewResourceAttributesObjectLike(ResourceAttributes item){
            return new ResourceAttributesObjectNestedImpl(item);
    }

    public A withNamedContextObject(NamedContext namedContextObject){
            _visitables.remove(this.object);
            if (namedContextObject!=null){ this.object= new NamedContextBuilder(namedContextObject); _visitables.add(this.object);} return (A) this;
    }

    public WatchEventFluent.NamedContextObjectNested withNewNamedContextObject(){
            return new NamedContextObjectNestedImpl();
    }

    public WatchEventFluent.NamedContextObjectNested withNewNamedContextObjectLike(NamedContext item){
            return new NamedContextObjectNestedImpl(item);
    }

    public A withHandlerObject(Handler handlerObject){
            _visitables.remove(this.object);
            if (handlerObject!=null){ this.object= new HandlerBuilder(handlerObject); _visitables.add(this.object);} return (A) this;
    }

    public WatchEventFluent.HandlerObjectNested withNewHandlerObject(){
            return new HandlerObjectNestedImpl();
    }

    public WatchEventFluent.HandlerObjectNested withNewHandlerObjectLike(Handler item){
            return new HandlerObjectNestedImpl(item);
    }

    public A withServiceStatusObject(ServiceStatus serviceStatusObject){
            _visitables.remove(this.object);
            if (serviceStatusObject!=null){ this.object= new ServiceStatusBuilder(serviceStatusObject); _visitables.add(this.object);} return (A) this;
    }

    public WatchEventFluent.ServiceStatusObjectNested withNewServiceStatusObject(){
            return new ServiceStatusObjectNestedImpl();
    }

    public WatchEventFluent.ServiceStatusObjectNested withNewServiceStatusObjectLike(ServiceStatus item){
            return new ServiceStatusObjectNestedImpl(item);
    }

    public A withIDRangeObject(io.alauda.kubernetes.api.model.extensions.IDRange iDRangeObject){
            _visitables.remove(this.object);
            if (iDRangeObject!=null){ this.object= new io.alauda.kubernetes.api.model.extensions.IDRangeBuilder(iDRangeObject); _visitables.add(this.object);} return (A) this;
    }

    public WatchEventFluent.ExtensionsIDRangeObjectNested withNewExtensionsIDRangeObject(){
            return new ExtensionsIDRangeObjectNestedImpl();
    }

    public WatchEventFluent.ExtensionsIDRangeObjectNested withNewIDRangeObjectLike(io.alauda.kubernetes.api.model.extensions.IDRange item){
            return new ExtensionsIDRangeObjectNestedImpl(item);
    }

    public A withNewExtensionsIDRangeObject(Long max,Long min){
            return (A)withIDRangeObject(new IDRange(max, min));
    }

    public A withReplicaSetConditionObject(ReplicaSetCondition replicaSetConditionObject){
            _visitables.remove(this.object);
            if (replicaSetConditionObject!=null){ this.object= new ReplicaSetConditionBuilder(replicaSetConditionObject); _visitables.add(this.object);} return (A) this;
    }

    public WatchEventFluent.ReplicaSetConditionObjectNested withNewReplicaSetConditionObject(){
            return new ReplicaSetConditionObjectNestedImpl();
    }

    public WatchEventFluent.ReplicaSetConditionObjectNested withNewReplicaSetConditionObjectLike(ReplicaSetCondition item){
            return new ReplicaSetConditionObjectNestedImpl(item);
    }

    public A withNewReplicaSetConditionObject(String lastTransitionTime,String message,String reason,String status,String type){
            return (A)withReplicaSetConditionObject(new ReplicaSetCondition(lastTransitionTime, message, reason, status, type));
    }

    public A withHorizontalPodAutoscalerListObject(HorizontalPodAutoscalerList horizontalPodAutoscalerListObject){
            _visitables.remove(this.object);
            if (horizontalPodAutoscalerListObject!=null){ this.object= new HorizontalPodAutoscalerListBuilder(horizontalPodAutoscalerListObject); _visitables.add(this.object);} return (A) this;
    }

    public WatchEventFluent.HorizontalPodAutoscalerListObjectNested withNewHorizontalPodAutoscalerListObject(){
            return new HorizontalPodAutoscalerListObjectNestedImpl();
    }

    public WatchEventFluent.HorizontalPodAutoscalerListObjectNested withNewHorizontalPodAutoscalerListObjectLike(HorizontalPodAutoscalerList item){
            return new HorizontalPodAutoscalerListObjectNestedImpl(item);
    }

    public A withExecNewPodHookObject(ExecNewPodHook execNewPodHookObject){
            _visitables.remove(this.object);
            if (execNewPodHookObject!=null){ this.object= new ExecNewPodHookBuilder(execNewPodHookObject); _visitables.add(this.object);} return (A) this;
    }

    public WatchEventFluent.ExecNewPodHookObjectNested withNewExecNewPodHookObject(){
            return new ExecNewPodHookObjectNestedImpl();
    }

    public WatchEventFluent.ExecNewPodHookObjectNested withNewExecNewPodHookObjectLike(ExecNewPodHook item){
            return new ExecNewPodHookObjectNestedImpl(item);
    }

    public A withBuildTriggerCauseObject(BuildTriggerCause buildTriggerCauseObject){
            _visitables.remove(this.object);
            if (buildTriggerCauseObject!=null){ this.object= new BuildTriggerCauseBuilder(buildTriggerCauseObject); _visitables.add(this.object);} return (A) this;
    }

    public WatchEventFluent.BuildTriggerCauseObjectNested withNewBuildTriggerCauseObject(){
            return new BuildTriggerCauseObjectNestedImpl();
    }

    public WatchEventFluent.BuildTriggerCauseObjectNested withNewBuildTriggerCauseObjectLike(BuildTriggerCause item){
            return new BuildTriggerCauseObjectNestedImpl(item);
    }

    public A withPipelineSourceObject(PipelineSource pipelineSourceObject){
            _visitables.remove(this.object);
            if (pipelineSourceObject!=null){ this.object= new PipelineSourceBuilder(pipelineSourceObject); _visitables.add(this.object);} return (A) this;
    }

    public WatchEventFluent.PipelineSourceObjectNested withNewPipelineSourceObject(){
            return new PipelineSourceObjectNestedImpl();
    }

    public WatchEventFluent.PipelineSourceObjectNested withNewPipelineSourceObjectLike(PipelineSource item){
            return new PipelineSourceObjectNestedImpl(item);
    }

    public A withPodStatusObject(PodStatus podStatusObject){
            _visitables.remove(this.object);
            if (podStatusObject!=null){ this.object= new PodStatusBuilder(podStatusObject); _visitables.add(this.object);} return (A) this;
    }

    public WatchEventFluent.PodStatusObjectNested withNewPodStatusObject(){
            return new PodStatusObjectNestedImpl();
    }

    public WatchEventFluent.PodStatusObjectNested withNewPodStatusObjectLike(PodStatus item){
            return new PodStatusObjectNestedImpl(item);
    }

    public A withAuthProviderConfigObject(AuthProviderConfig authProviderConfigObject){
            _visitables.remove(this.object);
            if (authProviderConfigObject!=null){ this.object= new AuthProviderConfigBuilder(authProviderConfigObject); _visitables.add(this.object);} return (A) this;
    }

    public WatchEventFluent.AuthProviderConfigObjectNested withNewAuthProviderConfigObject(){
            return new AuthProviderConfigObjectNestedImpl();
    }

    public WatchEventFluent.AuthProviderConfigObjectNested withNewAuthProviderConfigObjectLike(AuthProviderConfig item){
            return new AuthProviderConfigObjectNestedImpl(item);
    }

    public A withGCEPersistentDiskVolumeSourceObject(GCEPersistentDiskVolumeSource gCEPersistentDiskVolumeSourceObject){
            _visitables.remove(this.object);
            if (gCEPersistentDiskVolumeSourceObject!=null){ this.object= new GCEPersistentDiskVolumeSourceBuilder(gCEPersistentDiskVolumeSourceObject); _visitables.add(this.object);} return (A) this;
    }

    public WatchEventFluent.GCEPersistentDiskVolumeSourceObjectNested withNewGCEPersistentDiskVolumeSourceObject(){
            return new GCEPersistentDiskVolumeSourceObjectNestedImpl();
    }

    public WatchEventFluent.GCEPersistentDiskVolumeSourceObjectNested withNewGCEPersistentDiskVolumeSourceObjectLike(GCEPersistentDiskVolumeSource item){
            return new GCEPersistentDiskVolumeSourceObjectNestedImpl(item);
    }

    public A withNewGCEPersistentDiskVolumeSourceObject(String fsType,Integer partition,String pdName,Boolean readOnly){
            return (A)withGCEPersistentDiskVolumeSourceObject(new GCEPersistentDiskVolumeSource(fsType, partition, pdName, readOnly));
    }

    public A withEmptyDirVolumeSourceObject(EmptyDirVolumeSource emptyDirVolumeSourceObject){
            _visitables.remove(this.object);
            if (emptyDirVolumeSourceObject!=null){ this.object= new EmptyDirVolumeSourceBuilder(emptyDirVolumeSourceObject); _visitables.add(this.object);} return (A) this;
    }

    public WatchEventFluent.EmptyDirVolumeSourceObjectNested withNewEmptyDirVolumeSourceObject(){
            return new EmptyDirVolumeSourceObjectNestedImpl();
    }

    public WatchEventFluent.EmptyDirVolumeSourceObjectNested withNewEmptyDirVolumeSourceObjectLike(EmptyDirVolumeSource item){
            return new EmptyDirVolumeSourceObjectNestedImpl(item);
    }

    public A withNodeSpecObject(NodeSpec nodeSpecObject){
            _visitables.remove(this.object);
            if (nodeSpecObject!=null){ this.object= new NodeSpecBuilder(nodeSpecObject); _visitables.add(this.object);} return (A) this;
    }

    public WatchEventFluent.NodeSpecObjectNested withNewNodeSpecObject(){
            return new NodeSpecObjectNestedImpl();
    }

    public WatchEventFluent.NodeSpecObjectNested withNewNodeSpecObjectLike(NodeSpec item){
            return new NodeSpecObjectNestedImpl(item);
    }

    public A withBuildOutputObject(BuildOutput buildOutputObject){
            _visitables.remove(this.object);
            if (buildOutputObject!=null){ this.object= new BuildOutputBuilder(buildOutputObject); _visitables.add(this.object);} return (A) this;
    }

    public WatchEventFluent.BuildOutputObjectNested withNewBuildOutputObject(){
            return new BuildOutputObjectNestedImpl();
    }

    public WatchEventFluent.BuildOutputObjectNested withNewBuildOutputObjectLike(BuildOutput item){
            return new BuildOutputObjectNestedImpl(item);
    }

    public A withConfigMapProjectionObject(ConfigMapProjection configMapProjectionObject){
            _visitables.remove(this.object);
            if (configMapProjectionObject!=null){ this.object= new ConfigMapProjectionBuilder(configMapProjectionObject); _visitables.add(this.object);} return (A) this;
    }

    public WatchEventFluent.ConfigMapProjectionObjectNested withNewConfigMapProjectionObject(){
            return new ConfigMapProjectionObjectNestedImpl();
    }

    public WatchEventFluent.ConfigMapProjectionObjectNested withNewConfigMapProjectionObjectLike(ConfigMapProjection item){
            return new ConfigMapProjectionObjectNestedImpl(item);
    }

    public A withPersistentVolumeClaimStatusObject(PersistentVolumeClaimStatus persistentVolumeClaimStatusObject){
            _visitables.remove(this.object);
            if (persistentVolumeClaimStatusObject!=null){ this.object= new PersistentVolumeClaimStatusBuilder(persistentVolumeClaimStatusObject); _visitables.add(this.object);} return (A) this;
    }

    public WatchEventFluent.PersistentVolumeClaimStatusObjectNested withNewPersistentVolumeClaimStatusObject(){
            return new PersistentVolumeClaimStatusObjectNestedImpl();
    }

    public WatchEventFluent.PersistentVolumeClaimStatusObjectNested withNewPersistentVolumeClaimStatusObjectLike(PersistentVolumeClaimStatus item){
            return new PersistentVolumeClaimStatusObjectNestedImpl(item);
    }

    public A withLimitRangeListObject(LimitRangeList limitRangeListObject){
            _visitables.remove(this.object);
            if (limitRangeListObject!=null){ this.object= new LimitRangeListBuilder(limitRangeListObject); _visitables.add(this.object);} return (A) this;
    }

    public WatchEventFluent.LimitRangeListObjectNested withNewLimitRangeListObject(){
            return new LimitRangeListObjectNestedImpl();
    }

    public WatchEventFluent.LimitRangeListObjectNested withNewLimitRangeListObjectLike(LimitRangeList item){
            return new LimitRangeListObjectNestedImpl(item);
    }

    public A withTagEventObject(TagEvent tagEventObject){
            _visitables.remove(this.object);
            if (tagEventObject!=null){ this.object= new TagEventBuilder(tagEventObject); _visitables.add(this.object);} return (A) this;
    }

    public WatchEventFluent.TagEventObjectNested withNewTagEventObject(){
            return new TagEventObjectNestedImpl();
    }

    public WatchEventFluent.TagEventObjectNested withNewTagEventObjectLike(TagEvent item){
            return new TagEventObjectNestedImpl(item);
    }

    public A withNewTagEventObject(String created,String dockerImageReference,Long generation,String image){
            return (A)withTagEventObject(new TagEvent(created, dockerImageReference, generation, image));
    }

    public A withEndpointAddressObject(EndpointAddress endpointAddressObject){
            _visitables.remove(this.object);
            if (endpointAddressObject!=null){ this.object= new EndpointAddressBuilder(endpointAddressObject); _visitables.add(this.object);} return (A) this;
    }

    public WatchEventFluent.EndpointAddressObjectNested withNewEndpointAddressObject(){
            return new EndpointAddressObjectNestedImpl();
    }

    public WatchEventFluent.EndpointAddressObjectNested withNewEndpointAddressObjectLike(EndpointAddress item){
            return new EndpointAddressObjectNestedImpl(item);
    }

    public A withProbeObject(Probe probeObject){
            _visitables.remove(this.object);
            if (probeObject!=null){ this.object= new ProbeBuilder(probeObject); _visitables.add(this.object);} return (A) this;
    }

    public WatchEventFluent.ProbeObjectNested withNewProbeObject(){
            return new ProbeObjectNestedImpl();
    }

    public WatchEventFluent.ProbeObjectNested withNewProbeObjectLike(Probe item){
            return new ProbeObjectNestedImpl(item);
    }

    public A withOAuthAccessTokenObject(OAuthAccessToken oAuthAccessTokenObject){
            _visitables.remove(this.object);
            if (oAuthAccessTokenObject!=null){ this.object= new OAuthAccessTokenBuilder(oAuthAccessTokenObject); _visitables.add(this.object);} return (A) this;
    }

    public WatchEventFluent.OAuthAccessTokenObjectNested withNewOAuthAccessTokenObject(){
            return new OAuthAccessTokenObjectNestedImpl();
    }

    public WatchEventFluent.OAuthAccessTokenObjectNested withNewOAuthAccessTokenObjectLike(OAuthAccessToken item){
            return new OAuthAccessTokenObjectNestedImpl(item);
    }

    public A withPodAffinityTermObject(PodAffinityTerm podAffinityTermObject){
            _visitables.remove(this.object);
            if (podAffinityTermObject!=null){ this.object= new PodAffinityTermBuilder(podAffinityTermObject); _visitables.add(this.object);} return (A) this;
    }

    public WatchEventFluent.PodAffinityTermObjectNested withNewPodAffinityTermObject(){
            return new PodAffinityTermObjectNestedImpl();
    }

    public WatchEventFluent.PodAffinityTermObjectNested withNewPodAffinityTermObjectLike(PodAffinityTerm item){
            return new PodAffinityTermObjectNestedImpl(item);
    }

    public A withJobListObject(JobList jobListObject){
            _visitables.remove(this.object);
            if (jobListObject!=null){ this.object= new JobListBuilder(jobListObject); _visitables.add(this.object);} return (A) this;
    }

    public WatchEventFluent.JobListObjectNested withNewJobListObject(){
            return new JobListObjectNestedImpl();
    }

    public WatchEventFluent.JobListObjectNested withNewJobListObjectLike(JobList item){
            return new JobListObjectNestedImpl(item);
    }

    public A withRBDVolumeSourceObject(RBDVolumeSource rBDVolumeSourceObject){
            _visitables.remove(this.object);
            if (rBDVolumeSourceObject!=null){ this.object= new RBDVolumeSourceBuilder(rBDVolumeSourceObject); _visitables.add(this.object);} return (A) this;
    }

    public WatchEventFluent.RBDVolumeSourceObjectNested withNewRBDVolumeSourceObject(){
            return new RBDVolumeSourceObjectNestedImpl();
    }

    public WatchEventFluent.RBDVolumeSourceObjectNested withNewRBDVolumeSourceObjectLike(RBDVolumeSource item){
            return new RBDVolumeSourceObjectNestedImpl(item);
    }

    public A withCronJobListObject(CronJobList cronJobListObject){
            _visitables.remove(this.object);
            if (cronJobListObject!=null){ this.object= new CronJobListBuilder(cronJobListObject); _visitables.add(this.object);} return (A) this;
    }

    public WatchEventFluent.CronJobListObjectNested withNewCronJobListObject(){
            return new CronJobListObjectNestedImpl();
    }

    public WatchEventFluent.CronJobListObjectNested withNewCronJobListObjectLike(CronJobList item){
            return new CronJobListObjectNestedImpl(item);
    }

    public A withSecretBuildSourceObject(SecretBuildSource secretBuildSourceObject){
            _visitables.remove(this.object);
            if (secretBuildSourceObject!=null){ this.object= new SecretBuildSourceBuilder(secretBuildSourceObject); _visitables.add(this.object);} return (A) this;
    }

    public WatchEventFluent.SecretBuildSourceObjectNested withNewSecretBuildSourceObject(){
            return new SecretBuildSourceObjectNestedImpl();
    }

    public WatchEventFluent.SecretBuildSourceObjectNested withNewSecretBuildSourceObjectLike(SecretBuildSource item){
            return new SecretBuildSourceObjectNestedImpl(item);
    }

    public A withRunAsUserStrategyOptionsObject(RunAsUserStrategyOptions runAsUserStrategyOptionsObject){
            _visitables.remove(this.object);
            if (runAsUserStrategyOptionsObject!=null){ this.object= new RunAsUserStrategyOptionsBuilder(runAsUserStrategyOptionsObject); _visitables.add(this.object);} return (A) this;
    }

    public WatchEventFluent.RunAsUserStrategyOptionsObjectNested withNewRunAsUserStrategyOptionsObject(){
            return new RunAsUserStrategyOptionsObjectNestedImpl();
    }

    public WatchEventFluent.RunAsUserStrategyOptionsObjectNested withNewRunAsUserStrategyOptionsObjectLike(RunAsUserStrategyOptions item){
            return new RunAsUserStrategyOptionsObjectNestedImpl(item);
    }

    public A withNewRunAsUserStrategyOptionsObject(String type,Long uid,Long uidRangeMax,Long uidRangeMin){
            return (A)withRunAsUserStrategyOptionsObject(new RunAsUserStrategyOptions(type, uid, uidRangeMax, uidRangeMin));
    }

    public A withIngressBackendObject(IngressBackend ingressBackendObject){
            _visitables.remove(this.object);
            if (ingressBackendObject!=null){ this.object= new IngressBackendBuilder(ingressBackendObject); _visitables.add(this.object);} return (A) this;
    }

    public WatchEventFluent.IngressBackendObjectNested withNewIngressBackendObject(){
            return new IngressBackendObjectNestedImpl();
    }

    public WatchEventFluent.IngressBackendObjectNested withNewIngressBackendObjectLike(IngressBackend item){
            return new IngressBackendObjectNestedImpl(item);
    }

    public A withPersistentVolumeClaimObject(PersistentVolumeClaim persistentVolumeClaimObject){
            _visitables.remove(this.object);
            if (persistentVolumeClaimObject!=null){ this.object= new PersistentVolumeClaimBuilder(persistentVolumeClaimObject); _visitables.add(this.object);} return (A) this;
    }

    public WatchEventFluent.PersistentVolumeClaimObjectNested withNewPersistentVolumeClaimObject(){
            return new PersistentVolumeClaimObjectNestedImpl();
    }

    public WatchEventFluent.PersistentVolumeClaimObjectNested withNewPersistentVolumeClaimObjectLike(PersistentVolumeClaim item){
            return new PersistentVolumeClaimObjectNestedImpl(item);
    }

    public A withNetworkPolicyListObject(NetworkPolicyList networkPolicyListObject){
            _visitables.remove(this.object);
            if (networkPolicyListObject!=null){ this.object= new NetworkPolicyListBuilder(networkPolicyListObject); _visitables.add(this.object);} return (A) this;
    }

    public WatchEventFluent.NetworkPolicyListObjectNested withNewNetworkPolicyListObject(){
            return new NetworkPolicyListObjectNestedImpl();
    }

    public WatchEventFluent.NetworkPolicyListObjectNested withNewNetworkPolicyListObjectLike(NetworkPolicyList item){
            return new NetworkPolicyListObjectNestedImpl(item);
    }

    public A withResourceRequirementsObject(ResourceRequirements resourceRequirementsObject){
            _visitables.remove(this.object);
            if (resourceRequirementsObject!=null){ this.object= new ResourceRequirementsBuilder(resourceRequirementsObject); _visitables.add(this.object);} return (A) this;
    }

    public WatchEventFluent.ResourceRequirementsObjectNested withNewResourceRequirementsObject(){
            return new ResourceRequirementsObjectNestedImpl();
    }

    public WatchEventFluent.ResourceRequirementsObjectNested withNewResourceRequirementsObjectLike(ResourceRequirements item){
            return new ResourceRequirementsObjectNestedImpl(item);
    }

    public A withJenkinsBindingSpecObject(JenkinsBindingSpec jenkinsBindingSpecObject){
            _visitables.remove(this.object);
            if (jenkinsBindingSpecObject!=null){ this.object= new JenkinsBindingSpecBuilder(jenkinsBindingSpecObject); _visitables.add(this.object);} return (A) this;
    }

    public WatchEventFluent.JenkinsBindingSpecObjectNested withNewJenkinsBindingSpecObject(){
            return new JenkinsBindingSpecObjectNestedImpl();
    }

    public WatchEventFluent.JenkinsBindingSpecObjectNested withNewJenkinsBindingSpecObjectLike(JenkinsBindingSpec item){
            return new JenkinsBindingSpecObjectNestedImpl(item);
    }

    public A withPodSecurityContextObject(PodSecurityContext podSecurityContextObject){
            _visitables.remove(this.object);
            if (podSecurityContextObject!=null){ this.object= new PodSecurityContextBuilder(podSecurityContextObject); _visitables.add(this.object);} return (A) this;
    }

    public WatchEventFluent.PodSecurityContextObjectNested withNewPodSecurityContextObject(){
            return new PodSecurityContextObjectNestedImpl();
    }

    public WatchEventFluent.PodSecurityContextObjectNested withNewPodSecurityContextObjectLike(PodSecurityContext item){
            return new PodSecurityContextObjectNestedImpl(item);
    }

    public A withNodeSystemInfoObject(NodeSystemInfo nodeSystemInfoObject){
            _visitables.remove(this.object);
            if (nodeSystemInfoObject!=null){ this.object= new NodeSystemInfoBuilder(nodeSystemInfoObject); _visitables.add(this.object);} return (A) this;
    }

    public WatchEventFluent.NodeSystemInfoObjectNested withNewNodeSystemInfoObject(){
            return new NodeSystemInfoObjectNestedImpl();
    }

    public WatchEventFluent.NodeSystemInfoObjectNested withNewNodeSystemInfoObjectLike(NodeSystemInfo item){
            return new NodeSystemInfoObjectNestedImpl(item);
    }

    public A withCustomResourceDefinitionListObject(CustomResourceDefinitionList customResourceDefinitionListObject){
            _visitables.remove(this.object);
            if (customResourceDefinitionListObject!=null){ this.object= new CustomResourceDefinitionListBuilder(customResourceDefinitionListObject); _visitables.add(this.object);} return (A) this;
    }

    public WatchEventFluent.CustomResourceDefinitionListObjectNested withNewCustomResourceDefinitionListObject(){
            return new CustomResourceDefinitionListObjectNestedImpl();
    }

    public WatchEventFluent.CustomResourceDefinitionListObjectNested withNewCustomResourceDefinitionListObjectLike(CustomResourceDefinitionList item){
            return new CustomResourceDefinitionListObjectNestedImpl(item);
    }

    public A withRootPathsObject(RootPaths rootPathsObject){
            _visitables.remove(this.object);
            if (rootPathsObject!=null){ this.object= new RootPathsBuilder(rootPathsObject); _visitables.add(this.object);} return (A) this;
    }

    public WatchEventFluent.RootPathsObjectNested withNewRootPathsObject(){
            return new RootPathsObjectNestedImpl();
    }

    public WatchEventFluent.RootPathsObjectNested withNewRootPathsObjectLike(RootPaths item){
            return new RootPathsObjectNestedImpl(item);
    }

    public A withImageStreamListObject(ImageStreamList imageStreamListObject){
            _visitables.remove(this.object);
            if (imageStreamListObject!=null){ this.object= new ImageStreamListBuilder(imageStreamListObject); _visitables.add(this.object);} return (A) this;
    }

    public WatchEventFluent.ImageStreamListObjectNested withNewImageStreamListObject(){
            return new ImageStreamListObjectNestedImpl();
    }

    public WatchEventFluent.ImageStreamListObjectNested withNewImageStreamListObjectLike(ImageStreamList item){
            return new ImageStreamListObjectNestedImpl(item);
    }

    public A withKubernetesListObject(KubernetesList kubernetesListObject){
            _visitables.remove(this.object);
            if (kubernetesListObject!=null){ this.object= new KubernetesListBuilder(kubernetesListObject); _visitables.add(this.object);} return (A) this;
    }

    public WatchEventFluent.KubernetesListObjectNested withNewKubernetesListObject(){
            return new KubernetesListObjectNestedImpl();
    }

    public WatchEventFluent.KubernetesListObjectNested withNewKubernetesListObjectLike(KubernetesList item){
            return new KubernetesListObjectNestedImpl(item);
    }

    public A withNetworkPolicyObject(NetworkPolicy networkPolicyObject){
            _visitables.remove(this.object);
            if (networkPolicyObject!=null){ this.object= new NetworkPolicyBuilder(networkPolicyObject); _visitables.add(this.object);} return (A) this;
    }

    public WatchEventFluent.NetworkPolicyObjectNested withNewNetworkPolicyObject(){
            return new NetworkPolicyObjectNestedImpl();
    }

    public WatchEventFluent.NetworkPolicyObjectNested withNewNetworkPolicyObjectLike(NetworkPolicy item){
            return new NetworkPolicyObjectNestedImpl(item);
    }

    public A withContainerStateObject(ContainerState containerStateObject){
            _visitables.remove(this.object);
            if (containerStateObject!=null){ this.object= new ContainerStateBuilder(containerStateObject); _visitables.add(this.object);} return (A) this;
    }

    public WatchEventFluent.ContainerStateObjectNested withNewContainerStateObject(){
            return new ContainerStateObjectNestedImpl();
    }

    public WatchEventFluent.ContainerStateObjectNested withNewContainerStateObjectLike(ContainerState item){
            return new ContainerStateObjectNestedImpl(item);
    }

    public A withTagReferenceObject(TagReference tagReferenceObject){
            _visitables.remove(this.object);
            if (tagReferenceObject!=null){ this.object= new TagReferenceBuilder(tagReferenceObject); _visitables.add(this.object);} return (A) this;
    }

    public WatchEventFluent.TagReferenceObjectNested withNewTagReferenceObject(){
            return new TagReferenceObjectNestedImpl();
    }

    public WatchEventFluent.TagReferenceObjectNested withNewTagReferenceObjectLike(TagReference item){
            return new TagReferenceObjectNestedImpl(item);
    }

    public A withAPIVersionObject(APIVersion aPIVersionObject){
            _visitables.remove(this.object);
            if (aPIVersionObject!=null){ this.object= new APIVersionBuilder(aPIVersionObject); _visitables.add(this.object);} return (A) this;
    }

    public WatchEventFluent.APIVersionObjectNested withNewAPIVersionObject(){
            return new APIVersionObjectNestedImpl();
    }

    public WatchEventFluent.APIVersionObjectNested withNewAPIVersionObjectLike(APIVersion item){
            return new APIVersionObjectNestedImpl(item);
    }

    public A withNewAPIVersionObject(String name){
            return (A)withAPIVersionObject(new APIVersion(name));
    }

    public A withProjectSpecObject(ProjectSpec projectSpecObject){
            _visitables.remove(this.object);
            if (projectSpecObject!=null){ this.object= new ProjectSpecBuilder(projectSpecObject); _visitables.add(this.object);} return (A) this;
    }

    public WatchEventFluent.ProjectSpecObjectNested withNewProjectSpecObject(){
            return new ProjectSpecObjectNestedImpl();
    }

    public WatchEventFluent.ProjectSpecObjectNested withNewProjectSpecObjectLike(ProjectSpec item){
            return new ProjectSpecObjectNestedImpl(item);
    }

    public A withProjectNamespaceObject(ProjectNamespace projectNamespaceObject){
            _visitables.remove(this.object);
            if (projectNamespaceObject!=null){ this.object= new ProjectNamespaceBuilder(projectNamespaceObject); _visitables.add(this.object);} return (A) this;
    }

    public WatchEventFluent.ProjectNamespaceObjectNested withNewProjectNamespaceObject(){
            return new ProjectNamespaceObjectNestedImpl();
    }

    public WatchEventFluent.ProjectNamespaceObjectNested withNewProjectNamespaceObjectLike(ProjectNamespace item){
            return new ProjectNamespaceObjectNestedImpl(item);
    }

    public A withNewProjectNamespaceObject(String name,String type){
            return (A)withProjectNamespaceObject(new ProjectNamespace(name, type));
    }

    public A withImageObject(Image imageObject){
            _visitables.remove(this.object);
            if (imageObject!=null){ this.object= new ImageBuilder(imageObject); _visitables.add(this.object);} return (A) this;
    }

    public WatchEventFluent.ImageObjectNested withNewImageObject(){
            return new ImageObjectNestedImpl();
    }

    public WatchEventFluent.ImageObjectNested withNewImageObjectLike(Image item){
            return new ImageObjectNestedImpl(item);
    }

    public A withHTTPHeaderObject(HTTPHeader hTTPHeaderObject){
            _visitables.remove(this.object);
            if (hTTPHeaderObject!=null){ this.object= new HTTPHeaderBuilder(hTTPHeaderObject); _visitables.add(this.object);} return (A) this;
    }

    public WatchEventFluent.HTTPHeaderObjectNested withNewHTTPHeaderObject(){
            return new HTTPHeaderObjectNestedImpl();
    }

    public WatchEventFluent.HTTPHeaderObjectNested withNewHTTPHeaderObjectLike(HTTPHeader item){
            return new HTTPHeaderObjectNestedImpl(item);
    }

    public A withNewHTTPHeaderObject(String name,String value){
            return (A)withHTTPHeaderObject(new HTTPHeader(name, value));
    }

    public A withServiceObject(Service serviceObject){
            _visitables.remove(this.object);
            if (serviceObject!=null){ this.object= new ServiceBuilder(serviceObject); _visitables.add(this.object);} return (A) this;
    }

    public WatchEventFluent.ServiceObjectNested withNewServiceObject(){
            return new ServiceObjectNestedImpl();
    }

    public WatchEventFluent.ServiceObjectNested withNewServiceObjectLike(Service item){
            return new ServiceObjectNestedImpl(item);
    }

    public A withNetworkPolicyPortObject(NetworkPolicyPort networkPolicyPortObject){
            _visitables.remove(this.object);
            if (networkPolicyPortObject!=null){ this.object= new NetworkPolicyPortBuilder(networkPolicyPortObject); _visitables.add(this.object);} return (A) this;
    }

    public WatchEventFluent.NetworkPolicyPortObjectNested withNewNetworkPolicyPortObject(){
            return new NetworkPolicyPortObjectNestedImpl();
    }

    public WatchEventFluent.NetworkPolicyPortObjectNested withNewNetworkPolicyPortObjectLike(NetworkPolicyPort item){
            return new NetworkPolicyPortObjectNestedImpl(item);
    }

    public A withTemplateListObject(TemplateList templateListObject){
            _visitables.remove(this.object);
            if (templateListObject!=null){ this.object= new TemplateListBuilder(templateListObject); _visitables.add(this.object);} return (A) this;
    }

    public WatchEventFluent.TemplateListObjectNested withNewTemplateListObject(){
            return new TemplateListObjectNestedImpl();
    }

    public WatchEventFluent.TemplateListObjectNested withNewTemplateListObjectLike(TemplateList item){
            return new TemplateListObjectNestedImpl(item);
    }

    public A withIngressTLSObject(IngressTLS ingressTLSObject){
            _visitables.remove(this.object);
            if (ingressTLSObject!=null){ this.object= new IngressTLSBuilder(ingressTLSObject); _visitables.add(this.object);} return (A) this;
    }

    public WatchEventFluent.IngressTLSObjectNested withNewIngressTLSObject(){
            return new IngressTLSObjectNestedImpl();
    }

    public WatchEventFluent.IngressTLSObjectNested withNewIngressTLSObjectLike(IngressTLS item){
            return new IngressTLSObjectNestedImpl(item);
    }

    public A withPersistentVolumeSpecObject(PersistentVolumeSpec persistentVolumeSpecObject){
            _visitables.remove(this.object);
            if (persistentVolumeSpecObject!=null){ this.object= new PersistentVolumeSpecBuilder(persistentVolumeSpecObject); _visitables.add(this.object);} return (A) this;
    }

    public WatchEventFluent.PersistentVolumeSpecObjectNested withNewPersistentVolumeSpecObject(){
            return new PersistentVolumeSpecObjectNestedImpl();
    }

    public WatchEventFluent.PersistentVolumeSpecObjectNested withNewPersistentVolumeSpecObjectLike(PersistentVolumeSpec item){
            return new PersistentVolumeSpecObjectNestedImpl(item);
    }

    public A withSecretEnvSourceObject(SecretEnvSource secretEnvSourceObject){
            _visitables.remove(this.object);
            if (secretEnvSourceObject!=null){ this.object= new SecretEnvSourceBuilder(secretEnvSourceObject); _visitables.add(this.object);} return (A) this;
    }

    public WatchEventFluent.SecretEnvSourceObjectNested withNewSecretEnvSourceObject(){
            return new SecretEnvSourceObjectNestedImpl();
    }

    public WatchEventFluent.SecretEnvSourceObjectNested withNewSecretEnvSourceObjectLike(SecretEnvSource item){
            return new SecretEnvSourceObjectNestedImpl(item);
    }

    public A withNewSecretEnvSourceObject(String name,Boolean optional){
            return (A)withSecretEnvSourceObject(new SecretEnvSource(name, optional));
    }

    public A withNFSVolumeSourceObject(NFSVolumeSource nFSVolumeSourceObject){
            _visitables.remove(this.object);
            if (nFSVolumeSourceObject!=null){ this.object= new NFSVolumeSourceBuilder(nFSVolumeSourceObject); _visitables.add(this.object);} return (A) this;
    }

    public WatchEventFluent.NFSVolumeSourceObjectNested withNewNFSVolumeSourceObject(){
            return new NFSVolumeSourceObjectNestedImpl();
    }

    public WatchEventFluent.NFSVolumeSourceObjectNested withNewNFSVolumeSourceObjectLike(NFSVolumeSource item){
            return new NFSVolumeSourceObjectNestedImpl(item);
    }

    public A withNewNFSVolumeSourceObject(String path,Boolean readOnly,String server){
            return (A)withNFSVolumeSourceObject(new NFSVolumeSource(path, readOnly, server));
    }

    public A withLocalSubjectAccessReviewObject(LocalSubjectAccessReview localSubjectAccessReviewObject){
            _visitables.remove(this.object);
            if (localSubjectAccessReviewObject!=null){ this.object= new LocalSubjectAccessReviewBuilder(localSubjectAccessReviewObject); _visitables.add(this.object);} return (A) this;
    }

    public WatchEventFluent.LocalSubjectAccessReviewObjectNested withNewLocalSubjectAccessReviewObject(){
            return new LocalSubjectAccessReviewObjectNestedImpl();
    }

    public WatchEventFluent.LocalSubjectAccessReviewObjectNested withNewLocalSubjectAccessReviewObjectLike(LocalSubjectAccessReview item){
            return new LocalSubjectAccessReviewObjectNestedImpl(item);
    }

    public A withObjectFieldSelectorObject(ObjectFieldSelector objectFieldSelectorObject){
            _visitables.remove(this.object);
            if (objectFieldSelectorObject!=null){ this.object= new ObjectFieldSelectorBuilder(objectFieldSelectorObject); _visitables.add(this.object);} return (A) this;
    }

    public WatchEventFluent.ObjectFieldSelectorObjectNested withNewObjectFieldSelectorObject(){
            return new ObjectFieldSelectorObjectNestedImpl();
    }

    public WatchEventFluent.ObjectFieldSelectorObjectNested withNewObjectFieldSelectorObjectLike(ObjectFieldSelector item){
            return new ObjectFieldSelectorObjectNestedImpl(item);
    }

    public A withNewObjectFieldSelectorObject(String apiVersion,String fieldPath){
            return (A)withObjectFieldSelectorObject(new ObjectFieldSelector(apiVersion, fieldPath));
    }

    public A withIngressSpecObject(IngressSpec ingressSpecObject){
            _visitables.remove(this.object);
            if (ingressSpecObject!=null){ this.object= new IngressSpecBuilder(ingressSpecObject); _visitables.add(this.object);} return (A) this;
    }

    public WatchEventFluent.IngressSpecObjectNested withNewIngressSpecObject(){
            return new IngressSpecObjectNestedImpl();
    }

    public WatchEventFluent.IngressSpecObjectNested withNewIngressSpecObjectLike(IngressSpec item){
            return new IngressSpecObjectNestedImpl(item);
    }

    public A withStageInfoObject(StageInfo stageInfoObject){
            _visitables.remove(this.object);
            if (stageInfoObject!=null){ this.object= new StageInfoBuilder(stageInfoObject); _visitables.add(this.object);} return (A) this;
    }

    public WatchEventFluent.StageInfoObjectNested withNewStageInfoObject(){
            return new StageInfoObjectNestedImpl();
    }

    public WatchEventFluent.StageInfoObjectNested withNewStageInfoObjectLike(StageInfo item){
            return new StageInfoObjectNestedImpl(item);
    }

    public A withNamespaceStatusObject(NamespaceStatus namespaceStatusObject){
            _visitables.remove(this.object);
            if (namespaceStatusObject!=null){ this.object= new NamespaceStatusBuilder(namespaceStatusObject); _visitables.add(this.object);} return (A) this;
    }

    public WatchEventFluent.NamespaceStatusObjectNested withNewNamespaceStatusObject(){
            return new NamespaceStatusObjectNestedImpl();
    }

    public WatchEventFluent.NamespaceStatusObjectNested withNewNamespaceStatusObjectLike(NamespaceStatus item){
            return new NamespaceStatusObjectNestedImpl(item);
    }

    public A withNewNamespaceStatusObject(String phase){
            return (A)withNamespaceStatusObject(new NamespaceStatus(phase));
    }

    public A withSecurityContextObject(SecurityContext securityContextObject){
            _visitables.remove(this.object);
            if (securityContextObject!=null){ this.object= new SecurityContextBuilder(securityContextObject); _visitables.add(this.object);} return (A) this;
    }

    public WatchEventFluent.SecurityContextObjectNested withNewSecurityContextObject(){
            return new SecurityContextObjectNestedImpl();
    }

    public WatchEventFluent.SecurityContextObjectNested withNewSecurityContextObjectLike(SecurityContext item){
            return new SecurityContextObjectNestedImpl(item);
    }

    public A withJenkinsBindingStatusObject(JenkinsBindingStatus jenkinsBindingStatusObject){
            _visitables.remove(this.object);
            if (jenkinsBindingStatusObject!=null){ this.object= new JenkinsBindingStatusBuilder(jenkinsBindingStatusObject); _visitables.add(this.object);} return (A) this;
    }

    public WatchEventFluent.JenkinsBindingStatusObjectNested withNewJenkinsBindingStatusObject(){
            return new JenkinsBindingStatusObjectNestedImpl();
    }

    public WatchEventFluent.JenkinsBindingStatusObjectNested withNewJenkinsBindingStatusObjectLike(JenkinsBindingStatus item){
            return new JenkinsBindingStatusObjectNestedImpl(item);
    }

    public A withPodDisruptionBudgetSpecObject(PodDisruptionBudgetSpec podDisruptionBudgetSpecObject){
            _visitables.remove(this.object);
            if (podDisruptionBudgetSpecObject!=null){ this.object= new PodDisruptionBudgetSpecBuilder(podDisruptionBudgetSpecObject); _visitables.add(this.object);} return (A) this;
    }

    public WatchEventFluent.PodDisruptionBudgetSpecObjectNested withNewPodDisruptionBudgetSpecObject(){
            return new PodDisruptionBudgetSpecObjectNestedImpl();
    }

    public WatchEventFluent.PodDisruptionBudgetSpecObjectNested withNewPodDisruptionBudgetSpecObjectLike(PodDisruptionBudgetSpec item){
            return new PodDisruptionBudgetSpecObjectNestedImpl(item);
    }

    public A withBuildConfigSpecObject(BuildConfigSpec buildConfigSpecObject){
            _visitables.remove(this.object);
            if (buildConfigSpecObject!=null){ this.object= new BuildConfigSpecBuilder(buildConfigSpecObject); _visitables.add(this.object);} return (A) this;
    }

    public WatchEventFluent.BuildConfigSpecObjectNested withNewBuildConfigSpecObject(){
            return new BuildConfigSpecObjectNestedImpl();
    }

    public WatchEventFluent.BuildConfigSpecObjectNested withNewBuildConfigSpecObjectLike(BuildConfigSpec item){
            return new BuildConfigSpecObjectNestedImpl(item);
    }

    public A withPodSecurityPolicySpecObject(PodSecurityPolicySpec podSecurityPolicySpecObject){
            _visitables.remove(this.object);
            if (podSecurityPolicySpecObject!=null){ this.object= new PodSecurityPolicySpecBuilder(podSecurityPolicySpecObject); _visitables.add(this.object);} return (A) this;
    }

    public WatchEventFluent.PodSecurityPolicySpecObjectNested withNewPodSecurityPolicySpecObject(){
            return new PodSecurityPolicySpecObjectNestedImpl();
    }

    public WatchEventFluent.PodSecurityPolicySpecObjectNested withNewPodSecurityPolicySpecObjectLike(PodSecurityPolicySpec item){
            return new PodSecurityPolicySpecObjectNestedImpl(item);
    }

    public A withSignatureIssuerObject(SignatureIssuer signatureIssuerObject){
            _visitables.remove(this.object);
            if (signatureIssuerObject!=null){ this.object= new SignatureIssuerBuilder(signatureIssuerObject); _visitables.add(this.object);} return (A) this;
    }

    public WatchEventFluent.SignatureIssuerObjectNested withNewSignatureIssuerObject(){
            return new SignatureIssuerObjectNestedImpl();
    }

    public WatchEventFluent.SignatureIssuerObjectNested withNewSignatureIssuerObjectLike(SignatureIssuer item){
            return new SignatureIssuerObjectNestedImpl(item);
    }

    public A withNewSignatureIssuerObject(String commonName,String organization){
            return (A)withSignatureIssuerObject(new SignatureIssuer(commonName, organization));
    }

    public A withClusterRoleScopeRestrictionObject(ClusterRoleScopeRestriction clusterRoleScopeRestrictionObject){
            _visitables.remove(this.object);
            if (clusterRoleScopeRestrictionObject!=null){ this.object= new ClusterRoleScopeRestrictionBuilder(clusterRoleScopeRestrictionObject); _visitables.add(this.object);} return (A) this;
    }

    public WatchEventFluent.ClusterRoleScopeRestrictionObjectNested withNewClusterRoleScopeRestrictionObject(){
            return new ClusterRoleScopeRestrictionObjectNestedImpl();
    }

    public WatchEventFluent.ClusterRoleScopeRestrictionObjectNested withNewClusterRoleScopeRestrictionObjectLike(ClusterRoleScopeRestriction item){
            return new ClusterRoleScopeRestrictionObjectNestedImpl(item);
    }

    public A withPersistentVolumeClaimSpecObject(PersistentVolumeClaimSpec persistentVolumeClaimSpecObject){
            _visitables.remove(this.object);
            if (persistentVolumeClaimSpecObject!=null){ this.object= new PersistentVolumeClaimSpecBuilder(persistentVolumeClaimSpecObject); _visitables.add(this.object);} return (A) this;
    }

    public WatchEventFluent.PersistentVolumeClaimSpecObjectNested withNewPersistentVolumeClaimSpecObject(){
            return new PersistentVolumeClaimSpecObjectNestedImpl();
    }

    public WatchEventFluent.PersistentVolumeClaimSpecObjectNested withNewPersistentVolumeClaimSpecObjectLike(PersistentVolumeClaimSpec item){
            return new PersistentVolumeClaimSpecObjectNestedImpl(item);
    }

    public A withSignatureConditionObject(SignatureCondition signatureConditionObject){
            _visitables.remove(this.object);
            if (signatureConditionObject!=null){ this.object= new SignatureConditionBuilder(signatureConditionObject); _visitables.add(this.object);} return (A) this;
    }

    public WatchEventFluent.SignatureConditionObjectNested withNewSignatureConditionObject(){
            return new SignatureConditionObjectNestedImpl();
    }

    public WatchEventFluent.SignatureConditionObjectNested withNewSignatureConditionObjectLike(SignatureCondition item){
            return new SignatureConditionObjectNestedImpl(item);
    }

    public A withNamespaceSpecObject(NamespaceSpec namespaceSpecObject){
            _visitables.remove(this.object);
            if (namespaceSpecObject!=null){ this.object= new NamespaceSpecBuilder(namespaceSpecObject); _visitables.add(this.object);} return (A) this;
    }

    public WatchEventFluent.NamespaceSpecObjectNested withNewNamespaceSpecObject(){
            return new NamespaceSpecObjectNestedImpl();
    }

    public WatchEventFluent.NamespaceSpecObjectNested withNewNamespaceSpecObjectLike(NamespaceSpec item){
            return new NamespaceSpecObjectNestedImpl(item);
    }

    public A withBuildConfigStatusObject(BuildConfigStatus buildConfigStatusObject){
            _visitables.remove(this.object);
            if (buildConfigStatusObject!=null){ this.object= new BuildConfigStatusBuilder(buildConfigStatusObject); _visitables.add(this.object);} return (A) this;
    }

    public WatchEventFluent.BuildConfigStatusObjectNested withNewBuildConfigStatusObject(){
            return new BuildConfigStatusObjectNestedImpl();
    }

    public WatchEventFluent.BuildConfigStatusObjectNested withNewBuildConfigStatusObjectLike(BuildConfigStatus item){
            return new BuildConfigStatusObjectNestedImpl(item);
    }

    public A withNewBuildConfigStatusObject(Long lastVersion){
            return (A)withBuildConfigStatusObject(new BuildConfigStatus(lastVersion));
    }

    public A withPipelineTaskArgumentDisplayObject(PipelineTaskArgumentDisplay pipelineTaskArgumentDisplayObject){
            _visitables.remove(this.object);
            if (pipelineTaskArgumentDisplayObject!=null){ this.object= new PipelineTaskArgumentDisplayBuilder(pipelineTaskArgumentDisplayObject); _visitables.add(this.object);} return (A) this;
    }

    public WatchEventFluent.PipelineTaskArgumentDisplayObjectNested withNewPipelineTaskArgumentDisplayObject(){
            return new PipelineTaskArgumentDisplayObjectNestedImpl();
    }

    public WatchEventFluent.PipelineTaskArgumentDisplayObjectNested withNewPipelineTaskArgumentDisplayObjectLike(PipelineTaskArgumentDisplay item){
            return new PipelineTaskArgumentDisplayObjectNestedImpl(item);
    }

    public A withPatchObject(Patch patchObject){
            _visitables.remove(this.object);
            if (patchObject!=null){ this.object= new PatchBuilder(patchObject); _visitables.add(this.object);} return (A) this;
    }

    public WatchEventFluent.PatchObjectNested withNewPatchObject(){
            return new PatchObjectNestedImpl();
    }

    public WatchEventFluent.PatchObjectNested withNewPatchObjectLike(Patch item){
            return new PatchObjectNestedImpl(item);
    }

    public A withJobTemplateSpecObject(JobTemplateSpec jobTemplateSpecObject){
            _visitables.remove(this.object);
            if (jobTemplateSpecObject!=null){ this.object= new JobTemplateSpecBuilder(jobTemplateSpecObject); _visitables.add(this.object);} return (A) this;
    }

    public WatchEventFluent.JobTemplateSpecObjectNested withNewJobTemplateSpecObject(){
            return new JobTemplateSpecObjectNestedImpl();
    }

    public WatchEventFluent.JobTemplateSpecObjectNested withNewJobTemplateSpecObjectLike(JobTemplateSpec item){
            return new JobTemplateSpecObjectNestedImpl(item);
    }

    public A withGenericWebHookCauseObject(GenericWebHookCause genericWebHookCauseObject){
            _visitables.remove(this.object);
            if (genericWebHookCauseObject!=null){ this.object= new GenericWebHookCauseBuilder(genericWebHookCauseObject); _visitables.add(this.object);} return (A) this;
    }

    public WatchEventFluent.GenericWebHookCauseObjectNested withNewGenericWebHookCauseObject(){
            return new GenericWebHookCauseObjectNestedImpl();
    }

    public WatchEventFluent.GenericWebHookCauseObjectNested withNewGenericWebHookCauseObjectLike(GenericWebHookCause item){
            return new GenericWebHookCauseObjectNestedImpl(item);
    }

    public A withReplicaSetStatusObject(ReplicaSetStatus replicaSetStatusObject){
            _visitables.remove(this.object);
            if (replicaSetStatusObject!=null){ this.object= new ReplicaSetStatusBuilder(replicaSetStatusObject); _visitables.add(this.object);} return (A) this;
    }

    public WatchEventFluent.ReplicaSetStatusObjectNested withNewReplicaSetStatusObject(){
            return new ReplicaSetStatusObjectNestedImpl();
    }

    public WatchEventFluent.ReplicaSetStatusObjectNested withNewReplicaSetStatusObjectLike(ReplicaSetStatus item){
            return new ReplicaSetStatusObjectNestedImpl(item);
    }

    public A withPipelineConfigTemplateSpecObject(PipelineConfigTemplateSpec pipelineConfigTemplateSpecObject){
            _visitables.remove(this.object);
            if (pipelineConfigTemplateSpecObject!=null){ this.object= new PipelineConfigTemplateSpecBuilder(pipelineConfigTemplateSpecObject); _visitables.add(this.object);} return (A) this;
    }

    public WatchEventFluent.PipelineConfigTemplateSpecObjectNested withNewPipelineConfigTemplateSpecObject(){
            return new PipelineConfigTemplateSpecObjectNestedImpl();
    }

    public WatchEventFluent.PipelineConfigTemplateSpecObjectNested withNewPipelineConfigTemplateSpecObjectLike(PipelineConfigTemplateSpec item){
            return new PipelineConfigTemplateSpecObjectNestedImpl(item);
    }

    public A withGitSourceRevisionObject(GitSourceRevision gitSourceRevisionObject){
            _visitables.remove(this.object);
            if (gitSourceRevisionObject!=null){ this.object= new GitSourceRevisionBuilder(gitSourceRevisionObject); _visitables.add(this.object);} return (A) this;
    }

    public WatchEventFluent.GitSourceRevisionObjectNested withNewGitSourceRevisionObject(){
            return new GitSourceRevisionObjectNestedImpl();
    }

    public WatchEventFluent.GitSourceRevisionObjectNested withNewGitSourceRevisionObjectLike(GitSourceRevision item){
            return new GitSourceRevisionObjectNestedImpl(item);
    }

    public A withLifecycleObject(Lifecycle lifecycleObject){
            _visitables.remove(this.object);
            if (lifecycleObject!=null){ this.object= new LifecycleBuilder(lifecycleObject); _visitables.add(this.object);} return (A) this;
    }

    public WatchEventFluent.LifecycleObjectNested withNewLifecycleObject(){
            return new LifecycleObjectNestedImpl();
    }

    public WatchEventFluent.LifecycleObjectNested withNewLifecycleObjectLike(Lifecycle item){
            return new LifecycleObjectNestedImpl(item);
    }

    public A withJobObject(Job jobObject){
            _visitables.remove(this.object);
            if (jobObject!=null){ this.object= new JobBuilder(jobObject); _visitables.add(this.object);} return (A) this;
    }

    public WatchEventFluent.JobObjectNested withNewJobObject(){
            return new JobObjectNestedImpl();
    }

    public WatchEventFluent.JobObjectNested withNewJobObjectLike(Job item){
            return new JobObjectNestedImpl(item);
    }

    public A withContainerImageObject(ContainerImage containerImageObject){
            _visitables.remove(this.object);
            if (containerImageObject!=null){ this.object= new ContainerImageBuilder(containerImageObject); _visitables.add(this.object);} return (A) this;
    }

    public WatchEventFluent.ContainerImageObjectNested withNewContainerImageObject(){
            return new ContainerImageObjectNestedImpl();
    }

    public WatchEventFluent.ContainerImageObjectNested withNewContainerImageObjectLike(ContainerImage item){
            return new ContainerImageObjectNestedImpl(item);
    }

    public A withStatefulSetUpdateStrategyObject(StatefulSetUpdateStrategy statefulSetUpdateStrategyObject){
            _visitables.remove(this.object);
            if (statefulSetUpdateStrategyObject!=null){ this.object= new StatefulSetUpdateStrategyBuilder(statefulSetUpdateStrategyObject); _visitables.add(this.object);} return (A) this;
    }

    public WatchEventFluent.StatefulSetUpdateStrategyObjectNested withNewStatefulSetUpdateStrategyObject(){
            return new StatefulSetUpdateStrategyObjectNestedImpl();
    }

    public WatchEventFluent.StatefulSetUpdateStrategyObjectNested withNewStatefulSetUpdateStrategyObjectLike(StatefulSetUpdateStrategy item){
            return new StatefulSetUpdateStrategyObjectNestedImpl(item);
    }

    public A withNonResourceAttributesObject(NonResourceAttributes nonResourceAttributesObject){
            _visitables.remove(this.object);
            if (nonResourceAttributesObject!=null){ this.object= new NonResourceAttributesBuilder(nonResourceAttributesObject); _visitables.add(this.object);} return (A) this;
    }

    public WatchEventFluent.NonResourceAttributesObjectNested withNewNonResourceAttributesObject(){
            return new NonResourceAttributesObjectNestedImpl();
    }

    public WatchEventFluent.NonResourceAttributesObjectNested withNewNonResourceAttributesObjectLike(NonResourceAttributes item){
            return new NonResourceAttributesObjectNestedImpl(item);
    }

    public A withNewNonResourceAttributesObject(String path,String verb){
            return (A)withNonResourceAttributesObject(new NonResourceAttributes(path, verb));
    }

    public A withEnvVarSourceObject(EnvVarSource envVarSourceObject){
            _visitables.remove(this.object);
            if (envVarSourceObject!=null){ this.object= new EnvVarSourceBuilder(envVarSourceObject); _visitables.add(this.object);} return (A) this;
    }

    public WatchEventFluent.EnvVarSourceObjectNested withNewEnvVarSourceObject(){
            return new EnvVarSourceObjectNestedImpl();
    }

    public WatchEventFluent.EnvVarSourceObjectNested withNewEnvVarSourceObjectLike(EnvVarSource item){
            return new EnvVarSourceObjectNestedImpl(item);
    }

    public A withNamedRoleBindingObject(NamedRoleBinding namedRoleBindingObject){
            _visitables.remove(this.object);
            if (namedRoleBindingObject!=null){ this.object= new NamedRoleBindingBuilder(namedRoleBindingObject); _visitables.add(this.object);} return (A) this;
    }

    public WatchEventFluent.NamedRoleBindingObjectNested withNewNamedRoleBindingObject(){
            return new NamedRoleBindingObjectNestedImpl();
    }

    public WatchEventFluent.NamedRoleBindingObjectNested withNewNamedRoleBindingObjectLike(NamedRoleBinding item){
            return new NamedRoleBindingObjectNestedImpl(item);
    }

    public A withRollingUpdateDaemonSetObject(RollingUpdateDaemonSet rollingUpdateDaemonSetObject){
            _visitables.remove(this.object);
            if (rollingUpdateDaemonSetObject!=null){ this.object= new RollingUpdateDaemonSetBuilder(rollingUpdateDaemonSetObject); _visitables.add(this.object);} return (A) this;
    }

    public WatchEventFluent.RollingUpdateDaemonSetObjectNested withNewRollingUpdateDaemonSetObject(){
            return new RollingUpdateDaemonSetObjectNestedImpl();
    }

    public WatchEventFluent.RollingUpdateDaemonSetObjectNested withNewRollingUpdateDaemonSetObjectLike(RollingUpdateDaemonSet item){
            return new RollingUpdateDaemonSetObjectNestedImpl(item);
    }

    public A withDeploymentTriggerImageChangeParamsObject(DeploymentTriggerImageChangeParams deploymentTriggerImageChangeParamsObject){
            _visitables.remove(this.object);
            if (deploymentTriggerImageChangeParamsObject!=null){ this.object= new DeploymentTriggerImageChangeParamsBuilder(deploymentTriggerImageChangeParamsObject); _visitables.add(this.object);} return (A) this;
    }

    public WatchEventFluent.DeploymentTriggerImageChangeParamsObjectNested withNewDeploymentTriggerImageChangeParamsObject(){
            return new DeploymentTriggerImageChangeParamsObjectNestedImpl();
    }

    public WatchEventFluent.DeploymentTriggerImageChangeParamsObjectNested withNewDeploymentTriggerImageChangeParamsObjectLike(DeploymentTriggerImageChangeParams item){
            return new DeploymentTriggerImageChangeParamsObjectNestedImpl(item);
    }

    public A withReplicationControllerListObject(ReplicationControllerList replicationControllerListObject){
            _visitables.remove(this.object);
            if (replicationControllerListObject!=null){ this.object= new ReplicationControllerListBuilder(replicationControllerListObject); _visitables.add(this.object);} return (A) this;
    }

    public WatchEventFluent.ReplicationControllerListObjectNested withNewReplicationControllerListObject(){
            return new ReplicationControllerListObjectNestedImpl();
    }

    public WatchEventFluent.ReplicationControllerListObjectNested withNewReplicationControllerListObjectLike(ReplicationControllerList item){
            return new ReplicationControllerListObjectNestedImpl(item);
    }

    public A withDeploymentConfigSpecObject(DeploymentConfigSpec deploymentConfigSpecObject){
            _visitables.remove(this.object);
            if (deploymentConfigSpecObject!=null){ this.object= new DeploymentConfigSpecBuilder(deploymentConfigSpecObject); _visitables.add(this.object);} return (A) this;
    }

    public WatchEventFluent.DeploymentConfigSpecObjectNested withNewDeploymentConfigSpecObject(){
            return new DeploymentConfigSpecObjectNestedImpl();
    }

    public WatchEventFluent.DeploymentConfigSpecObjectNested withNewDeploymentConfigSpecObjectLike(DeploymentConfigSpec item){
            return new DeploymentConfigSpecObjectNestedImpl(item);
    }

    public A withRouteTargetReferenceObject(RouteTargetReference routeTargetReferenceObject){
            _visitables.remove(this.object);
            if (routeTargetReferenceObject!=null){ this.object= new RouteTargetReferenceBuilder(routeTargetReferenceObject); _visitables.add(this.object);} return (A) this;
    }

    public WatchEventFluent.RouteTargetReferenceObjectNested withNewRouteTargetReferenceObject(){
            return new RouteTargetReferenceObjectNestedImpl();
    }

    public WatchEventFluent.RouteTargetReferenceObjectNested withNewRouteTargetReferenceObjectLike(RouteTargetReference item){
            return new RouteTargetReferenceObjectNestedImpl(item);
    }

    public A withNewRouteTargetReferenceObject(String kind,String name,Integer weight){
            return (A)withRouteTargetReferenceObject(new RouteTargetReference(kind, name, weight));
    }

    public A withJobStatusObject(JobStatus jobStatusObject){
            _visitables.remove(this.object);
            if (jobStatusObject!=null){ this.object= new JobStatusBuilder(jobStatusObject); _visitables.add(this.object);} return (A) this;
    }

    public WatchEventFluent.JobStatusObjectNested withNewJobStatusObject(){
            return new JobStatusObjectNestedImpl();
    }

    public WatchEventFluent.JobStatusObjectNested withNewJobStatusObjectLike(JobStatus item){
            return new JobStatusObjectNestedImpl(item);
    }

    public A withDownwardAPIVolumeFileObject(DownwardAPIVolumeFile downwardAPIVolumeFileObject){
            _visitables.remove(this.object);
            if (downwardAPIVolumeFileObject!=null){ this.object= new DownwardAPIVolumeFileBuilder(downwardAPIVolumeFileObject); _visitables.add(this.object);} return (A) this;
    }

    public WatchEventFluent.DownwardAPIVolumeFileObjectNested withNewDownwardAPIVolumeFileObject(){
            return new DownwardAPIVolumeFileObjectNestedImpl();
    }

    public WatchEventFluent.DownwardAPIVolumeFileObjectNested withNewDownwardAPIVolumeFileObjectLike(DownwardAPIVolumeFile item){
            return new DownwardAPIVolumeFileObjectNestedImpl(item);
    }

    public A withRollbackConfigObject(RollbackConfig rollbackConfigObject){
            _visitables.remove(this.object);
            if (rollbackConfigObject!=null){ this.object= new RollbackConfigBuilder(rollbackConfigObject); _visitables.add(this.object);} return (A) this;
    }

    public WatchEventFluent.RollbackConfigObjectNested withNewRollbackConfigObject(){
            return new RollbackConfigObjectNestedImpl();
    }

    public WatchEventFluent.RollbackConfigObjectNested withNewRollbackConfigObjectLike(RollbackConfig item){
            return new RollbackConfigObjectNestedImpl(item);
    }

    public A withNewRollbackConfigObject(Long revision){
            return (A)withRollbackConfigObject(new RollbackConfig(revision));
    }

    public A withCapabilitiesObject(Capabilities capabilitiesObject){
            _visitables.remove(this.object);
            if (capabilitiesObject!=null){ this.object= new CapabilitiesBuilder(capabilitiesObject); _visitables.add(this.object);} return (A) this;
    }

    public WatchEventFluent.CapabilitiesObjectNested withNewCapabilitiesObject(){
            return new CapabilitiesObjectNestedImpl();
    }

    public WatchEventFluent.CapabilitiesObjectNested withNewCapabilitiesObjectLike(Capabilities item){
            return new CapabilitiesObjectNestedImpl(item);
    }

    public A withResourceQuotaStatusObject(ResourceQuotaStatus resourceQuotaStatusObject){
            _visitables.remove(this.object);
            if (resourceQuotaStatusObject!=null){ this.object= new ResourceQuotaStatusBuilder(resourceQuotaStatusObject); _visitables.add(this.object);} return (A) this;
    }

    public WatchEventFluent.ResourceQuotaStatusObjectNested withNewResourceQuotaStatusObject(){
            return new ResourceQuotaStatusObjectNestedImpl();
    }

    public WatchEventFluent.ResourceQuotaStatusObjectNested withNewResourceQuotaStatusObjectLike(ResourceQuotaStatus item){
            return new ResourceQuotaStatusObjectNestedImpl(item);
    }

    public A withDeploymentObject(Deployment deploymentObject){
            _visitables.remove(this.object);
            if (deploymentObject!=null){ this.object= new DeploymentBuilder(deploymentObject); _visitables.add(this.object);} return (A) this;
    }

    public WatchEventFluent.DeploymentObjectNested withNewDeploymentObject(){
            return new DeploymentObjectNestedImpl();
    }

    public WatchEventFluent.DeploymentObjectNested withNewDeploymentObjectLike(Deployment item){
            return new DeploymentObjectNestedImpl(item);
    }

    public A withPersistentVolumeClaimVolumeSourceObject(PersistentVolumeClaimVolumeSource persistentVolumeClaimVolumeSourceObject){
            _visitables.remove(this.object);
            if (persistentVolumeClaimVolumeSourceObject!=null){ this.object= new PersistentVolumeClaimVolumeSourceBuilder(persistentVolumeClaimVolumeSourceObject); _visitables.add(this.object);} return (A) this;
    }

    public WatchEventFluent.PersistentVolumeClaimVolumeSourceObjectNested withNewPersistentVolumeClaimVolumeSourceObject(){
            return new PersistentVolumeClaimVolumeSourceObjectNestedImpl();
    }

    public WatchEventFluent.PersistentVolumeClaimVolumeSourceObjectNested withNewPersistentVolumeClaimVolumeSourceObjectLike(PersistentVolumeClaimVolumeSource item){
            return new PersistentVolumeClaimVolumeSourceObjectNestedImpl(item);
    }

    public A withNewPersistentVolumeClaimVolumeSourceObject(String claimName,Boolean readOnly){
            return (A)withPersistentVolumeClaimVolumeSourceObject(new PersistentVolumeClaimVolumeSource(claimName, readOnly));
    }

    public A withPodTemplateListObject(PodTemplateList podTemplateListObject){
            _visitables.remove(this.object);
            if (podTemplateListObject!=null){ this.object= new PodTemplateListBuilder(podTemplateListObject); _visitables.add(this.object);} return (A) this;
    }

    public WatchEventFluent.PodTemplateListObjectNested withNewPodTemplateListObject(){
            return new PodTemplateListObjectNestedImpl();
    }

    public WatchEventFluent.PodTemplateListObjectNested withNewPodTemplateListObjectLike(PodTemplateList item){
            return new PodTemplateListObjectNestedImpl(item);
    }

    public A withNodeAddressObject(NodeAddress nodeAddressObject){
            _visitables.remove(this.object);
            if (nodeAddressObject!=null){ this.object= new NodeAddressBuilder(nodeAddressObject); _visitables.add(this.object);} return (A) this;
    }

    public WatchEventFluent.NodeAddressObjectNested withNewNodeAddressObject(){
            return new NodeAddressObjectNestedImpl();
    }

    public WatchEventFluent.NodeAddressObjectNested withNewNodeAddressObjectLike(NodeAddress item){
            return new NodeAddressObjectNestedImpl(item);
    }

    public A withNewNodeAddressObject(String address,String type){
            return (A)withNodeAddressObject(new NodeAddress(address, type));
    }

    public A withPersistentVolumeStatusObject(PersistentVolumeStatus persistentVolumeStatusObject){
            _visitables.remove(this.object);
            if (persistentVolumeStatusObject!=null){ this.object= new PersistentVolumeStatusBuilder(persistentVolumeStatusObject); _visitables.add(this.object);} return (A) this;
    }

    public WatchEventFluent.PersistentVolumeStatusObjectNested withNewPersistentVolumeStatusObject(){
            return new PersistentVolumeStatusObjectNestedImpl();
    }

    public WatchEventFluent.PersistentVolumeStatusObjectNested withNewPersistentVolumeStatusObjectLike(PersistentVolumeStatus item){
            return new PersistentVolumeStatusObjectNestedImpl(item);
    }

    public A withNewPersistentVolumeStatusObject(String message,String phase,String reason){
            return (A)withPersistentVolumeStatusObject(new PersistentVolumeStatus(message, phase, reason));
    }

    public A withBuildStrategyObject(BuildStrategy buildStrategyObject){
            _visitables.remove(this.object);
            if (buildStrategyObject!=null){ this.object= new BuildStrategyBuilder(buildStrategyObject); _visitables.add(this.object);} return (A) this;
    }

    public WatchEventFluent.BuildStrategyObjectNested withNewBuildStrategyObject(){
            return new BuildStrategyObjectNestedImpl();
    }

    public WatchEventFluent.BuildStrategyObjectNested withNewBuildStrategyObjectLike(BuildStrategy item){
            return new BuildStrategyObjectNestedImpl(item);
    }

    public A withImageSourcePathObject(ImageSourcePath imageSourcePathObject){
            _visitables.remove(this.object);
            if (imageSourcePathObject!=null){ this.object= new ImageSourcePathBuilder(imageSourcePathObject); _visitables.add(this.object);} return (A) this;
    }

    public WatchEventFluent.ImageSourcePathObjectNested withNewImageSourcePathObject(){
            return new ImageSourcePathObjectNestedImpl();
    }

    public WatchEventFluent.ImageSourcePathObjectNested withNewImageSourcePathObjectLike(ImageSourcePath item){
            return new ImageSourcePathObjectNestedImpl(item);
    }

    public A withNewImageSourcePathObject(String destinationDir,String sourcePath){
            return (A)withImageSourcePathObject(new ImageSourcePath(destinationDir, sourcePath));
    }

    public A withClusterPolicyBindingObject(ClusterPolicyBinding clusterPolicyBindingObject){
            _visitables.remove(this.object);
            if (clusterPolicyBindingObject!=null){ this.object= new ClusterPolicyBindingBuilder(clusterPolicyBindingObject); _visitables.add(this.object);} return (A) this;
    }

    public WatchEventFluent.ClusterPolicyBindingObjectNested withNewClusterPolicyBindingObject(){
            return new ClusterPolicyBindingObjectNestedImpl();
    }

    public WatchEventFluent.ClusterPolicyBindingObjectNested withNewClusterPolicyBindingObjectLike(ClusterPolicyBinding item){
            return new ClusterPolicyBindingObjectNestedImpl(item);
    }

    public A withProjectStatusObject(ProjectStatus projectStatusObject){
            _visitables.remove(this.object);
            if (projectStatusObject!=null){ this.object= new ProjectStatusBuilder(projectStatusObject); _visitables.add(this.object);} return (A) this;
    }

    public WatchEventFluent.ProjectStatusObjectNested withNewProjectStatusObject(){
            return new ProjectStatusObjectNestedImpl();
    }

    public WatchEventFluent.ProjectStatusObjectNested withNewProjectStatusObjectLike(ProjectStatus item){
            return new ProjectStatusObjectNestedImpl(item);
    }

    public A withClusterPolicyListObject(ClusterPolicyList clusterPolicyListObject){
            _visitables.remove(this.object);
            if (clusterPolicyListObject!=null){ this.object= new ClusterPolicyListBuilder(clusterPolicyListObject); _visitables.add(this.object);} return (A) this;
    }

    public WatchEventFluent.ClusterPolicyListObjectNested withNewClusterPolicyListObject(){
            return new ClusterPolicyListObjectNestedImpl();
    }

    public WatchEventFluent.ClusterPolicyListObjectNested withNewClusterPolicyListObjectLike(ClusterPolicyList item){
            return new ClusterPolicyListObjectNestedImpl(item);
    }

    public A withScaleStatusObject(ScaleStatus scaleStatusObject){
            _visitables.remove(this.object);
            if (scaleStatusObject!=null){ this.object= new ScaleStatusBuilder(scaleStatusObject); _visitables.add(this.object);} return (A) this;
    }

    public WatchEventFluent.ScaleStatusObjectNested withNewScaleStatusObject(){
            return new ScaleStatusObjectNestedImpl();
    }

    public WatchEventFluent.ScaleStatusObjectNested withNewScaleStatusObjectLike(ScaleStatus item){
            return new ScaleStatusObjectNestedImpl(item);
    }

    public A withPipelineSpecObject(PipelineSpec pipelineSpecObject){
            _visitables.remove(this.object);
            if (pipelineSpecObject!=null){ this.object= new PipelineSpecBuilder(pipelineSpecObject); _visitables.add(this.object);} return (A) this;
    }

    public WatchEventFluent.PipelineSpecObjectNested withNewPipelineSpecObject(){
            return new PipelineSpecObjectNestedImpl();
    }

    public WatchEventFluent.PipelineSpecObjectNested withNewPipelineSpecObjectLike(PipelineSpec item){
            return new PipelineSpecObjectNestedImpl(item);
    }

    public A withGroupRestrictionObject(GroupRestriction groupRestrictionObject){
            _visitables.remove(this.object);
            if (groupRestrictionObject!=null){ this.object= new GroupRestrictionBuilder(groupRestrictionObject); _visitables.add(this.object);} return (A) this;
    }

    public WatchEventFluent.GroupRestrictionObjectNested withNewGroupRestrictionObject(){
            return new GroupRestrictionObjectNestedImpl();
    }

    public WatchEventFluent.GroupRestrictionObjectNested withNewGroupRestrictionObjectLike(GroupRestriction item){
            return new GroupRestrictionObjectNestedImpl(item);
    }

    public A withProjectObject(Project projectObject){
            _visitables.remove(this.object);
            if (projectObject!=null){ this.object= new ProjectBuilder(projectObject); _visitables.add(this.object);} return (A) this;
    }

    public WatchEventFluent.ProjectObjectNested withNewProjectObject(){
            return new ProjectObjectNestedImpl();
    }

    public WatchEventFluent.ProjectObjectNested withNewProjectObjectLike(Project item){
            return new ProjectObjectNestedImpl(item);
    }

    public A withBuildRequestObject(BuildRequest buildRequestObject){
            _visitables.remove(this.object);
            if (buildRequestObject!=null){ this.object= new BuildRequestBuilder(buildRequestObject); _visitables.add(this.object);} return (A) this;
    }

    public WatchEventFluent.BuildRequestObjectNested withNewBuildRequestObject(){
            return new BuildRequestObjectNestedImpl();
    }

    public WatchEventFluent.BuildRequestObjectNested withNewBuildRequestObjectLike(BuildRequest item){
            return new BuildRequestObjectNestedImpl(item);
    }

    public A withConfigMapEnvSourceObject(ConfigMapEnvSource configMapEnvSourceObject){
            _visitables.remove(this.object);
            if (configMapEnvSourceObject!=null){ this.object= new ConfigMapEnvSourceBuilder(configMapEnvSourceObject); _visitables.add(this.object);} return (A) this;
    }

    public WatchEventFluent.ConfigMapEnvSourceObjectNested withNewConfigMapEnvSourceObject(){
            return new ConfigMapEnvSourceObjectNestedImpl();
    }

    public WatchEventFluent.ConfigMapEnvSourceObjectNested withNewConfigMapEnvSourceObjectLike(ConfigMapEnvSource item){
            return new ConfigMapEnvSourceObjectNestedImpl(item);
    }

    public A withNewConfigMapEnvSourceObject(String name,Boolean optional){
            return (A)withConfigMapEnvSourceObject(new ConfigMapEnvSource(name, optional));
    }

    public A withWatchEventObject(WatchEvent watchEventObject){
            _visitables.remove(this.object);
            if (watchEventObject!=null){ this.object= new WatchEventBuilder(watchEventObject); _visitables.add(this.object);} return (A) this;
    }

    public WatchEventFluent.WatchEventObjectNested withNewWatchEventObject(){
            return new WatchEventObjectNestedImpl();
    }

    public WatchEventFluent.WatchEventObjectNested withNewWatchEventObjectLike(WatchEvent item){
            return new WatchEventObjectNestedImpl(item);
    }

    public A withHostAliasObject(HostAlias hostAliasObject){
            _visitables.remove(this.object);
            if (hostAliasObject!=null){ this.object= new HostAliasBuilder(hostAliasObject); _visitables.add(this.object);} return (A) this;
    }

    public WatchEventFluent.HostAliasObjectNested withNewHostAliasObject(){
            return new HostAliasObjectNestedImpl();
    }

    public WatchEventFluent.HostAliasObjectNested withNewHostAliasObjectLike(HostAlias item){
            return new HostAliasObjectNestedImpl(item);
    }

    public A withDeploymentDetailsObject(DeploymentDetails deploymentDetailsObject){
            _visitables.remove(this.object);
            if (deploymentDetailsObject!=null){ this.object= new DeploymentDetailsBuilder(deploymentDetailsObject); _visitables.add(this.object);} return (A) this;
    }

    public WatchEventFluent.DeploymentDetailsObjectNested withNewDeploymentDetailsObject(){
            return new DeploymentDetailsObjectNestedImpl();
    }

    public WatchEventFluent.DeploymentDetailsObjectNested withNewDeploymentDetailsObjectLike(DeploymentDetails item){
            return new DeploymentDetailsObjectNestedImpl(item);
    }

    public A withI18nNameObject(I18nName i18nNameObject){
            _visitables.remove(this.object);
            if (i18nNameObject!=null){ this.object= new I18nNameBuilder(i18nNameObject); _visitables.add(this.object);} return (A) this;
    }

    public WatchEventFluent.I18nNameObjectNested withNewI18nNameObject(){
            return new I18nNameObjectNestedImpl();
    }

    public WatchEventFluent.I18nNameObjectNested withNewI18nNameObjectLike(I18nName item){
            return new I18nNameObjectNestedImpl(item);
    }

    public A withNewI18nNameObject(String en,String zhCN){
            return (A)withI18nNameObject(new I18nName(en, zhCN));
    }

    public A withPipelineRunLimitsObject(PipelineRunLimits pipelineRunLimitsObject){
            _visitables.remove(this.object);
            if (pipelineRunLimitsObject!=null){ this.object= new PipelineRunLimitsBuilder(pipelineRunLimitsObject); _visitables.add(this.object);} return (A) this;
    }

    public WatchEventFluent.PipelineRunLimitsObjectNested withNewPipelineRunLimitsObject(){
            return new PipelineRunLimitsObjectNestedImpl();
    }

    public WatchEventFluent.PipelineRunLimitsObjectNested withNewPipelineRunLimitsObjectLike(PipelineRunLimits item){
            return new PipelineRunLimitsObjectNestedImpl(item);
    }

    public A withNewPipelineRunLimitsObject(Long failureCount,Long successCount){
            return (A)withPipelineRunLimitsObject(new PipelineRunLimits(failureCount, successCount));
    }

    public A withRoleBindingObject(RoleBinding roleBindingObject){
            _visitables.remove(this.object);
            if (roleBindingObject!=null){ this.object= new RoleBindingBuilder(roleBindingObject); _visitables.add(this.object);} return (A) this;
    }

    public WatchEventFluent.RoleBindingObjectNested withNewRoleBindingObject(){
            return new RoleBindingObjectNestedImpl();
    }

    public WatchEventFluent.RoleBindingObjectNested withNewRoleBindingObjectLike(RoleBinding item){
            return new RoleBindingObjectNestedImpl(item);
    }

    public A withObjectReferenceObject(ObjectReference objectReferenceObject){
            _visitables.remove(this.object);
            if (objectReferenceObject!=null){ this.object= new ObjectReferenceBuilder(objectReferenceObject); _visitables.add(this.object);} return (A) this;
    }

    public WatchEventFluent.ObjectReferenceObjectNested withNewObjectReferenceObject(){
            return new ObjectReferenceObjectNestedImpl();
    }

    public WatchEventFluent.ObjectReferenceObjectNested withNewObjectReferenceObjectLike(ObjectReference item){
            return new ObjectReferenceObjectNestedImpl(item);
    }

    public A withSecurityContextConstraintsListObject(SecurityContextConstraintsList securityContextConstraintsListObject){
            _visitables.remove(this.object);
            if (securityContextConstraintsListObject!=null){ this.object= new SecurityContextConstraintsListBuilder(securityContextConstraintsListObject); _visitables.add(this.object);} return (A) this;
    }

    public WatchEventFluent.SecurityContextConstraintsListObjectNested withNewSecurityContextConstraintsListObject(){
            return new SecurityContextConstraintsListObjectNestedImpl();
    }

    public WatchEventFluent.SecurityContextConstraintsListObjectNested withNewSecurityContextConstraintsListObjectLike(SecurityContextConstraintsList item){
            return new SecurityContextConstraintsListObjectNestedImpl(item);
    }

    public A withPersistentVolumeObject(PersistentVolume persistentVolumeObject){
            _visitables.remove(this.object);
            if (persistentVolumeObject!=null){ this.object= new PersistentVolumeBuilder(persistentVolumeObject); _visitables.add(this.object);} return (A) this;
    }

    public WatchEventFluent.PersistentVolumeObjectNested withNewPersistentVolumeObject(){
            return new PersistentVolumeObjectNestedImpl();
    }

    public WatchEventFluent.PersistentVolumeObjectNested withNewPersistentVolumeObjectLike(PersistentVolume item){
            return new PersistentVolumeObjectNestedImpl(item);
    }

    public String getType(){
            return this.type;
    }

    public A withType(String type){
            this.type=type; return (A) this;
    }

    public Boolean hasType(){
            return this.type!=null;
    }

    public boolean equals(Object o){
            if (this == o) return true;
            if (o == null || getClass() != o.getClass()) return false;
            if (!super.equals(o)) return false;
            WatchEventFluentImpl that = (WatchEventFluentImpl) o;
            if (object != null ? !object.equals(that.object) :that.object != null) return false;
            if (type != null ? !type.equals(that.type) :that.type != null) return false;
            return true;
    }


    public class NamedClusterObjectNestedImpl extends NamedClusterFluentImpl> implements WatchEventFluent.NamedClusterObjectNested,io.alauda.kubernetes.api.builder.Nested{

            private final NamedClusterBuilder builder;
    
            NamedClusterObjectNestedImpl(NamedCluster item){
                    this.builder = new NamedClusterBuilder(this, item);
            }
            NamedClusterObjectNestedImpl(){
                    this.builder = new NamedClusterBuilder(this);
            }
    
    public N and(){
            return (N) WatchEventFluentImpl.this.withNamedClusterObject(builder.build());
    }
    public N endNamedClusterObject(){
            return and();
    }

}
    public class WebHookTriggerObjectNestedImpl extends WebHookTriggerFluentImpl> implements WatchEventFluent.WebHookTriggerObjectNested,io.alauda.kubernetes.api.builder.Nested{

            private final WebHookTriggerBuilder builder;
    
            WebHookTriggerObjectNestedImpl(WebHookTrigger item){
                    this.builder = new WebHookTriggerBuilder(this, item);
            }
            WebHookTriggerObjectNestedImpl(){
                    this.builder = new WebHookTriggerBuilder(this);
            }
    
    public N and(){
            return (N) WatchEventFluentImpl.this.withWebHookTriggerObject(builder.build());
    }
    public N endWebHookTriggerObject(){
            return and();
    }

}
    public class AWSElasticBlockStoreVolumeSourceObjectNestedImpl extends AWSElasticBlockStoreVolumeSourceFluentImpl> implements WatchEventFluent.AWSElasticBlockStoreVolumeSourceObjectNested,io.alauda.kubernetes.api.builder.Nested{

            private final AWSElasticBlockStoreVolumeSourceBuilder builder;
    
            AWSElasticBlockStoreVolumeSourceObjectNestedImpl(AWSElasticBlockStoreVolumeSource item){
                    this.builder = new AWSElasticBlockStoreVolumeSourceBuilder(this, item);
            }
            AWSElasticBlockStoreVolumeSourceObjectNestedImpl(){
                    this.builder = new AWSElasticBlockStoreVolumeSourceBuilder(this);
            }
    
    public N and(){
            return (N) WatchEventFluentImpl.this.withAWSElasticBlockStoreVolumeSourceObject(builder.build());
    }
    public N endAWSElasticBlockStoreVolumeSourceObject(){
            return and();
    }

}
    public class DockerBuildStrategyObjectNestedImpl extends DockerBuildStrategyFluentImpl> implements WatchEventFluent.DockerBuildStrategyObjectNested,io.alauda.kubernetes.api.builder.Nested{

            private final DockerBuildStrategyBuilder builder;
    
            DockerBuildStrategyObjectNestedImpl(DockerBuildStrategy item){
                    this.builder = new DockerBuildStrategyBuilder(this, item);
            }
            DockerBuildStrategyObjectNestedImpl(){
                    this.builder = new DockerBuildStrategyBuilder(this);
            }
    
    public N and(){
            return (N) WatchEventFluentImpl.this.withDockerBuildStrategyObject(builder.build());
    }
    public N endDockerBuildStrategyObject(){
            return and();
    }

}
    public class IngressObjectNestedImpl extends IngressFluentImpl> implements WatchEventFluent.IngressObjectNested,io.alauda.kubernetes.api.builder.Nested{

            private final IngressBuilder builder;
    
            IngressObjectNestedImpl(Ingress item){
                    this.builder = new IngressBuilder(this, item);
            }
            IngressObjectNestedImpl(){
                    this.builder = new IngressBuilder(this);
            }
    
    public N and(){
            return (N) WatchEventFluentImpl.this.withIngressObject(builder.build());
    }
    public N endIngressObject(){
            return and();
    }

}
    public class TagImageHookObjectNestedImpl extends TagImageHookFluentImpl> implements WatchEventFluent.TagImageHookObjectNested,io.alauda.kubernetes.api.builder.Nested{

            private final TagImageHookBuilder builder;
    
            TagImageHookObjectNestedImpl(TagImageHook item){
                    this.builder = new TagImageHookBuilder(this, item);
            }
            TagImageHookObjectNestedImpl(){
                    this.builder = new TagImageHookBuilder(this);
            }
    
    public N and(){
            return (N) WatchEventFluentImpl.this.withTagImageHookObject(builder.build());
    }
    public N endTagImageHookObject(){
            return and();
    }

}
    public class ImageChangeCauseObjectNestedImpl extends ImageChangeCauseFluentImpl> implements WatchEventFluent.ImageChangeCauseObjectNested,io.alauda.kubernetes.api.builder.Nested{

            private final ImageChangeCauseBuilder builder;
    
            ImageChangeCauseObjectNestedImpl(ImageChangeCause item){
                    this.builder = new ImageChangeCauseBuilder(this, item);
            }
            ImageChangeCauseObjectNestedImpl(){
                    this.builder = new ImageChangeCauseBuilder(this);
            }
    
    public N and(){
            return (N) WatchEventFluentImpl.this.withImageChangeCauseObject(builder.build());
    }
    public N endImageChangeCauseObject(){
            return and();
    }

}
    public class RouteObjectNestedImpl extends RouteFluentImpl> implements WatchEventFluent.RouteObjectNested,io.alauda.kubernetes.api.builder.Nested{

            private final RouteBuilder builder;
    
            RouteObjectNestedImpl(Route item){
                    this.builder = new RouteBuilder(this, item);
            }
            RouteObjectNestedImpl(){
                    this.builder = new RouteBuilder(this);
            }
    
    public N and(){
            return (N) WatchEventFluentImpl.this.withRouteObject(builder.build());
    }
    public N endRouteObject(){
            return and();
    }

}
    public class ImageListObjectNestedImpl extends ImageListFluentImpl> implements WatchEventFluent.ImageListObjectNested,io.alauda.kubernetes.api.builder.Nested{

            private final ImageListBuilder builder;
    
            ImageListObjectNestedImpl(ImageList item){
                    this.builder = new ImageListBuilder(this, item);
            }
            ImageListObjectNestedImpl(){
                    this.builder = new ImageListBuilder(this);
            }
    
    public N and(){
            return (N) WatchEventFluentImpl.this.withImageListObject(builder.build());
    }
    public N endImageListObject(){
            return and();
    }

}
    public class BuildStatusOutputObjectNestedImpl extends BuildStatusOutputFluentImpl> implements WatchEventFluent.BuildStatusOutputObjectNested,io.alauda.kubernetes.api.builder.Nested{

            private final BuildStatusOutputBuilder builder;
    
            BuildStatusOutputObjectNestedImpl(BuildStatusOutput item){
                    this.builder = new BuildStatusOutputBuilder(this, item);
            }
            BuildStatusOutputObjectNestedImpl(){
                    this.builder = new BuildStatusOutputBuilder(this);
            }
    
    public N and(){
            return (N) WatchEventFluentImpl.this.withBuildStatusOutputObject(builder.build());
    }
    public N endBuildStatusOutputObject(){
            return and();
    }

}
    public class ResourceQuotaSpecObjectNestedImpl extends ResourceQuotaSpecFluentImpl> implements WatchEventFluent.ResourceQuotaSpecObjectNested,io.alauda.kubernetes.api.builder.Nested{

            private final ResourceQuotaSpecBuilder builder;
    
            ResourceQuotaSpecObjectNestedImpl(ResourceQuotaSpec item){
                    this.builder = new ResourceQuotaSpecBuilder(this, item);
            }
            ResourceQuotaSpecObjectNestedImpl(){
                    this.builder = new ResourceQuotaSpecBuilder(this);
            }
    
    public N and(){
            return (N) WatchEventFluentImpl.this.withResourceQuotaSpecObject(builder.build());
    }
    public N endResourceQuotaSpecObject(){
            return and();
    }

}
    public class JobSpecObjectNestedImpl extends JobSpecFluentImpl> implements WatchEventFluent.JobSpecObjectNested,io.alauda.kubernetes.api.builder.Nested{

            private final JobSpecBuilder builder;
    
            JobSpecObjectNestedImpl(JobSpec item){
                    this.builder = new JobSpecBuilder(this, item);
            }
            JobSpecObjectNestedImpl(){
                    this.builder = new JobSpecBuilder(this);
            }
    
    public N and(){
            return (N) WatchEventFluentImpl.this.withJobSpecObject(builder.build());
    }
    public N endJobSpecObject(){
            return and();
    }

}
    public class SecretListObjectNestedImpl extends SecretListFluentImpl> implements WatchEventFluent.SecretListObjectNested,io.alauda.kubernetes.api.builder.Nested{

            private final SecretListBuilder builder;
    
            SecretListObjectNestedImpl(SecretList item){
                    this.builder = new SecretListBuilder(this, item);
            }
            SecretListObjectNestedImpl(){
                    this.builder = new SecretListBuilder(this);
            }
    
    public N and(){
            return (N) WatchEventFluentImpl.this.withSecretListObject(builder.build());
    }
    public N endSecretListObject(){
            return and();
    }

}
    public class JenkinsListObjectNestedImpl extends JenkinsListFluentImpl> implements WatchEventFluent.JenkinsListObjectNested,io.alauda.kubernetes.api.builder.Nested{

            private final JenkinsListBuilder builder;
    
            JenkinsListObjectNestedImpl(JenkinsList item){
                    this.builder = new JenkinsListBuilder(this, item);
            }
            JenkinsListObjectNestedImpl(){
                    this.builder = new JenkinsListBuilder(this);
            }
    
    public N and(){
            return (N) WatchEventFluentImpl.this.withJenkinsListObject(builder.build());
    }
    public N endJenkinsListObject(){
            return and();
    }

}
    public class LabelSelectorObjectNestedImpl extends LabelSelectorFluentImpl> implements WatchEventFluent.LabelSelectorObjectNested,io.alauda.kubernetes.api.builder.Nested{

            private final LabelSelectorBuilder builder;
    
            LabelSelectorObjectNestedImpl(LabelSelector item){
                    this.builder = new LabelSelectorBuilder(this, item);
            }
            LabelSelectorObjectNestedImpl(){
                    this.builder = new LabelSelectorBuilder(this);
            }
    
    public N and(){
            return (N) WatchEventFluentImpl.this.withLabelSelectorObject(builder.build());
    }
    public N endLabelSelectorObject(){
            return and();
    }

}
    public class DeleteOptionsObjectNestedImpl extends DeleteOptionsFluentImpl> implements WatchEventFluent.DeleteOptionsObjectNested,io.alauda.kubernetes.api.builder.Nested{

            private final DeleteOptionsBuilder builder;
    
            DeleteOptionsObjectNestedImpl(DeleteOptions item){
                    this.builder = new DeleteOptionsBuilder(this, item);
            }
            DeleteOptionsObjectNestedImpl(){
                    this.builder = new DeleteOptionsBuilder(this);
            }
    
    public N and(){
            return (N) WatchEventFluentImpl.this.withDeleteOptionsObject(builder.build());
    }
    public N endDeleteOptionsObject(){
            return and();
    }

}
    public class DownwardAPIProjectionObjectNestedImpl extends DownwardAPIProjectionFluentImpl> implements WatchEventFluent.DownwardAPIProjectionObjectNested,io.alauda.kubernetes.api.builder.Nested{

            private final DownwardAPIProjectionBuilder builder;
    
            DownwardAPIProjectionObjectNestedImpl(DownwardAPIProjection item){
                    this.builder = new DownwardAPIProjectionBuilder(this, item);
            }
            DownwardAPIProjectionObjectNestedImpl(){
                    this.builder = new DownwardAPIProjectionBuilder(this);
            }
    
    public N and(){
            return (N) WatchEventFluentImpl.this.withDownwardAPIProjectionObject(builder.build());
    }
    public N endDownwardAPIProjectionObject(){
            return and();
    }

}
    public class PipelineTaskApproveObjectNestedImpl extends PipelineTaskApproveFluentImpl> implements WatchEventFluent.PipelineTaskApproveObjectNested,io.alauda.kubernetes.api.builder.Nested{

            private final PipelineTaskApproveBuilder builder;
    
            PipelineTaskApproveObjectNestedImpl(PipelineTaskApprove item){
                    this.builder = new PipelineTaskApproveBuilder(this, item);
            }
            PipelineTaskApproveObjectNestedImpl(){
                    this.builder = new PipelineTaskApproveBuilder(this);
            }
    
    public N and(){
            return (N) WatchEventFluentImpl.this.withPipelineTaskApproveObject(builder.build());
    }
    public N endPipelineTaskApproveObject(){
            return and();
    }

}
    public class WeightedPodAffinityTermObjectNestedImpl extends WeightedPodAffinityTermFluentImpl> implements WatchEventFluent.WeightedPodAffinityTermObjectNested,io.alauda.kubernetes.api.builder.Nested{

            private final WeightedPodAffinityTermBuilder builder;
    
            WeightedPodAffinityTermObjectNestedImpl(WeightedPodAffinityTerm item){
                    this.builder = new WeightedPodAffinityTermBuilder(this, item);
            }
            WeightedPodAffinityTermObjectNestedImpl(){
                    this.builder = new WeightedPodAffinityTermBuilder(this);
            }
    
    public N and(){
            return (N) WatchEventFluentImpl.this.withWeightedPodAffinityTermObject(builder.build());
    }
    public N endWeightedPodAffinityTermObject(){
            return and();
    }

}
    public class NodeListObjectNestedImpl extends NodeListFluentImpl> implements WatchEventFluent.NodeListObjectNested,io.alauda.kubernetes.api.builder.Nested{

            private final NodeListBuilder builder;
    
            NodeListObjectNestedImpl(NodeList item){
                    this.builder = new NodeListBuilder(this, item);
            }
            NodeListObjectNestedImpl(){
                    this.builder = new NodeListBuilder(this);
            }
    
    public N and(){
            return (N) WatchEventFluentImpl.this.withNodeListObject(builder.build());
    }
    public N endNodeListObject(){
            return and();
    }

}
    public class CinderVolumeSourceObjectNestedImpl extends CinderVolumeSourceFluentImpl> implements WatchEventFluent.CinderVolumeSourceObjectNested,io.alauda.kubernetes.api.builder.Nested{

            private final CinderVolumeSourceBuilder builder;
    
            CinderVolumeSourceObjectNestedImpl(CinderVolumeSource item){
                    this.builder = new CinderVolumeSourceBuilder(this, item);
            }
            CinderVolumeSourceObjectNestedImpl(){
                    this.builder = new CinderVolumeSourceBuilder(this);
            }
    
    public N and(){
            return (N) WatchEventFluentImpl.this.withCinderVolumeSourceObject(builder.build());
    }
    public N endCinderVolumeSourceObject(){
            return and();
    }

}
    public class PolicyBindingObjectNestedImpl extends PolicyBindingFluentImpl> implements WatchEventFluent.PolicyBindingObjectNested,io.alauda.kubernetes.api.builder.Nested{

            private final PolicyBindingBuilder builder;
    
            PolicyBindingObjectNestedImpl(PolicyBinding item){
                    this.builder = new PolicyBindingBuilder(this, item);
            }
            PolicyBindingObjectNestedImpl(){
                    this.builder = new PolicyBindingBuilder(this);
            }
    
    public N and(){
            return (N) WatchEventFluentImpl.this.withPolicyBindingObject(builder.build());
    }
    public N endPolicyBindingObject(){
            return and();
    }

}
    public class ImageStreamSpecObjectNestedImpl extends ImageStreamSpecFluentImpl> implements WatchEventFluent.ImageStreamSpecObjectNested,io.alauda.kubernetes.api.builder.Nested{

            private final ImageStreamSpecBuilder builder;
    
            ImageStreamSpecObjectNestedImpl(ImageStreamSpec item){
                    this.builder = new ImageStreamSpecBuilder(this, item);
            }
            ImageStreamSpecObjectNestedImpl(){
                    this.builder = new ImageStreamSpecBuilder(this);
            }
    
    public N and(){
            return (N) WatchEventFluentImpl.this.withImageStreamSpecObject(builder.build());
    }
    public N endImageStreamSpecObject(){
            return and();
    }

}
    public class LocalVolumeSourceObjectNestedImpl extends LocalVolumeSourceFluentImpl> implements WatchEventFluent.LocalVolumeSourceObjectNested,io.alauda.kubernetes.api.builder.Nested{

            private final LocalVolumeSourceBuilder builder;
    
            LocalVolumeSourceObjectNestedImpl(LocalVolumeSource item){
                    this.builder = new LocalVolumeSourceBuilder(this, item);
            }
            LocalVolumeSourceObjectNestedImpl(){
                    this.builder = new LocalVolumeSourceBuilder(this);
            }
    
    public N and(){
            return (N) WatchEventFluentImpl.this.withLocalVolumeSourceObject(builder.build());
    }
    public N endLocalVolumeSourceObject(){
            return and();
    }

}
    public class ResourceQuotaObjectNestedImpl extends ResourceQuotaFluentImpl> implements WatchEventFluent.ResourceQuotaObjectNested,io.alauda.kubernetes.api.builder.Nested{

            private final ResourceQuotaBuilder builder;
    
            ResourceQuotaObjectNestedImpl(ResourceQuota item){
                    this.builder = new ResourceQuotaBuilder(this, item);
            }
            ResourceQuotaObjectNestedImpl(){
                    this.builder = new ResourceQuotaBuilder(this);
            }
    
    public N and(){
            return (N) WatchEventFluentImpl.this.withResourceQuotaObject(builder.build());
    }
    public N endResourceQuotaObject(){
            return and();
    }

}
    public class TagReferencePolicyObjectNestedImpl extends TagReferencePolicyFluentImpl> implements WatchEventFluent.TagReferencePolicyObjectNested,io.alauda.kubernetes.api.builder.Nested{

            private final TagReferencePolicyBuilder builder;
    
            TagReferencePolicyObjectNestedImpl(TagReferencePolicy item){
                    this.builder = new TagReferencePolicyBuilder(this, item);
            }
            TagReferencePolicyObjectNestedImpl(){
                    this.builder = new TagReferencePolicyBuilder(this);
            }
    
    public N and(){
            return (N) WatchEventFluentImpl.this.withTagReferencePolicyObject(builder.build());
    }
    public N endTagReferencePolicyObject(){
            return and();
    }

}
    public class UserInfoObjectNestedImpl extends UserInfoFluentImpl> implements WatchEventFluent.UserInfoObjectNested,io.alauda.kubernetes.api.builder.Nested{

            private final UserInfoBuilder builder;
    
            UserInfoObjectNestedImpl(UserInfo item){
                    this.builder = new UserInfoBuilder(this, item);
            }
            UserInfoObjectNestedImpl(){
                    this.builder = new UserInfoBuilder(this);
            }
    
    public N and(){
            return (N) WatchEventFluentImpl.this.withUserInfoObject(builder.build());
    }
    public N endUserInfoObject(){
            return and();
    }

}
    public class CustomDeploymentStrategyParamsObjectNestedImpl extends CustomDeploymentStrategyParamsFluentImpl> implements WatchEventFluent.CustomDeploymentStrategyParamsObjectNested,io.alauda.kubernetes.api.builder.Nested{

            private final CustomDeploymentStrategyParamsBuilder builder;
    
            CustomDeploymentStrategyParamsObjectNestedImpl(CustomDeploymentStrategyParams item){
                    this.builder = new CustomDeploymentStrategyParamsBuilder(this, item);
            }
            CustomDeploymentStrategyParamsObjectNestedImpl(){
                    this.builder = new CustomDeploymentStrategyParamsBuilder(this);
            }
    
    public N and(){
            return (N) WatchEventFluentImpl.this.withCustomDeploymentStrategyParamsObject(builder.build());
    }
    public N endCustomDeploymentStrategyParamsObject(){
            return and();
    }

}
    public class CustomResourceDefinitionSpecObjectNestedImpl extends CustomResourceDefinitionSpecFluentImpl> implements WatchEventFluent.CustomResourceDefinitionSpecObjectNested,io.alauda.kubernetes.api.builder.Nested{

            private final CustomResourceDefinitionSpecBuilder builder;
    
            CustomResourceDefinitionSpecObjectNestedImpl(CustomResourceDefinitionSpec item){
                    this.builder = new CustomResourceDefinitionSpecBuilder(this, item);
            }
            CustomResourceDefinitionSpecObjectNestedImpl(){
                    this.builder = new CustomResourceDefinitionSpecBuilder(this);
            }
    
    public N and(){
            return (N) WatchEventFluentImpl.this.withCustomResourceDefinitionSpecObject(builder.build());
    }
    public N endCustomResourceDefinitionSpecObject(){
            return and();
    }

}
    public class AzureFileVolumeSourceObjectNestedImpl extends AzureFileVolumeSourceFluentImpl> implements WatchEventFluent.AzureFileVolumeSourceObjectNested,io.alauda.kubernetes.api.builder.Nested{

            private final AzureFileVolumeSourceBuilder builder;
    
            AzureFileVolumeSourceObjectNestedImpl(AzureFileVolumeSource item){
                    this.builder = new AzureFileVolumeSourceBuilder(this, item);
            }
            AzureFileVolumeSourceObjectNestedImpl(){
                    this.builder = new AzureFileVolumeSourceBuilder(this);
            }
    
    public N and(){
            return (N) WatchEventFluentImpl.this.withAzureFileVolumeSourceObject(builder.build());
    }
    public N endAzureFileVolumeSourceObject(){
            return and();
    }

}
    public class ServiceAccountObjectNestedImpl extends ServiceAccountFluentImpl> implements WatchEventFluent.ServiceAccountObjectNested,io.alauda.kubernetes.api.builder.Nested{

            private final ServiceAccountBuilder builder;
    
            ServiceAccountObjectNestedImpl(ServiceAccount item){
                    this.builder = new ServiceAccountBuilder(this, item);
            }
            ServiceAccountObjectNestedImpl(){
                    this.builder = new ServiceAccountBuilder(this);
            }
    
    public N and(){
            return (N) WatchEventFluentImpl.this.withServiceAccountObject(builder.build());
    }
    public N endServiceAccountObject(){
            return and();
    }

}
    public class StorageOSPersistentVolumeSourceObjectNestedImpl extends StorageOSPersistentVolumeSourceFluentImpl> implements WatchEventFluent.StorageOSPersistentVolumeSourceObjectNested,io.alauda.kubernetes.api.builder.Nested{

            private final StorageOSPersistentVolumeSourceBuilder builder;
    
            StorageOSPersistentVolumeSourceObjectNestedImpl(StorageOSPersistentVolumeSource item){
                    this.builder = new StorageOSPersistentVolumeSourceBuilder(this, item);
            }
            StorageOSPersistentVolumeSourceObjectNestedImpl(){
                    this.builder = new StorageOSPersistentVolumeSourceBuilder(this);
            }
    
    public N and(){
            return (N) WatchEventFluentImpl.this.withStorageOSPersistentVolumeSourceObject(builder.build());
    }
    public N endStorageOSPersistentVolumeSourceObject(){
            return and();
    }

}
    public class PipelineStageInstanceObjectNestedImpl extends PipelineStageInstanceFluentImpl> implements WatchEventFluent.PipelineStageInstanceObjectNested,io.alauda.kubernetes.api.builder.Nested{

            private final PipelineStageInstanceBuilder builder;
    
            PipelineStageInstanceObjectNestedImpl(PipelineStageInstance item){
                    this.builder = new PipelineStageInstanceBuilder(this, item);
            }
            PipelineStageInstanceObjectNestedImpl(){
                    this.builder = new PipelineStageInstanceBuilder(this);
            }
    
    public N and(){
            return (N) WatchEventFluentImpl.this.withPipelineStageInstanceObject(builder.build());
    }
    public N endPipelineStageInstanceObject(){
            return and();
    }

}
    public class ConfigMapObjectNestedImpl extends ConfigMapFluentImpl> implements WatchEventFluent.ConfigMapObjectNested,io.alauda.kubernetes.api.builder.Nested{

            private final ConfigMapBuilder builder;
    
            ConfigMapObjectNestedImpl(ConfigMap item){
                    this.builder = new ConfigMapBuilder(this, item);
            }
            ConfigMapObjectNestedImpl(){
                    this.builder = new ConfigMapBuilder(this);
            }
    
    public N and(){
            return (N) WatchEventFluentImpl.this.withConfigMapObject(builder.build());
    }
    public N endConfigMapObject(){
            return and();
    }

}
    public class OAuthClientAuthorizationObjectNestedImpl extends OAuthClientAuthorizationFluentImpl> implements WatchEventFluent.OAuthClientAuthorizationObjectNested,io.alauda.kubernetes.api.builder.Nested{

            private final OAuthClientAuthorizationBuilder builder;
    
            OAuthClientAuthorizationObjectNestedImpl(OAuthClientAuthorization item){
                    this.builder = new OAuthClientAuthorizationBuilder(this, item);
            }
            OAuthClientAuthorizationObjectNestedImpl(){
                    this.builder = new OAuthClientAuthorizationBuilder(this);
            }
    
    public N and(){
            return (N) WatchEventFluentImpl.this.withOAuthClientAuthorizationObject(builder.build());
    }
    public N endOAuthClientAuthorizationObject(){
            return and();
    }

}
    public class PolicyBindingListObjectNestedImpl extends PolicyBindingListFluentImpl> implements WatchEventFluent.PolicyBindingListObjectNested,io.alauda.kubernetes.api.builder.Nested{

            private final PolicyBindingListBuilder builder;
    
            PolicyBindingListObjectNestedImpl(PolicyBindingList item){
                    this.builder = new PolicyBindingListBuilder(this, item);
            }
            PolicyBindingListObjectNestedImpl(){
                    this.builder = new PolicyBindingListBuilder(this);
            }
    
    public N and(){
            return (N) WatchEventFluentImpl.this.withPolicyBindingListObject(builder.build());
    }
    public N endPolicyBindingListObject(){
            return and();
    }

}
    public class PolicyObjectNestedImpl extends PolicyFluentImpl> implements WatchEventFluent.PolicyObjectNested,io.alauda.kubernetes.api.builder.Nested{

            private final PolicyBuilder builder;
    
            PolicyObjectNestedImpl(Policy item){
                    this.builder = new PolicyBuilder(this, item);
            }
            PolicyObjectNestedImpl(){
                    this.builder = new PolicyBuilder(this);
            }
    
    public N and(){
            return (N) WatchEventFluentImpl.this.withPolicyObject(builder.build());
    }
    public N endPolicyObject(){
            return and();
    }

}
    public class VolumeObjectNestedImpl extends VolumeFluentImpl> implements WatchEventFluent.VolumeObjectNested,io.alauda.kubernetes.api.builder.Nested{

            private final VolumeBuilder builder;
    
            VolumeObjectNestedImpl(Volume item){
                    this.builder = new VolumeBuilder(this, item);
            }
            VolumeObjectNestedImpl(){
                    this.builder = new VolumeBuilder(this);
            }
    
    public N and(){
            return (N) WatchEventFluentImpl.this.withVolumeObject(builder.build());
    }
    public N endVolumeObject(){
            return and();
    }

}
    public class PipelineCauseObjectNestedImpl extends PipelineCauseFluentImpl> implements WatchEventFluent.PipelineCauseObjectNested,io.alauda.kubernetes.api.builder.Nested{

            private final PipelineCauseBuilder builder;
    
            PipelineCauseObjectNestedImpl(PipelineCause item){
                    this.builder = new PipelineCauseBuilder(this, item);
            }
            PipelineCauseObjectNestedImpl(){
                    this.builder = new PipelineCauseBuilder(this);
            }
    
    public N and(){
            return (N) WatchEventFluentImpl.this.withPipelineCauseObject(builder.build());
    }
    public N endPipelineCauseObject(){
            return and();
    }

}
    public class GitLabWebHookCauseObjectNestedImpl extends GitLabWebHookCauseFluentImpl> implements WatchEventFluent.GitLabWebHookCauseObjectNested,io.alauda.kubernetes.api.builder.Nested{

            private final GitLabWebHookCauseBuilder builder;
    
            GitLabWebHookCauseObjectNestedImpl(GitLabWebHookCause item){
                    this.builder = new GitLabWebHookCauseBuilder(this, item);
            }
            GitLabWebHookCauseObjectNestedImpl(){
                    this.builder = new GitLabWebHookCauseBuilder(this);
            }
    
    public N and(){
            return (N) WatchEventFluentImpl.this.withGitLabWebHookCauseObject(builder.build());
    }
    public N endGitLabWebHookCauseObject(){
            return and();
    }

}
    public class OAuthAuthorizeTokenObjectNestedImpl extends OAuthAuthorizeTokenFluentImpl> implements WatchEventFluent.OAuthAuthorizeTokenObjectNested,io.alauda.kubernetes.api.builder.Nested{

            private final OAuthAuthorizeTokenBuilder builder;
    
            OAuthAuthorizeTokenObjectNestedImpl(OAuthAuthorizeToken item){
                    this.builder = new OAuthAuthorizeTokenBuilder(this, item);
            }
            OAuthAuthorizeTokenObjectNestedImpl(){
                    this.builder = new OAuthAuthorizeTokenBuilder(this);
            }
    
    public N and(){
            return (N) WatchEventFluentImpl.this.withOAuthAuthorizeTokenObject(builder.build());
    }
    public N endOAuthAuthorizeTokenObject(){
            return and();
    }

}
    public class PipelineStatusJenkinsObjectNestedImpl extends PipelineStatusJenkinsFluentImpl> implements WatchEventFluent.PipelineStatusJenkinsObjectNested,io.alauda.kubernetes.api.builder.Nested{

            private final PipelineStatusJenkinsBuilder builder;
    
            PipelineStatusJenkinsObjectNestedImpl(PipelineStatusJenkins item){
                    this.builder = new PipelineStatusJenkinsBuilder(this, item);
            }
            PipelineStatusJenkinsObjectNestedImpl(){
                    this.builder = new PipelineStatusJenkinsBuilder(this);
            }
    
    public N and(){
            return (N) WatchEventFluentImpl.this.withPipelineStatusJenkinsObject(builder.build());
    }
    public N endPipelineStatusJenkinsObject(){
            return and();
    }

}
    public class RollingDeploymentStrategyParamsObjectNestedImpl extends RollingDeploymentStrategyParamsFluentImpl> implements WatchEventFluent.RollingDeploymentStrategyParamsObjectNested,io.alauda.kubernetes.api.builder.Nested{

            private final RollingDeploymentStrategyParamsBuilder builder;
    
            RollingDeploymentStrategyParamsObjectNestedImpl(RollingDeploymentStrategyParams item){
                    this.builder = new RollingDeploymentStrategyParamsBuilder(this, item);
            }
            RollingDeploymentStrategyParamsObjectNestedImpl(){
                    this.builder = new RollingDeploymentStrategyParamsBuilder(this);
            }
    
    public N and(){
            return (N) WatchEventFluentImpl.this.withRollingDeploymentStrategyParamsObject(builder.build());
    }
    public N endRollingDeploymentStrategyParamsObject(){
            return and();
    }

}
    public class JenkinsBindingObjectNestedImpl extends JenkinsBindingFluentImpl> implements WatchEventFluent.JenkinsBindingObjectNested,io.alauda.kubernetes.api.builder.Nested{

            private final JenkinsBindingBuilder builder;
    
            JenkinsBindingObjectNestedImpl(JenkinsBinding item){
                    this.builder = new JenkinsBindingBuilder(this, item);
            }
            JenkinsBindingObjectNestedImpl(){
                    this.builder = new JenkinsBindingBuilder(this);
            }
    
    public N and(){
            return (N) WatchEventFluentImpl.this.withJenkinsBindingObject(builder.build());
    }
    public N endJenkinsBindingObject(){
            return and();
    }

}
    public class ImageLayerObjectNestedImpl extends ImageLayerFluentImpl> implements WatchEventFluent.ImageLayerObjectNested,io.alauda.kubernetes.api.builder.Nested{

            private final ImageLayerBuilder builder;
    
            ImageLayerObjectNestedImpl(ImageLayer item){
                    this.builder = new ImageLayerBuilder(this, item);
            }
            ImageLayerObjectNestedImpl(){
                    this.builder = new ImageLayerBuilder(this);
            }
    
    public N and(){
            return (N) WatchEventFluentImpl.this.withImageLayerObject(builder.build());
    }
    public N endImageLayerObject(){
            return and();
    }

}
    public class DaemonSetStatusObjectNestedImpl extends DaemonSetStatusFluentImpl> implements WatchEventFluent.DaemonSetStatusObjectNested,io.alauda.kubernetes.api.builder.Nested{

            private final DaemonSetStatusBuilder builder;
    
            DaemonSetStatusObjectNestedImpl(DaemonSetStatus item){
                    this.builder = new DaemonSetStatusBuilder(this, item);
            }
            DaemonSetStatusObjectNestedImpl(){
                    this.builder = new DaemonSetStatusBuilder(this);
            }
    
    public N and(){
            return (N) WatchEventFluentImpl.this.withDaemonSetStatusObject(builder.build());
    }
    public N endDaemonSetStatusObject(){
            return and();
    }

}
    public class InitializerObjectNestedImpl extends InitializerFluentImpl> implements WatchEventFluent.InitializerObjectNested,io.alauda.kubernetes.api.builder.Nested{

            private final InitializerBuilder builder;
    
            InitializerObjectNestedImpl(Initializer item){
                    this.builder = new InitializerBuilder(this, item);
            }
            InitializerObjectNestedImpl(){
                    this.builder = new InitializerBuilder(this);
            }
    
    public N and(){
            return (N) WatchEventFluentImpl.this.withInitializerObject(builder.build());
    }
    public N endInitializerObject(){
            return and();
    }

}
    public class SELinuxContextStrategyOptionsObjectNestedImpl extends SELinuxContextStrategyOptionsFluentImpl> implements WatchEventFluent.SELinuxContextStrategyOptionsObjectNested,io.alauda.kubernetes.api.builder.Nested{

            private final SELinuxContextStrategyOptionsBuilder builder;
    
            SELinuxContextStrategyOptionsObjectNestedImpl(SELinuxContextStrategyOptions item){
                    this.builder = new SELinuxContextStrategyOptionsBuilder(this, item);
            }
            SELinuxContextStrategyOptionsObjectNestedImpl(){
                    this.builder = new SELinuxContextStrategyOptionsBuilder(this);
            }
    
    public N and(){
            return (N) WatchEventFluentImpl.this.withSELinuxContextStrategyOptionsObject(builder.build());
    }
    public N endSELinuxContextStrategyOptionsObject(){
            return and();
    }

}
    public class ListMetaObjectNestedImpl extends ListMetaFluentImpl> implements WatchEventFluent.ListMetaObjectNested,io.alauda.kubernetes.api.builder.Nested{

            private final ListMetaBuilder builder;
    
            ListMetaObjectNestedImpl(ListMeta item){
                    this.builder = new ListMetaBuilder(this, item);
            }
            ListMetaObjectNestedImpl(){
                    this.builder = new ListMetaBuilder(this);
            }
    
    public N and(){
            return (N) WatchEventFluentImpl.this.withListMetaObject(builder.build());
    }
    public N endListMetaObject(){
            return and();
    }

}
    public class IdentityObjectNestedImpl extends IdentityFluentImpl> implements WatchEventFluent.IdentityObjectNested,io.alauda.kubernetes.api.builder.Nested{

            private final IdentityBuilder builder;
    
            IdentityObjectNestedImpl(Identity item){
                    this.builder = new IdentityBuilder(this, item);
            }
            IdentityObjectNestedImpl(){
                    this.builder = new IdentityBuilder(this);
            }
    
    public N and(){
            return (N) WatchEventFluentImpl.this.withIdentityObject(builder.build());
    }
    public N endIdentityObject(){
            return and();
    }

}
    public class ComponentStatusListObjectNestedImpl extends ComponentStatusListFluentImpl> implements WatchEventFluent.ComponentStatusListObjectNested,io.alauda.kubernetes.api.builder.Nested{

            private final ComponentStatusListBuilder builder;
    
            ComponentStatusListObjectNestedImpl(ComponentStatusList item){
                    this.builder = new ComponentStatusListBuilder(this, item);
            }
            ComponentStatusListObjectNestedImpl(){
                    this.builder = new ComponentStatusListBuilder(this);
            }
    
    public N and(){
            return (N) WatchEventFluentImpl.this.withComponentStatusListObject(builder.build());
    }
    public N endComponentStatusListObject(){
            return and();
    }

}
    public class JenkinsBindingListObjectNestedImpl extends JenkinsBindingListFluentImpl> implements WatchEventFluent.JenkinsBindingListObjectNested,io.alauda.kubernetes.api.builder.Nested{

            private final JenkinsBindingListBuilder builder;
    
            JenkinsBindingListObjectNestedImpl(JenkinsBindingList item){
                    this.builder = new JenkinsBindingListBuilder(this, item);
            }
            JenkinsBindingListObjectNestedImpl(){
                    this.builder = new JenkinsBindingListBuilder(this);
            }
    
    public N and(){
            return (N) WatchEventFluentImpl.this.withJenkinsBindingListObject(builder.build());
    }
    public N endJenkinsBindingListObject(){
            return and();
    }

}
    public class GlobalParameterObjectNestedImpl extends GlobalParameterFluentImpl> implements WatchEventFluent.GlobalParameterObjectNested,io.alauda.kubernetes.api.builder.Nested{

            private final GlobalParameterBuilder builder;
    
            GlobalParameterObjectNestedImpl(GlobalParameter item){
                    this.builder = new GlobalParameterBuilder(this, item);
            }
            GlobalParameterObjectNestedImpl(){
                    this.builder = new GlobalParameterBuilder(this);
            }
    
    public N and(){
            return (N) WatchEventFluentImpl.this.withGlobalParameterObject(builder.build());
    }
    public N endGlobalParameterObject(){
            return and();
    }

}
    public class NamedClusterRoleBindingObjectNestedImpl extends NamedClusterRoleBindingFluentImpl> implements WatchEventFluent.NamedClusterRoleBindingObjectNested,io.alauda.kubernetes.api.builder.Nested{

            private final NamedClusterRoleBindingBuilder builder;
    
            NamedClusterRoleBindingObjectNestedImpl(NamedClusterRoleBinding item){
                    this.builder = new NamedClusterRoleBindingBuilder(this, item);
            }
            NamedClusterRoleBindingObjectNestedImpl(){
                    this.builder = new NamedClusterRoleBindingBuilder(this);
            }
    
    public N and(){
            return (N) WatchEventFluentImpl.this.withNamedClusterRoleBindingObject(builder.build());
    }
    public N endNamedClusterRoleBindingObject(){
            return and();
    }

}
    public class VolumeMountObjectNestedImpl extends VolumeMountFluentImpl> implements WatchEventFluent.VolumeMountObjectNested,io.alauda.kubernetes.api.builder.Nested{

            private final VolumeMountBuilder builder;
    
            VolumeMountObjectNestedImpl(VolumeMount item){
                    this.builder = new VolumeMountBuilder(this, item);
            }
            VolumeMountObjectNestedImpl(){
                    this.builder = new VolumeMountBuilder(this);
            }
    
    public N and(){
            return (N) WatchEventFluentImpl.this.withVolumeMountObject(builder.build());
    }
    public N endVolumeMountObject(){
            return and();
    }

}
    public class RoutePortObjectNestedImpl extends RoutePortFluentImpl> implements WatchEventFluent.RoutePortObjectNested,io.alauda.kubernetes.api.builder.Nested{

            private final RoutePortBuilder builder;
    
            RoutePortObjectNestedImpl(RoutePort item){
                    this.builder = new RoutePortBuilder(this, item);
            }
            RoutePortObjectNestedImpl(){
                    this.builder = new RoutePortBuilder(this);
            }
    
    public N and(){
            return (N) WatchEventFluentImpl.this.withRoutePortObject(builder.build());
    }
    public N endRoutePortObject(){
            return and();
    }

}
    public class PodTemplateObjectNestedImpl extends PodTemplateFluentImpl> implements WatchEventFluent.PodTemplateObjectNested,io.alauda.kubernetes.api.builder.Nested{

            private final PodTemplateBuilder builder;
    
            PodTemplateObjectNestedImpl(PodTemplate item){
                    this.builder = new PodTemplateBuilder(this, item);
            }
            PodTemplateObjectNestedImpl(){
                    this.builder = new PodTemplateBuilder(this);
            }
    
    public N and(){
            return (N) WatchEventFluentImpl.this.withPodTemplateObject(builder.build());
    }
    public N endPodTemplateObject(){
            return and();
    }

}
    public class FSGroupStrategyOptionsObjectNestedImpl extends FSGroupStrategyOptionsFluentImpl> implements WatchEventFluent.FSGroupStrategyOptionsObjectNested,io.alauda.kubernetes.api.builder.Nested{

            private final FSGroupStrategyOptionsBuilder builder;
    
            FSGroupStrategyOptionsObjectNestedImpl(FSGroupStrategyOptions item){
                    this.builder = new FSGroupStrategyOptionsBuilder(this, item);
            }
            FSGroupStrategyOptionsObjectNestedImpl(){
                    this.builder = new FSGroupStrategyOptionsBuilder(this);
            }
    
    public N and(){
            return (N) WatchEventFluentImpl.this.withFSGroupStrategyOptionsObject(builder.build());
    }
    public N endFSGroupStrategyOptionsObject(){
            return and();
    }

}
    public class PipelineTemplateArgumentValueObjectNestedImpl extends PipelineTemplateArgumentValueFluentImpl> implements WatchEventFluent.PipelineTemplateArgumentValueObjectNested,io.alauda.kubernetes.api.builder.Nested{

            private final PipelineTemplateArgumentValueBuilder builder;
    
            PipelineTemplateArgumentValueObjectNestedImpl(PipelineTemplateArgumentValue item){
                    this.builder = new PipelineTemplateArgumentValueBuilder(this, item);
            }
            PipelineTemplateArgumentValueObjectNestedImpl(){
                    this.builder = new PipelineTemplateArgumentValueBuilder(this);
            }
    
    public N and(){
            return (N) WatchEventFluentImpl.this.withPipelineTemplateArgumentValueObject(builder.build());
    }
    public N endPipelineTemplateArgumentValueObject(){
            return and();
    }

}
    public class FCVolumeSourceObjectNestedImpl extends FCVolumeSourceFluentImpl> implements WatchEventFluent.FCVolumeSourceObjectNested,io.alauda.kubernetes.api.builder.Nested{

            private final FCVolumeSourceBuilder builder;
    
            FCVolumeSourceObjectNestedImpl(FCVolumeSource item){
                    this.builder = new FCVolumeSourceBuilder(this, item);
            }
            FCVolumeSourceObjectNestedImpl(){
                    this.builder = new FCVolumeSourceBuilder(this);
            }
    
    public N and(){
            return (N) WatchEventFluentImpl.this.withFCVolumeSourceObject(builder.build());
    }
    public N endFCVolumeSourceObject(){
            return and();
    }

}
    public class DeploymentCauseImageTriggerObjectNestedImpl extends DeploymentCauseImageTriggerFluentImpl> implements WatchEventFluent.DeploymentCauseImageTriggerObjectNested,io.alauda.kubernetes.api.builder.Nested{

            private final DeploymentCauseImageTriggerBuilder builder;
    
            DeploymentCauseImageTriggerObjectNestedImpl(DeploymentCauseImageTrigger item){
                    this.builder = new DeploymentCauseImageTriggerBuilder(this, item);
            }
            DeploymentCauseImageTriggerObjectNestedImpl(){
                    this.builder = new DeploymentCauseImageTriggerBuilder(this);
            }
    
    public N and(){
            return (N) WatchEventFluentImpl.this.withDeploymentCauseImageTriggerObject(builder.build());
    }
    public N endDeploymentCauseImageTriggerObject(){
            return and();
    }

}
    public class DaemonSetSpecObjectNestedImpl extends DaemonSetSpecFluentImpl> implements WatchEventFluent.DaemonSetSpecObjectNested,io.alauda.kubernetes.api.builder.Nested{

            private final DaemonSetSpecBuilder builder;
    
            DaemonSetSpecObjectNestedImpl(DaemonSetSpec item){
                    this.builder = new DaemonSetSpecBuilder(this, item);
            }
            DaemonSetSpecObjectNestedImpl(){
                    this.builder = new DaemonSetSpecBuilder(this);
            }
    
    public N and(){
            return (N) WatchEventFluentImpl.this.withDaemonSetSpecObject(builder.build());
    }
    public N endDaemonSetSpecObject(){
            return and();
    }

}
    public class BuildPostCommitSpecObjectNestedImpl extends BuildPostCommitSpecFluentImpl> implements WatchEventFluent.BuildPostCommitSpecObjectNested,io.alauda.kubernetes.api.builder.Nested{

            private final BuildPostCommitSpecBuilder builder;
    
            BuildPostCommitSpecObjectNestedImpl(BuildPostCommitSpec item){
                    this.builder = new BuildPostCommitSpecBuilder(this, item);
            }
            BuildPostCommitSpecObjectNestedImpl(){
                    this.builder = new BuildPostCommitSpecBuilder(this);
            }
    
    public N and(){
            return (N) WatchEventFluentImpl.this.withBuildPostCommitSpecObject(builder.build());
    }
    public N endBuildPostCommitSpecObject(){
            return and();
    }

}
    public class TokenReviewObjectNestedImpl extends TokenReviewFluentImpl> implements WatchEventFluent.TokenReviewObjectNested,io.alauda.kubernetes.api.builder.Nested{

            private final TokenReviewBuilder builder;
    
            TokenReviewObjectNestedImpl(TokenReview item){
                    this.builder = new TokenReviewBuilder(this, item);
            }
            TokenReviewObjectNestedImpl(){
                    this.builder = new TokenReviewBuilder(this);
            }
    
    public N and(){
            return (N) WatchEventFluentImpl.this.withTokenReviewObject(builder.build());
    }
    public N endTokenReviewObject(){
            return and();
    }

}
    public class NetworkPolicyPeerObjectNestedImpl extends NetworkPolicyPeerFluentImpl> implements WatchEventFluent.NetworkPolicyPeerObjectNested,io.alauda.kubernetes.api.builder.Nested{

            private final NetworkPolicyPeerBuilder builder;
    
            NetworkPolicyPeerObjectNestedImpl(NetworkPolicyPeer item){
                    this.builder = new NetworkPolicyPeerBuilder(this, item);
            }
            NetworkPolicyPeerObjectNestedImpl(){
                    this.builder = new NetworkPolicyPeerBuilder(this);
            }
    
    public N and(){
            return (N) WatchEventFluentImpl.this.withNetworkPolicyPeerObject(builder.build());
    }
    public N endNetworkPolicyPeerObject(){
            return and();
    }

}
    public class NamedRoleObjectNestedImpl extends NamedRoleFluentImpl> implements WatchEventFluent.NamedRoleObjectNested,io.alauda.kubernetes.api.builder.Nested{

            private final NamedRoleBuilder builder;
    
            NamedRoleObjectNestedImpl(NamedRole item){
                    this.builder = new NamedRoleBuilder(this, item);
            }
            NamedRoleObjectNestedImpl(){
                    this.builder = new NamedRoleBuilder(this);
            }
    
    public N and(){
            return (N) WatchEventFluentImpl.this.withNamedRoleObject(builder.build());
    }
    public N endNamedRoleObject(){
            return and();
    }

}
    public class RouteListObjectNestedImpl extends RouteListFluentImpl> implements WatchEventFluent.RouteListObjectNested,io.alauda.kubernetes.api.builder.Nested{

            private final RouteListBuilder builder;
    
            RouteListObjectNestedImpl(RouteList item){
                    this.builder = new RouteListBuilder(this, item);
            }
            RouteListObjectNestedImpl(){
                    this.builder = new RouteListBuilder(this);
            }
    
    public N and(){
            return (N) WatchEventFluentImpl.this.withRouteListObject(builder.build());
    }
    public N endRouteListObject(){
            return and();
    }

}
    public class DaemonSetUpdateStrategyObjectNestedImpl extends DaemonSetUpdateStrategyFluentImpl> implements WatchEventFluent.DaemonSetUpdateStrategyObjectNested,io.alauda.kubernetes.api.builder.Nested{

            private final DaemonSetUpdateStrategyBuilder builder;
    
            DaemonSetUpdateStrategyObjectNestedImpl(DaemonSetUpdateStrategy item){
                    this.builder = new DaemonSetUpdateStrategyBuilder(this, item);
            }
            DaemonSetUpdateStrategyObjectNestedImpl(){
                    this.builder = new DaemonSetUpdateStrategyBuilder(this);
            }
    
    public N and(){
            return (N) WatchEventFluentImpl.this.withDaemonSetUpdateStrategyObject(builder.build());
    }
    public N endDaemonSetUpdateStrategyObject(){
            return and();
    }

}
    public class IngressListObjectNestedImpl extends IngressListFluentImpl> implements WatchEventFluent.IngressListObjectNested,io.alauda.kubernetes.api.builder.Nested{

            private final IngressListBuilder builder;
    
            IngressListObjectNestedImpl(IngressList item){
                    this.builder = new IngressListBuilder(this, item);
            }
            IngressListObjectNestedImpl(){
                    this.builder = new IngressListBuilder(this);
            }
    
    public N and(){
            return (N) WatchEventFluentImpl.this.withIngressListObject(builder.build());
    }
    public N endIngressListObject(){
            return and();
    }

}
    public class FlexVolumeSourceObjectNestedImpl extends FlexVolumeSourceFluentImpl> implements WatchEventFluent.FlexVolumeSourceObjectNested,io.alauda.kubernetes.api.builder.Nested{

            private final FlexVolumeSourceBuilder builder;
    
            FlexVolumeSourceObjectNestedImpl(FlexVolumeSource item){
                    this.builder = new FlexVolumeSourceBuilder(this, item);
            }
            FlexVolumeSourceObjectNestedImpl(){
                    this.builder = new FlexVolumeSourceBuilder(this);
            }
    
    public N and(){
            return (N) WatchEventFluentImpl.this.withFlexVolumeSourceObject(builder.build());
    }
    public N endFlexVolumeSourceObject(){
            return and();
    }

}
    public class CustomResourceDefinitionObjectNestedImpl extends CustomResourceDefinitionFluentImpl> implements WatchEventFluent.CustomResourceDefinitionObjectNested,io.alauda.kubernetes.api.builder.Nested{

            private final CustomResourceDefinitionBuilder builder;
    
            CustomResourceDefinitionObjectNestedImpl(CustomResourceDefinition item){
                    this.builder = new CustomResourceDefinitionBuilder(this, item);
            }
            CustomResourceDefinitionObjectNestedImpl(){
                    this.builder = new CustomResourceDefinitionBuilder(this);
            }
    
    public N and(){
            return (N) WatchEventFluentImpl.this.withCustomResourceDefinitionObject(builder.build());
    }
    public N endCustomResourceDefinitionObject(){
            return and();
    }

}
    public class ExtensionsDeploymentConditionObjectNestedImpl extends io.alauda.kubernetes.api.model.extensions.DeploymentConditionFluentImpl> implements WatchEventFluent.ExtensionsDeploymentConditionObjectNested,io.alauda.kubernetes.api.builder.Nested{

            private final io.alauda.kubernetes.api.model.extensions.DeploymentConditionBuilder builder;
    
            ExtensionsDeploymentConditionObjectNestedImpl(io.alauda.kubernetes.api.model.extensions.DeploymentCondition item){
                    this.builder = new io.alauda.kubernetes.api.model.extensions.DeploymentConditionBuilder(this, item);
            }
            ExtensionsDeploymentConditionObjectNestedImpl(){
                    this.builder = new io.alauda.kubernetes.api.model.extensions.DeploymentConditionBuilder(this);
            }
    
    public N and(){
            return (N) WatchEventFluentImpl.this.withDeploymentConditionObject(builder.build());
    }
    public N endExtensionsDeploymentConditionObject(){
            return and();
    }

}
    public class ConfigObjectNestedImpl extends ConfigFluentImpl> implements WatchEventFluent.ConfigObjectNested,io.alauda.kubernetes.api.builder.Nested{

            private final ConfigBuilder builder;
    
            ConfigObjectNestedImpl(Config item){
                    this.builder = new ConfigBuilder(this, item);
            }
            ConfigObjectNestedImpl(){
                    this.builder = new ConfigBuilder(this);
            }
    
    public N and(){
            return (N) WatchEventFluentImpl.this.withConfigObject(builder.build());
    }
    public N endConfigObject(){
            return and();
    }

}
    public class NamespaceListObjectNestedImpl extends NamespaceListFluentImpl> implements WatchEventFluent.NamespaceListObjectNested,io.alauda.kubernetes.api.builder.Nested{

            private final NamespaceListBuilder builder;
    
            NamespaceListObjectNestedImpl(NamespaceList item){
                    this.builder = new NamespaceListBuilder(this, item);
            }
            NamespaceListObjectNestedImpl(){
                    this.builder = new NamespaceListBuilder(this);
            }
    
    public N and(){
            return (N) WatchEventFluentImpl.this.withNamespaceListObject(builder.build());
    }
    public N endNamespaceListObject(){
            return and();
    }

}
    public class SignatureSubjectObjectNestedImpl extends SignatureSubjectFluentImpl> implements WatchEventFluent.SignatureSubjectObjectNested,io.alauda.kubernetes.api.builder.Nested{

            private final SignatureSubjectBuilder builder;
    
            SignatureSubjectObjectNestedImpl(SignatureSubject item){
                    this.builder = new SignatureSubjectBuilder(this, item);
            }
            SignatureSubjectObjectNestedImpl(){
                    this.builder = new SignatureSubjectBuilder(this);
            }
    
    public N and(){
            return (N) WatchEventFluentImpl.this.withSignatureSubjectObject(builder.build());
    }
    public N endSignatureSubjectObject(){
            return and();
    }

}
    public class QuobyteVolumeSourceObjectNestedImpl extends QuobyteVolumeSourceFluentImpl> implements WatchEventFluent.QuobyteVolumeSourceObjectNested,io.alauda.kubernetes.api.builder.Nested{

            private final QuobyteVolumeSourceBuilder builder;
    
            QuobyteVolumeSourceObjectNestedImpl(QuobyteVolumeSource item){
                    this.builder = new QuobyteVolumeSourceBuilder(this, item);
            }
            QuobyteVolumeSourceObjectNestedImpl(){
                    this.builder = new QuobyteVolumeSourceBuilder(this);
            }
    
    public N and(){
            return (N) WatchEventFluentImpl.this.withQuobyteVolumeSourceObject(builder.build());
    }
    public N endQuobyteVolumeSourceObject(){
            return and();
    }

}
    public class PreferredSchedulingTermObjectNestedImpl extends PreferredSchedulingTermFluentImpl> implements WatchEventFluent.PreferredSchedulingTermObjectNested,io.alauda.kubernetes.api.builder.Nested{

            private final PreferredSchedulingTermBuilder builder;
    
            PreferredSchedulingTermObjectNestedImpl(PreferredSchedulingTerm item){
                    this.builder = new PreferredSchedulingTermBuilder(this, item);
            }
            PreferredSchedulingTermObjectNestedImpl(){
                    this.builder = new PreferredSchedulingTermBuilder(this);
            }
    
    public N and(){
            return (N) WatchEventFluentImpl.this.withPreferredSchedulingTermObject(builder.build());
    }
    public N endPreferredSchedulingTermObject(){
            return and();
    }

}
    public class HostPortRangeObjectNestedImpl extends HostPortRangeFluentImpl> implements WatchEventFluent.HostPortRangeObjectNested,io.alauda.kubernetes.api.builder.Nested{

            private final HostPortRangeBuilder builder;
    
            HostPortRangeObjectNestedImpl(HostPortRange item){
                    this.builder = new HostPortRangeBuilder(this, item);
            }
            HostPortRangeObjectNestedImpl(){
                    this.builder = new HostPortRangeBuilder(this);
            }
    
    public N and(){
            return (N) WatchEventFluentImpl.this.withHostPortRangeObject(builder.build());
    }
    public N endHostPortRangeObject(){
            return and();
    }

}
    public class PodSecurityPolicyListObjectNestedImpl extends PodSecurityPolicyListFluentImpl> implements WatchEventFluent.PodSecurityPolicyListObjectNested,io.alauda.kubernetes.api.builder.Nested{

            private final PodSecurityPolicyListBuilder builder;
    
            PodSecurityPolicyListObjectNestedImpl(PodSecurityPolicyList item){
                    this.builder = new PodSecurityPolicyListBuilder(this, item);
            }
            PodSecurityPolicyListObjectNestedImpl(){
                    this.builder = new PodSecurityPolicyListBuilder(this);
            }
    
    public N and(){
            return (N) WatchEventFluentImpl.this.withPodSecurityPolicyListObject(builder.build());
    }
    public N endPodSecurityPolicyListObject(){
            return and();
    }

}
    public class PolicyRuleObjectNestedImpl extends PolicyRuleFluentImpl> implements WatchEventFluent.PolicyRuleObjectNested,io.alauda.kubernetes.api.builder.Nested{

            private final PolicyRuleBuilder builder;
    
            PolicyRuleObjectNestedImpl(PolicyRule item){
                    this.builder = new PolicyRuleBuilder(this, item);
            }
            PolicyRuleObjectNestedImpl(){
                    this.builder = new PolicyRuleBuilder(this);
            }
    
    public N and(){
            return (N) WatchEventFluentImpl.this.withPolicyRuleObject(builder.build());
    }
    public N endPolicyRuleObject(){
            return and();
    }

}
    public class PipelineConfigListObjectNestedImpl extends PipelineConfigListFluentImpl> implements WatchEventFluent.PipelineConfigListObjectNested,io.alauda.kubernetes.api.builder.Nested{

            private final PipelineConfigListBuilder builder;
    
            PipelineConfigListObjectNestedImpl(PipelineConfigList item){
                    this.builder = new PipelineConfigListBuilder(this, item);
            }
            PipelineConfigListObjectNestedImpl(){
                    this.builder = new PipelineConfigListBuilder(this);
            }
    
    public N and(){
            return (N) WatchEventFluentImpl.this.withPipelineConfigListObject(builder.build());
    }
    public N endPipelineConfigListObject(){
            return and();
    }

}
    public class PipelineHookHTTPRequestObjectNestedImpl extends PipelineHookHTTPRequestFluentImpl> implements WatchEventFluent.PipelineHookHTTPRequestObjectNested,io.alauda.kubernetes.api.builder.Nested{

            private final PipelineHookHTTPRequestBuilder builder;
    
            PipelineHookHTTPRequestObjectNestedImpl(PipelineHookHTTPRequest item){
                    this.builder = new PipelineHookHTTPRequestBuilder(this, item);
            }
            PipelineHookHTTPRequestObjectNestedImpl(){
                    this.builder = new PipelineHookHTTPRequestBuilder(this);
            }
    
    public N and(){
            return (N) WatchEventFluentImpl.this.withPipelineHookHTTPRequestObject(builder.build());
    }
    public N endPipelineHookHTTPRequestObject(){
            return and();
    }

}
    public class ResourceFieldSelectorObjectNestedImpl extends ResourceFieldSelectorFluentImpl> implements WatchEventFluent.ResourceFieldSelectorObjectNested,io.alauda.kubernetes.api.builder.Nested{

            private final ResourceFieldSelectorBuilder builder;
    
            ResourceFieldSelectorObjectNestedImpl(ResourceFieldSelector item){
                    this.builder = new ResourceFieldSelectorBuilder(this, item);
            }
            ResourceFieldSelectorObjectNestedImpl(){
                    this.builder = new ResourceFieldSelectorBuilder(this);
            }
    
    public N and(){
            return (N) WatchEventFluentImpl.this.withResourceFieldSelectorObject(builder.build());
    }
    public N endResourceFieldSelectorObject(){
            return and();
    }

}
    public class ImageSignatureObjectNestedImpl extends ImageSignatureFluentImpl> implements WatchEventFluent.ImageSignatureObjectNested,io.alauda.kubernetes.api.builder.Nested{

            private final ImageSignatureBuilder builder;
    
            ImageSignatureObjectNestedImpl(ImageSignature item){
                    this.builder = new ImageSignatureBuilder(this, item);
            }
            ImageSignatureObjectNestedImpl(){
                    this.builder = new ImageSignatureBuilder(this);
            }
    
    public N and(){
            return (N) WatchEventFluentImpl.this.withImageSignatureObject(builder.build());
    }
    public N endImageSignatureObject(){
            return and();
    }

}
    public class SELinuxStrategyOptionsObjectNestedImpl extends SELinuxStrategyOptionsFluentImpl> implements WatchEventFluent.SELinuxStrategyOptionsObjectNested,io.alauda.kubernetes.api.builder.Nested{

            private final SELinuxStrategyOptionsBuilder builder;
    
            SELinuxStrategyOptionsObjectNestedImpl(SELinuxStrategyOptions item){
                    this.builder = new SELinuxStrategyOptionsBuilder(this, item);
            }
            SELinuxStrategyOptionsObjectNestedImpl(){
                    this.builder = new SELinuxStrategyOptionsBuilder(this);
            }
    
    public N and(){
            return (N) WatchEventFluentImpl.this.withSELinuxStrategyOptionsObject(builder.build());
    }
    public N endSELinuxStrategyOptionsObject(){
            return and();
    }

}
    public class PreconditionsObjectNestedImpl extends PreconditionsFluentImpl> implements WatchEventFluent.PreconditionsObjectNested,io.alauda.kubernetes.api.builder.Nested{

            private final PreconditionsBuilder builder;
    
            PreconditionsObjectNestedImpl(Preconditions item){
                    this.builder = new PreconditionsBuilder(this, item);
            }
            PreconditionsObjectNestedImpl(){
                    this.builder = new PreconditionsBuilder(this);
            }
    
    public N and(){
            return (N) WatchEventFluentImpl.this.withPreconditionsObject(builder.build());
    }
    public N endPreconditionsObject(){
            return and();
    }

}
    public class ClusterRoleObjectNestedImpl extends ClusterRoleFluentImpl> implements WatchEventFluent.ClusterRoleObjectNested,io.alauda.kubernetes.api.builder.Nested{

            private final ClusterRoleBuilder builder;
    
            ClusterRoleObjectNestedImpl(ClusterRole item){
                    this.builder = new ClusterRoleBuilder(this, item);
            }
            ClusterRoleObjectNestedImpl(){
                    this.builder = new ClusterRoleBuilder(this);
            }
    
    public N and(){
            return (N) WatchEventFluentImpl.this.withClusterRoleObject(builder.build());
    }
    public N endClusterRoleObject(){
            return and();
    }

}
    public class RoleBindingRestrictionSpecObjectNestedImpl extends RoleBindingRestrictionSpecFluentImpl> implements WatchEventFluent.RoleBindingRestrictionSpecObjectNested,io.alauda.kubernetes.api.builder.Nested{

            private final RoleBindingRestrictionSpecBuilder builder;
    
            RoleBindingRestrictionSpecObjectNestedImpl(RoleBindingRestrictionSpec item){
                    this.builder = new RoleBindingRestrictionSpecBuilder(this, item);
            }
            RoleBindingRestrictionSpecObjectNestedImpl(){
                    this.builder = new RoleBindingRestrictionSpecBuilder(this);
            }
    
    public N and(){
            return (N) WatchEventFluentImpl.this.withRoleBindingRestrictionSpecObject(builder.build());
    }
    public N endRoleBindingRestrictionSpecObject(){
            return and();
    }

}
    public class StatefulSetStatusObjectNestedImpl extends StatefulSetStatusFluentImpl> implements WatchEventFluent.StatefulSetStatusObjectNested,io.alauda.kubernetes.api.builder.Nested{

            private final StatefulSetStatusBuilder builder;
    
            StatefulSetStatusObjectNestedImpl(StatefulSetStatus item){
                    this.builder = new StatefulSetStatusBuilder(this, item);
            }
            StatefulSetStatusObjectNestedImpl(){
                    this.builder = new StatefulSetStatusBuilder(this);
            }
    
    public N and(){
            return (N) WatchEventFluentImpl.this.withStatefulSetStatusObject(builder.build());
    }
    public N endStatefulSetStatusObject(){
            return and();
    }

}
    public class NamespaceObjectNestedImpl extends NamespaceFluentImpl> implements WatchEventFluent.NamespaceObjectNested,io.alauda.kubernetes.api.builder.Nested{

            private final NamespaceBuilder builder;
    
            NamespaceObjectNestedImpl(Namespace item){
                    this.builder = new NamespaceBuilder(this, item);
            }
            NamespaceObjectNestedImpl(){
                    this.builder = new NamespaceBuilder(this);
            }
    
    public N and(){
            return (N) WatchEventFluentImpl.this.withNamespaceObject(builder.build());
    }
    public N endNamespaceObject(){
            return and();
    }

}
    public class RouteIngressConditionObjectNestedImpl extends RouteIngressConditionFluentImpl> implements WatchEventFluent.RouteIngressConditionObjectNested,io.alauda.kubernetes.api.builder.Nested{

            private final RouteIngressConditionBuilder builder;
    
            RouteIngressConditionObjectNestedImpl(RouteIngressCondition item){
                    this.builder = new RouteIngressConditionBuilder(this, item);
            }
            RouteIngressConditionObjectNestedImpl(){
                    this.builder = new RouteIngressConditionBuilder(this);
            }
    
    public N and(){
            return (N) WatchEventFluentImpl.this.withRouteIngressConditionObject(builder.build());
    }
    public N endRouteIngressConditionObject(){
            return and();
    }

}
    public class HTTPGetActionObjectNestedImpl extends HTTPGetActionFluentImpl> implements WatchEventFluent.HTTPGetActionObjectNested,io.alauda.kubernetes.api.builder.Nested{

            private final HTTPGetActionBuilder builder;
    
            HTTPGetActionObjectNestedImpl(HTTPGetAction item){
                    this.builder = new HTTPGetActionBuilder(this, item);
            }
            HTTPGetActionObjectNestedImpl(){
                    this.builder = new HTTPGetActionBuilder(this);
            }
    
    public N and(){
            return (N) WatchEventFluentImpl.this.withHTTPGetActionObject(builder.build());
    }
    public N endHTTPGetActionObject(){
            return and();
    }

}
    public class EndpointsListObjectNestedImpl extends EndpointsListFluentImpl> implements WatchEventFluent.EndpointsListObjectNested,io.alauda.kubernetes.api.builder.Nested{

            private final EndpointsListBuilder builder;
    
            EndpointsListObjectNestedImpl(EndpointsList item){
                    this.builder = new EndpointsListBuilder(this, item);
            }
            EndpointsListObjectNestedImpl(){
                    this.builder = new EndpointsListBuilder(this);
            }
    
    public N and(){
            return (N) WatchEventFluentImpl.this.withEndpointsListObject(builder.build());
    }
    public N endEndpointsListObject(){
            return and();
    }

}
    public class BuildConfigListObjectNestedImpl extends BuildConfigListFluentImpl> implements WatchEventFluent.BuildConfigListObjectNested,io.alauda.kubernetes.api.builder.Nested{

            private final BuildConfigListBuilder builder;
    
            BuildConfigListObjectNestedImpl(BuildConfigList item){
                    this.builder = new BuildConfigListBuilder(this, item);
            }
            BuildConfigListObjectNestedImpl(){
                    this.builder = new BuildConfigListBuilder(this);
            }
    
    public N and(){
            return (N) WatchEventFluentImpl.this.withBuildConfigListObject(builder.build());
    }
    public N endBuildConfigListObject(){
            return and();
    }

}
    public class DeploymentCauseObjectNestedImpl extends DeploymentCauseFluentImpl> implements WatchEventFluent.DeploymentCauseObjectNested,io.alauda.kubernetes.api.builder.Nested{

            private final DeploymentCauseBuilder builder;
    
            DeploymentCauseObjectNestedImpl(DeploymentCause item){
                    this.builder = new DeploymentCauseBuilder(this, item);
            }
            DeploymentCauseObjectNestedImpl(){
                    this.builder = new DeploymentCauseBuilder(this);
            }
    
    public N and(){
            return (N) WatchEventFluentImpl.this.withDeploymentCauseObject(builder.build());
    }
    public N endDeploymentCauseObject(){
            return and();
    }

}
    public class ClusterPolicyObjectNestedImpl extends ClusterPolicyFluentImpl> implements WatchEventFluent.ClusterPolicyObjectNested,io.alauda.kubernetes.api.builder.Nested{

            private final ClusterPolicyBuilder builder;
    
            ClusterPolicyObjectNestedImpl(ClusterPolicy item){
                    this.builder = new ClusterPolicyBuilder(this, item);
            }
            ClusterPolicyObjectNestedImpl(){
                    this.builder = new ClusterPolicyBuilder(this);
            }
    
    public N and(){
            return (N) WatchEventFluentImpl.this.withClusterPolicyObject(builder.build());
    }
    public N endClusterPolicyObject(){
            return and();
    }

}
    public class JenkinsStatusObjectNestedImpl extends JenkinsStatusFluentImpl> implements WatchEventFluent.JenkinsStatusObjectNested,io.alauda.kubernetes.api.builder.Nested{

            private final JenkinsStatusBuilder builder;
    
            JenkinsStatusObjectNestedImpl(JenkinsStatus item){
                    this.builder = new JenkinsStatusBuilder(this, item);
            }
            JenkinsStatusObjectNestedImpl(){
                    this.builder = new JenkinsStatusBuilder(this);
            }
    
    public N and(){
            return (N) WatchEventFluentImpl.this.withJenkinsStatusObject(builder.build());
    }
    public N endJenkinsStatusObject(){
            return and();
    }

}
    public class PipelineTriggerCodeChangeObjectNestedImpl extends PipelineTriggerCodeChangeFluentImpl> implements WatchEventFluent.PipelineTriggerCodeChangeObjectNested,io.alauda.kubernetes.api.builder.Nested{

            private final PipelineTriggerCodeChangeBuilder builder;
    
            PipelineTriggerCodeChangeObjectNestedImpl(PipelineTriggerCodeChange item){
                    this.builder = new PipelineTriggerCodeChangeBuilder(this, item);
            }
            PipelineTriggerCodeChangeObjectNestedImpl(){
                    this.builder = new PipelineTriggerCodeChangeBuilder(this);
            }
    
    public N and(){
            return (N) WatchEventFluentImpl.this.withPipelineTriggerCodeChangeObject(builder.build());
    }
    public N endPipelineTriggerCodeChangeObject(){
            return and();
    }

}
    public class IngressStatusObjectNestedImpl extends IngressStatusFluentImpl> implements WatchEventFluent.IngressStatusObjectNested,io.alauda.kubernetes.api.builder.Nested{

            private final IngressStatusBuilder builder;
    
            IngressStatusObjectNestedImpl(IngressStatus item){
                    this.builder = new IngressStatusBuilder(this, item);
            }
            IngressStatusObjectNestedImpl(){
                    this.builder = new IngressStatusBuilder(this);
            }
    
    public N and(){
            return (N) WatchEventFluentImpl.this.withIngressStatusObject(builder.build());
    }
    public N endIngressStatusObject(){
            return and();
    }

}
    public class InitializersObjectNestedImpl extends InitializersFluentImpl> implements WatchEventFluent.InitializersObjectNested,io.alauda.kubernetes.api.builder.Nested{

            private final InitializersBuilder builder;
    
            InitializersObjectNestedImpl(Initializers item){
                    this.builder = new InitializersBuilder(this, item);
            }
            InitializersObjectNestedImpl(){
                    this.builder = new InitializersBuilder(this);
            }
    
    public N and(){
            return (N) WatchEventFluentImpl.this.withInitializersObject(builder.build());
    }
    public N endInitializersObject(){
            return and();
    }

}
    public class PodConditionObjectNestedImpl extends PodConditionFluentImpl> implements WatchEventFluent.PodConditionObjectNested,io.alauda.kubernetes.api.builder.Nested{

            private final PodConditionBuilder builder;
    
            PodConditionObjectNestedImpl(PodCondition item){
                    this.builder = new PodConditionBuilder(this, item);
            }
            PodConditionObjectNestedImpl(){
                    this.builder = new PodConditionBuilder(this);
            }
    
    public N and(){
            return (N) WatchEventFluentImpl.this.withPodConditionObject(builder.build());
    }
    public N endPodConditionObject(){
            return and();
    }

}
    public class ContainerStateTerminatedObjectNestedImpl extends ContainerStateTerminatedFluentImpl> implements WatchEventFluent.ContainerStateTerminatedObjectNested,io.alauda.kubernetes.api.builder.Nested{

            private final ContainerStateTerminatedBuilder builder;
    
            ContainerStateTerminatedObjectNestedImpl(ContainerStateTerminated item){
                    this.builder = new ContainerStateTerminatedBuilder(this, item);
            }
            ContainerStateTerminatedObjectNestedImpl(){
                    this.builder = new ContainerStateTerminatedBuilder(this);
            }
    
    public N and(){
            return (N) WatchEventFluentImpl.this.withContainerStateTerminatedObject(builder.build());
    }
    public N endContainerStateTerminatedObject(){
            return and();
    }

}
    public class ReplicaSetSpecObjectNestedImpl extends ReplicaSetSpecFluentImpl> implements WatchEventFluent.ReplicaSetSpecObjectNested,io.alauda.kubernetes.api.builder.Nested{

            private final ReplicaSetSpecBuilder builder;
    
            ReplicaSetSpecObjectNestedImpl(ReplicaSetSpec item){
                    this.builder = new ReplicaSetSpecBuilder(this, item);
            }
            ReplicaSetSpecObjectNestedImpl(){
                    this.builder = new ReplicaSetSpecBuilder(this);
            }
    
    public N and(){
            return (N) WatchEventFluentImpl.this.withReplicaSetSpecObject(builder.build());
    }
    public N endReplicaSetSpecObject(){
            return and();
    }

}
    public class CodeRepositoryRefObjectNestedImpl extends CodeRepositoryRefFluentImpl> implements WatchEventFluent.CodeRepositoryRefObjectNested,io.alauda.kubernetes.api.builder.Nested{

            private final CodeRepositoryRefBuilder builder;
    
            CodeRepositoryRefObjectNestedImpl(CodeRepositoryRef item){
                    this.builder = new CodeRepositoryRefBuilder(this, item);
            }
            CodeRepositoryRefObjectNestedImpl(){
                    this.builder = new CodeRepositoryRefBuilder(this);
            }
    
    public N and(){
            return (N) WatchEventFluentImpl.this.withCodeRepositoryRefObject(builder.build());
    }
    public N endCodeRepositoryRefObject(){
            return and();
    }

}
    public class GitRepoVolumeSourceObjectNestedImpl extends GitRepoVolumeSourceFluentImpl> implements WatchEventFluent.GitRepoVolumeSourceObjectNested,io.alauda.kubernetes.api.builder.Nested{

            private final GitRepoVolumeSourceBuilder builder;
    
            GitRepoVolumeSourceObjectNestedImpl(GitRepoVolumeSource item){
                    this.builder = new GitRepoVolumeSourceBuilder(this, item);
            }
            GitRepoVolumeSourceObjectNestedImpl(){
                    this.builder = new GitRepoVolumeSourceBuilder(this);
            }
    
    public N and(){
            return (N) WatchEventFluentImpl.this.withGitRepoVolumeSourceObject(builder.build());
    }
    public N endGitRepoVolumeSourceObject(){
            return and();
    }

}
    public class PodTemplateSpecObjectNestedImpl extends PodTemplateSpecFluentImpl> implements WatchEventFluent.PodTemplateSpecObjectNested,io.alauda.kubernetes.api.builder.Nested{

            private final PodTemplateSpecBuilder builder;
    
            PodTemplateSpecObjectNestedImpl(PodTemplateSpec item){
                    this.builder = new PodTemplateSpecBuilder(this, item);
            }
            PodTemplateSpecObjectNestedImpl(){
                    this.builder = new PodTemplateSpecBuilder(this);
            }
    
    public N and(){
            return (N) WatchEventFluentImpl.this.withPodTemplateSpecObject(builder.build());
    }
    public N endPodTemplateSpecObject(){
            return and();
    }

}
    public class PipelineTemplateTaskInstanceSpecObjectNestedImpl extends PipelineTemplateTaskInstanceSpecFluentImpl> implements WatchEventFluent.PipelineTemplateTaskInstanceSpecObjectNested,io.alauda.kubernetes.api.builder.Nested{

            private final PipelineTemplateTaskInstanceSpecBuilder builder;
    
            PipelineTemplateTaskInstanceSpecObjectNestedImpl(PipelineTemplateTaskInstanceSpec item){
                    this.builder = new PipelineTemplateTaskInstanceSpecBuilder(this, item);
            }
            PipelineTemplateTaskInstanceSpecObjectNestedImpl(){
                    this.builder = new PipelineTemplateTaskInstanceSpecBuilder(this);
            }
    
    public N and(){
            return (N) WatchEventFluentImpl.this.withPipelineTemplateTaskInstanceSpecObject(builder.build());
    }
    public N endPipelineTemplateTaskInstanceSpecObject(){
            return and();
    }

}
    public class SecretSpecObjectNestedImpl extends SecretSpecFluentImpl> implements WatchEventFluent.SecretSpecObjectNested,io.alauda.kubernetes.api.builder.Nested{

            private final SecretSpecBuilder builder;
    
            SecretSpecObjectNestedImpl(SecretSpec item){
                    this.builder = new SecretSpecBuilder(this, item);
            }
            SecretSpecObjectNestedImpl(){
                    this.builder = new SecretSpecBuilder(this);
            }
    
    public N and(){
            return (N) WatchEventFluentImpl.this.withSecretSpecObject(builder.build());
    }
    public N endSecretSpecObject(){
            return and();
    }

}
    public class ConfigMapVolumeSourceObjectNestedImpl extends ConfigMapVolumeSourceFluentImpl> implements WatchEventFluent.ConfigMapVolumeSourceObjectNested,io.alauda.kubernetes.api.builder.Nested{

            private final ConfigMapVolumeSourceBuilder builder;
    
            ConfigMapVolumeSourceObjectNestedImpl(ConfigMapVolumeSource item){
                    this.builder = new ConfigMapVolumeSourceBuilder(this, item);
            }
            ConfigMapVolumeSourceObjectNestedImpl(){
                    this.builder = new ConfigMapVolumeSourceBuilder(this);
            }
    
    public N and(){
            return (N) WatchEventFluentImpl.this.withConfigMapVolumeSourceObject(builder.build());
    }
    public N endConfigMapVolumeSourceObject(){
            return and();
    }

}
    public class OwnerReferenceObjectNestedImpl extends OwnerReferenceFluentImpl> implements WatchEventFluent.OwnerReferenceObjectNested,io.alauda.kubernetes.api.builder.Nested{

            private final OwnerReferenceBuilder builder;
    
            OwnerReferenceObjectNestedImpl(OwnerReference item){
                    this.builder = new OwnerReferenceBuilder(this, item);
            }
            OwnerReferenceObjectNestedImpl(){
                    this.builder = new OwnerReferenceBuilder(this);
            }
    
    public N and(){
            return (N) WatchEventFluentImpl.this.withOwnerReferenceObject(builder.build());
    }
    public N endOwnerReferenceObject(){
            return and();
    }

}
    public class ServiceAccountRestrictionObjectNestedImpl extends ServiceAccountRestrictionFluentImpl> implements WatchEventFluent.ServiceAccountRestrictionObjectNested,io.alauda.kubernetes.api.builder.Nested{

            private final ServiceAccountRestrictionBuilder builder;
    
            ServiceAccountRestrictionObjectNestedImpl(ServiceAccountRestriction item){
                    this.builder = new ServiceAccountRestrictionBuilder(this, item);
            }
            ServiceAccountRestrictionObjectNestedImpl(){
                    this.builder = new ServiceAccountRestrictionBuilder(this);
            }
    
    public N and(){
            return (N) WatchEventFluentImpl.this.withServiceAccountRestrictionObject(builder.build());
    }
    public N endServiceAccountRestrictionObject(){
            return and();
    }

}
    public class FlockerVolumeSourceObjectNestedImpl extends FlockerVolumeSourceFluentImpl> implements WatchEventFluent.FlockerVolumeSourceObjectNested,io.alauda.kubernetes.api.builder.Nested{

            private final FlockerVolumeSourceBuilder builder;
    
            FlockerVolumeSourceObjectNestedImpl(FlockerVolumeSource item){
                    this.builder = new FlockerVolumeSourceBuilder(this, item);
            }
            FlockerVolumeSourceObjectNestedImpl(){
                    this.builder = new FlockerVolumeSourceBuilder(this);
            }
    
    public N and(){
            return (N) WatchEventFluentImpl.this.withFlockerVolumeSourceObject(builder.build());
    }
    public N endFlockerVolumeSourceObject(){
            return and();
    }

}
    public class LifecycleHookObjectNestedImpl extends LifecycleHookFluentImpl> implements WatchEventFluent.LifecycleHookObjectNested,io.alauda.kubernetes.api.builder.Nested{

            private final LifecycleHookBuilder builder;
    
            LifecycleHookObjectNestedImpl(LifecycleHook item){
                    this.builder = new LifecycleHookBuilder(this, item);
            }
            LifecycleHookObjectNestedImpl(){
                    this.builder = new LifecycleHookBuilder(this);
            }
    
    public N and(){
            return (N) WatchEventFluentImpl.this.withLifecycleHookObject(builder.build());
    }
    public N endLifecycleHookObject(){
            return and();
    }

}
    public class PodAntiAffinityObjectNestedImpl extends PodAntiAffinityFluentImpl> implements WatchEventFluent.PodAntiAffinityObjectNested,io.alauda.kubernetes.api.builder.Nested{

            private final PodAntiAffinityBuilder builder;
    
            PodAntiAffinityObjectNestedImpl(PodAntiAffinity item){
                    this.builder = new PodAntiAffinityBuilder(this, item);
            }
            PodAntiAffinityObjectNestedImpl(){
                    this.builder = new PodAntiAffinityBuilder(this);
            }
    
    public N and(){
            return (N) WatchEventFluentImpl.this.withPodAntiAffinityObject(builder.build());
    }
    public N endPodAntiAffinityObject(){
            return and();
    }

}
    public class DeploymentStrategyObjectNestedImpl extends DeploymentStrategyFluentImpl> implements WatchEventFluent.DeploymentStrategyObjectNested,io.alauda.kubernetes.api.builder.Nested{

            private final DeploymentStrategyBuilder builder;
    
            DeploymentStrategyObjectNestedImpl(DeploymentStrategy item){
                    this.builder = new DeploymentStrategyBuilder(this, item);
            }
            DeploymentStrategyObjectNestedImpl(){
                    this.builder = new DeploymentStrategyBuilder(this);
            }
    
    public N and(){
            return (N) WatchEventFluentImpl.this.withDeploymentStrategyObject(builder.build());
    }
    public N endDeploymentStrategyObject(){
            return and();
    }

}
    public class BuildObjectNestedImpl extends BuildFluentImpl> implements WatchEventFluent.BuildObjectNested,io.alauda.kubernetes.api.builder.Nested{

            private final BuildBuilder builder;
    
            BuildObjectNestedImpl(Build item){
                    this.builder = new BuildBuilder(this, item);
            }
            BuildObjectNestedImpl(){
                    this.builder = new BuildBuilder(this);
            }
    
    public N and(){
            return (N) WatchEventFluentImpl.this.withBuildObject(builder.build());
    }
    public N endBuildObject(){
            return and();
    }

}
    public class EnvVarObjectNestedImpl extends EnvVarFluentImpl> implements WatchEventFluent.EnvVarObjectNested,io.alauda.kubernetes.api.builder.Nested{

            private final EnvVarBuilder builder;
    
            EnvVarObjectNestedImpl(EnvVar item){
                    this.builder = new EnvVarBuilder(this, item);
            }
            EnvVarObjectNestedImpl(){
                    this.builder = new EnvVarBuilder(this);
            }
    
    public N and(){
            return (N) WatchEventFluentImpl.this.withEnvVarObject(builder.build());
    }
    public N endEnvVarObject(){
            return and();
    }

}
    public class ScaleIOVolumeSourceObjectNestedImpl extends ScaleIOVolumeSourceFluentImpl> implements WatchEventFluent.ScaleIOVolumeSourceObjectNested,io.alauda.kubernetes.api.builder.Nested{

            private final ScaleIOVolumeSourceBuilder builder;
    
            ScaleIOVolumeSourceObjectNestedImpl(ScaleIOVolumeSource item){
                    this.builder = new ScaleIOVolumeSourceBuilder(this, item);
            }
            ScaleIOVolumeSourceObjectNestedImpl(){
                    this.builder = new ScaleIOVolumeSourceBuilder(this);
            }
    
    public N and(){
            return (N) WatchEventFluentImpl.this.withScaleIOVolumeSourceObject(builder.build());
    }
    public N endScaleIOVolumeSourceObject(){
            return and();
    }

}
    public class StepInfoObjectNestedImpl extends StepInfoFluentImpl> implements WatchEventFluent.StepInfoObjectNested,io.alauda.kubernetes.api.builder.Nested{

            private final StepInfoBuilder builder;
    
            StepInfoObjectNestedImpl(StepInfo item){
                    this.builder = new StepInfoBuilder(this, item);
            }
            StepInfoObjectNestedImpl(){
                    this.builder = new StepInfoBuilder(this);
            }
    
    public N and(){
            return (N) WatchEventFluentImpl.this.withStepInfoObject(builder.build());
    }
    public N endStepInfoObject(){
            return and();
    }

}
    public class ScaleObjectNestedImpl extends ScaleFluentImpl> implements WatchEventFluent.ScaleObjectNested,io.alauda.kubernetes.api.builder.Nested{

            private final ScaleBuilder builder;
    
            ScaleObjectNestedImpl(Scale item){
                    this.builder = new ScaleBuilder(this, item);
            }
            ScaleObjectNestedImpl(){
                    this.builder = new ScaleBuilder(this);
            }
    
    public N and(){
            return (N) WatchEventFluentImpl.this.withScaleObject(builder.build());
    }
    public N endScaleObject(){
            return and();
    }

}
    public class RouteStatusObjectNestedImpl extends RouteStatusFluentImpl> implements WatchEventFluent.RouteStatusObjectNested,io.alauda.kubernetes.api.builder.Nested{

            private final RouteStatusBuilder builder;
    
            RouteStatusObjectNestedImpl(RouteStatus item){
                    this.builder = new RouteStatusBuilder(this, item);
            }
            RouteStatusObjectNestedImpl(){
                    this.builder = new RouteStatusBuilder(this);
            }
    
    public N and(){
            return (N) WatchEventFluentImpl.this.withRouteStatusObject(builder.build());
    }
    public N endRouteStatusObject(){
            return and();
    }

}
    public class PodSpecObjectNestedImpl extends PodSpecFluentImpl> implements WatchEventFluent.PodSpecObjectNested,io.alauda.kubernetes.api.builder.Nested{

            private final PodSpecBuilder builder;
    
            PodSpecObjectNestedImpl(PodSpec item){
                    this.builder = new PodSpecBuilder(this, item);
            }
            PodSpecObjectNestedImpl(){
                    this.builder = new PodSpecBuilder(this);
            }
    
    public N and(){
            return (N) WatchEventFluentImpl.this.withPodSpecObject(builder.build());
    }
    public N endPodSpecObject(){
            return and();
    }

}
    public class PipelineConfigSpecObjectNestedImpl extends PipelineConfigSpecFluentImpl> implements WatchEventFluent.PipelineConfigSpecObjectNested,io.alauda.kubernetes.api.builder.Nested{

            private final PipelineConfigSpecBuilder builder;
    
            PipelineConfigSpecObjectNestedImpl(PipelineConfigSpec item){
                    this.builder = new PipelineConfigSpecBuilder(this, item);
            }
            PipelineConfigSpecObjectNestedImpl(){
                    this.builder = new PipelineConfigSpecBuilder(this);
            }
    
    public N and(){
            return (N) WatchEventFluentImpl.this.withPipelineConfigSpecObject(builder.build());
    }
    public N endPipelineConfigSpecObject(){
            return and();
    }

}
    public class ComponentConditionObjectNestedImpl extends ComponentConditionFluentImpl> implements WatchEventFluent.ComponentConditionObjectNested,io.alauda.kubernetes.api.builder.Nested{

            private final ComponentConditionBuilder builder;
    
            ComponentConditionObjectNestedImpl(ComponentCondition item){
                    this.builder = new ComponentConditionBuilder(this, item);
            }
            ComponentConditionObjectNestedImpl(){
                    this.builder = new ComponentConditionBuilder(this);
            }
    
    public N and(){
            return (N) WatchEventFluentImpl.this.withComponentConditionObject(builder.build());
    }
    public N endComponentConditionObject(){
            return and();
    }

}
    public class PodObjectNestedImpl extends PodFluentImpl> implements WatchEventFluent.PodObjectNested,io.alauda.kubernetes.api.builder.Nested{

            private final PodBuilder builder;
    
            PodObjectNestedImpl(Pod item){
                    this.builder = new PodBuilder(this, item);
            }
            PodObjectNestedImpl(){
                    this.builder = new PodBuilder(this);
            }
    
    public N and(){
            return (N) WatchEventFluentImpl.this.withPodObject(builder.build());
    }
    public N endPodObject(){
            return and();
    }

}
    public class CephFSVolumeSourceObjectNestedImpl extends CephFSVolumeSourceFluentImpl> implements WatchEventFluent.CephFSVolumeSourceObjectNested,io.alauda.kubernetes.api.builder.Nested{

            private final CephFSVolumeSourceBuilder builder;
    
            CephFSVolumeSourceObjectNestedImpl(CephFSVolumeSource item){
                    this.builder = new CephFSVolumeSourceBuilder(this, item);
            }
            CephFSVolumeSourceObjectNestedImpl(){
                    this.builder = new CephFSVolumeSourceBuilder(this);
            }
    
    public N and(){
            return (N) WatchEventFluentImpl.this.withCephFSVolumeSourceObject(builder.build());
    }
    public N endCephFSVolumeSourceObject(){
            return and();
    }

}
    public class ReplicationControllerConditionObjectNestedImpl extends ReplicationControllerConditionFluentImpl> implements WatchEventFluent.ReplicationControllerConditionObjectNested,io.alauda.kubernetes.api.builder.Nested{

            private final ReplicationControllerConditionBuilder builder;
    
            ReplicationControllerConditionObjectNestedImpl(ReplicationControllerCondition item){
                    this.builder = new ReplicationControllerConditionBuilder(this, item);
            }
            ReplicationControllerConditionObjectNestedImpl(){
                    this.builder = new ReplicationControllerConditionBuilder(this);
            }
    
    public N and(){
            return (N) WatchEventFluentImpl.this.withReplicationControllerConditionObject(builder.build());
    }
    public N endReplicationControllerConditionObject(){
            return and();
    }

}
    public class ServiceAccountReferenceObjectNestedImpl extends ServiceAccountReferenceFluentImpl> implements WatchEventFluent.ServiceAccountReferenceObjectNested,io.alauda.kubernetes.api.builder.Nested{

            private final ServiceAccountReferenceBuilder builder;
    
            ServiceAccountReferenceObjectNestedImpl(ServiceAccountReference item){
                    this.builder = new ServiceAccountReferenceBuilder(this, item);
            }
            ServiceAccountReferenceObjectNestedImpl(){
                    this.builder = new ServiceAccountReferenceBuilder(this);
            }
    
    public N and(){
            return (N) WatchEventFluentImpl.this.withServiceAccountReferenceObject(builder.build());
    }
    public N endServiceAccountReferenceObject(){
            return and();
    }

}
    public class HorizontalPodAutoscalerObjectNestedImpl extends HorizontalPodAutoscalerFluentImpl> implements WatchEventFluent.HorizontalPodAutoscalerObjectNested,io.alauda.kubernetes.api.builder.Nested{

            private final HorizontalPodAutoscalerBuilder builder;
    
            HorizontalPodAutoscalerObjectNestedImpl(HorizontalPodAutoscaler item){
                    this.builder = new HorizontalPodAutoscalerBuilder(this, item);
            }
            HorizontalPodAutoscalerObjectNestedImpl(){
                    this.builder = new HorizontalPodAutoscalerBuilder(this);
            }
    
    public N and(){
            return (N) WatchEventFluentImpl.this.withHorizontalPodAutoscalerObject(builder.build());
    }
    public N endHorizontalPodAutoscalerObject(){
            return and();
    }

}
    public class CrossVersionObjectReferenceObjectNestedImpl extends CrossVersionObjectReferenceFluentImpl> implements WatchEventFluent.CrossVersionObjectReferenceObjectNested,io.alauda.kubernetes.api.builder.Nested{

            private final CrossVersionObjectReferenceBuilder builder;
    
            CrossVersionObjectReferenceObjectNestedImpl(CrossVersionObjectReference item){
                    this.builder = new CrossVersionObjectReferenceBuilder(this, item);
            }
            CrossVersionObjectReferenceObjectNestedImpl(){
                    this.builder = new CrossVersionObjectReferenceBuilder(this);
            }
    
    public N and(){
            return (N) WatchEventFluentImpl.this.withCrossVersionObjectReferenceObject(builder.build());
    }
    public N endCrossVersionObjectReferenceObject(){
            return and();
    }

}
    public class ClusterObjectNestedImpl extends ClusterFluentImpl> implements WatchEventFluent.ClusterObjectNested,io.alauda.kubernetes.api.builder.Nested{

            private final ClusterBuilder builder;
    
            ClusterObjectNestedImpl(Cluster item){
                    this.builder = new ClusterBuilder(this, item);
            }
            ClusterObjectNestedImpl(){
                    this.builder = new ClusterBuilder(this);
            }
    
    public N and(){
            return (N) WatchEventFluentImpl.this.withClusterObject(builder.build());
    }
    public N endClusterObject(){
            return and();
    }

}
    public class NetworkPolicyIngressRuleObjectNestedImpl extends NetworkPolicyIngressRuleFluentImpl> implements WatchEventFluent.NetworkPolicyIngressRuleObjectNested,io.alauda.kubernetes.api.builder.Nested{

            private final NetworkPolicyIngressRuleBuilder builder;
    
            NetworkPolicyIngressRuleObjectNestedImpl(NetworkPolicyIngressRule item){
                    this.builder = new NetworkPolicyIngressRuleBuilder(this, item);
            }
            NetworkPolicyIngressRuleObjectNestedImpl(){
                    this.builder = new NetworkPolicyIngressRuleBuilder(this);
            }
    
    public N and(){
            return (N) WatchEventFluentImpl.this.withNetworkPolicyIngressRuleObject(builder.build());
    }
    public N endNetworkPolicyIngressRuleObject(){
            return and();
    }

}
    public class ConfigMapKeySelectorObjectNestedImpl extends ConfigMapKeySelectorFluentImpl> implements WatchEventFluent.ConfigMapKeySelectorObjectNested,io.alauda.kubernetes.api.builder.Nested{

            private final ConfigMapKeySelectorBuilder builder;
    
            ConfigMapKeySelectorObjectNestedImpl(ConfigMapKeySelector item){
                    this.builder = new ConfigMapKeySelectorBuilder(this, item);
            }
            ConfigMapKeySelectorObjectNestedImpl(){
                    this.builder = new ConfigMapKeySelectorBuilder(this);
            }
    
    public N and(){
            return (N) WatchEventFluentImpl.this.withConfigMapKeySelectorObject(builder.build());
    }
    public N endConfigMapKeySelectorObject(){
            return and();
    }

}
    public class PipelineTemplateArgumentGroupObjectNestedImpl extends PipelineTemplateArgumentGroupFluentImpl> implements WatchEventFluent.PipelineTemplateArgumentGroupObjectNested,io.alauda.kubernetes.api.builder.Nested{

            private final PipelineTemplateArgumentGroupBuilder builder;
    
            PipelineTemplateArgumentGroupObjectNestedImpl(PipelineTemplateArgumentGroup item){
                    this.builder = new PipelineTemplateArgumentGroupBuilder(this, item);
            }
            PipelineTemplateArgumentGroupObjectNestedImpl(){
                    this.builder = new PipelineTemplateArgumentGroupBuilder(this);
            }
    
    public N and(){
            return (N) WatchEventFluentImpl.this.withPipelineTemplateArgumentGroupObject(builder.build());
    }
    public N endPipelineTemplateArgumentGroupObject(){
            return and();
    }

}
    public class GroupListObjectNestedImpl extends GroupListFluentImpl> implements WatchEventFluent.GroupListObjectNested,io.alauda.kubernetes.api.builder.Nested{

            private final GroupListBuilder builder;
    
            GroupListObjectNestedImpl(GroupList item){
                    this.builder = new GroupListBuilder(this, item);
            }
            GroupListObjectNestedImpl(){
                    this.builder = new GroupListBuilder(this);
            }
    
    public N and(){
            return (N) WatchEventFluentImpl.this.withGroupListObject(builder.build());
    }
    public N endGroupListObject(){
            return and();
    }

}
    public class GlusterfsVolumeSourceObjectNestedImpl extends GlusterfsVolumeSourceFluentImpl> implements WatchEventFluent.GlusterfsVolumeSourceObjectNested,io.alauda.kubernetes.api.builder.Nested{

            private final GlusterfsVolumeSourceBuilder builder;
    
            GlusterfsVolumeSourceObjectNestedImpl(GlusterfsVolumeSource item){
                    this.builder = new GlusterfsVolumeSourceBuilder(this, item);
            }
            GlusterfsVolumeSourceObjectNestedImpl(){
                    this.builder = new GlusterfsVolumeSourceBuilder(this);
            }
    
    public N and(){
            return (N) WatchEventFluentImpl.this.withGlusterfsVolumeSourceObject(builder.build());
    }
    public N endGlusterfsVolumeSourceObject(){
            return and();
    }

}
    public class ThirdPartyResourceObjectNestedImpl extends ThirdPartyResourceFluentImpl> implements WatchEventFluent.ThirdPartyResourceObjectNested,io.alauda.kubernetes.api.builder.Nested{

            private final ThirdPartyResourceBuilder builder;
    
            ThirdPartyResourceObjectNestedImpl(ThirdPartyResource item){
                    this.builder = new ThirdPartyResourceBuilder(this, item);
            }
            ThirdPartyResourceObjectNestedImpl(){
                    this.builder = new ThirdPartyResourceBuilder(this);
            }
    
    public N and(){
            return (N) WatchEventFluentImpl.this.withThirdPartyResourceObject(builder.build());
    }
    public N endThirdPartyResourceObject(){
            return and();
    }

}
    public class DeploymentConditionObjectNestedImpl extends DeploymentConditionFluentImpl> implements WatchEventFluent.DeploymentConditionObjectNested,io.alauda.kubernetes.api.builder.Nested{

            private final DeploymentConditionBuilder builder;
    
            DeploymentConditionObjectNestedImpl(DeploymentCondition item){
                    this.builder = new DeploymentConditionBuilder(this, item);
            }
            DeploymentConditionObjectNestedImpl(){
                    this.builder = new DeploymentConditionBuilder(this);
            }
    
    public N and(){
            return (N) WatchEventFluentImpl.this.withDeploymentConditionObject(builder.build());
    }
    public N endDeploymentConditionObject(){
            return and();
    }

}
    public class PortworxVolumeSourceObjectNestedImpl extends PortworxVolumeSourceFluentImpl> implements WatchEventFluent.PortworxVolumeSourceObjectNested,io.alauda.kubernetes.api.builder.Nested{

            private final PortworxVolumeSourceBuilder builder;
    
            PortworxVolumeSourceObjectNestedImpl(PortworxVolumeSource item){
                    this.builder = new PortworxVolumeSourceBuilder(this, item);
            }
            PortworxVolumeSourceObjectNestedImpl(){
                    this.builder = new PortworxVolumeSourceBuilder(this);
            }
    
    public N and(){
            return (N) WatchEventFluentImpl.this.withPortworxVolumeSourceObject(builder.build());
    }
    public N endPortworxVolumeSourceObject(){
            return and();
    }

}
    public class PipelineHookObjectNestedImpl extends PipelineHookFluentImpl> implements WatchEventFluent.PipelineHookObjectNested,io.alauda.kubernetes.api.builder.Nested{

            private final PipelineHookBuilder builder;
    
            PipelineHookObjectNestedImpl(PipelineHook item){
                    this.builder = new PipelineHookBuilder(this, item);
            }
            PipelineHookObjectNestedImpl(){
                    this.builder = new PipelineHookBuilder(this);
            }
    
    public N and(){
            return (N) WatchEventFluentImpl.this.withPipelineHookObject(builder.build());
    }
    public N endPipelineHookObject(){
            return and();
    }

}
    public class StorageOSVolumeSourceObjectNestedImpl extends StorageOSVolumeSourceFluentImpl> implements WatchEventFluent.StorageOSVolumeSourceObjectNested,io.alauda.kubernetes.api.builder.Nested{

            private final StorageOSVolumeSourceBuilder builder;
    
            StorageOSVolumeSourceObjectNestedImpl(StorageOSVolumeSource item){
                    this.builder = new StorageOSVolumeSourceBuilder(this, item);
            }
            StorageOSVolumeSourceObjectNestedImpl(){
                    this.builder = new StorageOSVolumeSourceBuilder(this);
            }
    
    public N and(){
            return (N) WatchEventFluentImpl.this.withStorageOSVolumeSourceObject(builder.build());
    }
    public N endStorageOSVolumeSourceObject(){
            return and();
    }

}
    public class CronJobStatusObjectNestedImpl extends CronJobStatusFluentImpl> implements WatchEventFluent.CronJobStatusObjectNested,io.alauda.kubernetes.api.builder.Nested{

            private final CronJobStatusBuilder builder;
    
            CronJobStatusObjectNestedImpl(CronJobStatus item){
                    this.builder = new CronJobStatusBuilder(this, item);
            }
            CronJobStatusObjectNestedImpl(){
                    this.builder = new CronJobStatusBuilder(this);
            }
    
    public N and(){
            return (N) WatchEventFluentImpl.this.withCronJobStatusObject(builder.build());
    }
    public N endCronJobStatusObject(){
            return and();
    }

}
    public class ServiceAccountListObjectNestedImpl extends ServiceAccountListFluentImpl> implements WatchEventFluent.ServiceAccountListObjectNested,io.alauda.kubernetes.api.builder.Nested{

            private final ServiceAccountListBuilder builder;
    
            ServiceAccountListObjectNestedImpl(ServiceAccountList item){
                    this.builder = new ServiceAccountListBuilder(this, item);
            }
            ServiceAccountListObjectNestedImpl(){
                    this.builder = new ServiceAccountListBuilder(this);
            }
    
    public N and(){
            return (N) WatchEventFluentImpl.this.withServiceAccountListObject(builder.build());
    }
    public N endServiceAccountListObject(){
            return and();
    }

}
    public class ImageStreamTagObjectNestedImpl extends ImageStreamTagFluentImpl> implements WatchEventFluent.ImageStreamTagObjectNested,io.alauda.kubernetes.api.builder.Nested{

            private final ImageStreamTagBuilder builder;
    
            ImageStreamTagObjectNestedImpl(ImageStreamTag item){
                    this.builder = new ImageStreamTagBuilder(this, item);
            }
            ImageStreamTagObjectNestedImpl(){
                    this.builder = new ImageStreamTagBuilder(this);
            }
    
    public N and(){
            return (N) WatchEventFluentImpl.this.withImageStreamTagObject(builder.build());
    }
    public N endImageStreamTagObject(){
            return and();
    }

}
    public class ComponentStatusObjectNestedImpl extends ComponentStatusFluentImpl> implements WatchEventFluent.ComponentStatusObjectNested,io.alauda.kubernetes.api.builder.Nested{

            private final ComponentStatusBuilder builder;
    
            ComponentStatusObjectNestedImpl(ComponentStatus item){
                    this.builder = new ComponentStatusBuilder(this, item);
            }
            ComponentStatusObjectNestedImpl(){
                    this.builder = new ComponentStatusBuilder(this);
            }
    
    public N and(){
            return (N) WatchEventFluentImpl.this.withComponentStatusObject(builder.build());
    }
    public N endComponentStatusObject(){
            return and();
    }

}
    public class ThirdPartyResourceListObjectNestedImpl extends ThirdPartyResourceListFluentImpl> implements WatchEventFluent.ThirdPartyResourceListObjectNested,io.alauda.kubernetes.api.builder.Nested{

            private final ThirdPartyResourceListBuilder builder;
    
            ThirdPartyResourceListObjectNestedImpl(ThirdPartyResourceList item){
                    this.builder = new ThirdPartyResourceListBuilder(this, item);
            }
            ThirdPartyResourceListObjectNestedImpl(){
                    this.builder = new ThirdPartyResourceListBuilder(this);
            }
    
    public N and(){
            return (N) WatchEventFluentImpl.this.withThirdPartyResourceListObject(builder.build());
    }
    public N endThirdPartyResourceListObject(){
            return and();
    }

}
    public class SourceControlUserObjectNestedImpl extends SourceControlUserFluentImpl> implements WatchEventFluent.SourceControlUserObjectNested,io.alauda.kubernetes.api.builder.Nested{

            private final SourceControlUserBuilder builder;
    
            SourceControlUserObjectNestedImpl(SourceControlUser item){
                    this.builder = new SourceControlUserBuilder(this, item);
            }
            SourceControlUserObjectNestedImpl(){
                    this.builder = new SourceControlUserBuilder(this);
            }
    
    public N and(){
            return (N) WatchEventFluentImpl.this.withSourceControlUserObject(builder.build());
    }
    public N endSourceControlUserObject(){
            return and();
    }

}
    public class ProjectedVolumeSourceObjectNestedImpl extends ProjectedVolumeSourceFluentImpl> implements WatchEventFluent.ProjectedVolumeSourceObjectNested,io.alauda.kubernetes.api.builder.Nested{

            private final ProjectedVolumeSourceBuilder builder;
    
            ProjectedVolumeSourceObjectNestedImpl(ProjectedVolumeSource item){
                    this.builder = new ProjectedVolumeSourceBuilder(this, item);
            }
            ProjectedVolumeSourceObjectNestedImpl(){
                    this.builder = new ProjectedVolumeSourceBuilder(this);
            }
    
    public N and(){
            return (N) WatchEventFluentImpl.this.withProjectedVolumeSourceObject(builder.build());
    }
    public N endProjectedVolumeSourceObject(){
            return and();
    }

}
    public class HostPortObjectNestedImpl extends HostPortFluentImpl> implements WatchEventFluent.HostPortObjectNested,io.alauda.kubernetes.api.builder.Nested{

            private final HostPortBuilder builder;
    
            HostPortObjectNestedImpl(HostPort item){
                    this.builder = new HostPortBuilder(this, item);
            }
            HostPortObjectNestedImpl(){
                    this.builder = new HostPortBuilder(this);
            }
    
    public N and(){
            return (N) WatchEventFluentImpl.this.withHostPortObject(builder.build());
    }
    public N endHostPortObject(){
            return and();
    }

}
    public class RoleListObjectNestedImpl extends RoleListFluentImpl> implements WatchEventFluent.RoleListObjectNested,io.alauda.kubernetes.api.builder.Nested{

            private final RoleListBuilder builder;
    
            RoleListObjectNestedImpl(RoleList item){
                    this.builder = new RoleListBuilder(this, item);
            }
            RoleListObjectNestedImpl(){
                    this.builder = new RoleListBuilder(this);
            }
    
    public N and(){
            return (N) WatchEventFluentImpl.this.withRoleListObject(builder.build());
    }
    public N endRoleListObject(){
            return and();
    }

}
    public class ResourceQuotaListObjectNestedImpl extends ResourceQuotaListFluentImpl> implements WatchEventFluent.ResourceQuotaListObjectNested,io.alauda.kubernetes.api.builder.Nested{

            private final ResourceQuotaListBuilder builder;
    
            ResourceQuotaListObjectNestedImpl(ResourceQuotaList item){
                    this.builder = new ResourceQuotaListBuilder(this, item);
            }
            ResourceQuotaListObjectNestedImpl(){
                    this.builder = new ResourceQuotaListBuilder(this);
            }
    
    public N and(){
            return (N) WatchEventFluentImpl.this.withResourceQuotaListObject(builder.build());
    }
    public N endResourceQuotaListObject(){
            return and();
    }

}
    public class SecretObjectNestedImpl extends SecretFluentImpl> implements WatchEventFluent.SecretObjectNested,io.alauda.kubernetes.api.builder.Nested{

            private final SecretBuilder builder;
    
            SecretObjectNestedImpl(Secret item){
                    this.builder = new SecretBuilder(this, item);
            }
            SecretObjectNestedImpl(){
                    this.builder = new SecretBuilder(this);
            }
    
    public N and(){
            return (N) WatchEventFluentImpl.this.withSecretObject(builder.build());
    }
    public N endSecretObject(){
            return and();
    }

}
    public class ReplicationControllerObjectNestedImpl extends ReplicationControllerFluentImpl> implements WatchEventFluent.ReplicationControllerObjectNested,io.alauda.kubernetes.api.builder.Nested{

            private final ReplicationControllerBuilder builder;
    
            ReplicationControllerObjectNestedImpl(ReplicationController item){
                    this.builder = new ReplicationControllerBuilder(this, item);
            }
            ReplicationControllerObjectNestedImpl(){
                    this.builder = new ReplicationControllerBuilder(this);
            }
    
    public N and(){
            return (N) WatchEventFluentImpl.this.withReplicationControllerObject(builder.build());
    }
    public N endReplicationControllerObject(){
            return and();
    }

}
    public class LimitRangeObjectNestedImpl extends LimitRangeFluentImpl> implements WatchEventFluent.LimitRangeObjectNested,io.alauda.kubernetes.api.builder.Nested{

            private final LimitRangeBuilder builder;
    
            LimitRangeObjectNestedImpl(LimitRange item){
                    this.builder = new LimitRangeBuilder(this, item);
            }
            LimitRangeObjectNestedImpl(){
                    this.builder = new LimitRangeBuilder(this);
            }
    
    public N and(){
            return (N) WatchEventFluentImpl.this.withLimitRangeObject(builder.build());
    }
    public N endLimitRangeObject(){
            return and();
    }

}
    public class EndpointsObjectNestedImpl extends EndpointsFluentImpl> implements WatchEventFluent.EndpointsObjectNested,io.alauda.kubernetes.api.builder.Nested{

            private final EndpointsBuilder builder;
    
            EndpointsObjectNestedImpl(Endpoints item){
                    this.builder = new EndpointsBuilder(this, item);
            }
            EndpointsObjectNestedImpl(){
                    this.builder = new EndpointsBuilder(this);
            }
    
    public N and(){
            return (N) WatchEventFluentImpl.this.withEndpointsObject(builder.build());
    }
    public N endEndpointsObject(){
            return and();
    }

}
    public class NodeSelectorRequirementObjectNestedImpl extends NodeSelectorRequirementFluentImpl> implements WatchEventFluent.NodeSelectorRequirementObjectNested,io.alauda.kubernetes.api.builder.Nested{

            private final NodeSelectorRequirementBuilder builder;
    
            NodeSelectorRequirementObjectNestedImpl(NodeSelectorRequirement item){
                    this.builder = new NodeSelectorRequirementBuilder(this, item);
            }
            NodeSelectorRequirementObjectNestedImpl(){
                    this.builder = new NodeSelectorRequirementBuilder(this);
            }
    
    public N and(){
            return (N) WatchEventFluentImpl.this.withNodeSelectorRequirementObject(builder.build());
    }
    public N endNodeSelectorRequirementObject(){
            return and();
    }

}
    public class DeploymentTriggerPolicyObjectNestedImpl extends DeploymentTriggerPolicyFluentImpl> implements WatchEventFluent.DeploymentTriggerPolicyObjectNested,io.alauda.kubernetes.api.builder.Nested{

            private final DeploymentTriggerPolicyBuilder builder;
    
            DeploymentTriggerPolicyObjectNestedImpl(DeploymentTriggerPolicy item){
                    this.builder = new DeploymentTriggerPolicyBuilder(this, item);
            }
            DeploymentTriggerPolicyObjectNestedImpl(){
                    this.builder = new DeploymentTriggerPolicyBuilder(this);
            }
    
    public N and(){
            return (N) WatchEventFluentImpl.this.withDeploymentTriggerPolicyObject(builder.build());
    }
    public N endDeploymentTriggerPolicyObject(){
            return and();
    }

}
    public class OAuthAccessTokenListObjectNestedImpl extends OAuthAccessTokenListFluentImpl> implements WatchEventFluent.OAuthAccessTokenListObjectNested,io.alauda.kubernetes.api.builder.Nested{

            private final OAuthAccessTokenListBuilder builder;
    
            OAuthAccessTokenListObjectNestedImpl(OAuthAccessTokenList item){
                    this.builder = new OAuthAccessTokenListBuilder(this, item);
            }
            OAuthAccessTokenListObjectNestedImpl(){
                    this.builder = new OAuthAccessTokenListBuilder(this);
            }
    
    public N and(){
            return (N) WatchEventFluentImpl.this.withOAuthAccessTokenListObject(builder.build());
    }
    public N endOAuthAccessTokenListObject(){
            return and();
    }

}
    public class LocalObjectReferenceObjectNestedImpl extends LocalObjectReferenceFluentImpl> implements WatchEventFluent.LocalObjectReferenceObjectNested,io.alauda.kubernetes.api.builder.Nested{

            private final LocalObjectReferenceBuilder builder;
    
            LocalObjectReferenceObjectNestedImpl(LocalObjectReference item){
                    this.builder = new LocalObjectReferenceBuilder(this, item);
            }
            LocalObjectReferenceObjectNestedImpl(){
                    this.builder = new LocalObjectReferenceBuilder(this);
            }
    
    public N and(){
            return (N) WatchEventFluentImpl.this.withLocalObjectReferenceObject(builder.build());
    }
    public N endLocalObjectReferenceObject(){
            return and();
    }

}
    public class JenkinsPipelineBuildStrategyObjectNestedImpl extends JenkinsPipelineBuildStrategyFluentImpl> implements WatchEventFluent.JenkinsPipelineBuildStrategyObjectNested,io.alauda.kubernetes.api.builder.Nested{

            private final JenkinsPipelineBuildStrategyBuilder builder;
    
            JenkinsPipelineBuildStrategyObjectNestedImpl(JenkinsPipelineBuildStrategy item){
                    this.builder = new JenkinsPipelineBuildStrategyBuilder(this, item);
            }
            JenkinsPipelineBuildStrategyObjectNestedImpl(){
                    this.builder = new JenkinsPipelineBuildStrategyBuilder(this);
            }
    
    public N and(){
            return (N) WatchEventFluentImpl.this.withJenkinsPipelineBuildStrategyObject(builder.build());
    }
    public N endJenkinsPipelineBuildStrategyObject(){
            return and();
    }

}
    public class CustomResourceDefinitionConditionObjectNestedImpl extends CustomResourceDefinitionConditionFluentImpl> implements WatchEventFluent.CustomResourceDefinitionConditionObjectNested,io.alauda.kubernetes.api.builder.Nested{

            private final CustomResourceDefinitionConditionBuilder builder;
    
            CustomResourceDefinitionConditionObjectNestedImpl(CustomResourceDefinitionCondition item){
                    this.builder = new CustomResourceDefinitionConditionBuilder(this, item);
            }
            CustomResourceDefinitionConditionObjectNestedImpl(){
                    this.builder = new CustomResourceDefinitionConditionBuilder(this);
            }
    
    public N and(){
            return (N) WatchEventFluentImpl.this.withCustomResourceDefinitionConditionObject(builder.build());
    }
    public N endCustomResourceDefinitionConditionObject(){
            return and();
    }

}
    public class SecurityContextConstraintsObjectNestedImpl extends SecurityContextConstraintsFluentImpl> implements WatchEventFluent.SecurityContextConstraintsObjectNested,io.alauda.kubernetes.api.builder.Nested{

            private final SecurityContextConstraintsBuilder builder;
    
            SecurityContextConstraintsObjectNestedImpl(SecurityContextConstraints item){
                    this.builder = new SecurityContextConstraintsBuilder(this, item);
            }
            SecurityContextConstraintsObjectNestedImpl(){
                    this.builder = new SecurityContextConstraintsBuilder(this);
            }
    
    public N and(){
            return (N) WatchEventFluentImpl.this.withSecurityContextConstraintsObject(builder.build());
    }
    public N endSecurityContextConstraintsObject(){
            return and();
    }

}
    public class DaemonEndpointObjectNestedImpl extends DaemonEndpointFluentImpl> implements WatchEventFluent.DaemonEndpointObjectNested,io.alauda.kubernetes.api.builder.Nested{

            private final DaemonEndpointBuilder builder;
    
            DaemonEndpointObjectNestedImpl(DaemonEndpoint item){
                    this.builder = new DaemonEndpointBuilder(this, item);
            }
            DaemonEndpointObjectNestedImpl(){
                    this.builder = new DaemonEndpointBuilder(this);
            }
    
    public N and(){
            return (N) WatchEventFluentImpl.this.withDaemonEndpointObject(builder.build());
    }
    public N endDaemonEndpointObject(){
            return and();
    }

}
    public class VsphereVirtualDiskVolumeSourceObjectNestedImpl extends VsphereVirtualDiskVolumeSourceFluentImpl> implements WatchEventFluent.VsphereVirtualDiskVolumeSourceObjectNested,io.alauda.kubernetes.api.builder.Nested{

            private final VsphereVirtualDiskVolumeSourceBuilder builder;
    
            VsphereVirtualDiskVolumeSourceObjectNestedImpl(VsphereVirtualDiskVolumeSource item){
                    this.builder = new VsphereVirtualDiskVolumeSourceBuilder(this, item);
            }
            VsphereVirtualDiskVolumeSourceObjectNestedImpl(){
                    this.builder = new VsphereVirtualDiskVolumeSourceBuilder(this);
            }
    
    public N and(){
            return (N) WatchEventFluentImpl.this.withVsphereVirtualDiskVolumeSourceObject(builder.build());
    }
    public N endVsphereVirtualDiskVolumeSourceObject(){
            return and();
    }

}
    public class ImageStreamTagListObjectNestedImpl extends ImageStreamTagListFluentImpl> implements WatchEventFluent.ImageStreamTagListObjectNested,io.alauda.kubernetes.api.builder.Nested{

            private final ImageStreamTagListBuilder builder;
    
            ImageStreamTagListObjectNestedImpl(ImageStreamTagList item){
                    this.builder = new ImageStreamTagListBuilder(this, item);
            }
            ImageStreamTagListObjectNestedImpl(){
                    this.builder = new ImageStreamTagListBuilder(this);
            }
    
    public N and(){
            return (N) WatchEventFluentImpl.this.withImageStreamTagListObject(builder.build());
    }
    public N endImageStreamTagListObject(){
            return and();
    }

}
    public class SecretKeySetRefObjectNestedImpl extends SecretKeySetRefFluentImpl> implements WatchEventFluent.SecretKeySetRefObjectNested,io.alauda.kubernetes.api.builder.Nested{

            private final SecretKeySetRefBuilder builder;
    
            SecretKeySetRefObjectNestedImpl(SecretKeySetRef item){
                    this.builder = new SecretKeySetRefBuilder(this, item);
            }
            SecretKeySetRefObjectNestedImpl(){
                    this.builder = new SecretKeySetRefBuilder(this);
            }
    
    public N and(){
            return (N) WatchEventFluentImpl.this.withSecretKeySetRefObject(builder.build());
    }
    public N endSecretKeySetRefObject(){
            return and();
    }

}
    public class TokenReviewStatusObjectNestedImpl extends TokenReviewStatusFluentImpl> implements WatchEventFluent.TokenReviewStatusObjectNested,io.alauda.kubernetes.api.builder.Nested{

            private final TokenReviewStatusBuilder builder;
    
            TokenReviewStatusObjectNestedImpl(TokenReviewStatus item){
                    this.builder = new TokenReviewStatusBuilder(this, item);
            }
            TokenReviewStatusObjectNestedImpl(){
                    this.builder = new TokenReviewStatusBuilder(this);
            }
    
    public N and(){
            return (N) WatchEventFluentImpl.this.withTokenReviewStatusObject(builder.build());
    }
    public N endTokenReviewStatusObject(){
            return and();
    }

}
    public class EventSourceObjectNestedImpl extends EventSourceFluentImpl> implements WatchEventFluent.EventSourceObjectNested,io.alauda.kubernetes.api.builder.Nested{

            private final EventSourceBuilder builder;
    
            EventSourceObjectNestedImpl(EventSource item){
                    this.builder = new EventSourceBuilder(this, item);
            }
            EventSourceObjectNestedImpl(){
                    this.builder = new EventSourceBuilder(this);
            }
    
    public N and(){
            return (N) WatchEventFluentImpl.this.withEventSourceObject(builder.build());
    }
    public N endEventSourceObject(){
            return and();
    }

}
    public class GroupObjectNestedImpl extends GroupFluentImpl> implements WatchEventFluent.GroupObjectNested,io.alauda.kubernetes.api.builder.Nested{

            private final GroupBuilder builder;
    
            GroupObjectNestedImpl(Group item){
                    this.builder = new GroupBuilder(this, item);
            }
            GroupObjectNestedImpl(){
                    this.builder = new GroupBuilder(this);
            }
    
    public N and(){
            return (N) WatchEventFluentImpl.this.withGroupObject(builder.build());
    }
    public N endGroupObject(){
            return and();
    }

}
    public class TagEventConditionObjectNestedImpl extends TagEventConditionFluentImpl> implements WatchEventFluent.TagEventConditionObjectNested,io.alauda.kubernetes.api.builder.Nested{

            private final TagEventConditionBuilder builder;
    
            TagEventConditionObjectNestedImpl(TagEventCondition item){
                    this.builder = new TagEventConditionBuilder(this, item);
            }
            TagEventConditionObjectNestedImpl(){
                    this.builder = new TagEventConditionBuilder(this);
            }
    
    public N and(){
            return (N) WatchEventFluentImpl.this.withTagEventConditionObject(builder.build());
    }
    public N endTagEventConditionObject(){
            return and();
    }

}
    public class PipelineTemplateArgumentObjectNestedImpl extends PipelineTemplateArgumentFluentImpl> implements WatchEventFluent.PipelineTemplateArgumentObjectNested,io.alauda.kubernetes.api.builder.Nested{

            private final PipelineTemplateArgumentBuilder builder;
    
            PipelineTemplateArgumentObjectNestedImpl(PipelineTemplateArgument item){
                    this.builder = new PipelineTemplateArgumentBuilder(this, item);
            }
            PipelineTemplateArgumentObjectNestedImpl(){
                    this.builder = new PipelineTemplateArgumentBuilder(this);
            }
    
    public N and(){
            return (N) WatchEventFluentImpl.this.withPipelineTemplateArgumentObject(builder.build());
    }
    public N endPipelineTemplateArgumentObject(){
            return and();
    }

}
    public class VolumeProjectionObjectNestedImpl extends VolumeProjectionFluentImpl> implements WatchEventFluent.VolumeProjectionObjectNested,io.alauda.kubernetes.api.builder.Nested{

            private final VolumeProjectionBuilder builder;
    
            VolumeProjectionObjectNestedImpl(VolumeProjection item){
                    this.builder = new VolumeProjectionBuilder(this, item);
            }
            VolumeProjectionObjectNestedImpl(){
                    this.builder = new VolumeProjectionBuilder(this);
            }
    
    public N and(){
            return (N) WatchEventFluentImpl.this.withVolumeProjectionObject(builder.build());
    }
    public N endVolumeProjectionObject(){
            return and();
    }

}
    public class EventObjectNestedImpl extends EventFluentImpl> implements WatchEventFluent.EventObjectNested,io.alauda.kubernetes.api.builder.Nested{

            private final EventBuilder builder;
    
            EventObjectNestedImpl(Event item){
                    this.builder = new EventBuilder(this, item);
            }
            EventObjectNestedImpl(){
                    this.builder = new EventBuilder(this);
            }
    
    public N and(){
            return (N) WatchEventFluentImpl.this.withEventObject(builder.build());
    }
    public N endEventObject(){
            return and();
    }

}
    public class BinaryBuildSourceObjectNestedImpl extends BinaryBuildSourceFluentImpl> implements WatchEventFluent.BinaryBuildSourceObjectNested,io.alauda.kubernetes.api.builder.Nested{

            private final BinaryBuildSourceBuilder builder;
    
            BinaryBuildSourceObjectNestedImpl(BinaryBuildSource item){
                    this.builder = new BinaryBuildSourceBuilder(this, item);
            }
            BinaryBuildSourceObjectNestedImpl(){
                    this.builder = new BinaryBuildSourceBuilder(this);
            }
    
    public N and(){
            return (N) WatchEventFluentImpl.this.withBinaryBuildSourceObject(builder.build());
    }
    public N endBinaryBuildSourceObject(){
            return and();
    }

}
    public class OAuthAuthorizeTokenListObjectNestedImpl extends OAuthAuthorizeTokenListFluentImpl> implements WatchEventFluent.OAuthAuthorizeTokenListObjectNested,io.alauda.kubernetes.api.builder.Nested{

            private final OAuthAuthorizeTokenListBuilder builder;
    
            OAuthAuthorizeTokenListObjectNestedImpl(OAuthAuthorizeTokenList item){
                    this.builder = new OAuthAuthorizeTokenListBuilder(this, item);
            }
            OAuthAuthorizeTokenListObjectNestedImpl(){
                    this.builder = new OAuthAuthorizeTokenListBuilder(this);
            }
    
    public N and(){
            return (N) WatchEventFluentImpl.this.withOAuthAuthorizeTokenListObject(builder.build());
    }
    public N endOAuthAuthorizeTokenListObject(){
            return and();
    }

}
    public class ImageSourceObjectNestedImpl extends ImageSourceFluentImpl> implements WatchEventFluent.ImageSourceObjectNested,io.alauda.kubernetes.api.builder.Nested{

            private final ImageSourceBuilder builder;
    
            ImageSourceObjectNestedImpl(ImageSource item){
                    this.builder = new ImageSourceBuilder(this, item);
            }
            ImageSourceObjectNestedImpl(){
                    this.builder = new ImageSourceBuilder(this);
            }
    
    public N and(){
            return (N) WatchEventFluentImpl.this.withImageSourceObject(builder.build());
    }
    public N endImageSourceObject(){
            return and();
    }

}
    public class TaintObjectNestedImpl extends TaintFluentImpl> implements WatchEventFluent.TaintObjectNested,io.alauda.kubernetes.api.builder.Nested{

            private final TaintBuilder builder;
    
            TaintObjectNestedImpl(Taint item){
                    this.builder = new TaintBuilder(this, item);
            }
            TaintObjectNestedImpl(){
                    this.builder = new TaintBuilder(this);
            }
    
    public N and(){
            return (N) WatchEventFluentImpl.this.withTaintObject(builder.build());
    }
    public N endTaintObject(){
            return and();
    }

}
    public class CustomResourceDefinitionNamesObjectNestedImpl extends CustomResourceDefinitionNamesFluentImpl> implements WatchEventFluent.CustomResourceDefinitionNamesObjectNested,io.alauda.kubernetes.api.builder.Nested{

            private final CustomResourceDefinitionNamesBuilder builder;
    
            CustomResourceDefinitionNamesObjectNestedImpl(CustomResourceDefinitionNames item){
                    this.builder = new CustomResourceDefinitionNamesBuilder(this, item);
            }
            CustomResourceDefinitionNamesObjectNestedImpl(){
                    this.builder = new CustomResourceDefinitionNamesBuilder(this);
            }
    
    public N and(){
            return (N) WatchEventFluentImpl.this.withCustomResourceDefinitionNamesObject(builder.build());
    }
    public N endCustomResourceDefinitionNamesObject(){
            return and();
    }

}
    public class NodeObjectNestedImpl extends NodeFluentImpl> implements WatchEventFluent.NodeObjectNested,io.alauda.kubernetes.api.builder.Nested{

            private final NodeBuilder builder;
    
            NodeObjectNestedImpl(Node item){
                    this.builder = new NodeBuilder(this, item);
            }
            NodeObjectNestedImpl(){
                    this.builder = new NodeBuilder(this);
            }
    
    public N and(){
            return (N) WatchEventFluentImpl.this.withNodeObject(builder.build());
    }
    public N endNodeObject(){
            return and();
    }

}
    public class InfoObjectNestedImpl extends InfoFluentImpl> implements WatchEventFluent.InfoObjectNested,io.alauda.kubernetes.api.builder.Nested{

            private final InfoBuilder builder;
    
            InfoObjectNestedImpl(Info item){
                    this.builder = new InfoBuilder(this, item);
            }
            InfoObjectNestedImpl(){
                    this.builder = new InfoBuilder(this);
            }
    
    public N and(){
            return (N) WatchEventFluentImpl.this.withInfoObject(builder.build());
    }
    public N endInfoObject(){
            return and();
    }

}
    public class TCPSocketActionObjectNestedImpl extends TCPSocketActionFluentImpl> implements WatchEventFluent.TCPSocketActionObjectNested,io.alauda.kubernetes.api.builder.Nested{

            private final TCPSocketActionBuilder builder;
    
            TCPSocketActionObjectNestedImpl(TCPSocketAction item){
                    this.builder = new TCPSocketActionBuilder(this, item);
            }
            TCPSocketActionObjectNestedImpl(){
                    this.builder = new TCPSocketActionBuilder(this);
            }
    
    public N and(){
            return (N) WatchEventFluentImpl.this.withTCPSocketActionObject(builder.build());
    }
    public N endTCPSocketActionObject(){
            return and();
    }

}
    public class EnvFromSourceObjectNestedImpl extends EnvFromSourceFluentImpl> implements WatchEventFluent.EnvFromSourceObjectNested,io.alauda.kubernetes.api.builder.Nested{

            private final EnvFromSourceBuilder builder;
    
            EnvFromSourceObjectNestedImpl(EnvFromSource item){
                    this.builder = new EnvFromSourceBuilder(this, item);
            }
            EnvFromSourceObjectNestedImpl(){
                    this.builder = new EnvFromSourceBuilder(this);
            }
    
    public N and(){
            return (N) WatchEventFluentImpl.this.withEnvFromSourceObject(builder.build());
    }
    public N endEnvFromSourceObject(){
            return and();
    }

}
    public class KeyToPathObjectNestedImpl extends KeyToPathFluentImpl> implements WatchEventFluent.KeyToPathObjectNested,io.alauda.kubernetes.api.builder.Nested{

            private final KeyToPathBuilder builder;
    
            KeyToPathObjectNestedImpl(KeyToPath item){
                    this.builder = new KeyToPathBuilder(this, item);
            }
            KeyToPathObjectNestedImpl(){
                    this.builder = new KeyToPathBuilder(this);
            }
    
    public N and(){
            return (N) WatchEventFluentImpl.this.withKeyToPathObject(builder.build());
    }
    public N endKeyToPathObject(){
            return and();
    }

}
    public class ReplicaSetObjectNestedImpl extends ReplicaSetFluentImpl> implements WatchEventFluent.ReplicaSetObjectNested,io.alauda.kubernetes.api.builder.Nested{

            private final ReplicaSetBuilder builder;
    
            ReplicaSetObjectNestedImpl(ReplicaSet item){
                    this.builder = new ReplicaSetBuilder(this, item);
            }
            ReplicaSetObjectNestedImpl(){
                    this.builder = new ReplicaSetBuilder(this);
            }
    
    public N and(){
            return (N) WatchEventFluentImpl.this.withReplicaSetObject(builder.build());
    }
    public N endReplicaSetObject(){
            return and();
    }

}
    public class SubjectAccessReviewStatusObjectNestedImpl extends SubjectAccessReviewStatusFluentImpl> implements WatchEventFluent.SubjectAccessReviewStatusObjectNested,io.alauda.kubernetes.api.builder.Nested{

            private final SubjectAccessReviewStatusBuilder builder;
    
            SubjectAccessReviewStatusObjectNestedImpl(SubjectAccessReviewStatus item){
                    this.builder = new SubjectAccessReviewStatusBuilder(this, item);
            }
            SubjectAccessReviewStatusObjectNestedImpl(){
                    this.builder = new SubjectAccessReviewStatusBuilder(this);
            }
    
    public N and(){
            return (N) WatchEventFluentImpl.this.withSubjectAccessReviewStatusObject(builder.build());
    }
    public N endSubjectAccessReviewStatusObject(){
            return and();
    }

}
    public class NodeSelectorTermObjectNestedImpl extends NodeSelectorTermFluentImpl> implements WatchEventFluent.NodeSelectorTermObjectNested,io.alauda.kubernetes.api.builder.Nested{

            private final NodeSelectorTermBuilder builder;
    
            NodeSelectorTermObjectNestedImpl(NodeSelectorTerm item){
                    this.builder = new NodeSelectorTermBuilder(this, item);
            }
            NodeSelectorTermObjectNestedImpl(){
                    this.builder = new NodeSelectorTermBuilder(this);
            }
    
    public N and(){
            return (N) WatchEventFluentImpl.this.withNodeSelectorTermObject(builder.build());
    }
    public N endNodeSelectorTermObject(){
            return and();
    }

}
    public class DeploymentListObjectNestedImpl extends DeploymentListFluentImpl> implements WatchEventFluent.DeploymentListObjectNested,io.alauda.kubernetes.api.builder.Nested{

            private final DeploymentListBuilder builder;
    
            DeploymentListObjectNestedImpl(DeploymentList item){
                    this.builder = new DeploymentListBuilder(this, item);
            }
            DeploymentListObjectNestedImpl(){
                    this.builder = new DeploymentListBuilder(this);
            }
    
    public N and(){
            return (N) WatchEventFluentImpl.this.withDeploymentListObject(builder.build());
    }
    public N endDeploymentListObject(){
            return and();
    }

}
    public class EndpointSubsetObjectNestedImpl extends EndpointSubsetFluentImpl> implements WatchEventFluent.EndpointSubsetObjectNested,io.alauda.kubernetes.api.builder.Nested{

            private final EndpointSubsetBuilder builder;
    
            EndpointSubsetObjectNestedImpl(EndpointSubset item){
                    this.builder = new EndpointSubsetBuilder(this, item);
            }
            EndpointSubsetObjectNestedImpl(){
                    this.builder = new EndpointSubsetBuilder(this);
            }
    
    public N and(){
            return (N) WatchEventFluentImpl.this.withEndpointSubsetObject(builder.build());
    }
    public N endEndpointSubsetObject(){
            return and();
    }

}
    public class LoadBalancerStatusObjectNestedImpl extends LoadBalancerStatusFluentImpl> implements WatchEventFluent.LoadBalancerStatusObjectNested,io.alauda.kubernetes.api.builder.Nested{

            private final LoadBalancerStatusBuilder builder;
    
            LoadBalancerStatusObjectNestedImpl(LoadBalancerStatus item){
                    this.builder = new LoadBalancerStatusBuilder(this, item);
            }
            LoadBalancerStatusObjectNestedImpl(){
                    this.builder = new LoadBalancerStatusBuilder(this);
            }
    
    public N and(){
            return (N) WatchEventFluentImpl.this.withLoadBalancerStatusObject(builder.build());
    }
    public N endLoadBalancerStatusObject(){
            return and();
    }

}
    public class DaemonSetListObjectNestedImpl extends DaemonSetListFluentImpl> implements WatchEventFluent.DaemonSetListObjectNested,io.alauda.kubernetes.api.builder.Nested{

            private final DaemonSetListBuilder builder;
    
            DaemonSetListObjectNestedImpl(DaemonSetList item){
                    this.builder = new DaemonSetListBuilder(this, item);
            }
            DaemonSetListObjectNestedImpl(){
                    this.builder = new DaemonSetListBuilder(this);
            }
    
    public N and(){
            return (N) WatchEventFluentImpl.this.withDaemonSetListObject(builder.build());
    }
    public N endDaemonSetListObject(){
            return and();
    }

}
    public class HorizontalPodAutoscalerStatusObjectNestedImpl extends HorizontalPodAutoscalerStatusFluentImpl> implements WatchEventFluent.HorizontalPodAutoscalerStatusObjectNested,io.alauda.kubernetes.api.builder.Nested{

            private final HorizontalPodAutoscalerStatusBuilder builder;
    
            HorizontalPodAutoscalerStatusObjectNestedImpl(HorizontalPodAutoscalerStatus item){
                    this.builder = new HorizontalPodAutoscalerStatusBuilder(this, item);
            }
            HorizontalPodAutoscalerStatusObjectNestedImpl(){
                    this.builder = new HorizontalPodAutoscalerStatusBuilder(this);
            }
    
    public N and(){
            return (N) WatchEventFluentImpl.this.withHorizontalPodAutoscalerStatusObject(builder.build());
    }
    public N endHorizontalPodAutoscalerStatusObject(){
            return and();
    }

}
    public class SubjectAccessReviewSpecObjectNestedImpl extends SubjectAccessReviewSpecFluentImpl> implements WatchEventFluent.SubjectAccessReviewSpecObjectNested,io.alauda.kubernetes.api.builder.Nested{

            private final SubjectAccessReviewSpecBuilder builder;
    
            SubjectAccessReviewSpecObjectNestedImpl(SubjectAccessReviewSpec item){
                    this.builder = new SubjectAccessReviewSpecBuilder(this, item);
            }
            SubjectAccessReviewSpecObjectNestedImpl(){
                    this.builder = new SubjectAccessReviewSpecBuilder(this);
            }
    
    public N and(){
            return (N) WatchEventFluentImpl.this.withSubjectAccessReviewSpecObject(builder.build());
    }
    public N endSubjectAccessReviewSpecObject(){
            return and();
    }

}
    public class DeploymentConfigStatusObjectNestedImpl extends DeploymentConfigStatusFluentImpl> implements WatchEventFluent.DeploymentConfigStatusObjectNested,io.alauda.kubernetes.api.builder.Nested{

            private final DeploymentConfigStatusBuilder builder;
    
            DeploymentConfigStatusObjectNestedImpl(DeploymentConfigStatus item){
                    this.builder = new DeploymentConfigStatusBuilder(this, item);
            }
            DeploymentConfigStatusObjectNestedImpl(){
                    this.builder = new DeploymentConfigStatusBuilder(this);
            }
    
    public N and(){
            return (N) WatchEventFluentImpl.this.withDeploymentConfigStatusObject(builder.build());
    }
    public N endDeploymentConfigStatusObject(){
            return and();
    }

}
    public class NamedAuthInfoObjectNestedImpl extends NamedAuthInfoFluentImpl> implements WatchEventFluent.NamedAuthInfoObjectNested,io.alauda.kubernetes.api.builder.Nested{

            private final NamedAuthInfoBuilder builder;
    
            NamedAuthInfoObjectNestedImpl(NamedAuthInfo item){
                    this.builder = new NamedAuthInfoBuilder(this, item);
            }
            NamedAuthInfoObjectNestedImpl(){
                    this.builder = new NamedAuthInfoBuilder(this);
            }
    
    public N and(){
            return (N) WatchEventFluentImpl.this.withNamedAuthInfoObject(builder.build());
    }
    public N endNamedAuthInfoObject(){
            return and();
    }

}
    public class RouteIngressObjectNestedImpl extends RouteIngressFluentImpl> implements WatchEventFluent.RouteIngressObjectNested,io.alauda.kubernetes.api.builder.Nested{

            private final RouteIngressBuilder builder;
    
            RouteIngressObjectNestedImpl(RouteIngress item){
                    this.builder = new RouteIngressBuilder(this, item);
            }
            RouteIngressObjectNestedImpl(){
                    this.builder = new RouteIngressBuilder(this);
            }
    
    public N and(){
            return (N) WatchEventFluentImpl.this.withRouteIngressObject(builder.build());
    }
    public N endRouteIngressObject(){
            return and();
    }

}
    public class PipelineTriggerCronObjectNestedImpl extends PipelineTriggerCronFluentImpl> implements WatchEventFluent.PipelineTriggerCronObjectNested,io.alauda.kubernetes.api.builder.Nested{

            private final PipelineTriggerCronBuilder builder;
    
            PipelineTriggerCronObjectNestedImpl(PipelineTriggerCron item){
                    this.builder = new PipelineTriggerCronBuilder(this, item);
            }
            PipelineTriggerCronObjectNestedImpl(){
                    this.builder = new PipelineTriggerCronBuilder(this);
            }
    
    public N and(){
            return (N) WatchEventFluentImpl.this.withPipelineTriggerCronObject(builder.build());
    }
    public N endPipelineTriggerCronObject(){
            return and();
    }

}
    public class ObjectMetaObjectNestedImpl extends ObjectMetaFluentImpl> implements WatchEventFluent.ObjectMetaObjectNested,io.alauda.kubernetes.api.builder.Nested{

            private final ObjectMetaBuilder builder;
    
            ObjectMetaObjectNestedImpl(ObjectMeta item){
                    this.builder = new ObjectMetaBuilder(this, item);
            }
            ObjectMetaObjectNestedImpl(){
                    this.builder = new ObjectMetaBuilder(this);
            }
    
    public N and(){
            return (N) WatchEventFluentImpl.this.withObjectMetaObject(builder.build());
    }
    public N endObjectMetaObject(){
            return and();
    }

}
    public class ClusterRoleBindingObjectNestedImpl extends ClusterRoleBindingFluentImpl> implements WatchEventFluent.ClusterRoleBindingObjectNested,io.alauda.kubernetes.api.builder.Nested{

            private final ClusterRoleBindingBuilder builder;
    
            ClusterRoleBindingObjectNestedImpl(ClusterRoleBinding item){
                    this.builder = new ClusterRoleBindingBuilder(this, item);
            }
            ClusterRoleBindingObjectNestedImpl(){
                    this.builder = new ClusterRoleBindingBuilder(this);
            }
    
    public N and(){
            return (N) WatchEventFluentImpl.this.withClusterRoleBindingObject(builder.build());
    }
    public N endClusterRoleBindingObject(){
            return and();
    }

}
    public class PhotonPersistentDiskVolumeSourceObjectNestedImpl extends PhotonPersistentDiskVolumeSourceFluentImpl> implements WatchEventFluent.PhotonPersistentDiskVolumeSourceObjectNested,io.alauda.kubernetes.api.builder.Nested{

            private final PhotonPersistentDiskVolumeSourceBuilder builder;
    
            PhotonPersistentDiskVolumeSourceObjectNestedImpl(PhotonPersistentDiskVolumeSource item){
                    this.builder = new PhotonPersistentDiskVolumeSourceBuilder(this, item);
            }
            PhotonPersistentDiskVolumeSourceObjectNestedImpl(){
                    this.builder = new PhotonPersistentDiskVolumeSourceBuilder(this);
            }
    
    public N and(){
            return (N) WatchEventFluentImpl.this.withPhotonPersistentDiskVolumeSourceObject(builder.build());
    }
    public N endPhotonPersistentDiskVolumeSourceObject(){
            return and();
    }

}
    public class RouteSpecObjectNestedImpl extends RouteSpecFluentImpl> implements WatchEventFluent.RouteSpecObjectNested,io.alauda.kubernetes.api.builder.Nested{

            private final RouteSpecBuilder builder;
    
            RouteSpecObjectNestedImpl(RouteSpec item){
                    this.builder = new RouteSpecBuilder(this, item);
            }
            RouteSpecObjectNestedImpl(){
                    this.builder = new RouteSpecBuilder(this);
            }
    
    public N and(){
            return (N) WatchEventFluentImpl.this.withRouteSpecObject(builder.build());
    }
    public N endRouteSpecObject(){
            return and();
    }

}
    public class HTTPIngressPathObjectNestedImpl extends HTTPIngressPathFluentImpl> implements WatchEventFluent.HTTPIngressPathObjectNested,io.alauda.kubernetes.api.builder.Nested{

            private final HTTPIngressPathBuilder builder;
    
            HTTPIngressPathObjectNestedImpl(HTTPIngressPath item){
                    this.builder = new HTTPIngressPathBuilder(this, item);
            }
            HTTPIngressPathObjectNestedImpl(){
                    this.builder = new HTTPIngressPathBuilder(this);
            }
    
    public N and(){
            return (N) WatchEventFluentImpl.this.withHTTPIngressPathObject(builder.build());
    }
    public N endHTTPIngressPathObject(){
            return and();
    }

}
    public class PodAffinityObjectNestedImpl extends PodAffinityFluentImpl> implements WatchEventFluent.PodAffinityObjectNested,io.alauda.kubernetes.api.builder.Nested{

            private final PodAffinityBuilder builder;
    
            PodAffinityObjectNestedImpl(PodAffinity item){
                    this.builder = new PodAffinityBuilder(this, item);
            }
            PodAffinityObjectNestedImpl(){
                    this.builder = new PodAffinityBuilder(this);
            }
    
    public N and(){
            return (N) WatchEventFluentImpl.this.withPodAffinityObject(builder.build());
    }
    public N endPodAffinityObject(){
            return and();
    }

}
    public class ImageStreamStatusObjectNestedImpl extends ImageStreamStatusFluentImpl> implements WatchEventFluent.ImageStreamStatusObjectNested,io.alauda.kubernetes.api.builder.Nested{

            private final ImageStreamStatusBuilder builder;
    
            ImageStreamStatusObjectNestedImpl(ImageStreamStatus item){
                    this.builder = new ImageStreamStatusBuilder(this, item);
            }
            ImageStreamStatusObjectNestedImpl(){
                    this.builder = new ImageStreamStatusBuilder(this);
            }
    
    public N and(){
            return (N) WatchEventFluentImpl.this.withImageStreamStatusObject(builder.build());
    }
    public N endImageStreamStatusObject(){
            return and();
    }

}
    public class ServiceSpecObjectNestedImpl extends ServiceSpecFluentImpl> implements WatchEventFluent.ServiceSpecObjectNested,io.alauda.kubernetes.api.builder.Nested{

            private final ServiceSpecBuilder builder;
    
            ServiceSpecObjectNestedImpl(ServiceSpec item){
                    this.builder = new ServiceSpecBuilder(this, item);
            }
            ServiceSpecObjectNestedImpl(){
                    this.builder = new ServiceSpecBuilder(this);
            }
    
    public N and(){
            return (N) WatchEventFluentImpl.this.withServiceSpecObject(builder.build());
    }
    public N endServiceSpecObject(){
            return and();
    }

}
    public class ReplicaSetListObjectNestedImpl extends ReplicaSetListFluentImpl> implements WatchEventFluent.ReplicaSetListObjectNested,io.alauda.kubernetes.api.builder.Nested{

            private final ReplicaSetListBuilder builder;
    
            ReplicaSetListObjectNestedImpl(ReplicaSetList item){
                    this.builder = new ReplicaSetListBuilder(this, item);
            }
            ReplicaSetListObjectNestedImpl(){
                    this.builder = new ReplicaSetListBuilder(this);
            }
    
    public N and(){
            return (N) WatchEventFluentImpl.this.withReplicaSetListObject(builder.build());
    }
    public N endReplicaSetListObject(){
            return and();
    }

}
    public class StatefulSetSpecObjectNestedImpl extends StatefulSetSpecFluentImpl> implements WatchEventFluent.StatefulSetSpecObjectNested,io.alauda.kubernetes.api.builder.Nested{

            private final StatefulSetSpecBuilder builder;
    
            StatefulSetSpecObjectNestedImpl(StatefulSetSpec item){
                    this.builder = new StatefulSetSpecBuilder(this, item);
            }
            StatefulSetSpecObjectNestedImpl(){
                    this.builder = new StatefulSetSpecBuilder(this);
            }
    
    public N and(){
            return (N) WatchEventFluentImpl.this.withStatefulSetSpecObject(builder.build());
    }
    public N endStatefulSetSpecObject(){
            return and();
    }

}
    public class SecretProjectionObjectNestedImpl extends SecretProjectionFluentImpl> implements WatchEventFluent.SecretProjectionObjectNested,io.alauda.kubernetes.api.builder.Nested{

            private final SecretProjectionBuilder builder;
    
            SecretProjectionObjectNestedImpl(SecretProjection item){
                    this.builder = new SecretProjectionBuilder(this, item);
            }
            SecretProjectionObjectNestedImpl(){
                    this.builder = new SecretProjectionBuilder(this);
            }
    
    public N and(){
            return (N) WatchEventFluentImpl.this.withSecretProjectionObject(builder.build());
    }
    public N endSecretProjectionObject(){
            return and();
    }

}
    public class BuildSourceObjectNestedImpl extends BuildSourceFluentImpl> implements WatchEventFluent.BuildSourceObjectNested,io.alauda.kubernetes.api.builder.Nested{

            private final BuildSourceBuilder builder;
    
            BuildSourceObjectNestedImpl(BuildSource item){
                    this.builder = new BuildSourceBuilder(this, item);
            }
            BuildSourceObjectNestedImpl(){
                    this.builder = new BuildSourceBuilder(this);
            }
    
    public N and(){
            return (N) WatchEventFluentImpl.this.withBuildSourceObject(builder.build());
    }
    public N endBuildSourceObject(){
            return and();
    }

}
    public class JobConditionObjectNestedImpl extends JobConditionFluentImpl> implements WatchEventFluent.JobConditionObjectNested,io.alauda.kubernetes.api.builder.Nested{

            private final JobConditionBuilder builder;
    
            JobConditionObjectNestedImpl(JobCondition item){
                    this.builder = new JobConditionBuilder(this, item);
            }
            JobConditionObjectNestedImpl(){
                    this.builder = new JobConditionBuilder(this);
            }
    
    public N and(){
            return (N) WatchEventFluentImpl.this.withJobConditionObject(builder.build());
    }
    public N endJobConditionObject(){
            return and();
    }

}
    public class JenkinsObjectNestedImpl extends JenkinsFluentImpl> implements WatchEventFluent.JenkinsObjectNested,io.alauda.kubernetes.api.builder.Nested{

            private final JenkinsBuilder builder;
    
            JenkinsObjectNestedImpl(Jenkins item){
                    this.builder = new JenkinsBuilder(this, item);
            }
            JenkinsObjectNestedImpl(){
                    this.builder = new JenkinsBuilder(this);
            }
    
    public N and(){
            return (N) WatchEventFluentImpl.this.withJenkinsObject(builder.build());
    }
    public N endJenkinsObject(){
            return and();
    }

}
    public class ImageLabelObjectNestedImpl extends ImageLabelFluentImpl> implements WatchEventFluent.ImageLabelObjectNested,io.alauda.kubernetes.api.builder.Nested{

            private final ImageLabelBuilder builder;
    
            ImageLabelObjectNestedImpl(ImageLabel item){
                    this.builder = new ImageLabelBuilder(this, item);
            }
            ImageLabelObjectNestedImpl(){
                    this.builder = new ImageLabelBuilder(this);
            }
    
    public N and(){
            return (N) WatchEventFluentImpl.this.withImageLabelObject(builder.build());
    }
    public N endImageLabelObject(){
            return and();
    }

}
    public class ExtensionsDeploymentStrategyObjectNestedImpl extends io.alauda.kubernetes.api.model.extensions.DeploymentStrategyFluentImpl> implements WatchEventFluent.ExtensionsDeploymentStrategyObjectNested,io.alauda.kubernetes.api.builder.Nested{

            private final io.alauda.kubernetes.api.model.extensions.DeploymentStrategyBuilder builder;
    
            ExtensionsDeploymentStrategyObjectNestedImpl(io.alauda.kubernetes.api.model.extensions.DeploymentStrategy item){
                    this.builder = new io.alauda.kubernetes.api.model.extensions.DeploymentStrategyBuilder(this, item);
            }
            ExtensionsDeploymentStrategyObjectNestedImpl(){
                    this.builder = new io.alauda.kubernetes.api.model.extensions.DeploymentStrategyBuilder(this);
            }
    
    public N and(){
            return (N) WatchEventFluentImpl.this.withDeploymentStrategyObject(builder.build());
    }
    public N endExtensionsDeploymentStrategyObject(){
            return and();
    }

}
    public class ContainerPortObjectNestedImpl extends ContainerPortFluentImpl> implements WatchEventFluent.ContainerPortObjectNested,io.alauda.kubernetes.api.builder.Nested{

            private final ContainerPortBuilder builder;
    
            ContainerPortObjectNestedImpl(ContainerPort item){
                    this.builder = new ContainerPortBuilder(this, item);
            }
            ContainerPortObjectNestedImpl(){
                    this.builder = new ContainerPortBuilder(this);
            }
    
    public N and(){
            return (N) WatchEventFluentImpl.this.withContainerPortObject(builder.build());
    }
    public N endContainerPortObject(){
            return and();
    }

}
    public class DaemonSetObjectNestedImpl extends DaemonSetFluentImpl> implements WatchEventFluent.DaemonSetObjectNested,io.alauda.kubernetes.api.builder.Nested{

            private final DaemonSetBuilder builder;
    
            DaemonSetObjectNestedImpl(DaemonSet item){
                    this.builder = new DaemonSetBuilder(this, item);
            }
            DaemonSetObjectNestedImpl(){
                    this.builder = new DaemonSetBuilder(this);
            }
    
    public N and(){
            return (N) WatchEventFluentImpl.this.withDaemonSetObject(builder.build());
    }
    public N endDaemonSetObject(){
            return and();
    }

}
    public class SubjectAccessReviewResponseObjectNestedImpl extends SubjectAccessReviewResponseFluentImpl> implements WatchEventFluent.SubjectAccessReviewResponseObjectNested,io.alauda.kubernetes.api.builder.Nested{

            private final SubjectAccessReviewResponseBuilder builder;
    
            SubjectAccessReviewResponseObjectNestedImpl(SubjectAccessReviewResponse item){
                    this.builder = new SubjectAccessReviewResponseBuilder(this, item);
            }
            SubjectAccessReviewResponseObjectNestedImpl(){
                    this.builder = new SubjectAccessReviewResponseBuilder(this);
            }
    
    public N and(){
            return (N) WatchEventFluentImpl.this.withSubjectAccessReviewResponseObject(builder.build());
    }
    public N endSubjectAccessReviewResponseObject(){
            return and();
    }

}
    public class PodDisruptionBudgetObjectNestedImpl extends PodDisruptionBudgetFluentImpl> implements WatchEventFluent.PodDisruptionBudgetObjectNested,io.alauda.kubernetes.api.builder.Nested{

            private final PodDisruptionBudgetBuilder builder;
    
            PodDisruptionBudgetObjectNestedImpl(PodDisruptionBudget item){
                    this.builder = new PodDisruptionBudgetBuilder(this, item);
            }
            PodDisruptionBudgetObjectNestedImpl(){
                    this.builder = new PodDisruptionBudgetBuilder(this);
            }
    
    public N and(){
            return (N) WatchEventFluentImpl.this.withPodDisruptionBudgetObject(builder.build());
    }
    public N endPodDisruptionBudgetObject(){
            return and();
    }

}
    public class ImageStreamObjectNestedImpl extends ImageStreamFluentImpl> implements WatchEventFluent.ImageStreamObjectNested,io.alauda.kubernetes.api.builder.Nested{

            private final ImageStreamBuilder builder;
    
            ImageStreamObjectNestedImpl(ImageStream item){
                    this.builder = new ImageStreamBuilder(this, item);
            }
            ImageStreamObjectNestedImpl(){
                    this.builder = new ImageStreamBuilder(this);
            }
    
    public N and(){
            return (N) WatchEventFluentImpl.this.withImageStreamObject(builder.build());
    }
    public N endImageStreamObject(){
            return and();
    }

}
    public class BuildSpecObjectNestedImpl extends BuildSpecFluentImpl> implements WatchEventFluent.BuildSpecObjectNested,io.alauda.kubernetes.api.builder.Nested{

            private final BuildSpecBuilder builder;
    
            BuildSpecObjectNestedImpl(BuildSpec item){
                    this.builder = new BuildSpecBuilder(this, item);
            }
            BuildSpecObjectNestedImpl(){
                    this.builder = new BuildSpecBuilder(this);
            }
    
    public N and(){
            return (N) WatchEventFluentImpl.this.withBuildSpecObject(builder.build());
    }
    public N endBuildSpecObject(){
            return and();
    }

}
    public class HTTPIngressRuleValueObjectNestedImpl extends HTTPIngressRuleValueFluentImpl> implements WatchEventFluent.HTTPIngressRuleValueObjectNested,io.alauda.kubernetes.api.builder.Nested{

            private final HTTPIngressRuleValueBuilder builder;
    
            HTTPIngressRuleValueObjectNestedImpl(HTTPIngressRuleValue item){
                    this.builder = new HTTPIngressRuleValueBuilder(this, item);
            }
            HTTPIngressRuleValueObjectNestedImpl(){
                    this.builder = new HTTPIngressRuleValueBuilder(this);
            }
    
    public N and(){
            return (N) WatchEventFluentImpl.this.withHTTPIngressRuleValueObject(builder.build());
    }
    public N endHTTPIngressRuleValueObject(){
            return and();
    }

}
    public class StatusCauseObjectNestedImpl extends StatusCauseFluentImpl> implements WatchEventFluent.StatusCauseObjectNested,io.alauda.kubernetes.api.builder.Nested{

            private final StatusCauseBuilder builder;
    
            StatusCauseObjectNestedImpl(StatusCause item){
                    this.builder = new StatusCauseBuilder(this, item);
            }
            StatusCauseObjectNestedImpl(){
                    this.builder = new StatusCauseBuilder(this);
            }
    
    public N and(){
            return (N) WatchEventFluentImpl.this.withStatusCauseObject(builder.build());
    }
    public N endStatusCauseObject(){
            return and();
    }

}
    public class EndpointPortObjectNestedImpl extends EndpointPortFluentImpl> implements WatchEventFluent.EndpointPortObjectNested,io.alauda.kubernetes.api.builder.Nested{

            private final EndpointPortBuilder builder;
    
            EndpointPortObjectNestedImpl(EndpointPort item){
                    this.builder = new EndpointPortBuilder(this, item);
            }
            EndpointPortObjectNestedImpl(){
                    this.builder = new EndpointPortBuilder(this);
            }
    
    public N and(){
            return (N) WatchEventFluentImpl.this.withEndpointPortObject(builder.build());
    }
    public N endEndpointPortObject(){
            return and();
    }

}
    public class NodeConditionObjectNestedImpl extends NodeConditionFluentImpl> implements WatchEventFluent.NodeConditionObjectNested,io.alauda.kubernetes.api.builder.Nested{

            private final NodeConditionBuilder builder;
    
            NodeConditionObjectNestedImpl(NodeCondition item){
                    this.builder = new NodeConditionBuilder(this, item);
            }
            NodeConditionObjectNestedImpl(){
                    this.builder = new NodeConditionBuilder(this);
            }
    
    public N and(){
            return (N) WatchEventFluentImpl.this.withNodeConditionObject(builder.build());
    }
    public N endNodeConditionObject(){
            return and();
    }

}
    public class RollingUpdateDeploymentObjectNestedImpl extends RollingUpdateDeploymentFluentImpl> implements WatchEventFluent.RollingUpdateDeploymentObjectNested,io.alauda.kubernetes.api.builder.Nested{

            private final RollingUpdateDeploymentBuilder builder;
    
            RollingUpdateDeploymentObjectNestedImpl(RollingUpdateDeployment item){
                    this.builder = new RollingUpdateDeploymentBuilder(this, item);
            }
            RollingUpdateDeploymentObjectNestedImpl(){
                    this.builder = new RollingUpdateDeploymentBuilder(this);
            }
    
    public N and(){
            return (N) WatchEventFluentImpl.this.withRollingUpdateDeploymentObject(builder.build());
    }
    public N endRollingUpdateDeploymentObject(){
            return and();
    }

}
    public class GitBuildSourceObjectNestedImpl extends GitBuildSourceFluentImpl> implements WatchEventFluent.GitBuildSourceObjectNested,io.alauda.kubernetes.api.builder.Nested{

            private final GitBuildSourceBuilder builder;
    
            GitBuildSourceObjectNestedImpl(GitBuildSource item){
                    this.builder = new GitBuildSourceBuilder(this, item);
            }
            GitBuildSourceObjectNestedImpl(){
                    this.builder = new GitBuildSourceBuilder(this);
            }
    
    public N and(){
            return (N) WatchEventFluentImpl.this.withGitBuildSourceObject(builder.build());
    }
    public N endGitBuildSourceObject(){
            return and();
    }

}
    public class IDRangeObjectNestedImpl extends IDRangeFluentImpl> implements WatchEventFluent.IDRangeObjectNested,io.alauda.kubernetes.api.builder.Nested{

            private final IDRangeBuilder builder;
    
            IDRangeObjectNestedImpl(IDRange item){
                    this.builder = new IDRangeBuilder(this, item);
            }
            IDRangeObjectNestedImpl(){
                    this.builder = new IDRangeBuilder(this);
            }
    
    public N and(){
            return (N) WatchEventFluentImpl.this.withIDRangeObject(builder.build());
    }
    public N endIDRangeObject(){
            return and();
    }

}
    public class BuildStatusObjectNestedImpl extends BuildStatusFluentImpl> implements WatchEventFluent.BuildStatusObjectNested,io.alauda.kubernetes.api.builder.Nested{

            private final BuildStatusBuilder builder;
    
            BuildStatusObjectNestedImpl(BuildStatus item){
                    this.builder = new BuildStatusBuilder(this, item);
            }
            BuildStatusObjectNestedImpl(){
                    this.builder = new BuildStatusBuilder(this);
            }
    
    public N and(){
            return (N) WatchEventFluentImpl.this.withBuildStatusObject(builder.build());
    }
    public N endBuildStatusObject(){
            return and();
    }

}
    public class SupplementalGroupsStrategyOptionsObjectNestedImpl extends SupplementalGroupsStrategyOptionsFluentImpl> implements WatchEventFluent.SupplementalGroupsStrategyOptionsObjectNested,io.alauda.kubernetes.api.builder.Nested{

            private final SupplementalGroupsStrategyOptionsBuilder builder;
    
            SupplementalGroupsStrategyOptionsObjectNestedImpl(SupplementalGroupsStrategyOptions item){
                    this.builder = new SupplementalGroupsStrategyOptionsBuilder(this, item);
            }
            SupplementalGroupsStrategyOptionsObjectNestedImpl(){
                    this.builder = new SupplementalGroupsStrategyOptionsBuilder(this);
            }
    
    public N and(){
            return (N) WatchEventFluentImpl.this.withSupplementalGroupsStrategyOptionsObject(builder.build());
    }
    public N endSupplementalGroupsStrategyOptionsObject(){
            return and();
    }

}
    public class PipelineStrategyJenkinsObjectNestedImpl extends PipelineStrategyJenkinsFluentImpl> implements WatchEventFluent.PipelineStrategyJenkinsObjectNested,io.alauda.kubernetes.api.builder.Nested{

            private final PipelineStrategyJenkinsBuilder builder;
    
            PipelineStrategyJenkinsObjectNestedImpl(PipelineStrategyJenkins item){
                    this.builder = new PipelineStrategyJenkinsBuilder(this, item);
            }
            PipelineStrategyJenkinsObjectNestedImpl(){
                    this.builder = new PipelineStrategyJenkinsBuilder(this);
            }
    
    public N and(){
            return (N) WatchEventFluentImpl.this.withPipelineStrategyJenkinsObject(builder.build());
    }
    public N endPipelineStrategyJenkinsObject(){
            return and();
    }

}
    public class AffinityObjectNestedImpl extends AffinityFluentImpl> implements WatchEventFluent.AffinityObjectNested,io.alauda.kubernetes.api.builder.Nested{

            private final AffinityBuilder builder;
    
            AffinityObjectNestedImpl(Affinity item){
                    this.builder = new AffinityBuilder(this, item);
            }
            AffinityObjectNestedImpl(){
                    this.builder = new AffinityBuilder(this);
            }
    
    public N and(){
            return (N) WatchEventFluentImpl.this.withAffinityObject(builder.build());
    }
    public N endAffinityObject(){
            return and();
    }

}
    public class BuildStatusOutputToObjectNestedImpl extends BuildStatusOutputToFluentImpl> implements WatchEventFluent.BuildStatusOutputToObjectNested,io.alauda.kubernetes.api.builder.Nested{

            private final BuildStatusOutputToBuilder builder;
    
            BuildStatusOutputToObjectNestedImpl(BuildStatusOutputTo item){
                    this.builder = new BuildStatusOutputToBuilder(this, item);
            }
            BuildStatusOutputToObjectNestedImpl(){
                    this.builder = new BuildStatusOutputToBuilder(this);
            }
    
    public N and(){
            return (N) WatchEventFluentImpl.this.withBuildStatusOutputToObject(builder.build());
    }
    public N endBuildStatusOutputToObject(){
            return and();
    }

}
    public class ContextObjectNestedImpl extends ContextFluentImpl> implements WatchEventFluent.ContextObjectNested,io.alauda.kubernetes.api.builder.Nested{

            private final ContextBuilder builder;
    
            ContextObjectNestedImpl(Context item){
                    this.builder = new ContextBuilder(this, item);
            }
            ContextObjectNestedImpl(){
                    this.builder = new ContextBuilder(this);
            }
    
    public N and(){
            return (N) WatchEventFluentImpl.this.withContextObject(builder.build());
    }
    public N endContextObject(){
            return and();
    }

}
    public class RoleBindingRestrictionObjectNestedImpl extends RoleBindingRestrictionFluentImpl> implements WatchEventFluent.RoleBindingRestrictionObjectNested,io.alauda.kubernetes.api.builder.Nested{

            private final RoleBindingRestrictionBuilder builder;
    
            RoleBindingRestrictionObjectNestedImpl(RoleBindingRestriction item){
                    this.builder = new RoleBindingRestrictionBuilder(this, item);
            }
            RoleBindingRestrictionObjectNestedImpl(){
                    this.builder = new RoleBindingRestrictionBuilder(this);
            }
    
    public N and(){
            return (N) WatchEventFluentImpl.this.withRoleBindingRestrictionObject(builder.build());
    }
    public N endRoleBindingRestrictionObject(){
            return and();
    }

}
    public class ServicePortObjectNestedImpl extends ServicePortFluentImpl> implements WatchEventFluent.ServicePortObjectNested,io.alauda.kubernetes.api.builder.Nested{

            private final ServicePortBuilder builder;
    
            ServicePortObjectNestedImpl(ServicePort item){
                    this.builder = new ServicePortBuilder(this, item);
            }
            ServicePortObjectNestedImpl(){
                    this.builder = new ServicePortBuilder(this);
            }
    
    public N and(){
            return (N) WatchEventFluentImpl.this.withServicePortObject(builder.build());
    }
    public N endServicePortObject(){
            return and();
    }

}
    public class BindingObjectNestedImpl extends BindingFluentImpl> implements WatchEventFluent.BindingObjectNested,io.alauda.kubernetes.api.builder.Nested{

            private final BindingBuilder builder;
    
            BindingObjectNestedImpl(Binding item){
                    this.builder = new BindingBuilder(this, item);
            }
            BindingObjectNestedImpl(){
                    this.builder = new BindingBuilder(this);
            }
    
    public N and(){
            return (N) WatchEventFluentImpl.this.withBindingObject(builder.build());
    }
    public N endBindingObject(){
            return and();
    }

}
    public class AuthInfoObjectNestedImpl extends AuthInfoFluentImpl> implements WatchEventFluent.AuthInfoObjectNested,io.alauda.kubernetes.api.builder.Nested{

            private final AuthInfoBuilder builder;
    
            AuthInfoObjectNestedImpl(AuthInfo item){
                    this.builder = new AuthInfoBuilder(this, item);
            }
            AuthInfoObjectNestedImpl(){
                    this.builder = new AuthInfoBuilder(this);
            }
    
    public N and(){
            return (N) WatchEventFluentImpl.this.withAuthInfoObject(builder.build());
    }
    public N endAuthInfoObject(){
            return and();
    }

}
    public class TLSConfigObjectNestedImpl extends TLSConfigFluentImpl> implements WatchEventFluent.TLSConfigObjectNested,io.alauda.kubernetes.api.builder.Nested{

            private final TLSConfigBuilder builder;
    
            TLSConfigObjectNestedImpl(TLSConfig item){
                    this.builder = new TLSConfigBuilder(this, item);
            }
            TLSConfigObjectNestedImpl(){
                    this.builder = new TLSConfigBuilder(this);
            }
    
    public N and(){
            return (N) WatchEventFluentImpl.this.withTLSConfigObject(builder.build());
    }
    public N endTLSConfigObject(){
            return and();
    }

}
    public class RollingUpdateStatefulSetStrategyObjectNestedImpl extends RollingUpdateStatefulSetStrategyFluentImpl> implements WatchEventFluent.RollingUpdateStatefulSetStrategyObjectNested,io.alauda.kubernetes.api.builder.Nested{

            private final RollingUpdateStatefulSetStrategyBuilder builder;
    
            RollingUpdateStatefulSetStrategyObjectNestedImpl(RollingUpdateStatefulSetStrategy item){
                    this.builder = new RollingUpdateStatefulSetStrategyBuilder(this, item);
            }
            RollingUpdateStatefulSetStrategyObjectNestedImpl(){
                    this.builder = new RollingUpdateStatefulSetStrategyBuilder(this);
            }
    
    public N and(){
            return (N) WatchEventFluentImpl.this.withRollingUpdateStatefulSetStrategyObject(builder.build());
    }
    public N endRollingUpdateStatefulSetStrategyObject(){
            return and();
    }

}
    public class AuthorizationLocalSubjectAccessReviewObjectNestedImpl extends io.alauda.kubernetes.api.model.authorization.LocalSubjectAccessReviewFluentImpl> implements WatchEventFluent.AuthorizationLocalSubjectAccessReviewObjectNested,io.alauda.kubernetes.api.builder.Nested{

            private final io.alauda.kubernetes.api.model.authorization.LocalSubjectAccessReviewBuilder builder;
    
            AuthorizationLocalSubjectAccessReviewObjectNestedImpl(io.alauda.kubernetes.api.model.authorization.LocalSubjectAccessReview item){
                    this.builder = new io.alauda.kubernetes.api.model.authorization.LocalSubjectAccessReviewBuilder(this, item);
            }
            AuthorizationLocalSubjectAccessReviewObjectNestedImpl(){
                    this.builder = new io.alauda.kubernetes.api.model.authorization.LocalSubjectAccessReviewBuilder(this);
            }
    
    public N and(){
            return (N) WatchEventFluentImpl.this.withLocalSubjectAccessReviewObject(builder.build());
    }
    public N endAuthorizationLocalSubjectAccessReviewObject(){
            return and();
    }

}
    public class StatefulSetObjectNestedImpl extends StatefulSetFluentImpl> implements WatchEventFluent.StatefulSetObjectNested,io.alauda.kubernetes.api.builder.Nested{

            private final StatefulSetBuilder builder;
    
            StatefulSetObjectNestedImpl(StatefulSet item){
                    this.builder = new StatefulSetBuilder(this, item);
            }
            StatefulSetObjectNestedImpl(){
                    this.builder = new StatefulSetBuilder(this);
            }
    
    public N and(){
            return (N) WatchEventFluentImpl.this.withStatefulSetObject(builder.build());
    }
    public N endStatefulSetObject(){
            return and();
    }

}
    public class PipelineTaskArgumentSchemaObjectNestedImpl extends PipelineTaskArgumentSchemaFluentImpl> implements WatchEventFluent.PipelineTaskArgumentSchemaObjectNested,io.alauda.kubernetes.api.builder.Nested{

            private final PipelineTaskArgumentSchemaBuilder builder;
    
            PipelineTaskArgumentSchemaObjectNestedImpl(PipelineTaskArgumentSchema item){
                    this.builder = new PipelineTaskArgumentSchemaBuilder(this, item);
            }
            PipelineTaskArgumentSchemaObjectNestedImpl(){
                    this.builder = new PipelineTaskArgumentSchemaBuilder(this);
            }
    
    public N and(){
            return (N) WatchEventFluentImpl.this.withPipelineTaskArgumentSchemaObject(builder.build());
    }
    public N endPipelineTaskArgumentSchemaObject(){
            return and();
    }

}
    public class SourceBuildStrategyObjectNestedImpl extends SourceBuildStrategyFluentImpl> implements WatchEventFluent.SourceBuildStrategyObjectNested,io.alauda.kubernetes.api.builder.Nested{

            private final SourceBuildStrategyBuilder builder;
    
            SourceBuildStrategyObjectNestedImpl(SourceBuildStrategy item){
                    this.builder = new SourceBuildStrategyBuilder(this, item);
            }
            SourceBuildStrategyObjectNestedImpl(){
                    this.builder = new SourceBuildStrategyBuilder(this);
            }
    
    public N and(){
            return (N) WatchEventFluentImpl.this.withSourceBuildStrategyObject(builder.build());
    }
    public N endSourceBuildStrategyObject(){
            return and();
    }

}
    public class ContainerObjectNestedImpl extends ContainerFluentImpl> implements WatchEventFluent.ContainerObjectNested,io.alauda.kubernetes.api.builder.Nested{

            private final ContainerBuilder builder;
    
            ContainerObjectNestedImpl(Container item){
                    this.builder = new ContainerBuilder(this, item);
            }
            ContainerObjectNestedImpl(){
                    this.builder = new ContainerBuilder(this);
            }
    
    public N and(){
            return (N) WatchEventFluentImpl.this.withContainerObject(builder.build());
    }
    public N endContainerObject(){
            return and();
    }

}
    public class PipelineTemplateTaskInstanceObjectNestedImpl extends PipelineTemplateTaskInstanceFluentImpl> implements WatchEventFluent.PipelineTemplateTaskInstanceObjectNested,io.alauda.kubernetes.api.builder.Nested{

            private final PipelineTemplateTaskInstanceBuilder builder;
    
            PipelineTemplateTaskInstanceObjectNestedImpl(PipelineTemplateTaskInstance item){
                    this.builder = new PipelineTemplateTaskInstanceBuilder(this, item);
            }
            PipelineTemplateTaskInstanceObjectNestedImpl(){
                    this.builder = new PipelineTemplateTaskInstanceBuilder(this);
            }
    
    public N and(){
            return (N) WatchEventFluentImpl.this.withPipelineTemplateTaskInstanceObject(builder.build());
    }
    public N endPipelineTemplateTaskInstanceObject(){
            return and();
    }

}
    public class PipelineTaskOptionObjectNestedImpl extends PipelineTaskOptionFluentImpl> implements WatchEventFluent.PipelineTaskOptionObjectNested,io.alauda.kubernetes.api.builder.Nested{

            private final PipelineTaskOptionBuilder builder;
    
            PipelineTaskOptionObjectNestedImpl(PipelineTaskOption item){
                    this.builder = new PipelineTaskOptionBuilder(this, item);
            }
            PipelineTaskOptionObjectNestedImpl(){
                    this.builder = new PipelineTaskOptionBuilder(this);
            }
    
    public N and(){
            return (N) WatchEventFluentImpl.this.withPipelineTaskOptionObject(builder.build());
    }
    public N endPipelineTaskOptionObject(){
            return and();
    }

}
    public class ClusterRoleBindingListObjectNestedImpl extends ClusterRoleBindingListFluentImpl> implements WatchEventFluent.ClusterRoleBindingListObjectNested,io.alauda.kubernetes.api.builder.Nested{

            private final ClusterRoleBindingListBuilder builder;
    
            ClusterRoleBindingListObjectNestedImpl(ClusterRoleBindingList item){
                    this.builder = new ClusterRoleBindingListBuilder(this, item);
            }
            ClusterRoleBindingListObjectNestedImpl(){
                    this.builder = new ClusterRoleBindingListBuilder(this);
            }
    
    public N and(){
            return (N) WatchEventFluentImpl.this.withClusterRoleBindingListObject(builder.build());
    }
    public N endClusterRoleBindingListObject(){
            return and();
    }

}
    public class OAuthClientObjectNestedImpl extends OAuthClientFluentImpl> implements WatchEventFluent.OAuthClientObjectNested,io.alauda.kubernetes.api.builder.Nested{

            private final OAuthClientBuilder builder;
    
            OAuthClientObjectNestedImpl(OAuthClient item){
                    this.builder = new OAuthClientBuilder(this, item);
            }
            OAuthClientObjectNestedImpl(){
                    this.builder = new OAuthClientBuilder(this);
            }
    
    public N and(){
            return (N) WatchEventFluentImpl.this.withOAuthClientObject(builder.build());
    }
    public N endOAuthClientObject(){
            return and();
    }

}
    public class CronJobSpecObjectNestedImpl extends CronJobSpecFluentImpl> implements WatchEventFluent.CronJobSpecObjectNested,io.alauda.kubernetes.api.builder.Nested{

            private final CronJobSpecBuilder builder;
    
            CronJobSpecObjectNestedImpl(CronJobSpec item){
                    this.builder = new CronJobSpecBuilder(this, item);
            }
            CronJobSpecObjectNestedImpl(){
                    this.builder = new CronJobSpecBuilder(this);
            }
    
    public N and(){
            return (N) WatchEventFluentImpl.this.withCronJobSpecObject(builder.build());
    }
    public N endCronJobSpecObject(){
            return and();
    }

}
    public class PipelineTriggerObjectNestedImpl extends PipelineTriggerFluentImpl> implements WatchEventFluent.PipelineTriggerObjectNested,io.alauda.kubernetes.api.builder.Nested{

            private final PipelineTriggerBuilder builder;
    
            PipelineTriggerObjectNestedImpl(PipelineTrigger item){
                    this.builder = new PipelineTriggerBuilder(this, item);
            }
            PipelineTriggerObjectNestedImpl(){
                    this.builder = new PipelineTriggerBuilder(this);
            }
    
    public N and(){
            return (N) WatchEventFluentImpl.this.withPipelineTriggerObject(builder.build());
    }
    public N endPipelineTriggerObject(){
            return and();
    }

}
    public class DeploymentRollbackObjectNestedImpl extends DeploymentRollbackFluentImpl> implements WatchEventFluent.DeploymentRollbackObjectNested,io.alauda.kubernetes.api.builder.Nested{

            private final DeploymentRollbackBuilder builder;
    
            DeploymentRollbackObjectNestedImpl(DeploymentRollback item){
                    this.builder = new DeploymentRollbackBuilder(this, item);
            }
            DeploymentRollbackObjectNestedImpl(){
                    this.builder = new DeploymentRollbackBuilder(this);
            }
    
    public N and(){
            return (N) WatchEventFluentImpl.this.withDeploymentRollbackObject(builder.build());
    }
    public N endDeploymentRollbackObject(){
            return and();
    }

}
    public class SecretVolumeSourceObjectNestedImpl extends SecretVolumeSourceFluentImpl> implements WatchEventFluent.SecretVolumeSourceObjectNested,io.alauda.kubernetes.api.builder.Nested{

            private final SecretVolumeSourceBuilder builder;
    
            SecretVolumeSourceObjectNestedImpl(SecretVolumeSource item){
                    this.builder = new SecretVolumeSourceBuilder(this, item);
            }
            SecretVolumeSourceObjectNestedImpl(){
                    this.builder = new SecretVolumeSourceBuilder(this);
            }
    
    public N and(){
            return (N) WatchEventFluentImpl.this.withSecretVolumeSourceObject(builder.build());
    }
    public N endSecretVolumeSourceObject(){
            return and();
    }

}
    public class TemplateObjectNestedImpl extends TemplateFluentImpl> implements WatchEventFluent.TemplateObjectNested,io.alauda.kubernetes.api.builder.Nested{

            private final TemplateBuilder builder;
    
            TemplateObjectNestedImpl(Template item){
                    this.builder = new TemplateBuilder(this, item);
            }
            TemplateObjectNestedImpl(){
                    this.builder = new TemplateBuilder(this);
            }
    
    public N and(){
            return (N) WatchEventFluentImpl.this.withTemplateObject(builder.build());
    }
    public N endTemplateObject(){
            return and();
    }

}
    public class LoadBalancerIngressObjectNestedImpl extends LoadBalancerIngressFluentImpl> implements WatchEventFluent.LoadBalancerIngressObjectNested,io.alauda.kubernetes.api.builder.Nested{

            private final LoadBalancerIngressBuilder builder;
    
            LoadBalancerIngressObjectNestedImpl(LoadBalancerIngress item){
                    this.builder = new LoadBalancerIngressBuilder(this, item);
            }
            LoadBalancerIngressObjectNestedImpl(){
                    this.builder = new LoadBalancerIngressBuilder(this);
            }
    
    public N and(){
            return (N) WatchEventFluentImpl.this.withLoadBalancerIngressObject(builder.build());
    }
    public N endLoadBalancerIngressObject(){
            return and();
    }

}
    public class HorizontalPodAutoscalerSpecObjectNestedImpl extends HorizontalPodAutoscalerSpecFluentImpl> implements WatchEventFluent.HorizontalPodAutoscalerSpecObjectNested,io.alauda.kubernetes.api.builder.Nested{

            private final HorizontalPodAutoscalerSpecBuilder builder;
    
            HorizontalPodAutoscalerSpecObjectNestedImpl(HorizontalPodAutoscalerSpec item){
                    this.builder = new HorizontalPodAutoscalerSpecBuilder(this, item);
            }
            HorizontalPodAutoscalerSpecObjectNestedImpl(){
                    this.builder = new HorizontalPodAutoscalerSpecBuilder(this);
            }
    
    public N and(){
            return (N) WatchEventFluentImpl.this.withHorizontalPodAutoscalerSpecObject(builder.build());
    }
    public N endHorizontalPodAutoscalerSpecObject(){
            return and();
    }

}
    public class ProjectNamespaceStatusObjectNestedImpl extends ProjectNamespaceStatusFluentImpl> implements WatchEventFluent.ProjectNamespaceStatusObjectNested,io.alauda.kubernetes.api.builder.Nested{

            private final ProjectNamespaceStatusBuilder builder;
    
            ProjectNamespaceStatusObjectNestedImpl(ProjectNamespaceStatus item){
                    this.builder = new ProjectNamespaceStatusBuilder(this, item);
            }
            ProjectNamespaceStatusObjectNestedImpl(){
                    this.builder = new ProjectNamespaceStatusBuilder(this);
            }
    
    public N and(){
            return (N) WatchEventFluentImpl.this.withProjectNamespaceStatusObject(builder.build());
    }
    public N endProjectNamespaceStatusObject(){
            return and();
    }

}
    public class BuildConfigObjectNestedImpl extends BuildConfigFluentImpl> implements WatchEventFluent.BuildConfigObjectNested,io.alauda.kubernetes.api.builder.Nested{

            private final BuildConfigBuilder builder;
    
            BuildConfigObjectNestedImpl(BuildConfig item){
                    this.builder = new BuildConfigBuilder(this, item);
            }
            BuildConfigObjectNestedImpl(){
                    this.builder = new BuildConfigBuilder(this);
            }
    
    public N and(){
            return (N) WatchEventFluentImpl.this.withBuildConfigObject(builder.build());
    }
    public N endBuildConfigObject(){
            return and();
    }

}
    public class KubernetesRunAsUserStrategyOptionsObjectNestedImpl extends KubernetesRunAsUserStrategyOptionsFluentImpl> implements WatchEventFluent.KubernetesRunAsUserStrategyOptionsObjectNested,io.alauda.kubernetes.api.builder.Nested{

            private final KubernetesRunAsUserStrategyOptionsBuilder builder;
    
            KubernetesRunAsUserStrategyOptionsObjectNestedImpl(KubernetesRunAsUserStrategyOptions item){
                    this.builder = new KubernetesRunAsUserStrategyOptionsBuilder(this, item);
            }
            KubernetesRunAsUserStrategyOptionsObjectNestedImpl(){
                    this.builder = new KubernetesRunAsUserStrategyOptionsBuilder(this);
            }
    
    public N and(){
            return (N) WatchEventFluentImpl.this.withKubernetesRunAsUserStrategyOptionsObject(builder.build());
    }
    public N endKubernetesRunAsUserStrategyOptionsObject(){
            return and();
    }

}
    public class PolicyListObjectNestedImpl extends PolicyListFluentImpl> implements WatchEventFluent.PolicyListObjectNested,io.alauda.kubernetes.api.builder.Nested{

            private final PolicyListBuilder builder;
    
            PolicyListObjectNestedImpl(PolicyList item){
                    this.builder = new PolicyListBuilder(this, item);
            }
            PolicyListObjectNestedImpl(){
                    this.builder = new PolicyListBuilder(this);
            }
    
    public N and(){
            return (N) WatchEventFluentImpl.this.withPolicyListObject(builder.build());
    }
    public N endPolicyListObject(){
            return and();
    }

}
    public class StatusDetailsObjectNestedImpl extends StatusDetailsFluentImpl> implements WatchEventFluent.StatusDetailsObjectNested,io.alauda.kubernetes.api.builder.Nested{

            private final StatusDetailsBuilder builder;
    
            StatusDetailsObjectNestedImpl(StatusDetails item){
                    this.builder = new StatusDetailsBuilder(this, item);
            }
            StatusDetailsObjectNestedImpl(){
                    this.builder = new StatusDetailsBuilder(this);
            }
    
    public N and(){
            return (N) WatchEventFluentImpl.this.withStatusDetailsObject(builder.build());
    }
    public N endStatusDetailsObject(){
            return and();
    }

}
    public class RoleBindingListObjectNestedImpl extends RoleBindingListFluentImpl> implements WatchEventFluent.RoleBindingListObjectNested,io.alauda.kubernetes.api.builder.Nested{

            private final RoleBindingListBuilder builder;
    
            RoleBindingListObjectNestedImpl(RoleBindingList item){
                    this.builder = new RoleBindingListBuilder(this, item);
            }
            RoleBindingListObjectNestedImpl(){
                    this.builder = new RoleBindingListBuilder(this);
            }
    
    public N and(){
            return (N) WatchEventFluentImpl.this.withRoleBindingListObject(builder.build());
    }
    public N endRoleBindingListObject(){
            return and();
    }

}
    public class GitHubWebHookCauseObjectNestedImpl extends GitHubWebHookCauseFluentImpl> implements WatchEventFluent.GitHubWebHookCauseObjectNested,io.alauda.kubernetes.api.builder.Nested{

            private final GitHubWebHookCauseBuilder builder;
    
            GitHubWebHookCauseObjectNestedImpl(GitHubWebHookCause item){
                    this.builder = new GitHubWebHookCauseBuilder(this, item);
            }
            GitHubWebHookCauseObjectNestedImpl(){
                    this.builder = new GitHubWebHookCauseBuilder(this);
            }
    
    public N and(){
            return (N) WatchEventFluentImpl.this.withGitHubWebHookCauseObject(builder.build());
    }
    public N endGitHubWebHookCauseObject(){
            return and();
    }

}
    public class PodSecurityPolicyObjectNestedImpl extends PodSecurityPolicyFluentImpl> implements WatchEventFluent.PodSecurityPolicyObjectNested,io.alauda.kubernetes.api.builder.Nested{

            private final PodSecurityPolicyBuilder builder;
    
            PodSecurityPolicyObjectNestedImpl(PodSecurityPolicy item){
                    this.builder = new PodSecurityPolicyBuilder(this, item);
            }
            PodSecurityPolicyObjectNestedImpl(){
                    this.builder = new PodSecurityPolicyBuilder(this);
            }
    
    public N and(){
            return (N) WatchEventFluentImpl.this.withPodSecurityPolicyObject(builder.build());
    }
    public N endPodSecurityPolicyObject(){
            return and();
    }

}
    public class PipelineObjectNestedImpl extends PipelineFluentImpl> implements WatchEventFluent.PipelineObjectNested,io.alauda.kubernetes.api.builder.Nested{

            private final PipelineBuilder builder;
    
            PipelineObjectNestedImpl(Pipeline item){
                    this.builder = new PipelineBuilder(this, item);
            }
            PipelineObjectNestedImpl(){
                    this.builder = new PipelineBuilder(this);
            }
    
    public N and(){
            return (N) WatchEventFluentImpl.this.withPipelineObject(builder.build());
    }
    public N endPipelineObject(){
            return and();
    }

}
    public class CustomResourceDefinitionStatusObjectNestedImpl extends CustomResourceDefinitionStatusFluentImpl> implements WatchEventFluent.CustomResourceDefinitionStatusObjectNested,io.alauda.kubernetes.api.builder.Nested{

            private final CustomResourceDefinitionStatusBuilder builder;
    
            CustomResourceDefinitionStatusObjectNestedImpl(CustomResourceDefinitionStatus item){
                    this.builder = new CustomResourceDefinitionStatusBuilder(this, item);
            }
            CustomResourceDefinitionStatusObjectNestedImpl(){
                    this.builder = new CustomResourceDefinitionStatusBuilder(this);
            }
    
    public N and(){
            return (N) WatchEventFluentImpl.this.withCustomResourceDefinitionStatusObject(builder.build());
    }
    public N endCustomResourceDefinitionStatusObject(){
            return and();
    }

}
    public class NetworkPolicySpecObjectNestedImpl extends NetworkPolicySpecFluentImpl> implements WatchEventFluent.NetworkPolicySpecObjectNested,io.alauda.kubernetes.api.builder.Nested{

            private final NetworkPolicySpecBuilder builder;
    
            NetworkPolicySpecObjectNestedImpl(NetworkPolicySpec item){
                    this.builder = new NetworkPolicySpecBuilder(this, item);
            }
            NetworkPolicySpecObjectNestedImpl(){
                    this.builder = new NetworkPolicySpecBuilder(this);
            }
    
    public N and(){
            return (N) WatchEventFluentImpl.this.withNetworkPolicySpecObject(builder.build());
    }
    public N endNetworkPolicySpecObject(){
            return and();
    }

}
    public class ClusterPolicyBindingListObjectNestedImpl extends ClusterPolicyBindingListFluentImpl> implements WatchEventFluent.ClusterPolicyBindingListObjectNested,io.alauda.kubernetes.api.builder.Nested{

            private final ClusterPolicyBindingListBuilder builder;
    
            ClusterPolicyBindingListObjectNestedImpl(ClusterPolicyBindingList item){
                    this.builder = new ClusterPolicyBindingListBuilder(this, item);
            }
            ClusterPolicyBindingListObjectNestedImpl(){
                    this.builder = new ClusterPolicyBindingListBuilder(this);
            }
    
    public N and(){
            return (N) WatchEventFluentImpl.this.withClusterPolicyBindingListObject(builder.build());
    }
    public N endClusterPolicyBindingListObject(){
            return and();
    }

}
    public class PodListObjectNestedImpl extends PodListFluentImpl> implements WatchEventFluent.PodListObjectNested,io.alauda.kubernetes.api.builder.Nested{

            private final PodListBuilder builder;
    
            PodListObjectNestedImpl(PodList item){
                    this.builder = new PodListBuilder(this, item);
            }
            PodListObjectNestedImpl(){
                    this.builder = new PodListBuilder(this);
            }
    
    public N and(){
            return (N) WatchEventFluentImpl.this.withPodListObject(builder.build());
    }
    public N endPodListObject(){
            return and();
    }

}
    public class ParameterObjectNestedImpl extends ParameterFluentImpl> implements WatchEventFluent.ParameterObjectNested,io.alauda.kubernetes.api.builder.Nested{

            private final ParameterBuilder builder;
    
            ParameterObjectNestedImpl(Parameter item){
                    this.builder = new ParameterBuilder(this, item);
            }
            ParameterObjectNestedImpl(){
                    this.builder = new ParameterBuilder(this);
            }
    
    public N and(){
            return (N) WatchEventFluentImpl.this.withParameterObject(builder.build());
    }
    public N endParameterObject(){
            return and();
    }

}
    public class OAuthClientAuthorizationListObjectNestedImpl extends OAuthClientAuthorizationListFluentImpl> implements WatchEventFluent.OAuthClientAuthorizationListObjectNested,io.alauda.kubernetes.api.builder.Nested{

            private final OAuthClientAuthorizationListBuilder builder;
    
            OAuthClientAuthorizationListObjectNestedImpl(OAuthClientAuthorizationList item){
                    this.builder = new OAuthClientAuthorizationListBuilder(this, item);
            }
            OAuthClientAuthorizationListObjectNestedImpl(){
                    this.builder = new OAuthClientAuthorizationListBuilder(this);
            }
    
    public N and(){
            return (N) WatchEventFluentImpl.this.withOAuthClientAuthorizationListObject(builder.build());
    }
    public N endOAuthClientAuthorizationListObject(){
            return and();
    }

}
    public class LimitRangeSpecObjectNestedImpl extends LimitRangeSpecFluentImpl> implements WatchEventFluent.LimitRangeSpecObjectNested,io.alauda.kubernetes.api.builder.Nested{

            private final LimitRangeSpecBuilder builder;
    
            LimitRangeSpecObjectNestedImpl(LimitRangeSpec item){
                    this.builder = new LimitRangeSpecBuilder(this, item);
            }
            LimitRangeSpecObjectNestedImpl(){
                    this.builder = new LimitRangeSpecBuilder(this);
            }
    
    public N and(){
            return (N) WatchEventFluentImpl.this.withLimitRangeSpecObject(builder.build());
    }
    public N endLimitRangeSpecObject(){
            return and();
    }

}
    public class ProjectListObjectNestedImpl extends ProjectListFluentImpl> implements WatchEventFluent.ProjectListObjectNested,io.alauda.kubernetes.api.builder.Nested{

            private final ProjectListBuilder builder;
    
            ProjectListObjectNestedImpl(ProjectList item){
                    this.builder = new ProjectListBuilder(this, item);
            }
            ProjectListObjectNestedImpl(){
                    this.builder = new ProjectListBuilder(this);
            }
    
    public N and(){
            return (N) WatchEventFluentImpl.this.withProjectListObject(builder.build());
    }
    public N endProjectListObject(){
            return and();
    }

}
    public class ExtensionsFSGroupStrategyOptionsObjectNestedImpl extends io.alauda.kubernetes.api.model.extensions.FSGroupStrategyOptionsFluentImpl> implements WatchEventFluent.ExtensionsFSGroupStrategyOptionsObjectNested,io.alauda.kubernetes.api.builder.Nested{

            private final io.alauda.kubernetes.api.model.extensions.FSGroupStrategyOptionsBuilder builder;
    
            ExtensionsFSGroupStrategyOptionsObjectNestedImpl(io.alauda.kubernetes.api.model.extensions.FSGroupStrategyOptions item){
                    this.builder = new io.alauda.kubernetes.api.model.extensions.FSGroupStrategyOptionsBuilder(this, item);
            }
            ExtensionsFSGroupStrategyOptionsObjectNestedImpl(){
                    this.builder = new io.alauda.kubernetes.api.model.extensions.FSGroupStrategyOptionsBuilder(this);
            }
    
    public N and(){
            return (N) WatchEventFluentImpl.this.withFSGroupStrategyOptionsObject(builder.build());
    }
    public N endExtensionsFSGroupStrategyOptionsObject(){
            return and();
    }

}
    public class TagImportPolicyObjectNestedImpl extends TagImportPolicyFluentImpl> implements WatchEventFluent.TagImportPolicyObjectNested,io.alauda.kubernetes.api.builder.Nested{

            private final TagImportPolicyBuilder builder;
    
            TagImportPolicyObjectNestedImpl(TagImportPolicy item){
                    this.builder = new TagImportPolicyBuilder(this, item);
            }
            TagImportPolicyObjectNestedImpl(){
                    this.builder = new TagImportPolicyBuilder(this);
            }
    
    public N and(){
            return (N) WatchEventFluentImpl.this.withTagImportPolicyObject(builder.build());
    }
    public N endTagImportPolicyObject(){
            return and();
    }

}
    public class NodeAffinityObjectNestedImpl extends NodeAffinityFluentImpl> implements WatchEventFluent.NodeAffinityObjectNested,io.alauda.kubernetes.api.builder.Nested{

            private final NodeAffinityBuilder builder;
    
            NodeAffinityObjectNestedImpl(NodeAffinity item){
                    this.builder = new NodeAffinityBuilder(this, item);
            }
            NodeAffinityObjectNestedImpl(){
                    this.builder = new NodeAffinityBuilder(this);
            }
    
    public N and(){
            return (N) WatchEventFluentImpl.this.withNodeAffinityObject(builder.build());
    }
    public N endNodeAffinityObject(){
            return and();
    }

}
    public class RoleObjectNestedImpl extends RoleFluentImpl> implements WatchEventFluent.RoleObjectNested,io.alauda.kubernetes.api.builder.Nested{

            private final RoleBuilder builder;
    
            RoleObjectNestedImpl(Role item){
                    this.builder = new RoleBuilder(this, item);
            }
            RoleObjectNestedImpl(){
                    this.builder = new RoleBuilder(this);
            }
    
    public N and(){
            return (N) WatchEventFluentImpl.this.withRoleObject(builder.build());
    }
    public N endRoleObject(){
            return and();
    }

}
    public class PipelineConfigStatusObjectNestedImpl extends PipelineConfigStatusFluentImpl> implements WatchEventFluent.PipelineConfigStatusObjectNested,io.alauda.kubernetes.api.builder.Nested{

            private final PipelineConfigStatusBuilder builder;
    
            PipelineConfigStatusObjectNestedImpl(PipelineConfigStatus item){
                    this.builder = new PipelineConfigStatusBuilder(this, item);
            }
            PipelineConfigStatusObjectNestedImpl(){
                    this.builder = new PipelineConfigStatusBuilder(this);
            }
    
    public N and(){
            return (N) WatchEventFluentImpl.this.withPipelineConfigStatusObject(builder.build());
    }
    public N endPipelineConfigStatusObject(){
            return and();
    }

}
    public class ConfigMapListObjectNestedImpl extends ConfigMapListFluentImpl> implements WatchEventFluent.ConfigMapListObjectNested,io.alauda.kubernetes.api.builder.Nested{

            private final ConfigMapListBuilder builder;
    
            ConfigMapListObjectNestedImpl(ConfigMapList item){
                    this.builder = new ConfigMapListBuilder(this, item);
            }
            ConfigMapListObjectNestedImpl(){
                    this.builder = new ConfigMapListBuilder(this);
            }
    
    public N and(){
            return (N) WatchEventFluentImpl.this.withConfigMapListObject(builder.build());
    }
    public N endConfigMapListObject(){
            return and();
    }

}
    public class BaseKubernetesListObjectNestedImpl extends BaseKubernetesListFluentImpl> implements WatchEventFluent.BaseKubernetesListObjectNested,io.alauda.kubernetes.api.builder.Nested{

            private final BaseKubernetesListBuilder builder;
    
            BaseKubernetesListObjectNestedImpl(BaseKubernetesList item){
                    this.builder = new BaseKubernetesListBuilder(this, item);
            }
            BaseKubernetesListObjectNestedImpl(){
                    this.builder = new BaseKubernetesListBuilder(this);
            }
    
    public N and(){
            return (N) WatchEventFluentImpl.this.withBaseKubernetesListObject(builder.build());
    }
    public N endBaseKubernetesListObject(){
            return and();
    }

}
    public class StatusObjectNestedImpl extends StatusFluentImpl> implements WatchEventFluent.StatusObjectNested,io.alauda.kubernetes.api.builder.Nested{

            private final StatusBuilder builder;
    
            StatusObjectNestedImpl(Status item){
                    this.builder = new StatusBuilder(this, item);
            }
            StatusObjectNestedImpl(){
                    this.builder = new StatusBuilder(this);
            }
    
    public N and(){
            return (N) WatchEventFluentImpl.this.withStatusObject(builder.build());
    }
    public N endStatusObject(){
            return and();
    }

}
    public class CronJobObjectNestedImpl extends CronJobFluentImpl> implements WatchEventFluent.CronJobObjectNested,io.alauda.kubernetes.api.builder.Nested{

            private final CronJobBuilder builder;
    
            CronJobObjectNestedImpl(CronJob item){
                    this.builder = new CronJobBuilder(this, item);
            }
            CronJobObjectNestedImpl(){
                    this.builder = new CronJobBuilder(this);
            }
    
    public N and(){
            return (N) WatchEventFluentImpl.this.withCronJobObject(builder.build());
    }
    public N endCronJobObject(){
            return and();
    }

}
    public class BitbucketWebHookCauseObjectNestedImpl extends BitbucketWebHookCauseFluentImpl> implements WatchEventFluent.BitbucketWebHookCauseObjectNested,io.alauda.kubernetes.api.builder.Nested{

            private final BitbucketWebHookCauseBuilder builder;
    
            BitbucketWebHookCauseObjectNestedImpl(BitbucketWebHookCause item){
                    this.builder = new BitbucketWebHookCauseBuilder(this, item);
            }
            BitbucketWebHookCauseObjectNestedImpl(){
                    this.builder = new BitbucketWebHookCauseBuilder(this);
            }
    
    public N and(){
            return (N) WatchEventFluentImpl.this.withBitbucketWebHookCauseObject(builder.build());
    }
    public N endBitbucketWebHookCauseObject(){
            return and();
    }

}
    public class SubjectAccessReviewObjectNestedImpl extends SubjectAccessReviewFluentImpl> implements WatchEventFluent.SubjectAccessReviewObjectNested,io.alauda.kubernetes.api.builder.Nested{

            private final SubjectAccessReviewBuilder builder;
    
            SubjectAccessReviewObjectNestedImpl(SubjectAccessReview item){
                    this.builder = new SubjectAccessReviewBuilder(this, item);
            }
            SubjectAccessReviewObjectNestedImpl(){
                    this.builder = new SubjectAccessReviewBuilder(this);
            }
    
    public N and(){
            return (N) WatchEventFluentImpl.this.withSubjectAccessReviewObject(builder.build());
    }
    public N endSubjectAccessReviewObject(){
            return and();
    }

}
    public class NodeStatusObjectNestedImpl extends NodeStatusFluentImpl> implements WatchEventFluent.NodeStatusObjectNested,io.alauda.kubernetes.api.builder.Nested{

            private final NodeStatusBuilder builder;
    
            NodeStatusObjectNestedImpl(NodeStatus item){
                    this.builder = new NodeStatusBuilder(this, item);
            }
            NodeStatusObjectNestedImpl(){
                    this.builder = new NodeStatusBuilder(this);
            }
    
    public N and(){
            return (N) WatchEventFluentImpl.this.withNodeStatusObject(builder.build());
    }
    public N endNodeStatusObject(){
            return and();
    }

}
    public class TokenReviewSpecObjectNestedImpl extends TokenReviewSpecFluentImpl> implements WatchEventFluent.TokenReviewSpecObjectNested,io.alauda.kubernetes.api.builder.Nested{

            private final TokenReviewSpecBuilder builder;
    
            TokenReviewSpecObjectNestedImpl(TokenReviewSpec item){
                    this.builder = new TokenReviewSpecBuilder(this, item);
            }
            TokenReviewSpecObjectNestedImpl(){
                    this.builder = new TokenReviewSpecBuilder(this);
            }
    
    public N and(){
            return (N) WatchEventFluentImpl.this.withTokenReviewSpecObject(builder.build());
    }
    public N endTokenReviewSpecObject(){
            return and();
    }

}
    public class EventListObjectNestedImpl extends EventListFluentImpl> implements WatchEventFluent.EventListObjectNested,io.alauda.kubernetes.api.builder.Nested{

            private final EventListBuilder builder;
    
            EventListObjectNestedImpl(EventList item){
                    this.builder = new EventListBuilder(this, item);
            }
            EventListObjectNestedImpl(){
                    this.builder = new EventListBuilder(this);
            }
    
    public N and(){
            return (N) WatchEventFluentImpl.this.withEventListObject(builder.build());
    }
    public N endEventListObject(){
            return and();
    }

}
    public class PipelineEnvironmentObjectNestedImpl extends PipelineEnvironmentFluentImpl> implements WatchEventFluent.PipelineEnvironmentObjectNested,io.alauda.kubernetes.api.builder.Nested{

            private final PipelineEnvironmentBuilder builder;
    
            PipelineEnvironmentObjectNestedImpl(PipelineEnvironment item){
                    this.builder = new PipelineEnvironmentBuilder(this, item);
            }
            PipelineEnvironmentObjectNestedImpl(){
                    this.builder = new PipelineEnvironmentBuilder(this);
            }
    
    public N and(){
            return (N) WatchEventFluentImpl.this.withPipelineEnvironmentObject(builder.build());
    }
    public N endPipelineEnvironmentObject(){
            return and();
    }

}
    public class UserObjectNestedImpl extends UserFluentImpl> implements WatchEventFluent.UserObjectNested,io.alauda.kubernetes.api.builder.Nested{

            private final UserBuilder builder;
    
            UserObjectNestedImpl(User item){
                    this.builder = new UserBuilder(this, item);
            }
            UserObjectNestedImpl(){
                    this.builder = new UserBuilder(this);
            }
    
    public N and(){
            return (N) WatchEventFluentImpl.this.withUserObject(builder.build());
    }
    public N endUserObject(){
            return and();
    }

}
    public class AuthorizationSubjectAccessReviewObjectNestedImpl extends io.alauda.kubernetes.api.model.authorization.SubjectAccessReviewFluentImpl> implements WatchEventFluent.AuthorizationSubjectAccessReviewObjectNested,io.alauda.kubernetes.api.builder.Nested{

            private final io.alauda.kubernetes.api.model.authorization.SubjectAccessReviewBuilder builder;
    
            AuthorizationSubjectAccessReviewObjectNestedImpl(io.alauda.kubernetes.api.model.authorization.SubjectAccessReview item){
                    this.builder = new io.alauda.kubernetes.api.model.authorization.SubjectAccessReviewBuilder(this, item);
            }
            AuthorizationSubjectAccessReviewObjectNestedImpl(){
                    this.builder = new io.alauda.kubernetes.api.model.authorization.SubjectAccessReviewBuilder(this);
            }
    
    public N and(){
            return (N) WatchEventFluentImpl.this.withSubjectAccessReviewObject(builder.build());
    }
    public N endAuthorizationSubjectAccessReviewObject(){
            return and();
    }

}
    public class SELinuxOptionsObjectNestedImpl extends SELinuxOptionsFluentImpl> implements WatchEventFluent.SELinuxOptionsObjectNested,io.alauda.kubernetes.api.builder.Nested{

            private final SELinuxOptionsBuilder builder;
    
            SELinuxOptionsObjectNestedImpl(SELinuxOptions item){
                    this.builder = new SELinuxOptionsBuilder(this, item);
            }
            SELinuxOptionsObjectNestedImpl(){
                    this.builder = new SELinuxOptionsBuilder(this);
            }
    
    public N and(){
            return (N) WatchEventFluentImpl.this.withSELinuxOptionsObject(builder.build());
    }
    public N endSELinuxOptionsObject(){
            return and();
    }

}
    public class DeploymentSpecObjectNestedImpl extends DeploymentSpecFluentImpl> implements WatchEventFluent.DeploymentSpecObjectNested,io.alauda.kubernetes.api.builder.Nested{

            private final DeploymentSpecBuilder builder;
    
            DeploymentSpecObjectNestedImpl(DeploymentSpec item){
                    this.builder = new DeploymentSpecBuilder(this, item);
            }
            DeploymentSpecObjectNestedImpl(){
                    this.builder = new DeploymentSpecBuilder(this);
            }
    
    public N and(){
            return (N) WatchEventFluentImpl.this.withDeploymentSpecObject(builder.build());
    }
    public N endDeploymentSpecObject(){
            return and();
    }

}
    public class PersistentVolumeClaimListObjectNestedImpl extends PersistentVolumeClaimListFluentImpl> implements WatchEventFluent.PersistentVolumeClaimListObjectNested,io.alauda.kubernetes.api.builder.Nested{

            private final PersistentVolumeClaimListBuilder builder;
    
            PersistentVolumeClaimListObjectNestedImpl(PersistentVolumeClaimList item){
                    this.builder = new PersistentVolumeClaimListBuilder(this, item);
            }
            PersistentVolumeClaimListObjectNestedImpl(){
                    this.builder = new PersistentVolumeClaimListBuilder(this);
            }
    
    public N and(){
            return (N) WatchEventFluentImpl.this.withPersistentVolumeClaimListObject(builder.build());
    }
    public N endPersistentVolumeClaimListObject(){
            return and();
    }

}
    public class PipelineStatusObjectNestedImpl extends PipelineStatusFluentImpl> implements WatchEventFluent.PipelineStatusObjectNested,io.alauda.kubernetes.api.builder.Nested{

            private final PipelineStatusBuilder builder;
    
            PipelineStatusObjectNestedImpl(PipelineStatus item){
                    this.builder = new PipelineStatusBuilder(this, item);
            }
            PipelineStatusObjectNestedImpl(){
                    this.builder = new PipelineStatusBuilder(this);
            }
    
    public N and(){
            return (N) WatchEventFluentImpl.this.withPipelineStatusObject(builder.build());
    }
    public N endPipelineStatusObject(){
            return and();
    }

}
    public class CustomBuildStrategyObjectNestedImpl extends CustomBuildStrategyFluentImpl> implements WatchEventFluent.CustomBuildStrategyObjectNested,io.alauda.kubernetes.api.builder.Nested{

            private final CustomBuildStrategyBuilder builder;
    
            CustomBuildStrategyObjectNestedImpl(CustomBuildStrategy item){
                    this.builder = new CustomBuildStrategyBuilder(this, item);
            }
            CustomBuildStrategyObjectNestedImpl(){
                    this.builder = new CustomBuildStrategyBuilder(this);
            }
    
    public N and(){
            return (N) WatchEventFluentImpl.this.withCustomBuildStrategyObject(builder.build());
    }
    public N endCustomBuildStrategyObject(){
            return and();
    }

}
    public class BuildTriggerPolicyObjectNestedImpl extends BuildTriggerPolicyFluentImpl> implements WatchEventFluent.BuildTriggerPolicyObjectNested,io.alauda.kubernetes.api.builder.Nested{

            private final BuildTriggerPolicyBuilder builder;
    
            BuildTriggerPolicyObjectNestedImpl(BuildTriggerPolicy item){
                    this.builder = new BuildTriggerPolicyBuilder(this, item);
            }
            BuildTriggerPolicyObjectNestedImpl(){
                    this.builder = new BuildTriggerPolicyBuilder(this);
            }
    
    public N and(){
            return (N) WatchEventFluentImpl.this.withBuildTriggerPolicyObject(builder.build());
    }
    public N endBuildTriggerPolicyObject(){
            return and();
    }

}
    public class PipelineStrategyObjectNestedImpl extends PipelineStrategyFluentImpl> implements WatchEventFluent.PipelineStrategyObjectNested,io.alauda.kubernetes.api.builder.Nested{

            private final PipelineStrategyBuilder builder;
    
            PipelineStrategyObjectNestedImpl(PipelineStrategy item){
                    this.builder = new PipelineStrategyBuilder(this, item);
            }
            PipelineStrategyObjectNestedImpl(){
                    this.builder = new PipelineStrategyBuilder(this);
            }
    
    public N and(){
            return (N) WatchEventFluentImpl.this.withPipelineStrategyObject(builder.build());
    }
    public N endPipelineStrategyObject(){
            return and();
    }

}
    public class ConditionObjectNestedImpl extends ConditionFluentImpl> implements WatchEventFluent.ConditionObjectNested,io.alauda.kubernetes.api.builder.Nested{

            private final ConditionBuilder builder;
    
            ConditionObjectNestedImpl(Condition item){
                    this.builder = new ConditionBuilder(this, item);
            }
            ConditionObjectNestedImpl(){
                    this.builder = new ConditionBuilder(this);
            }
    
    public N and(){
            return (N) WatchEventFluentImpl.this.withConditionObject(builder.build());
    }
    public N endConditionObject(){
            return and();
    }

}
    public class ContainerStateWaitingObjectNestedImpl extends ContainerStateWaitingFluentImpl> implements WatchEventFluent.ContainerStateWaitingObjectNested,io.alauda.kubernetes.api.builder.Nested{

            private final ContainerStateWaitingBuilder builder;
    
            ContainerStateWaitingObjectNestedImpl(ContainerStateWaiting item){
                    this.builder = new ContainerStateWaitingBuilder(this, item);
            }
            ContainerStateWaitingObjectNestedImpl(){
                    this.builder = new ContainerStateWaitingBuilder(this);
            }
    
    public N and(){
            return (N) WatchEventFluentImpl.this.withContainerStateWaitingObject(builder.build());
    }
    public N endContainerStateWaitingObject(){
            return and();
    }

}
    public class SourceRevisionObjectNestedImpl extends SourceRevisionFluentImpl> implements WatchEventFluent.SourceRevisionObjectNested,io.alauda.kubernetes.api.builder.Nested{

            private final SourceRevisionBuilder builder;
    
            SourceRevisionObjectNestedImpl(SourceRevision item){
                    this.builder = new SourceRevisionBuilder(this, item);
            }
            SourceRevisionObjectNestedImpl(){
                    this.builder = new SourceRevisionBuilder(this);
            }
    
    public N and(){
            return (N) WatchEventFluentImpl.this.withSourceRevisionObject(builder.build());
    }
    public N endSourceRevisionObject(){
            return and();
    }

}
    public class ScaleSpecObjectNestedImpl extends ScaleSpecFluentImpl> implements WatchEventFluent.ScaleSpecObjectNested,io.alauda.kubernetes.api.builder.Nested{

            private final ScaleSpecBuilder builder;
    
            ScaleSpecObjectNestedImpl(ScaleSpec item){
                    this.builder = new ScaleSpecBuilder(this, item);
            }
            ScaleSpecObjectNestedImpl(){
                    this.builder = new ScaleSpecBuilder(this);
            }
    
    public N and(){
            return (N) WatchEventFluentImpl.this.withScaleSpecObject(builder.build());
    }
    public N endScaleSpecObject(){
            return and();
    }

}
    public class PreferencesObjectNestedImpl extends PreferencesFluentImpl> implements WatchEventFluent.PreferencesObjectNested,io.alauda.kubernetes.api.builder.Nested{

            private final PreferencesBuilder builder;
    
            PreferencesObjectNestedImpl(Preferences item){
                    this.builder = new PreferencesBuilder(this, item);
            }
            PreferencesObjectNestedImpl(){
                    this.builder = new PreferencesBuilder(this);
            }
    
    public N and(){
            return (N) WatchEventFluentImpl.this.withPreferencesObject(builder.build());
    }
    public N endPreferencesObject(){
            return and();
    }

}
    public class UserListObjectNestedImpl extends UserListFluentImpl> implements WatchEventFluent.UserListObjectNested,io.alauda.kubernetes.api.builder.Nested{

            private final UserListBuilder builder;
    
            UserListObjectNestedImpl(UserList item){
                    this.builder = new UserListBuilder(this, item);
            }
            UserListObjectNestedImpl(){
                    this.builder = new UserListBuilder(this);
            }
    
    public N and(){
            return (N) WatchEventFluentImpl.this.withUserListObject(builder.build());
    }
    public N endUserListObject(){
            return and();
    }

}
    public class NodeDaemonEndpointsObjectNestedImpl extends NodeDaemonEndpointsFluentImpl> implements WatchEventFluent.NodeDaemonEndpointsObjectNested,io.alauda.kubernetes.api.builder.Nested{

            private final NodeDaemonEndpointsBuilder builder;
    
            NodeDaemonEndpointsObjectNestedImpl(NodeDaemonEndpoints item){
                    this.builder = new NodeDaemonEndpointsBuilder(this, item);
            }
            NodeDaemonEndpointsObjectNestedImpl(){
                    this.builder = new NodeDaemonEndpointsBuilder(this);
            }
    
    public N and(){
            return (N) WatchEventFluentImpl.this.withNodeDaemonEndpointsObject(builder.build());
    }
    public N endNodeDaemonEndpointsObject(){
            return and();
    }

}
    public class PersistentVolumeListObjectNestedImpl extends PersistentVolumeListFluentImpl> implements WatchEventFluent.PersistentVolumeListObjectNested,io.alauda.kubernetes.api.builder.Nested{

            private final PersistentVolumeListBuilder builder;
    
            PersistentVolumeListObjectNestedImpl(PersistentVolumeList item){
                    this.builder = new PersistentVolumeListBuilder(this, item);
            }
            PersistentVolumeListObjectNestedImpl(){
                    this.builder = new PersistentVolumeListBuilder(this);
            }
    
    public N and(){
            return (N) WatchEventFluentImpl.this.withPersistentVolumeListObject(builder.build());
    }
    public N endPersistentVolumeListObject(){
            return and();
    }

}
    public class LimitRangeItemObjectNestedImpl extends LimitRangeItemFluentImpl> implements WatchEventFluent.LimitRangeItemObjectNested,io.alauda.kubernetes.api.builder.Nested{

            private final LimitRangeItemBuilder builder;
    
            LimitRangeItemObjectNestedImpl(LimitRangeItem item){
                    this.builder = new LimitRangeItemBuilder(this, item);
            }
            LimitRangeItemObjectNestedImpl(){
                    this.builder = new LimitRangeItemBuilder(this);
            }
    
    public N and(){
            return (N) WatchEventFluentImpl.this.withLimitRangeItemObject(builder.build());
    }
    public N endLimitRangeItemObject(){
            return and();
    }

}
    public class ScopeRestrictionObjectNestedImpl extends ScopeRestrictionFluentImpl> implements WatchEventFluent.ScopeRestrictionObjectNested,io.alauda.kubernetes.api.builder.Nested{

            private final ScopeRestrictionBuilder builder;
    
            ScopeRestrictionObjectNestedImpl(ScopeRestriction item){
                    this.builder = new ScopeRestrictionBuilder(this, item);
            }
            ScopeRestrictionObjectNestedImpl(){
                    this.builder = new ScopeRestrictionBuilder(this);
            }
    
    public N and(){
            return (N) WatchEventFluentImpl.this.withScopeRestrictionObject(builder.build());
    }
    public N endScopeRestrictionObject(){
            return and();
    }

}
    public class JenkinsAgentObjectNestedImpl extends JenkinsAgentFluentImpl> implements WatchEventFluent.JenkinsAgentObjectNested,io.alauda.kubernetes.api.builder.Nested{

            private final JenkinsAgentBuilder builder;
    
            JenkinsAgentObjectNestedImpl(JenkinsAgent item){
                    this.builder = new JenkinsAgentBuilder(this, item);
            }
            JenkinsAgentObjectNestedImpl(){
                    this.builder = new JenkinsAgentBuilder(this);
            }
    
    public N and(){
            return (N) WatchEventFluentImpl.this.withJenkinsAgentObject(builder.build());
    }
    public N endJenkinsAgentObject(){
            return and();
    }

}
    public class PipelineParameterObjectNestedImpl extends PipelineParameterFluentImpl> implements WatchEventFluent.PipelineParameterObjectNested,io.alauda.kubernetes.api.builder.Nested{

            private final PipelineParameterBuilder builder;
    
            PipelineParameterObjectNestedImpl(PipelineParameter item){
                    this.builder = new PipelineParameterBuilder(this, item);
            }
            PipelineParameterObjectNestedImpl(){
                    this.builder = new PipelineParameterBuilder(this);
            }
    
    public N and(){
            return (N) WatchEventFluentImpl.this.withPipelineParameterObject(builder.build());
    }
    public N endPipelineParameterObject(){
            return and();
    }

}
    public class PodDisruptionBudgetStatusObjectNestedImpl extends PodDisruptionBudgetStatusFluentImpl> implements WatchEventFluent.PodDisruptionBudgetStatusObjectNested,io.alauda.kubernetes.api.builder.Nested{

            private final PodDisruptionBudgetStatusBuilder builder;
    
            PodDisruptionBudgetStatusObjectNestedImpl(PodDisruptionBudgetStatus item){
                    this.builder = new PodDisruptionBudgetStatusBuilder(this, item);
            }
            PodDisruptionBudgetStatusObjectNestedImpl(){
                    this.builder = new PodDisruptionBudgetStatusBuilder(this);
            }
    
    public N and(){
            return (N) WatchEventFluentImpl.this.withPodDisruptionBudgetStatusObject(builder.build());
    }
    public N endPodDisruptionBudgetStatusObject(){
            return and();
    }

}
    public class PodDisruptionBudgetListObjectNestedImpl extends PodDisruptionBudgetListFluentImpl> implements WatchEventFluent.PodDisruptionBudgetListObjectNested,io.alauda.kubernetes.api.builder.Nested{

            private final PodDisruptionBudgetListBuilder builder;
    
            PodDisruptionBudgetListObjectNestedImpl(PodDisruptionBudgetList item){
                    this.builder = new PodDisruptionBudgetListBuilder(this, item);
            }
            PodDisruptionBudgetListObjectNestedImpl(){
                    this.builder = new PodDisruptionBudgetListBuilder(this);
            }
    
    public N and(){
            return (N) WatchEventFluentImpl.this.withPodDisruptionBudgetListObject(builder.build());
    }
    public N endPodDisruptionBudgetListObject(){
            return and();
    }

}
    public class DeploymentStatusObjectNestedImpl extends DeploymentStatusFluentImpl> implements WatchEventFluent.DeploymentStatusObjectNested,io.alauda.kubernetes.api.builder.Nested{

            private final DeploymentStatusBuilder builder;
    
            DeploymentStatusObjectNestedImpl(DeploymentStatus item){
                    this.builder = new DeploymentStatusBuilder(this, item);
            }
            DeploymentStatusObjectNestedImpl(){
                    this.builder = new DeploymentStatusBuilder(this);
            }
    
    public N and(){
            return (N) WatchEventFluentImpl.this.withDeploymentStatusObject(builder.build());
    }
    public N endDeploymentStatusObject(){
            return and();
    }

}
    public class StorageClassObjectNestedImpl extends StorageClassFluentImpl> implements WatchEventFluent.StorageClassObjectNested,io.alauda.kubernetes.api.builder.Nested{

            private final StorageClassBuilder builder;
    
            StorageClassObjectNestedImpl(StorageClass item){
                    this.builder = new StorageClassBuilder(this, item);
            }
            StorageClassObjectNestedImpl(){
                    this.builder = new StorageClassBuilder(this);
            }
    
    public N and(){
            return (N) WatchEventFluentImpl.this.withStorageClassObject(builder.build());
    }
    public N endStorageClassObject(){
            return and();
    }

}
    public class UserAccountObjectNestedImpl extends UserAccountFluentImpl> implements WatchEventFluent.UserAccountObjectNested,io.alauda.kubernetes.api.builder.Nested{

            private final UserAccountBuilder builder;
    
            UserAccountObjectNestedImpl(UserAccount item){
                    this.builder = new UserAccountBuilder(this, item);
            }
            UserAccountObjectNestedImpl(){
                    this.builder = new UserAccountBuilder(this);
            }
    
    public N and(){
            return (N) WatchEventFluentImpl.this.withUserAccountObject(builder.build());
    }
    public N endUserAccountObject(){
            return and();
    }

}
    public class ReplicationControllerSpecObjectNestedImpl extends ReplicationControllerSpecFluentImpl> implements WatchEventFluent.ReplicationControllerSpecObjectNested,io.alauda.kubernetes.api.builder.Nested{

            private final ReplicationControllerSpecBuilder builder;
    
            ReplicationControllerSpecObjectNestedImpl(ReplicationControllerSpec item){
                    this.builder = new ReplicationControllerSpecBuilder(this, item);
            }
            ReplicationControllerSpecObjectNestedImpl(){
                    this.builder = new ReplicationControllerSpecBuilder(this);
            }
    
    public N and(){
            return (N) WatchEventFluentImpl.this.withReplicationControllerSpecObject(builder.build());
    }
    public N endReplicationControllerSpecObject(){
            return and();
    }

}
    public class HostPathVolumeSourceObjectNestedImpl extends HostPathVolumeSourceFluentImpl> implements WatchEventFluent.HostPathVolumeSourceObjectNested,io.alauda.kubernetes.api.builder.Nested{

            private final HostPathVolumeSourceBuilder builder;
    
            HostPathVolumeSourceObjectNestedImpl(HostPathVolumeSource item){
                    this.builder = new HostPathVolumeSourceBuilder(this, item);
            }
            HostPathVolumeSourceObjectNestedImpl(){
                    this.builder = new HostPathVolumeSourceBuilder(this);
            }
    
    public N and(){
            return (N) WatchEventFluentImpl.this.withHostPathVolumeSourceObject(builder.build());
    }
    public N endHostPathVolumeSourceObject(){
            return and();
    }

}
    public class IdentityListObjectNestedImpl extends IdentityListFluentImpl> implements WatchEventFluent.IdentityListObjectNested,io.alauda.kubernetes.api.builder.Nested{

            private final IdentityListBuilder builder;
    
            IdentityListObjectNestedImpl(IdentityList item){
                    this.builder = new IdentityListBuilder(this, item);
            }
            IdentityListObjectNestedImpl(){
                    this.builder = new IdentityListBuilder(this);
            }
    
    public N and(){
            return (N) WatchEventFluentImpl.this.withIdentityListObject(builder.build());
    }
    public N endIdentityListObject(){
            return and();
    }

}
    public class ContainerStatusObjectNestedImpl extends ContainerStatusFluentImpl> implements WatchEventFluent.ContainerStatusObjectNested,io.alauda.kubernetes.api.builder.Nested{

            private final ContainerStatusBuilder builder;
    
            ContainerStatusObjectNestedImpl(ContainerStatus item){
                    this.builder = new ContainerStatusBuilder(this, item);
            }
            ContainerStatusObjectNestedImpl(){
                    this.builder = new ContainerStatusBuilder(this);
            }
    
    public N and(){
            return (N) WatchEventFluentImpl.this.withContainerStatusObject(builder.build());
    }
    public N endContainerStatusObject(){
            return and();
    }

}
    public class ExecActionObjectNestedImpl extends ExecActionFluentImpl> implements WatchEventFluent.ExecActionObjectNested,io.alauda.kubernetes.api.builder.Nested{

            private final ExecActionBuilder builder;
    
            ExecActionObjectNestedImpl(ExecAction item){
                    this.builder = new ExecActionBuilder(this, item);
            }
            ExecActionObjectNestedImpl(){
                    this.builder = new ExecActionBuilder(this);
            }
    
    public N and(){
            return (N) WatchEventFluentImpl.this.withExecActionObject(builder.build());
    }
    public N endExecActionObject(){
            return and();
    }

}
    public class PipelineConfigTemplateObjectNestedImpl extends PipelineConfigTemplateFluentImpl> implements WatchEventFluent.PipelineConfigTemplateObjectNested,io.alauda.kubernetes.api.builder.Nested{

            private final PipelineConfigTemplateBuilder builder;
    
            PipelineConfigTemplateObjectNestedImpl(PipelineConfigTemplate item){
                    this.builder = new PipelineConfigTemplateBuilder(this, item);
            }
            PipelineConfigTemplateObjectNestedImpl(){
                    this.builder = new PipelineConfigTemplateBuilder(this);
            }
    
    public N and(){
            return (N) WatchEventFluentImpl.this.withPipelineConfigTemplateObject(builder.build());
    }
    public N endPipelineConfigTemplateObject(){
            return and();
    }

}
    public class BuildListObjectNestedImpl extends BuildListFluentImpl> implements WatchEventFluent.BuildListObjectNested,io.alauda.kubernetes.api.builder.Nested{

            private final BuildListBuilder builder;
    
            BuildListObjectNestedImpl(BuildList item){
                    this.builder = new BuildListBuilder(this, item);
            }
            BuildListObjectNestedImpl(){
                    this.builder = new BuildListBuilder(this);
            }
    
    public N and(){
            return (N) WatchEventFluentImpl.this.withBuildListObject(builder.build());
    }
    public N endBuildListObject(){
            return and();
    }

}
    public class ImageLookupPolicyObjectNestedImpl extends ImageLookupPolicyFluentImpl> implements WatchEventFluent.ImageLookupPolicyObjectNested,io.alauda.kubernetes.api.builder.Nested{

            private final ImageLookupPolicyBuilder builder;
    
            ImageLookupPolicyObjectNestedImpl(ImageLookupPolicy item){
                    this.builder = new ImageLookupPolicyBuilder(this, item);
            }
            ImageLookupPolicyObjectNestedImpl(){
                    this.builder = new ImageLookupPolicyBuilder(this);
            }
    
    public N and(){
            return (N) WatchEventFluentImpl.this.withImageLookupPolicyObject(builder.build());
    }
    public N endImageLookupPolicyObject(){
            return and();
    }

}
    public class IngressRuleObjectNestedImpl extends IngressRuleFluentImpl> implements WatchEventFluent.IngressRuleObjectNested,io.alauda.kubernetes.api.builder.Nested{

            private final IngressRuleBuilder builder;
    
            IngressRuleObjectNestedImpl(IngressRule item){
                    this.builder = new IngressRuleBuilder(this, item);
            }
            IngressRuleObjectNestedImpl(){
                    this.builder = new IngressRuleBuilder(this);
            }
    
    public N and(){
            return (N) WatchEventFluentImpl.this.withIngressRuleObject(builder.build());
    }
    public N endIngressRuleObject(){
            return and();
    }

}
    public class NodeSelectorObjectNestedImpl extends NodeSelectorFluentImpl> implements WatchEventFluent.NodeSelectorObjectNested,io.alauda.kubernetes.api.builder.Nested{

            private final NodeSelectorBuilder builder;
    
            NodeSelectorObjectNestedImpl(NodeSelector item){
                    this.builder = new NodeSelectorBuilder(this, item);
            }
            NodeSelectorObjectNestedImpl(){
                    this.builder = new NodeSelectorBuilder(this);
            }
    
    public N and(){
            return (N) WatchEventFluentImpl.this.withNodeSelectorObject(builder.build());
    }
    public N endNodeSelectorObject(){
            return and();
    }

}
    public class PipelineListObjectNestedImpl extends PipelineListFluentImpl> implements WatchEventFluent.PipelineListObjectNested,io.alauda.kubernetes.api.builder.Nested{

            private final PipelineListBuilder builder;
    
            PipelineListObjectNestedImpl(PipelineList item){
                    this.builder = new PipelineListBuilder(this, item);
            }
            PipelineListObjectNestedImpl(){
                    this.builder = new PipelineListBuilder(this);
            }
    
    public N and(){
            return (N) WatchEventFluentImpl.this.withPipelineListObject(builder.build());
    }
    public N endPipelineListObject(){
            return and();
    }

}
    public class DeploymentConfigListObjectNestedImpl extends DeploymentConfigListFluentImpl> implements WatchEventFluent.DeploymentConfigListObjectNested,io.alauda.kubernetes.api.builder.Nested{

            private final DeploymentConfigListBuilder builder;
    
            DeploymentConfigListObjectNestedImpl(DeploymentConfigList item){
                    this.builder = new DeploymentConfigListBuilder(this, item);
            }
            DeploymentConfigListObjectNestedImpl(){
                    this.builder = new DeploymentConfigListBuilder(this);
            }
    
    public N and(){
            return (N) WatchEventFluentImpl.this.withDeploymentConfigListObject(builder.build());
    }
    public N endDeploymentConfigListObject(){
            return and();
    }

}
    public class ReplicationControllerStatusObjectNestedImpl extends ReplicationControllerStatusFluentImpl> implements WatchEventFluent.ReplicationControllerStatusObjectNested,io.alauda.kubernetes.api.builder.Nested{

            private final ReplicationControllerStatusBuilder builder;
    
            ReplicationControllerStatusObjectNestedImpl(ReplicationControllerStatus item){
                    this.builder = new ReplicationControllerStatusBuilder(this, item);
            }
            ReplicationControllerStatusObjectNestedImpl(){
                    this.builder = new ReplicationControllerStatusBuilder(this);
            }
    
    public N and(){
            return (N) WatchEventFluentImpl.this.withReplicationControllerStatusObject(builder.build());
    }
    public N endReplicationControllerStatusObject(){
            return and();
    }

}
    public class PipelineConfigObjectNestedImpl extends PipelineConfigFluentImpl> implements WatchEventFluent.PipelineConfigObjectNested,io.alauda.kubernetes.api.builder.Nested{

            private final PipelineConfigBuilder builder;
    
            PipelineConfigObjectNestedImpl(PipelineConfig item){
                    this.builder = new PipelineConfigBuilder(this, item);
            }
            PipelineConfigObjectNestedImpl(){
                    this.builder = new PipelineConfigBuilder(this);
            }
    
    public N and(){
            return (N) WatchEventFluentImpl.this.withPipelineConfigObject(builder.build());
    }
    public N endPipelineConfigObject(){
            return and();
    }

}
    public class TolerationObjectNestedImpl extends TolerationFluentImpl> implements WatchEventFluent.TolerationObjectNested,io.alauda.kubernetes.api.builder.Nested{

            private final TolerationBuilder builder;
    
            TolerationObjectNestedImpl(Toleration item){
                    this.builder = new TolerationBuilder(this, item);
            }
            TolerationObjectNestedImpl(){
                    this.builder = new TolerationBuilder(this);
            }
    
    public N and(){
            return (N) WatchEventFluentImpl.this.withTolerationObject(builder.build());
    }
    public N endTolerationObject(){
            return and();
    }

}
    public class PipelineTaskArgumentValidationObjectNestedImpl extends PipelineTaskArgumentValidationFluentImpl> implements WatchEventFluent.PipelineTaskArgumentValidationObjectNested,io.alauda.kubernetes.api.builder.Nested{

            private final PipelineTaskArgumentValidationBuilder builder;
    
            PipelineTaskArgumentValidationObjectNestedImpl(PipelineTaskArgumentValidation item){
                    this.builder = new PipelineTaskArgumentValidationBuilder(this, item);
            }
            PipelineTaskArgumentValidationObjectNestedImpl(){
                    this.builder = new PipelineTaskArgumentValidationBuilder(this);
            }
    
    public N and(){
            return (N) WatchEventFluentImpl.this.withPipelineTaskArgumentValidationObject(builder.build());
    }
    public N endPipelineTaskArgumentValidationObject(){
            return and();
    }

}
    public class DockerStrategyOptionsObjectNestedImpl extends DockerStrategyOptionsFluentImpl> implements WatchEventFluent.DockerStrategyOptionsObjectNested,io.alauda.kubernetes.api.builder.Nested{

            private final DockerStrategyOptionsBuilder builder;
    
            DockerStrategyOptionsObjectNestedImpl(DockerStrategyOptions item){
                    this.builder = new DockerStrategyOptionsBuilder(this, item);
            }
            DockerStrategyOptionsObjectNestedImpl(){
                    this.builder = new DockerStrategyOptionsBuilder(this);
            }
    
    public N and(){
            return (N) WatchEventFluentImpl.this.withDockerStrategyOptionsObject(builder.build());
    }
    public N endDockerStrategyOptionsObject(){
            return and();
    }

}
    public class AttachedVolumeObjectNestedImpl extends AttachedVolumeFluentImpl> implements WatchEventFluent.AttachedVolumeObjectNested,io.alauda.kubernetes.api.builder.Nested{

            private final AttachedVolumeBuilder builder;
    
            AttachedVolumeObjectNestedImpl(AttachedVolume item){
                    this.builder = new AttachedVolumeBuilder(this, item);
            }
            AttachedVolumeObjectNestedImpl(){
                    this.builder = new AttachedVolumeBuilder(this);
            }
    
    public N and(){
            return (N) WatchEventFluentImpl.this.withAttachedVolumeObject(builder.build());
    }
    public N endAttachedVolumeObject(){
            return and();
    }

}
    public class StatefulSetListObjectNestedImpl extends StatefulSetListFluentImpl> implements WatchEventFluent.StatefulSetListObjectNested,io.alauda.kubernetes.api.builder.Nested{

            private final StatefulSetListBuilder builder;
    
            StatefulSetListObjectNestedImpl(StatefulSetList item){
                    this.builder = new StatefulSetListBuilder(this, item);
            }
            StatefulSetListObjectNestedImpl(){
                    this.builder = new StatefulSetListBuilder(this);
            }
    
    public N and(){
            return (N) WatchEventFluentImpl.this.withStatefulSetListObject(builder.build());
    }
    public N endStatefulSetListObject(){
            return and();
    }

}
    public class NamedExtensionObjectNestedImpl extends NamedExtensionFluentImpl> implements WatchEventFluent.NamedExtensionObjectNested,io.alauda.kubernetes.api.builder.Nested{

            private final NamedExtensionBuilder builder;
    
            NamedExtensionObjectNestedImpl(NamedExtension item){
                    this.builder = new NamedExtensionBuilder(this, item);
            }
            NamedExtensionObjectNestedImpl(){
                    this.builder = new NamedExtensionBuilder(this);
            }
    
    public N and(){
            return (N) WatchEventFluentImpl.this.withNamedExtensionObject(builder.build());
    }
    public N endNamedExtensionObject(){
            return and();
    }

}
    public class NamedTagEventListObjectNestedImpl extends NamedTagEventListFluentImpl> implements WatchEventFluent.NamedTagEventListObjectNested,io.alauda.kubernetes.api.builder.Nested{

            private final NamedTagEventListBuilder builder;
    
            NamedTagEventListObjectNestedImpl(NamedTagEventList item){
                    this.builder = new NamedTagEventListBuilder(this, item);
            }
            NamedTagEventListObjectNestedImpl(){
                    this.builder = new NamedTagEventListBuilder(this);
            }
    
    public N and(){
            return (N) WatchEventFluentImpl.this.withNamedTagEventListObject(builder.build());
    }
    public N endNamedTagEventListObject(){
            return and();
    }

}
    public class ServiceListObjectNestedImpl extends ServiceListFluentImpl> implements WatchEventFluent.ServiceListObjectNested,io.alauda.kubernetes.api.builder.Nested{

            private final ServiceListBuilder builder;
    
            ServiceListObjectNestedImpl(ServiceList item){
                    this.builder = new ServiceListBuilder(this, item);
            }
            ServiceListObjectNestedImpl(){
                    this.builder = new ServiceListBuilder(this);
            }
    
    public N and(){
            return (N) WatchEventFluentImpl.this.withServiceListObject(builder.build());
    }
    public N endServiceListObject(){
            return and();
    }

}
    public class RecreateDeploymentStrategyParamsObjectNestedImpl extends RecreateDeploymentStrategyParamsFluentImpl> implements WatchEventFluent.RecreateDeploymentStrategyParamsObjectNested,io.alauda.kubernetes.api.builder.Nested{

            private final RecreateDeploymentStrategyParamsBuilder builder;
    
            RecreateDeploymentStrategyParamsObjectNestedImpl(RecreateDeploymentStrategyParams item){
                    this.builder = new RecreateDeploymentStrategyParamsBuilder(this, item);
            }
            RecreateDeploymentStrategyParamsObjectNestedImpl(){
                    this.builder = new RecreateDeploymentStrategyParamsBuilder(this);
            }
    
    public N and(){
            return (N) WatchEventFluentImpl.this.withRecreateDeploymentStrategyParamsObject(builder.build());
    }
    public N endRecreateDeploymentStrategyParamsObject(){
            return and();
    }

}
    public class SecretKeySelectorObjectNestedImpl extends SecretKeySelectorFluentImpl> implements WatchEventFluent.SecretKeySelectorObjectNested,io.alauda.kubernetes.api.builder.Nested{

            private final SecretKeySelectorBuilder builder;
    
            SecretKeySelectorObjectNestedImpl(SecretKeySelector item){
                    this.builder = new SecretKeySelectorBuilder(this, item);
            }
            SecretKeySelectorObjectNestedImpl(){
                    this.builder = new SecretKeySelectorBuilder(this);
            }
    
    public N and(){
            return (N) WatchEventFluentImpl.this.withSecretKeySelectorObject(builder.build());
    }
    public N endSecretKeySelectorObject(){
            return and();
    }

}
    public class DeploymentConfigObjectNestedImpl extends DeploymentConfigFluentImpl> implements WatchEventFluent.DeploymentConfigObjectNested,io.alauda.kubernetes.api.builder.Nested{

            private final DeploymentConfigBuilder builder;
    
            DeploymentConfigObjectNestedImpl(DeploymentConfig item){
                    this.builder = new DeploymentConfigBuilder(this, item);
            }
            DeploymentConfigObjectNestedImpl(){
                    this.builder = new DeploymentConfigBuilder(this);
            }
    
    public N and(){
            return (N) WatchEventFluentImpl.this.withDeploymentConfigObject(builder.build());
    }
    public N endDeploymentConfigObject(){
            return and();
    }

}
    public class ExtensionsSupplementalGroupsStrategyOptionsObjectNestedImpl extends io.alauda.kubernetes.api.model.extensions.SupplementalGroupsStrategyOptionsFluentImpl> implements WatchEventFluent.ExtensionsSupplementalGroupsStrategyOptionsObjectNested,io.alauda.kubernetes.api.builder.Nested{

            private final io.alauda.kubernetes.api.model.extensions.SupplementalGroupsStrategyOptionsBuilder builder;
    
            ExtensionsSupplementalGroupsStrategyOptionsObjectNestedImpl(io.alauda.kubernetes.api.model.extensions.SupplementalGroupsStrategyOptions item){
                    this.builder = new io.alauda.kubernetes.api.model.extensions.SupplementalGroupsStrategyOptionsBuilder(this, item);
            }
            ExtensionsSupplementalGroupsStrategyOptionsObjectNestedImpl(){
                    this.builder = new io.alauda.kubernetes.api.model.extensions.SupplementalGroupsStrategyOptionsBuilder(this);
            }
    
    public N and(){
            return (N) WatchEventFluentImpl.this.withSupplementalGroupsStrategyOptionsObject(builder.build());
    }
    public N endExtensionsSupplementalGroupsStrategyOptionsObject(){
            return and();
    }

}
    public class HostPortStatusObjectNestedImpl extends HostPortStatusFluentImpl> implements WatchEventFluent.HostPortStatusObjectNested,io.alauda.kubernetes.api.builder.Nested{

            private final HostPortStatusBuilder builder;
    
            HostPortStatusObjectNestedImpl(HostPortStatus item){
                    this.builder = new HostPortStatusBuilder(this, item);
            }
            HostPortStatusObjectNestedImpl(){
                    this.builder = new HostPortStatusBuilder(this);
            }
    
    public N and(){
            return (N) WatchEventFluentImpl.this.withHostPortStatusObject(builder.build());
    }
    public N endHostPortStatusObject(){
            return and();
    }

}
    public class PipelineSourceGitObjectNestedImpl extends PipelineSourceGitFluentImpl> implements WatchEventFluent.PipelineSourceGitObjectNested,io.alauda.kubernetes.api.builder.Nested{

            private final PipelineSourceGitBuilder builder;
    
            PipelineSourceGitObjectNestedImpl(PipelineSourceGit item){
                    this.builder = new PipelineSourceGitBuilder(this, item);
            }
            PipelineSourceGitObjectNestedImpl(){
                    this.builder = new PipelineSourceGitBuilder(this);
            }
    
    public N and(){
            return (N) WatchEventFluentImpl.this.withPipelineSourceGitObject(builder.build());
    }
    public N endPipelineSourceGitObject(){
            return and();
    }

}
    public class AzureDiskVolumeSourceObjectNestedImpl extends AzureDiskVolumeSourceFluentImpl> implements WatchEventFluent.AzureDiskVolumeSourceObjectNested,io.alauda.kubernetes.api.builder.Nested{

            private final AzureDiskVolumeSourceBuilder builder;
    
            AzureDiskVolumeSourceObjectNestedImpl(AzureDiskVolumeSource item){
                    this.builder = new AzureDiskVolumeSourceBuilder(this, item);
            }
            AzureDiskVolumeSourceObjectNestedImpl(){
                    this.builder = new AzureDiskVolumeSourceBuilder(this);
            }
    
    public N and(){
            return (N) WatchEventFluentImpl.this.withAzureDiskVolumeSourceObject(builder.build());
    }
    public N endAzureDiskVolumeSourceObject(){
            return and();
    }

}
    public class ISCSIVolumeSourceObjectNestedImpl extends ISCSIVolumeSourceFluentImpl> implements WatchEventFluent.ISCSIVolumeSourceObjectNested,io.alauda.kubernetes.api.builder.Nested{

            private final ISCSIVolumeSourceBuilder builder;
    
            ISCSIVolumeSourceObjectNestedImpl(ISCSIVolumeSource item){
                    this.builder = new ISCSIVolumeSourceBuilder(this, item);
            }
            ISCSIVolumeSourceObjectNestedImpl(){
                    this.builder = new ISCSIVolumeSourceBuilder(this);
            }
    
    public N and(){
            return (N) WatchEventFluentImpl.this.withISCSIVolumeSourceObject(builder.build());
    }
    public N endISCSIVolumeSourceObject(){
            return and();
    }

}
    public class DownwardAPIVolumeSourceObjectNestedImpl extends DownwardAPIVolumeSourceFluentImpl> implements WatchEventFluent.DownwardAPIVolumeSourceObjectNested,io.alauda.kubernetes.api.builder.Nested{

            private final DownwardAPIVolumeSourceBuilder builder;
    
            DownwardAPIVolumeSourceObjectNestedImpl(DownwardAPIVolumeSource item){
                    this.builder = new DownwardAPIVolumeSourceBuilder(this, item);
            }
            DownwardAPIVolumeSourceObjectNestedImpl(){
                    this.builder = new DownwardAPIVolumeSourceBuilder(this);
            }
    
    public N and(){
            return (N) WatchEventFluentImpl.this.withDownwardAPIVolumeSourceObject(builder.build());
    }
    public N endDownwardAPIVolumeSourceObject(){
            return and();
    }

}
    public class StorageClassListObjectNestedImpl extends StorageClassListFluentImpl> implements WatchEventFluent.StorageClassListObjectNested,io.alauda.kubernetes.api.builder.Nested{

            private final StorageClassListBuilder builder;
    
            StorageClassListObjectNestedImpl(StorageClassList item){
                    this.builder = new StorageClassListBuilder(this, item);
            }
            StorageClassListObjectNestedImpl(){
                    this.builder = new StorageClassListBuilder(this);
            }
    
    public N and(){
            return (N) WatchEventFluentImpl.this.withStorageClassListObject(builder.build());
    }
    public N endStorageClassListObject(){
            return and();
    }

}
    public class JenkinsBindingConditionObjectNestedImpl extends JenkinsBindingConditionFluentImpl> implements WatchEventFluent.JenkinsBindingConditionObjectNested,io.alauda.kubernetes.api.builder.Nested{

            private final JenkinsBindingConditionBuilder builder;
    
            JenkinsBindingConditionObjectNestedImpl(JenkinsBindingCondition item){
                    this.builder = new JenkinsBindingConditionBuilder(this, item);
            }
            JenkinsBindingConditionObjectNestedImpl(){
                    this.builder = new JenkinsBindingConditionBuilder(this);
            }
    
    public N and(){
            return (N) WatchEventFluentImpl.this.withJenkinsBindingConditionObject(builder.build());
    }
    public N endJenkinsBindingConditionObject(){
            return and();
    }

}
    public class JenkinsSpecObjectNestedImpl extends JenkinsSpecFluentImpl> implements WatchEventFluent.JenkinsSpecObjectNested,io.alauda.kubernetes.api.builder.Nested{

            private final JenkinsSpecBuilder builder;
    
            JenkinsSpecObjectNestedImpl(JenkinsSpec item){
                    this.builder = new JenkinsSpecBuilder(this, item);
            }
            JenkinsSpecObjectNestedImpl(){
                    this.builder = new JenkinsSpecBuilder(this);
            }
    
    public N and(){
            return (N) WatchEventFluentImpl.this.withJenkinsSpecObject(builder.build());
    }
    public N endJenkinsSpecObject(){
            return and();
    }

}
    public class UserRestrictionObjectNestedImpl extends UserRestrictionFluentImpl> implements WatchEventFluent.UserRestrictionObjectNested,io.alauda.kubernetes.api.builder.Nested{

            private final UserRestrictionBuilder builder;
    
            UserRestrictionObjectNestedImpl(UserRestriction item){
                    this.builder = new UserRestrictionBuilder(this, item);
            }
            UserRestrictionObjectNestedImpl(){
                    this.builder = new UserRestrictionBuilder(this);
            }
    
    public N and(){
            return (N) WatchEventFluentImpl.this.withUserRestrictionObject(builder.build());
    }
    public N endUserRestrictionObject(){
            return and();
    }

}
    public class NamedClusterRoleObjectNestedImpl extends NamedClusterRoleFluentImpl> implements WatchEventFluent.NamedClusterRoleObjectNested,io.alauda.kubernetes.api.builder.Nested{

            private final NamedClusterRoleBuilder builder;
    
            NamedClusterRoleObjectNestedImpl(NamedClusterRole item){
                    this.builder = new NamedClusterRoleBuilder(this, item);
            }
            NamedClusterRoleObjectNestedImpl(){
                    this.builder = new NamedClusterRoleBuilder(this);
            }
    
    public N and(){
            return (N) WatchEventFluentImpl.this.withNamedClusterRoleObject(builder.build());
    }
    public N endNamedClusterRoleObject(){
            return and();
    }

}
    public class ContainerStateRunningObjectNestedImpl extends ContainerStateRunningFluentImpl> implements WatchEventFluent.ContainerStateRunningObjectNested,io.alauda.kubernetes.api.builder.Nested{

            private final ContainerStateRunningBuilder builder;
    
            ContainerStateRunningObjectNestedImpl(ContainerStateRunning item){
                    this.builder = new ContainerStateRunningBuilder(this, item);
            }
            ContainerStateRunningObjectNestedImpl(){
                    this.builder = new ContainerStateRunningBuilder(this);
            }
    
    public N and(){
            return (N) WatchEventFluentImpl.this.withContainerStateRunningObject(builder.build());
    }
    public N endContainerStateRunningObject(){
            return and();
    }

}
    public class LabelSelectorRequirementObjectNestedImpl extends LabelSelectorRequirementFluentImpl> implements WatchEventFluent.LabelSelectorRequirementObjectNested,io.alauda.kubernetes.api.builder.Nested{

            private final LabelSelectorRequirementBuilder builder;
    
            LabelSelectorRequirementObjectNestedImpl(LabelSelectorRequirement item){
                    this.builder = new LabelSelectorRequirementBuilder(this, item);
            }
            LabelSelectorRequirementObjectNestedImpl(){
                    this.builder = new LabelSelectorRequirementBuilder(this);
            }
    
    public N and(){
            return (N) WatchEventFluentImpl.this.withLabelSelectorRequirementObject(builder.build());
    }
    public N endLabelSelectorRequirementObject(){
            return and();
    }

}
    public class ImageChangeTriggerObjectNestedImpl extends ImageChangeTriggerFluentImpl> implements WatchEventFluent.ImageChangeTriggerObjectNested,io.alauda.kubernetes.api.builder.Nested{

            private final ImageChangeTriggerBuilder builder;
    
            ImageChangeTriggerObjectNestedImpl(ImageChangeTrigger item){
                    this.builder = new ImageChangeTriggerBuilder(this, item);
            }
            ImageChangeTriggerObjectNestedImpl(){
                    this.builder = new ImageChangeTriggerBuilder(this);
            }
    
    public N and(){
            return (N) WatchEventFluentImpl.this.withImageChangeTriggerObject(builder.build());
    }
    public N endImageChangeTriggerObject(){
            return and();
    }

}
    public class JenkinsInstanceObjectNestedImpl extends JenkinsInstanceFluentImpl> implements WatchEventFluent.JenkinsInstanceObjectNested,io.alauda.kubernetes.api.builder.Nested{

            private final JenkinsInstanceBuilder builder;
    
            JenkinsInstanceObjectNestedImpl(JenkinsInstance item){
                    this.builder = new JenkinsInstanceBuilder(this, item);
            }
            JenkinsInstanceObjectNestedImpl(){
                    this.builder = new JenkinsInstanceBuilder(this);
            }
    
    public N and(){
            return (N) WatchEventFluentImpl.this.withJenkinsInstanceObject(builder.build());
    }
    public N endJenkinsInstanceObject(){
            return and();
    }

}
    public class OAuthClientListObjectNestedImpl extends OAuthClientListFluentImpl> implements WatchEventFluent.OAuthClientListObjectNested,io.alauda.kubernetes.api.builder.Nested{

            private final OAuthClientListBuilder builder;
    
            OAuthClientListObjectNestedImpl(OAuthClientList item){
                    this.builder = new OAuthClientListBuilder(this, item);
            }
            OAuthClientListObjectNestedImpl(){
                    this.builder = new OAuthClientListBuilder(this);
            }
    
    public N and(){
            return (N) WatchEventFluentImpl.this.withOAuthClientListObject(builder.build());
    }
    public N endOAuthClientListObject(){
            return and();
    }

}
    public class ResourceAttributesObjectNestedImpl extends ResourceAttributesFluentImpl> implements WatchEventFluent.ResourceAttributesObjectNested,io.alauda.kubernetes.api.builder.Nested{

            private final ResourceAttributesBuilder builder;
    
            ResourceAttributesObjectNestedImpl(ResourceAttributes item){
                    this.builder = new ResourceAttributesBuilder(this, item);
            }
            ResourceAttributesObjectNestedImpl(){
                    this.builder = new ResourceAttributesBuilder(this);
            }
    
    public N and(){
            return (N) WatchEventFluentImpl.this.withResourceAttributesObject(builder.build());
    }
    public N endResourceAttributesObject(){
            return and();
    }

}
    public class NamedContextObjectNestedImpl extends NamedContextFluentImpl> implements WatchEventFluent.NamedContextObjectNested,io.alauda.kubernetes.api.builder.Nested{

            private final NamedContextBuilder builder;
    
            NamedContextObjectNestedImpl(NamedContext item){
                    this.builder = new NamedContextBuilder(this, item);
            }
            NamedContextObjectNestedImpl(){
                    this.builder = new NamedContextBuilder(this);
            }
    
    public N and(){
            return (N) WatchEventFluentImpl.this.withNamedContextObject(builder.build());
    }
    public N endNamedContextObject(){
            return and();
    }

}
    public class HandlerObjectNestedImpl extends HandlerFluentImpl> implements WatchEventFluent.HandlerObjectNested,io.alauda.kubernetes.api.builder.Nested{

            private final HandlerBuilder builder;
    
            HandlerObjectNestedImpl(Handler item){
                    this.builder = new HandlerBuilder(this, item);
            }
            HandlerObjectNestedImpl(){
                    this.builder = new HandlerBuilder(this);
            }
    
    public N and(){
            return (N) WatchEventFluentImpl.this.withHandlerObject(builder.build());
    }
    public N endHandlerObject(){
            return and();
    }

}
    public class ServiceStatusObjectNestedImpl extends ServiceStatusFluentImpl> implements WatchEventFluent.ServiceStatusObjectNested,io.alauda.kubernetes.api.builder.Nested{

            private final ServiceStatusBuilder builder;
    
            ServiceStatusObjectNestedImpl(ServiceStatus item){
                    this.builder = new ServiceStatusBuilder(this, item);
            }
            ServiceStatusObjectNestedImpl(){
                    this.builder = new ServiceStatusBuilder(this);
            }
    
    public N and(){
            return (N) WatchEventFluentImpl.this.withServiceStatusObject(builder.build());
    }
    public N endServiceStatusObject(){
            return and();
    }

}
    public class ExtensionsIDRangeObjectNestedImpl extends io.alauda.kubernetes.api.model.extensions.IDRangeFluentImpl> implements WatchEventFluent.ExtensionsIDRangeObjectNested,io.alauda.kubernetes.api.builder.Nested{

            private final io.alauda.kubernetes.api.model.extensions.IDRangeBuilder builder;
    
            ExtensionsIDRangeObjectNestedImpl(io.alauda.kubernetes.api.model.extensions.IDRange item){
                    this.builder = new io.alauda.kubernetes.api.model.extensions.IDRangeBuilder(this, item);
            }
            ExtensionsIDRangeObjectNestedImpl(){
                    this.builder = new io.alauda.kubernetes.api.model.extensions.IDRangeBuilder(this);
            }
    
    public N and(){
            return (N) WatchEventFluentImpl.this.withIDRangeObject(builder.build());
    }
    public N endExtensionsIDRangeObject(){
            return and();
    }

}
    public class ReplicaSetConditionObjectNestedImpl extends ReplicaSetConditionFluentImpl> implements WatchEventFluent.ReplicaSetConditionObjectNested,io.alauda.kubernetes.api.builder.Nested{

            private final ReplicaSetConditionBuilder builder;
    
            ReplicaSetConditionObjectNestedImpl(ReplicaSetCondition item){
                    this.builder = new ReplicaSetConditionBuilder(this, item);
            }
            ReplicaSetConditionObjectNestedImpl(){
                    this.builder = new ReplicaSetConditionBuilder(this);
            }
    
    public N and(){
            return (N) WatchEventFluentImpl.this.withReplicaSetConditionObject(builder.build());
    }
    public N endReplicaSetConditionObject(){
            return and();
    }

}
    public class HorizontalPodAutoscalerListObjectNestedImpl extends HorizontalPodAutoscalerListFluentImpl> implements WatchEventFluent.HorizontalPodAutoscalerListObjectNested,io.alauda.kubernetes.api.builder.Nested{

            private final HorizontalPodAutoscalerListBuilder builder;
    
            HorizontalPodAutoscalerListObjectNestedImpl(HorizontalPodAutoscalerList item){
                    this.builder = new HorizontalPodAutoscalerListBuilder(this, item);
            }
            HorizontalPodAutoscalerListObjectNestedImpl(){
                    this.builder = new HorizontalPodAutoscalerListBuilder(this);
            }
    
    public N and(){
            return (N) WatchEventFluentImpl.this.withHorizontalPodAutoscalerListObject(builder.build());
    }
    public N endHorizontalPodAutoscalerListObject(){
            return and();
    }

}
    public class ExecNewPodHookObjectNestedImpl extends ExecNewPodHookFluentImpl> implements WatchEventFluent.ExecNewPodHookObjectNested,io.alauda.kubernetes.api.builder.Nested{

            private final ExecNewPodHookBuilder builder;
    
            ExecNewPodHookObjectNestedImpl(ExecNewPodHook item){
                    this.builder = new ExecNewPodHookBuilder(this, item);
            }
            ExecNewPodHookObjectNestedImpl(){
                    this.builder = new ExecNewPodHookBuilder(this);
            }
    
    public N and(){
            return (N) WatchEventFluentImpl.this.withExecNewPodHookObject(builder.build());
    }
    public N endExecNewPodHookObject(){
            return and();
    }

}
    public class BuildTriggerCauseObjectNestedImpl extends BuildTriggerCauseFluentImpl> implements WatchEventFluent.BuildTriggerCauseObjectNested,io.alauda.kubernetes.api.builder.Nested{

            private final BuildTriggerCauseBuilder builder;
    
            BuildTriggerCauseObjectNestedImpl(BuildTriggerCause item){
                    this.builder = new BuildTriggerCauseBuilder(this, item);
            }
            BuildTriggerCauseObjectNestedImpl(){
                    this.builder = new BuildTriggerCauseBuilder(this);
            }
    
    public N and(){
            return (N) WatchEventFluentImpl.this.withBuildTriggerCauseObject(builder.build());
    }
    public N endBuildTriggerCauseObject(){
            return and();
    }

}
    public class PipelineSourceObjectNestedImpl extends PipelineSourceFluentImpl> implements WatchEventFluent.PipelineSourceObjectNested,io.alauda.kubernetes.api.builder.Nested{

            private final PipelineSourceBuilder builder;
    
            PipelineSourceObjectNestedImpl(PipelineSource item){
                    this.builder = new PipelineSourceBuilder(this, item);
            }
            PipelineSourceObjectNestedImpl(){
                    this.builder = new PipelineSourceBuilder(this);
            }
    
    public N and(){
            return (N) WatchEventFluentImpl.this.withPipelineSourceObject(builder.build());
    }
    public N endPipelineSourceObject(){
            return and();
    }

}
    public class PodStatusObjectNestedImpl extends PodStatusFluentImpl> implements WatchEventFluent.PodStatusObjectNested,io.alauda.kubernetes.api.builder.Nested{

            private final PodStatusBuilder builder;
    
            PodStatusObjectNestedImpl(PodStatus item){
                    this.builder = new PodStatusBuilder(this, item);
            }
            PodStatusObjectNestedImpl(){
                    this.builder = new PodStatusBuilder(this);
            }
    
    public N and(){
            return (N) WatchEventFluentImpl.this.withPodStatusObject(builder.build());
    }
    public N endPodStatusObject(){
            return and();
    }

}
    public class AuthProviderConfigObjectNestedImpl extends AuthProviderConfigFluentImpl> implements WatchEventFluent.AuthProviderConfigObjectNested,io.alauda.kubernetes.api.builder.Nested{

            private final AuthProviderConfigBuilder builder;
    
            AuthProviderConfigObjectNestedImpl(AuthProviderConfig item){
                    this.builder = new AuthProviderConfigBuilder(this, item);
            }
            AuthProviderConfigObjectNestedImpl(){
                    this.builder = new AuthProviderConfigBuilder(this);
            }
    
    public N and(){
            return (N) WatchEventFluentImpl.this.withAuthProviderConfigObject(builder.build());
    }
    public N endAuthProviderConfigObject(){
            return and();
    }

}
    public class GCEPersistentDiskVolumeSourceObjectNestedImpl extends GCEPersistentDiskVolumeSourceFluentImpl> implements WatchEventFluent.GCEPersistentDiskVolumeSourceObjectNested,io.alauda.kubernetes.api.builder.Nested{

            private final GCEPersistentDiskVolumeSourceBuilder builder;
    
            GCEPersistentDiskVolumeSourceObjectNestedImpl(GCEPersistentDiskVolumeSource item){
                    this.builder = new GCEPersistentDiskVolumeSourceBuilder(this, item);
            }
            GCEPersistentDiskVolumeSourceObjectNestedImpl(){
                    this.builder = new GCEPersistentDiskVolumeSourceBuilder(this);
            }
    
    public N and(){
            return (N) WatchEventFluentImpl.this.withGCEPersistentDiskVolumeSourceObject(builder.build());
    }
    public N endGCEPersistentDiskVolumeSourceObject(){
            return and();
    }

}
    public class EmptyDirVolumeSourceObjectNestedImpl extends EmptyDirVolumeSourceFluentImpl> implements WatchEventFluent.EmptyDirVolumeSourceObjectNested,io.alauda.kubernetes.api.builder.Nested{

            private final EmptyDirVolumeSourceBuilder builder;
    
            EmptyDirVolumeSourceObjectNestedImpl(EmptyDirVolumeSource item){
                    this.builder = new EmptyDirVolumeSourceBuilder(this, item);
            }
            EmptyDirVolumeSourceObjectNestedImpl(){
                    this.builder = new EmptyDirVolumeSourceBuilder(this);
            }
    
    public N and(){
            return (N) WatchEventFluentImpl.this.withEmptyDirVolumeSourceObject(builder.build());
    }
    public N endEmptyDirVolumeSourceObject(){
            return and();
    }

}
    public class NodeSpecObjectNestedImpl extends NodeSpecFluentImpl> implements WatchEventFluent.NodeSpecObjectNested,io.alauda.kubernetes.api.builder.Nested{

            private final NodeSpecBuilder builder;
    
            NodeSpecObjectNestedImpl(NodeSpec item){
                    this.builder = new NodeSpecBuilder(this, item);
            }
            NodeSpecObjectNestedImpl(){
                    this.builder = new NodeSpecBuilder(this);
            }
    
    public N and(){
            return (N) WatchEventFluentImpl.this.withNodeSpecObject(builder.build());
    }
    public N endNodeSpecObject(){
            return and();
    }

}
    public class BuildOutputObjectNestedImpl extends BuildOutputFluentImpl> implements WatchEventFluent.BuildOutputObjectNested,io.alauda.kubernetes.api.builder.Nested{

            private final BuildOutputBuilder builder;
    
            BuildOutputObjectNestedImpl(BuildOutput item){
                    this.builder = new BuildOutputBuilder(this, item);
            }
            BuildOutputObjectNestedImpl(){
                    this.builder = new BuildOutputBuilder(this);
            }
    
    public N and(){
            return (N) WatchEventFluentImpl.this.withBuildOutputObject(builder.build());
    }
    public N endBuildOutputObject(){
            return and();
    }

}
    public class ConfigMapProjectionObjectNestedImpl extends ConfigMapProjectionFluentImpl> implements WatchEventFluent.ConfigMapProjectionObjectNested,io.alauda.kubernetes.api.builder.Nested{

            private final ConfigMapProjectionBuilder builder;
    
            ConfigMapProjectionObjectNestedImpl(ConfigMapProjection item){
                    this.builder = new ConfigMapProjectionBuilder(this, item);
            }
            ConfigMapProjectionObjectNestedImpl(){
                    this.builder = new ConfigMapProjectionBuilder(this);
            }
    
    public N and(){
            return (N) WatchEventFluentImpl.this.withConfigMapProjectionObject(builder.build());
    }
    public N endConfigMapProjectionObject(){
            return and();
    }

}
    public class PersistentVolumeClaimStatusObjectNestedImpl extends PersistentVolumeClaimStatusFluentImpl> implements WatchEventFluent.PersistentVolumeClaimStatusObjectNested,io.alauda.kubernetes.api.builder.Nested{

            private final PersistentVolumeClaimStatusBuilder builder;
    
            PersistentVolumeClaimStatusObjectNestedImpl(PersistentVolumeClaimStatus item){
                    this.builder = new PersistentVolumeClaimStatusBuilder(this, item);
            }
            PersistentVolumeClaimStatusObjectNestedImpl(){
                    this.builder = new PersistentVolumeClaimStatusBuilder(this);
            }
    
    public N and(){
            return (N) WatchEventFluentImpl.this.withPersistentVolumeClaimStatusObject(builder.build());
    }
    public N endPersistentVolumeClaimStatusObject(){
            return and();
    }

}
    public class LimitRangeListObjectNestedImpl extends LimitRangeListFluentImpl> implements WatchEventFluent.LimitRangeListObjectNested,io.alauda.kubernetes.api.builder.Nested{

            private final LimitRangeListBuilder builder;
    
            LimitRangeListObjectNestedImpl(LimitRangeList item){
                    this.builder = new LimitRangeListBuilder(this, item);
            }
            LimitRangeListObjectNestedImpl(){
                    this.builder = new LimitRangeListBuilder(this);
            }
    
    public N and(){
            return (N) WatchEventFluentImpl.this.withLimitRangeListObject(builder.build());
    }
    public N endLimitRangeListObject(){
            return and();
    }

}
    public class TagEventObjectNestedImpl extends TagEventFluentImpl> implements WatchEventFluent.TagEventObjectNested,io.alauda.kubernetes.api.builder.Nested{

            private final TagEventBuilder builder;
    
            TagEventObjectNestedImpl(TagEvent item){
                    this.builder = new TagEventBuilder(this, item);
            }
            TagEventObjectNestedImpl(){
                    this.builder = new TagEventBuilder(this);
            }
    
    public N and(){
            return (N) WatchEventFluentImpl.this.withTagEventObject(builder.build());
    }
    public N endTagEventObject(){
            return and();
    }

}
    public class EndpointAddressObjectNestedImpl extends EndpointAddressFluentImpl> implements WatchEventFluent.EndpointAddressObjectNested,io.alauda.kubernetes.api.builder.Nested{

            private final EndpointAddressBuilder builder;
    
            EndpointAddressObjectNestedImpl(EndpointAddress item){
                    this.builder = new EndpointAddressBuilder(this, item);
            }
            EndpointAddressObjectNestedImpl(){
                    this.builder = new EndpointAddressBuilder(this);
            }
    
    public N and(){
            return (N) WatchEventFluentImpl.this.withEndpointAddressObject(builder.build());
    }
    public N endEndpointAddressObject(){
            return and();
    }

}
    public class ProbeObjectNestedImpl extends ProbeFluentImpl> implements WatchEventFluent.ProbeObjectNested,io.alauda.kubernetes.api.builder.Nested{

            private final ProbeBuilder builder;
    
            ProbeObjectNestedImpl(Probe item){
                    this.builder = new ProbeBuilder(this, item);
            }
            ProbeObjectNestedImpl(){
                    this.builder = new ProbeBuilder(this);
            }
    
    public N and(){
            return (N) WatchEventFluentImpl.this.withProbeObject(builder.build());
    }
    public N endProbeObject(){
            return and();
    }

}
    public class OAuthAccessTokenObjectNestedImpl extends OAuthAccessTokenFluentImpl> implements WatchEventFluent.OAuthAccessTokenObjectNested,io.alauda.kubernetes.api.builder.Nested{

            private final OAuthAccessTokenBuilder builder;
    
            OAuthAccessTokenObjectNestedImpl(OAuthAccessToken item){
                    this.builder = new OAuthAccessTokenBuilder(this, item);
            }
            OAuthAccessTokenObjectNestedImpl(){
                    this.builder = new OAuthAccessTokenBuilder(this);
            }
    
    public N and(){
            return (N) WatchEventFluentImpl.this.withOAuthAccessTokenObject(builder.build());
    }
    public N endOAuthAccessTokenObject(){
            return and();
    }

}
    public class PodAffinityTermObjectNestedImpl extends PodAffinityTermFluentImpl> implements WatchEventFluent.PodAffinityTermObjectNested,io.alauda.kubernetes.api.builder.Nested{

            private final PodAffinityTermBuilder builder;
    
            PodAffinityTermObjectNestedImpl(PodAffinityTerm item){
                    this.builder = new PodAffinityTermBuilder(this, item);
            }
            PodAffinityTermObjectNestedImpl(){
                    this.builder = new PodAffinityTermBuilder(this);
            }
    
    public N and(){
            return (N) WatchEventFluentImpl.this.withPodAffinityTermObject(builder.build());
    }
    public N endPodAffinityTermObject(){
            return and();
    }

}
    public class JobListObjectNestedImpl extends JobListFluentImpl> implements WatchEventFluent.JobListObjectNested,io.alauda.kubernetes.api.builder.Nested{

            private final JobListBuilder builder;
    
            JobListObjectNestedImpl(JobList item){
                    this.builder = new JobListBuilder(this, item);
            }
            JobListObjectNestedImpl(){
                    this.builder = new JobListBuilder(this);
            }
    
    public N and(){
            return (N) WatchEventFluentImpl.this.withJobListObject(builder.build());
    }
    public N endJobListObject(){
            return and();
    }

}
    public class RBDVolumeSourceObjectNestedImpl extends RBDVolumeSourceFluentImpl> implements WatchEventFluent.RBDVolumeSourceObjectNested,io.alauda.kubernetes.api.builder.Nested{

            private final RBDVolumeSourceBuilder builder;
    
            RBDVolumeSourceObjectNestedImpl(RBDVolumeSource item){
                    this.builder = new RBDVolumeSourceBuilder(this, item);
            }
            RBDVolumeSourceObjectNestedImpl(){
                    this.builder = new RBDVolumeSourceBuilder(this);
            }
    
    public N and(){
            return (N) WatchEventFluentImpl.this.withRBDVolumeSourceObject(builder.build());
    }
    public N endRBDVolumeSourceObject(){
            return and();
    }

}
    public class CronJobListObjectNestedImpl extends CronJobListFluentImpl> implements WatchEventFluent.CronJobListObjectNested,io.alauda.kubernetes.api.builder.Nested{

            private final CronJobListBuilder builder;
    
            CronJobListObjectNestedImpl(CronJobList item){
                    this.builder = new CronJobListBuilder(this, item);
            }
            CronJobListObjectNestedImpl(){
                    this.builder = new CronJobListBuilder(this);
            }
    
    public N and(){
            return (N) WatchEventFluentImpl.this.withCronJobListObject(builder.build());
    }
    public N endCronJobListObject(){
            return and();
    }

}
    public class SecretBuildSourceObjectNestedImpl extends SecretBuildSourceFluentImpl> implements WatchEventFluent.SecretBuildSourceObjectNested,io.alauda.kubernetes.api.builder.Nested{

            private final SecretBuildSourceBuilder builder;
    
            SecretBuildSourceObjectNestedImpl(SecretBuildSource item){
                    this.builder = new SecretBuildSourceBuilder(this, item);
            }
            SecretBuildSourceObjectNestedImpl(){
                    this.builder = new SecretBuildSourceBuilder(this);
            }
    
    public N and(){
            return (N) WatchEventFluentImpl.this.withSecretBuildSourceObject(builder.build());
    }
    public N endSecretBuildSourceObject(){
            return and();
    }

}
    public class RunAsUserStrategyOptionsObjectNestedImpl extends RunAsUserStrategyOptionsFluentImpl> implements WatchEventFluent.RunAsUserStrategyOptionsObjectNested,io.alauda.kubernetes.api.builder.Nested{

            private final RunAsUserStrategyOptionsBuilder builder;
    
            RunAsUserStrategyOptionsObjectNestedImpl(RunAsUserStrategyOptions item){
                    this.builder = new RunAsUserStrategyOptionsBuilder(this, item);
            }
            RunAsUserStrategyOptionsObjectNestedImpl(){
                    this.builder = new RunAsUserStrategyOptionsBuilder(this);
            }
    
    public N and(){
            return (N) WatchEventFluentImpl.this.withRunAsUserStrategyOptionsObject(builder.build());
    }
    public N endRunAsUserStrategyOptionsObject(){
            return and();
    }

}
    public class IngressBackendObjectNestedImpl extends IngressBackendFluentImpl> implements WatchEventFluent.IngressBackendObjectNested,io.alauda.kubernetes.api.builder.Nested{

            private final IngressBackendBuilder builder;
    
            IngressBackendObjectNestedImpl(IngressBackend item){
                    this.builder = new IngressBackendBuilder(this, item);
            }
            IngressBackendObjectNestedImpl(){
                    this.builder = new IngressBackendBuilder(this);
            }
    
    public N and(){
            return (N) WatchEventFluentImpl.this.withIngressBackendObject(builder.build());
    }
    public N endIngressBackendObject(){
            return and();
    }

}
    public class PersistentVolumeClaimObjectNestedImpl extends PersistentVolumeClaimFluentImpl> implements WatchEventFluent.PersistentVolumeClaimObjectNested,io.alauda.kubernetes.api.builder.Nested{

            private final PersistentVolumeClaimBuilder builder;
    
            PersistentVolumeClaimObjectNestedImpl(PersistentVolumeClaim item){
                    this.builder = new PersistentVolumeClaimBuilder(this, item);
            }
            PersistentVolumeClaimObjectNestedImpl(){
                    this.builder = new PersistentVolumeClaimBuilder(this);
            }
    
    public N and(){
            return (N) WatchEventFluentImpl.this.withPersistentVolumeClaimObject(builder.build());
    }
    public N endPersistentVolumeClaimObject(){
            return and();
    }

}
    public class NetworkPolicyListObjectNestedImpl extends NetworkPolicyListFluentImpl> implements WatchEventFluent.NetworkPolicyListObjectNested,io.alauda.kubernetes.api.builder.Nested{

            private final NetworkPolicyListBuilder builder;
    
            NetworkPolicyListObjectNestedImpl(NetworkPolicyList item){
                    this.builder = new NetworkPolicyListBuilder(this, item);
            }
            NetworkPolicyListObjectNestedImpl(){
                    this.builder = new NetworkPolicyListBuilder(this);
            }
    
    public N and(){
            return (N) WatchEventFluentImpl.this.withNetworkPolicyListObject(builder.build());
    }
    public N endNetworkPolicyListObject(){
            return and();
    }

}
    public class ResourceRequirementsObjectNestedImpl extends ResourceRequirementsFluentImpl> implements WatchEventFluent.ResourceRequirementsObjectNested,io.alauda.kubernetes.api.builder.Nested{

            private final ResourceRequirementsBuilder builder;
    
            ResourceRequirementsObjectNestedImpl(ResourceRequirements item){
                    this.builder = new ResourceRequirementsBuilder(this, item);
            }
            ResourceRequirementsObjectNestedImpl(){
                    this.builder = new ResourceRequirementsBuilder(this);
            }
    
    public N and(){
            return (N) WatchEventFluentImpl.this.withResourceRequirementsObject(builder.build());
    }
    public N endResourceRequirementsObject(){
            return and();
    }

}
    public class JenkinsBindingSpecObjectNestedImpl extends JenkinsBindingSpecFluentImpl> implements WatchEventFluent.JenkinsBindingSpecObjectNested,io.alauda.kubernetes.api.builder.Nested{

            private final JenkinsBindingSpecBuilder builder;
    
            JenkinsBindingSpecObjectNestedImpl(JenkinsBindingSpec item){
                    this.builder = new JenkinsBindingSpecBuilder(this, item);
            }
            JenkinsBindingSpecObjectNestedImpl(){
                    this.builder = new JenkinsBindingSpecBuilder(this);
            }
    
    public N and(){
            return (N) WatchEventFluentImpl.this.withJenkinsBindingSpecObject(builder.build());
    }
    public N endJenkinsBindingSpecObject(){
            return and();
    }

}
    public class PodSecurityContextObjectNestedImpl extends PodSecurityContextFluentImpl> implements WatchEventFluent.PodSecurityContextObjectNested,io.alauda.kubernetes.api.builder.Nested{

            private final PodSecurityContextBuilder builder;
    
            PodSecurityContextObjectNestedImpl(PodSecurityContext item){
                    this.builder = new PodSecurityContextBuilder(this, item);
            }
            PodSecurityContextObjectNestedImpl(){
                    this.builder = new PodSecurityContextBuilder(this);
            }
    
    public N and(){
            return (N) WatchEventFluentImpl.this.withPodSecurityContextObject(builder.build());
    }
    public N endPodSecurityContextObject(){
            return and();
    }

}
    public class NodeSystemInfoObjectNestedImpl extends NodeSystemInfoFluentImpl> implements WatchEventFluent.NodeSystemInfoObjectNested,io.alauda.kubernetes.api.builder.Nested{

            private final NodeSystemInfoBuilder builder;
    
            NodeSystemInfoObjectNestedImpl(NodeSystemInfo item){
                    this.builder = new NodeSystemInfoBuilder(this, item);
            }
            NodeSystemInfoObjectNestedImpl(){
                    this.builder = new NodeSystemInfoBuilder(this);
            }
    
    public N and(){
            return (N) WatchEventFluentImpl.this.withNodeSystemInfoObject(builder.build());
    }
    public N endNodeSystemInfoObject(){
            return and();
    }

}
    public class CustomResourceDefinitionListObjectNestedImpl extends CustomResourceDefinitionListFluentImpl> implements WatchEventFluent.CustomResourceDefinitionListObjectNested,io.alauda.kubernetes.api.builder.Nested{

            private final CustomResourceDefinitionListBuilder builder;
    
            CustomResourceDefinitionListObjectNestedImpl(CustomResourceDefinitionList item){
                    this.builder = new CustomResourceDefinitionListBuilder(this, item);
            }
            CustomResourceDefinitionListObjectNestedImpl(){
                    this.builder = new CustomResourceDefinitionListBuilder(this);
            }
    
    public N and(){
            return (N) WatchEventFluentImpl.this.withCustomResourceDefinitionListObject(builder.build());
    }
    public N endCustomResourceDefinitionListObject(){
            return and();
    }

}
    public class RootPathsObjectNestedImpl extends RootPathsFluentImpl> implements WatchEventFluent.RootPathsObjectNested,io.alauda.kubernetes.api.builder.Nested{

            private final RootPathsBuilder builder;
    
            RootPathsObjectNestedImpl(RootPaths item){
                    this.builder = new RootPathsBuilder(this, item);
            }
            RootPathsObjectNestedImpl(){
                    this.builder = new RootPathsBuilder(this);
            }
    
    public N and(){
            return (N) WatchEventFluentImpl.this.withRootPathsObject(builder.build());
    }
    public N endRootPathsObject(){
            return and();
    }

}
    public class ImageStreamListObjectNestedImpl extends ImageStreamListFluentImpl> implements WatchEventFluent.ImageStreamListObjectNested,io.alauda.kubernetes.api.builder.Nested{

            private final ImageStreamListBuilder builder;
    
            ImageStreamListObjectNestedImpl(ImageStreamList item){
                    this.builder = new ImageStreamListBuilder(this, item);
            }
            ImageStreamListObjectNestedImpl(){
                    this.builder = new ImageStreamListBuilder(this);
            }
    
    public N and(){
            return (N) WatchEventFluentImpl.this.withImageStreamListObject(builder.build());
    }
    public N endImageStreamListObject(){
            return and();
    }

}
    public class KubernetesListObjectNestedImpl extends KubernetesListFluentImpl> implements WatchEventFluent.KubernetesListObjectNested,io.alauda.kubernetes.api.builder.Nested{

            private final KubernetesListBuilder builder;
    
            KubernetesListObjectNestedImpl(KubernetesList item){
                    this.builder = new KubernetesListBuilder(this, item);
            }
            KubernetesListObjectNestedImpl(){
                    this.builder = new KubernetesListBuilder(this);
            }
    
    public N and(){
            return (N) WatchEventFluentImpl.this.withKubernetesListObject(builder.build());
    }
    public N endKubernetesListObject(){
            return and();
    }

}
    public class NetworkPolicyObjectNestedImpl extends NetworkPolicyFluentImpl> implements WatchEventFluent.NetworkPolicyObjectNested,io.alauda.kubernetes.api.builder.Nested{

            private final NetworkPolicyBuilder builder;
    
            NetworkPolicyObjectNestedImpl(NetworkPolicy item){
                    this.builder = new NetworkPolicyBuilder(this, item);
            }
            NetworkPolicyObjectNestedImpl(){
                    this.builder = new NetworkPolicyBuilder(this);
            }
    
    public N and(){
            return (N) WatchEventFluentImpl.this.withNetworkPolicyObject(builder.build());
    }
    public N endNetworkPolicyObject(){
            return and();
    }

}
    public class ContainerStateObjectNestedImpl extends ContainerStateFluentImpl> implements WatchEventFluent.ContainerStateObjectNested,io.alauda.kubernetes.api.builder.Nested{

            private final ContainerStateBuilder builder;
    
            ContainerStateObjectNestedImpl(ContainerState item){
                    this.builder = new ContainerStateBuilder(this, item);
            }
            ContainerStateObjectNestedImpl(){
                    this.builder = new ContainerStateBuilder(this);
            }
    
    public N and(){
            return (N) WatchEventFluentImpl.this.withContainerStateObject(builder.build());
    }
    public N endContainerStateObject(){
            return and();
    }

}
    public class TagReferenceObjectNestedImpl extends TagReferenceFluentImpl> implements WatchEventFluent.TagReferenceObjectNested,io.alauda.kubernetes.api.builder.Nested{

            private final TagReferenceBuilder builder;
    
            TagReferenceObjectNestedImpl(TagReference item){
                    this.builder = new TagReferenceBuilder(this, item);
            }
            TagReferenceObjectNestedImpl(){
                    this.builder = new TagReferenceBuilder(this);
            }
    
    public N and(){
            return (N) WatchEventFluentImpl.this.withTagReferenceObject(builder.build());
    }
    public N endTagReferenceObject(){
            return and();
    }

}
    public class APIVersionObjectNestedImpl extends APIVersionFluentImpl> implements WatchEventFluent.APIVersionObjectNested,io.alauda.kubernetes.api.builder.Nested{

            private final APIVersionBuilder builder;
    
            APIVersionObjectNestedImpl(APIVersion item){
                    this.builder = new APIVersionBuilder(this, item);
            }
            APIVersionObjectNestedImpl(){
                    this.builder = new APIVersionBuilder(this);
            }
    
    public N and(){
            return (N) WatchEventFluentImpl.this.withAPIVersionObject(builder.build());
    }
    public N endAPIVersionObject(){
            return and();
    }

}
    public class ProjectSpecObjectNestedImpl extends ProjectSpecFluentImpl> implements WatchEventFluent.ProjectSpecObjectNested,io.alauda.kubernetes.api.builder.Nested{

            private final ProjectSpecBuilder builder;
    
            ProjectSpecObjectNestedImpl(ProjectSpec item){
                    this.builder = new ProjectSpecBuilder(this, item);
            }
            ProjectSpecObjectNestedImpl(){
                    this.builder = new ProjectSpecBuilder(this);
            }
    
    public N and(){
            return (N) WatchEventFluentImpl.this.withProjectSpecObject(builder.build());
    }
    public N endProjectSpecObject(){
            return and();
    }

}
    public class ProjectNamespaceObjectNestedImpl extends ProjectNamespaceFluentImpl> implements WatchEventFluent.ProjectNamespaceObjectNested,io.alauda.kubernetes.api.builder.Nested{

            private final ProjectNamespaceBuilder builder;
    
            ProjectNamespaceObjectNestedImpl(ProjectNamespace item){
                    this.builder = new ProjectNamespaceBuilder(this, item);
            }
            ProjectNamespaceObjectNestedImpl(){
                    this.builder = new ProjectNamespaceBuilder(this);
            }
    
    public N and(){
            return (N) WatchEventFluentImpl.this.withProjectNamespaceObject(builder.build());
    }
    public N endProjectNamespaceObject(){
            return and();
    }

}
    public class ImageObjectNestedImpl extends ImageFluentImpl> implements WatchEventFluent.ImageObjectNested,io.alauda.kubernetes.api.builder.Nested{

            private final ImageBuilder builder;
    
            ImageObjectNestedImpl(Image item){
                    this.builder = new ImageBuilder(this, item);
            }
            ImageObjectNestedImpl(){
                    this.builder = new ImageBuilder(this);
            }
    
    public N and(){
            return (N) WatchEventFluentImpl.this.withImageObject(builder.build());
    }
    public N endImageObject(){
            return and();
    }

}
    public class HTTPHeaderObjectNestedImpl extends HTTPHeaderFluentImpl> implements WatchEventFluent.HTTPHeaderObjectNested,io.alauda.kubernetes.api.builder.Nested{

            private final HTTPHeaderBuilder builder;
    
            HTTPHeaderObjectNestedImpl(HTTPHeader item){
                    this.builder = new HTTPHeaderBuilder(this, item);
            }
            HTTPHeaderObjectNestedImpl(){
                    this.builder = new HTTPHeaderBuilder(this);
            }
    
    public N and(){
            return (N) WatchEventFluentImpl.this.withHTTPHeaderObject(builder.build());
    }
    public N endHTTPHeaderObject(){
            return and();
    }

}
    public class ServiceObjectNestedImpl extends ServiceFluentImpl> implements WatchEventFluent.ServiceObjectNested,io.alauda.kubernetes.api.builder.Nested{

            private final ServiceBuilder builder;
    
            ServiceObjectNestedImpl(Service item){
                    this.builder = new ServiceBuilder(this, item);
            }
            ServiceObjectNestedImpl(){
                    this.builder = new ServiceBuilder(this);
            }
    
    public N and(){
            return (N) WatchEventFluentImpl.this.withServiceObject(builder.build());
    }
    public N endServiceObject(){
            return and();
    }

}
    public class NetworkPolicyPortObjectNestedImpl extends NetworkPolicyPortFluentImpl> implements WatchEventFluent.NetworkPolicyPortObjectNested,io.alauda.kubernetes.api.builder.Nested{

            private final NetworkPolicyPortBuilder builder;
    
            NetworkPolicyPortObjectNestedImpl(NetworkPolicyPort item){
                    this.builder = new NetworkPolicyPortBuilder(this, item);
            }
            NetworkPolicyPortObjectNestedImpl(){
                    this.builder = new NetworkPolicyPortBuilder(this);
            }
    
    public N and(){
            return (N) WatchEventFluentImpl.this.withNetworkPolicyPortObject(builder.build());
    }
    public N endNetworkPolicyPortObject(){
            return and();
    }

}
    public class TemplateListObjectNestedImpl extends TemplateListFluentImpl> implements WatchEventFluent.TemplateListObjectNested,io.alauda.kubernetes.api.builder.Nested{

            private final TemplateListBuilder builder;
    
            TemplateListObjectNestedImpl(TemplateList item){
                    this.builder = new TemplateListBuilder(this, item);
            }
            TemplateListObjectNestedImpl(){
                    this.builder = new TemplateListBuilder(this);
            }
    
    public N and(){
            return (N) WatchEventFluentImpl.this.withTemplateListObject(builder.build());
    }
    public N endTemplateListObject(){
            return and();
    }

}
    public class IngressTLSObjectNestedImpl extends IngressTLSFluentImpl> implements WatchEventFluent.IngressTLSObjectNested,io.alauda.kubernetes.api.builder.Nested{

            private final IngressTLSBuilder builder;
    
            IngressTLSObjectNestedImpl(IngressTLS item){
                    this.builder = new IngressTLSBuilder(this, item);
            }
            IngressTLSObjectNestedImpl(){
                    this.builder = new IngressTLSBuilder(this);
            }
    
    public N and(){
            return (N) WatchEventFluentImpl.this.withIngressTLSObject(builder.build());
    }
    public N endIngressTLSObject(){
            return and();
    }

}
    public class PersistentVolumeSpecObjectNestedImpl extends PersistentVolumeSpecFluentImpl> implements WatchEventFluent.PersistentVolumeSpecObjectNested,io.alauda.kubernetes.api.builder.Nested{

            private final PersistentVolumeSpecBuilder builder;
    
            PersistentVolumeSpecObjectNestedImpl(PersistentVolumeSpec item){
                    this.builder = new PersistentVolumeSpecBuilder(this, item);
            }
            PersistentVolumeSpecObjectNestedImpl(){
                    this.builder = new PersistentVolumeSpecBuilder(this);
            }
    
    public N and(){
            return (N) WatchEventFluentImpl.this.withPersistentVolumeSpecObject(builder.build());
    }
    public N endPersistentVolumeSpecObject(){
            return and();
    }

}
    public class SecretEnvSourceObjectNestedImpl extends SecretEnvSourceFluentImpl> implements WatchEventFluent.SecretEnvSourceObjectNested,io.alauda.kubernetes.api.builder.Nested{

            private final SecretEnvSourceBuilder builder;
    
            SecretEnvSourceObjectNestedImpl(SecretEnvSource item){
                    this.builder = new SecretEnvSourceBuilder(this, item);
            }
            SecretEnvSourceObjectNestedImpl(){
                    this.builder = new SecretEnvSourceBuilder(this);
            }
    
    public N and(){
            return (N) WatchEventFluentImpl.this.withSecretEnvSourceObject(builder.build());
    }
    public N endSecretEnvSourceObject(){
            return and();
    }

}
    public class NFSVolumeSourceObjectNestedImpl extends NFSVolumeSourceFluentImpl> implements WatchEventFluent.NFSVolumeSourceObjectNested,io.alauda.kubernetes.api.builder.Nested{

            private final NFSVolumeSourceBuilder builder;
    
            NFSVolumeSourceObjectNestedImpl(NFSVolumeSource item){
                    this.builder = new NFSVolumeSourceBuilder(this, item);
            }
            NFSVolumeSourceObjectNestedImpl(){
                    this.builder = new NFSVolumeSourceBuilder(this);
            }
    
    public N and(){
            return (N) WatchEventFluentImpl.this.withNFSVolumeSourceObject(builder.build());
    }
    public N endNFSVolumeSourceObject(){
            return and();
    }

}
    public class LocalSubjectAccessReviewObjectNestedImpl extends LocalSubjectAccessReviewFluentImpl> implements WatchEventFluent.LocalSubjectAccessReviewObjectNested,io.alauda.kubernetes.api.builder.Nested{

            private final LocalSubjectAccessReviewBuilder builder;
    
            LocalSubjectAccessReviewObjectNestedImpl(LocalSubjectAccessReview item){
                    this.builder = new LocalSubjectAccessReviewBuilder(this, item);
            }
            LocalSubjectAccessReviewObjectNestedImpl(){
                    this.builder = new LocalSubjectAccessReviewBuilder(this);
            }
    
    public N and(){
            return (N) WatchEventFluentImpl.this.withLocalSubjectAccessReviewObject(builder.build());
    }
    public N endLocalSubjectAccessReviewObject(){
            return and();
    }

}
    public class ObjectFieldSelectorObjectNestedImpl extends ObjectFieldSelectorFluentImpl> implements WatchEventFluent.ObjectFieldSelectorObjectNested,io.alauda.kubernetes.api.builder.Nested{

            private final ObjectFieldSelectorBuilder builder;
    
            ObjectFieldSelectorObjectNestedImpl(ObjectFieldSelector item){
                    this.builder = new ObjectFieldSelectorBuilder(this, item);
            }
            ObjectFieldSelectorObjectNestedImpl(){
                    this.builder = new ObjectFieldSelectorBuilder(this);
            }
    
    public N and(){
            return (N) WatchEventFluentImpl.this.withObjectFieldSelectorObject(builder.build());
    }
    public N endObjectFieldSelectorObject(){
            return and();
    }

}
    public class IngressSpecObjectNestedImpl extends IngressSpecFluentImpl> implements WatchEventFluent.IngressSpecObjectNested,io.alauda.kubernetes.api.builder.Nested{

            private final IngressSpecBuilder builder;
    
            IngressSpecObjectNestedImpl(IngressSpec item){
                    this.builder = new IngressSpecBuilder(this, item);
            }
            IngressSpecObjectNestedImpl(){
                    this.builder = new IngressSpecBuilder(this);
            }
    
    public N and(){
            return (N) WatchEventFluentImpl.this.withIngressSpecObject(builder.build());
    }
    public N endIngressSpecObject(){
            return and();
    }

}
    public class StageInfoObjectNestedImpl extends StageInfoFluentImpl> implements WatchEventFluent.StageInfoObjectNested,io.alauda.kubernetes.api.builder.Nested{

            private final StageInfoBuilder builder;
    
            StageInfoObjectNestedImpl(StageInfo item){
                    this.builder = new StageInfoBuilder(this, item);
            }
            StageInfoObjectNestedImpl(){
                    this.builder = new StageInfoBuilder(this);
            }
    
    public N and(){
            return (N) WatchEventFluentImpl.this.withStageInfoObject(builder.build());
    }
    public N endStageInfoObject(){
            return and();
    }

}
    public class NamespaceStatusObjectNestedImpl extends NamespaceStatusFluentImpl> implements WatchEventFluent.NamespaceStatusObjectNested,io.alauda.kubernetes.api.builder.Nested{

            private final NamespaceStatusBuilder builder;
    
            NamespaceStatusObjectNestedImpl(NamespaceStatus item){
                    this.builder = new NamespaceStatusBuilder(this, item);
            }
            NamespaceStatusObjectNestedImpl(){
                    this.builder = new NamespaceStatusBuilder(this);
            }
    
    public N and(){
            return (N) WatchEventFluentImpl.this.withNamespaceStatusObject(builder.build());
    }
    public N endNamespaceStatusObject(){
            return and();
    }

}
    public class SecurityContextObjectNestedImpl extends SecurityContextFluentImpl> implements WatchEventFluent.SecurityContextObjectNested,io.alauda.kubernetes.api.builder.Nested{

            private final SecurityContextBuilder builder;
    
            SecurityContextObjectNestedImpl(SecurityContext item){
                    this.builder = new SecurityContextBuilder(this, item);
            }
            SecurityContextObjectNestedImpl(){
                    this.builder = new SecurityContextBuilder(this);
            }
    
    public N and(){
            return (N) WatchEventFluentImpl.this.withSecurityContextObject(builder.build());
    }
    public N endSecurityContextObject(){
            return and();
    }

}
    public class JenkinsBindingStatusObjectNestedImpl extends JenkinsBindingStatusFluentImpl> implements WatchEventFluent.JenkinsBindingStatusObjectNested,io.alauda.kubernetes.api.builder.Nested{

            private final JenkinsBindingStatusBuilder builder;
    
            JenkinsBindingStatusObjectNestedImpl(JenkinsBindingStatus item){
                    this.builder = new JenkinsBindingStatusBuilder(this, item);
            }
            JenkinsBindingStatusObjectNestedImpl(){
                    this.builder = new JenkinsBindingStatusBuilder(this);
            }
    
    public N and(){
            return (N) WatchEventFluentImpl.this.withJenkinsBindingStatusObject(builder.build());
    }
    public N endJenkinsBindingStatusObject(){
            return and();
    }

}
    public class PodDisruptionBudgetSpecObjectNestedImpl extends PodDisruptionBudgetSpecFluentImpl> implements WatchEventFluent.PodDisruptionBudgetSpecObjectNested,io.alauda.kubernetes.api.builder.Nested{

            private final PodDisruptionBudgetSpecBuilder builder;
    
            PodDisruptionBudgetSpecObjectNestedImpl(PodDisruptionBudgetSpec item){
                    this.builder = new PodDisruptionBudgetSpecBuilder(this, item);
            }
            PodDisruptionBudgetSpecObjectNestedImpl(){
                    this.builder = new PodDisruptionBudgetSpecBuilder(this);
            }
    
    public N and(){
            return (N) WatchEventFluentImpl.this.withPodDisruptionBudgetSpecObject(builder.build());
    }
    public N endPodDisruptionBudgetSpecObject(){
            return and();
    }

}
    public class BuildConfigSpecObjectNestedImpl extends BuildConfigSpecFluentImpl> implements WatchEventFluent.BuildConfigSpecObjectNested,io.alauda.kubernetes.api.builder.Nested{

            private final BuildConfigSpecBuilder builder;
    
            BuildConfigSpecObjectNestedImpl(BuildConfigSpec item){
                    this.builder = new BuildConfigSpecBuilder(this, item);
            }
            BuildConfigSpecObjectNestedImpl(){
                    this.builder = new BuildConfigSpecBuilder(this);
            }
    
    public N and(){
            return (N) WatchEventFluentImpl.this.withBuildConfigSpecObject(builder.build());
    }
    public N endBuildConfigSpecObject(){
            return and();
    }

}
    public class PodSecurityPolicySpecObjectNestedImpl extends PodSecurityPolicySpecFluentImpl> implements WatchEventFluent.PodSecurityPolicySpecObjectNested,io.alauda.kubernetes.api.builder.Nested{

            private final PodSecurityPolicySpecBuilder builder;
    
            PodSecurityPolicySpecObjectNestedImpl(PodSecurityPolicySpec item){
                    this.builder = new PodSecurityPolicySpecBuilder(this, item);
            }
            PodSecurityPolicySpecObjectNestedImpl(){
                    this.builder = new PodSecurityPolicySpecBuilder(this);
            }
    
    public N and(){
            return (N) WatchEventFluentImpl.this.withPodSecurityPolicySpecObject(builder.build());
    }
    public N endPodSecurityPolicySpecObject(){
            return and();
    }

}
    public class SignatureIssuerObjectNestedImpl extends SignatureIssuerFluentImpl> implements WatchEventFluent.SignatureIssuerObjectNested,io.alauda.kubernetes.api.builder.Nested{

            private final SignatureIssuerBuilder builder;
    
            SignatureIssuerObjectNestedImpl(SignatureIssuer item){
                    this.builder = new SignatureIssuerBuilder(this, item);
            }
            SignatureIssuerObjectNestedImpl(){
                    this.builder = new SignatureIssuerBuilder(this);
            }
    
    public N and(){
            return (N) WatchEventFluentImpl.this.withSignatureIssuerObject(builder.build());
    }
    public N endSignatureIssuerObject(){
            return and();
    }

}
    public class ClusterRoleScopeRestrictionObjectNestedImpl extends ClusterRoleScopeRestrictionFluentImpl> implements WatchEventFluent.ClusterRoleScopeRestrictionObjectNested,io.alauda.kubernetes.api.builder.Nested{

            private final ClusterRoleScopeRestrictionBuilder builder;
    
            ClusterRoleScopeRestrictionObjectNestedImpl(ClusterRoleScopeRestriction item){
                    this.builder = new ClusterRoleScopeRestrictionBuilder(this, item);
            }
            ClusterRoleScopeRestrictionObjectNestedImpl(){
                    this.builder = new ClusterRoleScopeRestrictionBuilder(this);
            }
    
    public N and(){
            return (N) WatchEventFluentImpl.this.withClusterRoleScopeRestrictionObject(builder.build());
    }
    public N endClusterRoleScopeRestrictionObject(){
            return and();
    }

}
    public class PersistentVolumeClaimSpecObjectNestedImpl extends PersistentVolumeClaimSpecFluentImpl> implements WatchEventFluent.PersistentVolumeClaimSpecObjectNested,io.alauda.kubernetes.api.builder.Nested{

            private final PersistentVolumeClaimSpecBuilder builder;
    
            PersistentVolumeClaimSpecObjectNestedImpl(PersistentVolumeClaimSpec item){
                    this.builder = new PersistentVolumeClaimSpecBuilder(this, item);
            }
            PersistentVolumeClaimSpecObjectNestedImpl(){
                    this.builder = new PersistentVolumeClaimSpecBuilder(this);
            }
    
    public N and(){
            return (N) WatchEventFluentImpl.this.withPersistentVolumeClaimSpecObject(builder.build());
    }
    public N endPersistentVolumeClaimSpecObject(){
            return and();
    }

}
    public class SignatureConditionObjectNestedImpl extends SignatureConditionFluentImpl> implements WatchEventFluent.SignatureConditionObjectNested,io.alauda.kubernetes.api.builder.Nested{

            private final SignatureConditionBuilder builder;
    
            SignatureConditionObjectNestedImpl(SignatureCondition item){
                    this.builder = new SignatureConditionBuilder(this, item);
            }
            SignatureConditionObjectNestedImpl(){
                    this.builder = new SignatureConditionBuilder(this);
            }
    
    public N and(){
            return (N) WatchEventFluentImpl.this.withSignatureConditionObject(builder.build());
    }
    public N endSignatureConditionObject(){
            return and();
    }

}
    public class NamespaceSpecObjectNestedImpl extends NamespaceSpecFluentImpl> implements WatchEventFluent.NamespaceSpecObjectNested,io.alauda.kubernetes.api.builder.Nested{

            private final NamespaceSpecBuilder builder;
    
            NamespaceSpecObjectNestedImpl(NamespaceSpec item){
                    this.builder = new NamespaceSpecBuilder(this, item);
            }
            NamespaceSpecObjectNestedImpl(){
                    this.builder = new NamespaceSpecBuilder(this);
            }
    
    public N and(){
            return (N) WatchEventFluentImpl.this.withNamespaceSpecObject(builder.build());
    }
    public N endNamespaceSpecObject(){
            return and();
    }

}
    public class BuildConfigStatusObjectNestedImpl extends BuildConfigStatusFluentImpl> implements WatchEventFluent.BuildConfigStatusObjectNested,io.alauda.kubernetes.api.builder.Nested{

            private final BuildConfigStatusBuilder builder;
    
            BuildConfigStatusObjectNestedImpl(BuildConfigStatus item){
                    this.builder = new BuildConfigStatusBuilder(this, item);
            }
            BuildConfigStatusObjectNestedImpl(){
                    this.builder = new BuildConfigStatusBuilder(this);
            }
    
    public N and(){
            return (N) WatchEventFluentImpl.this.withBuildConfigStatusObject(builder.build());
    }
    public N endBuildConfigStatusObject(){
            return and();
    }

}
    public class PipelineTaskArgumentDisplayObjectNestedImpl extends PipelineTaskArgumentDisplayFluentImpl> implements WatchEventFluent.PipelineTaskArgumentDisplayObjectNested,io.alauda.kubernetes.api.builder.Nested{

            private final PipelineTaskArgumentDisplayBuilder builder;
    
            PipelineTaskArgumentDisplayObjectNestedImpl(PipelineTaskArgumentDisplay item){
                    this.builder = new PipelineTaskArgumentDisplayBuilder(this, item);
            }
            PipelineTaskArgumentDisplayObjectNestedImpl(){
                    this.builder = new PipelineTaskArgumentDisplayBuilder(this);
            }
    
    public N and(){
            return (N) WatchEventFluentImpl.this.withPipelineTaskArgumentDisplayObject(builder.build());
    }
    public N endPipelineTaskArgumentDisplayObject(){
            return and();
    }

}
    public class PatchObjectNestedImpl extends PatchFluentImpl> implements WatchEventFluent.PatchObjectNested,io.alauda.kubernetes.api.builder.Nested{

            private final PatchBuilder builder;
    
            PatchObjectNestedImpl(Patch item){
                    this.builder = new PatchBuilder(this, item);
            }
            PatchObjectNestedImpl(){
                    this.builder = new PatchBuilder(this);
            }
    
    public N and(){
            return (N) WatchEventFluentImpl.this.withPatchObject(builder.build());
    }
    public N endPatchObject(){
            return and();
    }

}
    public class JobTemplateSpecObjectNestedImpl extends JobTemplateSpecFluentImpl> implements WatchEventFluent.JobTemplateSpecObjectNested,io.alauda.kubernetes.api.builder.Nested{

            private final JobTemplateSpecBuilder builder;
    
            JobTemplateSpecObjectNestedImpl(JobTemplateSpec item){
                    this.builder = new JobTemplateSpecBuilder(this, item);
            }
            JobTemplateSpecObjectNestedImpl(){
                    this.builder = new JobTemplateSpecBuilder(this);
            }
    
    public N and(){
            return (N) WatchEventFluentImpl.this.withJobTemplateSpecObject(builder.build());
    }
    public N endJobTemplateSpecObject(){
            return and();
    }

}
    public class GenericWebHookCauseObjectNestedImpl extends GenericWebHookCauseFluentImpl> implements WatchEventFluent.GenericWebHookCauseObjectNested,io.alauda.kubernetes.api.builder.Nested{

            private final GenericWebHookCauseBuilder builder;
    
            GenericWebHookCauseObjectNestedImpl(GenericWebHookCause item){
                    this.builder = new GenericWebHookCauseBuilder(this, item);
            }
            GenericWebHookCauseObjectNestedImpl(){
                    this.builder = new GenericWebHookCauseBuilder(this);
            }
    
    public N and(){
            return (N) WatchEventFluentImpl.this.withGenericWebHookCauseObject(builder.build());
    }
    public N endGenericWebHookCauseObject(){
            return and();
    }

}
    public class ReplicaSetStatusObjectNestedImpl extends ReplicaSetStatusFluentImpl> implements WatchEventFluent.ReplicaSetStatusObjectNested,io.alauda.kubernetes.api.builder.Nested{

            private final ReplicaSetStatusBuilder builder;
    
            ReplicaSetStatusObjectNestedImpl(ReplicaSetStatus item){
                    this.builder = new ReplicaSetStatusBuilder(this, item);
            }
            ReplicaSetStatusObjectNestedImpl(){
                    this.builder = new ReplicaSetStatusBuilder(this);
            }
    
    public N and(){
            return (N) WatchEventFluentImpl.this.withReplicaSetStatusObject(builder.build());
    }
    public N endReplicaSetStatusObject(){
            return and();
    }

}
    public class PipelineConfigTemplateSpecObjectNestedImpl extends PipelineConfigTemplateSpecFluentImpl> implements WatchEventFluent.PipelineConfigTemplateSpecObjectNested,io.alauda.kubernetes.api.builder.Nested{

            private final PipelineConfigTemplateSpecBuilder builder;
    
            PipelineConfigTemplateSpecObjectNestedImpl(PipelineConfigTemplateSpec item){
                    this.builder = new PipelineConfigTemplateSpecBuilder(this, item);
            }
            PipelineConfigTemplateSpecObjectNestedImpl(){
                    this.builder = new PipelineConfigTemplateSpecBuilder(this);
            }
    
    public N and(){
            return (N) WatchEventFluentImpl.this.withPipelineConfigTemplateSpecObject(builder.build());
    }
    public N endPipelineConfigTemplateSpecObject(){
            return and();
    }

}
    public class GitSourceRevisionObjectNestedImpl extends GitSourceRevisionFluentImpl> implements WatchEventFluent.GitSourceRevisionObjectNested,io.alauda.kubernetes.api.builder.Nested{

            private final GitSourceRevisionBuilder builder;
    
            GitSourceRevisionObjectNestedImpl(GitSourceRevision item){
                    this.builder = new GitSourceRevisionBuilder(this, item);
            }
            GitSourceRevisionObjectNestedImpl(){
                    this.builder = new GitSourceRevisionBuilder(this);
            }
    
    public N and(){
            return (N) WatchEventFluentImpl.this.withGitSourceRevisionObject(builder.build());
    }
    public N endGitSourceRevisionObject(){
            return and();
    }

}
    public class LifecycleObjectNestedImpl extends LifecycleFluentImpl> implements WatchEventFluent.LifecycleObjectNested,io.alauda.kubernetes.api.builder.Nested{

            private final LifecycleBuilder builder;
    
            LifecycleObjectNestedImpl(Lifecycle item){
                    this.builder = new LifecycleBuilder(this, item);
            }
            LifecycleObjectNestedImpl(){
                    this.builder = new LifecycleBuilder(this);
            }
    
    public N and(){
            return (N) WatchEventFluentImpl.this.withLifecycleObject(builder.build());
    }
    public N endLifecycleObject(){
            return and();
    }

}
    public class JobObjectNestedImpl extends JobFluentImpl> implements WatchEventFluent.JobObjectNested,io.alauda.kubernetes.api.builder.Nested{

            private final JobBuilder builder;
    
            JobObjectNestedImpl(Job item){
                    this.builder = new JobBuilder(this, item);
            }
            JobObjectNestedImpl(){
                    this.builder = new JobBuilder(this);
            }
    
    public N and(){
            return (N) WatchEventFluentImpl.this.withJobObject(builder.build());
    }
    public N endJobObject(){
            return and();
    }

}
    public class ContainerImageObjectNestedImpl extends ContainerImageFluentImpl> implements WatchEventFluent.ContainerImageObjectNested,io.alauda.kubernetes.api.builder.Nested{

            private final ContainerImageBuilder builder;
    
            ContainerImageObjectNestedImpl(ContainerImage item){
                    this.builder = new ContainerImageBuilder(this, item);
            }
            ContainerImageObjectNestedImpl(){
                    this.builder = new ContainerImageBuilder(this);
            }
    
    public N and(){
            return (N) WatchEventFluentImpl.this.withContainerImageObject(builder.build());
    }
    public N endContainerImageObject(){
            return and();
    }

}
    public class StatefulSetUpdateStrategyObjectNestedImpl extends StatefulSetUpdateStrategyFluentImpl> implements WatchEventFluent.StatefulSetUpdateStrategyObjectNested,io.alauda.kubernetes.api.builder.Nested{

            private final StatefulSetUpdateStrategyBuilder builder;
    
            StatefulSetUpdateStrategyObjectNestedImpl(StatefulSetUpdateStrategy item){
                    this.builder = new StatefulSetUpdateStrategyBuilder(this, item);
            }
            StatefulSetUpdateStrategyObjectNestedImpl(){
                    this.builder = new StatefulSetUpdateStrategyBuilder(this);
            }
    
    public N and(){
            return (N) WatchEventFluentImpl.this.withStatefulSetUpdateStrategyObject(builder.build());
    }
    public N endStatefulSetUpdateStrategyObject(){
            return and();
    }

}
    public class NonResourceAttributesObjectNestedImpl extends NonResourceAttributesFluentImpl> implements WatchEventFluent.NonResourceAttributesObjectNested,io.alauda.kubernetes.api.builder.Nested{

            private final NonResourceAttributesBuilder builder;
    
            NonResourceAttributesObjectNestedImpl(NonResourceAttributes item){
                    this.builder = new NonResourceAttributesBuilder(this, item);
            }
            NonResourceAttributesObjectNestedImpl(){
                    this.builder = new NonResourceAttributesBuilder(this);
            }
    
    public N and(){
            return (N) WatchEventFluentImpl.this.withNonResourceAttributesObject(builder.build());
    }
    public N endNonResourceAttributesObject(){
            return and();
    }

}
    public class EnvVarSourceObjectNestedImpl extends EnvVarSourceFluentImpl> implements WatchEventFluent.EnvVarSourceObjectNested,io.alauda.kubernetes.api.builder.Nested{

            private final EnvVarSourceBuilder builder;
    
            EnvVarSourceObjectNestedImpl(EnvVarSource item){
                    this.builder = new EnvVarSourceBuilder(this, item);
            }
            EnvVarSourceObjectNestedImpl(){
                    this.builder = new EnvVarSourceBuilder(this);
            }
    
    public N and(){
            return (N) WatchEventFluentImpl.this.withEnvVarSourceObject(builder.build());
    }
    public N endEnvVarSourceObject(){
            return and();
    }

}
    public class NamedRoleBindingObjectNestedImpl extends NamedRoleBindingFluentImpl> implements WatchEventFluent.NamedRoleBindingObjectNested,io.alauda.kubernetes.api.builder.Nested{

            private final NamedRoleBindingBuilder builder;
    
            NamedRoleBindingObjectNestedImpl(NamedRoleBinding item){
                    this.builder = new NamedRoleBindingBuilder(this, item);
            }
            NamedRoleBindingObjectNestedImpl(){
                    this.builder = new NamedRoleBindingBuilder(this);
            }
    
    public N and(){
            return (N) WatchEventFluentImpl.this.withNamedRoleBindingObject(builder.build());
    }
    public N endNamedRoleBindingObject(){
            return and();
    }

}
    public class RollingUpdateDaemonSetObjectNestedImpl extends RollingUpdateDaemonSetFluentImpl> implements WatchEventFluent.RollingUpdateDaemonSetObjectNested,io.alauda.kubernetes.api.builder.Nested{

            private final RollingUpdateDaemonSetBuilder builder;
    
            RollingUpdateDaemonSetObjectNestedImpl(RollingUpdateDaemonSet item){
                    this.builder = new RollingUpdateDaemonSetBuilder(this, item);
            }
            RollingUpdateDaemonSetObjectNestedImpl(){
                    this.builder = new RollingUpdateDaemonSetBuilder(this);
            }
    
    public N and(){
            return (N) WatchEventFluentImpl.this.withRollingUpdateDaemonSetObject(builder.build());
    }
    public N endRollingUpdateDaemonSetObject(){
            return and();
    }

}
    public class DeploymentTriggerImageChangeParamsObjectNestedImpl extends DeploymentTriggerImageChangeParamsFluentImpl> implements WatchEventFluent.DeploymentTriggerImageChangeParamsObjectNested,io.alauda.kubernetes.api.builder.Nested{

            private final DeploymentTriggerImageChangeParamsBuilder builder;
    
            DeploymentTriggerImageChangeParamsObjectNestedImpl(DeploymentTriggerImageChangeParams item){
                    this.builder = new DeploymentTriggerImageChangeParamsBuilder(this, item);
            }
            DeploymentTriggerImageChangeParamsObjectNestedImpl(){
                    this.builder = new DeploymentTriggerImageChangeParamsBuilder(this);
            }
    
    public N and(){
            return (N) WatchEventFluentImpl.this.withDeploymentTriggerImageChangeParamsObject(builder.build());
    }
    public N endDeploymentTriggerImageChangeParamsObject(){
            return and();
    }

}
    public class ReplicationControllerListObjectNestedImpl extends ReplicationControllerListFluentImpl> implements WatchEventFluent.ReplicationControllerListObjectNested,io.alauda.kubernetes.api.builder.Nested{

            private final ReplicationControllerListBuilder builder;
    
            ReplicationControllerListObjectNestedImpl(ReplicationControllerList item){
                    this.builder = new ReplicationControllerListBuilder(this, item);
            }
            ReplicationControllerListObjectNestedImpl(){
                    this.builder = new ReplicationControllerListBuilder(this);
            }
    
    public N and(){
            return (N) WatchEventFluentImpl.this.withReplicationControllerListObject(builder.build());
    }
    public N endReplicationControllerListObject(){
            return and();
    }

}
    public class DeploymentConfigSpecObjectNestedImpl extends DeploymentConfigSpecFluentImpl> implements WatchEventFluent.DeploymentConfigSpecObjectNested,io.alauda.kubernetes.api.builder.Nested{

            private final DeploymentConfigSpecBuilder builder;
    
            DeploymentConfigSpecObjectNestedImpl(DeploymentConfigSpec item){
                    this.builder = new DeploymentConfigSpecBuilder(this, item);
            }
            DeploymentConfigSpecObjectNestedImpl(){
                    this.builder = new DeploymentConfigSpecBuilder(this);
            }
    
    public N and(){
            return (N) WatchEventFluentImpl.this.withDeploymentConfigSpecObject(builder.build());
    }
    public N endDeploymentConfigSpecObject(){
            return and();
    }

}
    public class RouteTargetReferenceObjectNestedImpl extends RouteTargetReferenceFluentImpl> implements WatchEventFluent.RouteTargetReferenceObjectNested,io.alauda.kubernetes.api.builder.Nested{

            private final RouteTargetReferenceBuilder builder;
    
            RouteTargetReferenceObjectNestedImpl(RouteTargetReference item){
                    this.builder = new RouteTargetReferenceBuilder(this, item);
            }
            RouteTargetReferenceObjectNestedImpl(){
                    this.builder = new RouteTargetReferenceBuilder(this);
            }
    
    public N and(){
            return (N) WatchEventFluentImpl.this.withRouteTargetReferenceObject(builder.build());
    }
    public N endRouteTargetReferenceObject(){
            return and();
    }

}
    public class JobStatusObjectNestedImpl extends JobStatusFluentImpl> implements WatchEventFluent.JobStatusObjectNested,io.alauda.kubernetes.api.builder.Nested{

            private final JobStatusBuilder builder;
    
            JobStatusObjectNestedImpl(JobStatus item){
                    this.builder = new JobStatusBuilder(this, item);
            }
            JobStatusObjectNestedImpl(){
                    this.builder = new JobStatusBuilder(this);
            }
    
    public N and(){
            return (N) WatchEventFluentImpl.this.withJobStatusObject(builder.build());
    }
    public N endJobStatusObject(){
            return and();
    }

}
    public class DownwardAPIVolumeFileObjectNestedImpl extends DownwardAPIVolumeFileFluentImpl> implements WatchEventFluent.DownwardAPIVolumeFileObjectNested,io.alauda.kubernetes.api.builder.Nested{

            private final DownwardAPIVolumeFileBuilder builder;
    
            DownwardAPIVolumeFileObjectNestedImpl(DownwardAPIVolumeFile item){
                    this.builder = new DownwardAPIVolumeFileBuilder(this, item);
            }
            DownwardAPIVolumeFileObjectNestedImpl(){
                    this.builder = new DownwardAPIVolumeFileBuilder(this);
            }
    
    public N and(){
            return (N) WatchEventFluentImpl.this.withDownwardAPIVolumeFileObject(builder.build());
    }
    public N endDownwardAPIVolumeFileObject(){
            return and();
    }

}
    public class RollbackConfigObjectNestedImpl extends RollbackConfigFluentImpl> implements WatchEventFluent.RollbackConfigObjectNested,io.alauda.kubernetes.api.builder.Nested{

            private final RollbackConfigBuilder builder;
    
            RollbackConfigObjectNestedImpl(RollbackConfig item){
                    this.builder = new RollbackConfigBuilder(this, item);
            }
            RollbackConfigObjectNestedImpl(){
                    this.builder = new RollbackConfigBuilder(this);
            }
    
    public N and(){
            return (N) WatchEventFluentImpl.this.withRollbackConfigObject(builder.build());
    }
    public N endRollbackConfigObject(){
            return and();
    }

}
    public class CapabilitiesObjectNestedImpl extends CapabilitiesFluentImpl> implements WatchEventFluent.CapabilitiesObjectNested,io.alauda.kubernetes.api.builder.Nested{

            private final CapabilitiesBuilder builder;
    
            CapabilitiesObjectNestedImpl(Capabilities item){
                    this.builder = new CapabilitiesBuilder(this, item);
            }
            CapabilitiesObjectNestedImpl(){
                    this.builder = new CapabilitiesBuilder(this);
            }
    
    public N and(){
            return (N) WatchEventFluentImpl.this.withCapabilitiesObject(builder.build());
    }
    public N endCapabilitiesObject(){
            return and();
    }

}
    public class ResourceQuotaStatusObjectNestedImpl extends ResourceQuotaStatusFluentImpl> implements WatchEventFluent.ResourceQuotaStatusObjectNested,io.alauda.kubernetes.api.builder.Nested{

            private final ResourceQuotaStatusBuilder builder;
    
            ResourceQuotaStatusObjectNestedImpl(ResourceQuotaStatus item){
                    this.builder = new ResourceQuotaStatusBuilder(this, item);
            }
            ResourceQuotaStatusObjectNestedImpl(){
                    this.builder = new ResourceQuotaStatusBuilder(this);
            }
    
    public N and(){
            return (N) WatchEventFluentImpl.this.withResourceQuotaStatusObject(builder.build());
    }
    public N endResourceQuotaStatusObject(){
            return and();
    }

}
    public class DeploymentObjectNestedImpl extends DeploymentFluentImpl> implements WatchEventFluent.DeploymentObjectNested,io.alauda.kubernetes.api.builder.Nested{

            private final DeploymentBuilder builder;
    
            DeploymentObjectNestedImpl(Deployment item){
                    this.builder = new DeploymentBuilder(this, item);
            }
            DeploymentObjectNestedImpl(){
                    this.builder = new DeploymentBuilder(this);
            }
    
    public N and(){
            return (N) WatchEventFluentImpl.this.withDeploymentObject(builder.build());
    }
    public N endDeploymentObject(){
            return and();
    }

}
    public class PersistentVolumeClaimVolumeSourceObjectNestedImpl extends PersistentVolumeClaimVolumeSourceFluentImpl> implements WatchEventFluent.PersistentVolumeClaimVolumeSourceObjectNested,io.alauda.kubernetes.api.builder.Nested{

            private final PersistentVolumeClaimVolumeSourceBuilder builder;
    
            PersistentVolumeClaimVolumeSourceObjectNestedImpl(PersistentVolumeClaimVolumeSource item){
                    this.builder = new PersistentVolumeClaimVolumeSourceBuilder(this, item);
            }
            PersistentVolumeClaimVolumeSourceObjectNestedImpl(){
                    this.builder = new PersistentVolumeClaimVolumeSourceBuilder(this);
            }
    
    public N and(){
            return (N) WatchEventFluentImpl.this.withPersistentVolumeClaimVolumeSourceObject(builder.build());
    }
    public N endPersistentVolumeClaimVolumeSourceObject(){
            return and();
    }

}
    public class PodTemplateListObjectNestedImpl extends PodTemplateListFluentImpl> implements WatchEventFluent.PodTemplateListObjectNested,io.alauda.kubernetes.api.builder.Nested{

            private final PodTemplateListBuilder builder;
    
            PodTemplateListObjectNestedImpl(PodTemplateList item){
                    this.builder = new PodTemplateListBuilder(this, item);
            }
            PodTemplateListObjectNestedImpl(){
                    this.builder = new PodTemplateListBuilder(this);
            }
    
    public N and(){
            return (N) WatchEventFluentImpl.this.withPodTemplateListObject(builder.build());
    }
    public N endPodTemplateListObject(){
            return and();
    }

}
    public class NodeAddressObjectNestedImpl extends NodeAddressFluentImpl> implements WatchEventFluent.NodeAddressObjectNested,io.alauda.kubernetes.api.builder.Nested{

            private final NodeAddressBuilder builder;
    
            NodeAddressObjectNestedImpl(NodeAddress item){
                    this.builder = new NodeAddressBuilder(this, item);
            }
            NodeAddressObjectNestedImpl(){
                    this.builder = new NodeAddressBuilder(this);
            }
    
    public N and(){
            return (N) WatchEventFluentImpl.this.withNodeAddressObject(builder.build());
    }
    public N endNodeAddressObject(){
            return and();
    }

}
    public class PersistentVolumeStatusObjectNestedImpl extends PersistentVolumeStatusFluentImpl> implements WatchEventFluent.PersistentVolumeStatusObjectNested,io.alauda.kubernetes.api.builder.Nested{

            private final PersistentVolumeStatusBuilder builder;
    
            PersistentVolumeStatusObjectNestedImpl(PersistentVolumeStatus item){
                    this.builder = new PersistentVolumeStatusBuilder(this, item);
            }
            PersistentVolumeStatusObjectNestedImpl(){
                    this.builder = new PersistentVolumeStatusBuilder(this);
            }
    
    public N and(){
            return (N) WatchEventFluentImpl.this.withPersistentVolumeStatusObject(builder.build());
    }
    public N endPersistentVolumeStatusObject(){
            return and();
    }

}
    public class BuildStrategyObjectNestedImpl extends BuildStrategyFluentImpl> implements WatchEventFluent.BuildStrategyObjectNested,io.alauda.kubernetes.api.builder.Nested{

            private final BuildStrategyBuilder builder;
    
            BuildStrategyObjectNestedImpl(BuildStrategy item){
                    this.builder = new BuildStrategyBuilder(this, item);
            }
            BuildStrategyObjectNestedImpl(){
                    this.builder = new BuildStrategyBuilder(this);
            }
    
    public N and(){
            return (N) WatchEventFluentImpl.this.withBuildStrategyObject(builder.build());
    }
    public N endBuildStrategyObject(){
            return and();
    }

}
    public class ImageSourcePathObjectNestedImpl extends ImageSourcePathFluentImpl> implements WatchEventFluent.ImageSourcePathObjectNested,io.alauda.kubernetes.api.builder.Nested{

            private final ImageSourcePathBuilder builder;
    
            ImageSourcePathObjectNestedImpl(ImageSourcePath item){
                    this.builder = new ImageSourcePathBuilder(this, item);
            }
            ImageSourcePathObjectNestedImpl(){
                    this.builder = new ImageSourcePathBuilder(this);
            }
    
    public N and(){
            return (N) WatchEventFluentImpl.this.withImageSourcePathObject(builder.build());
    }
    public N endImageSourcePathObject(){
            return and();
    }

}
    public class ClusterPolicyBindingObjectNestedImpl extends ClusterPolicyBindingFluentImpl> implements WatchEventFluent.ClusterPolicyBindingObjectNested,io.alauda.kubernetes.api.builder.Nested{

            private final ClusterPolicyBindingBuilder builder;
    
            ClusterPolicyBindingObjectNestedImpl(ClusterPolicyBinding item){
                    this.builder = new ClusterPolicyBindingBuilder(this, item);
            }
            ClusterPolicyBindingObjectNestedImpl(){
                    this.builder = new ClusterPolicyBindingBuilder(this);
            }
    
    public N and(){
            return (N) WatchEventFluentImpl.this.withClusterPolicyBindingObject(builder.build());
    }
    public N endClusterPolicyBindingObject(){
            return and();
    }

}
    public class ProjectStatusObjectNestedImpl extends ProjectStatusFluentImpl> implements WatchEventFluent.ProjectStatusObjectNested,io.alauda.kubernetes.api.builder.Nested{

            private final ProjectStatusBuilder builder;
    
            ProjectStatusObjectNestedImpl(ProjectStatus item){
                    this.builder = new ProjectStatusBuilder(this, item);
            }
            ProjectStatusObjectNestedImpl(){
                    this.builder = new ProjectStatusBuilder(this);
            }
    
    public N and(){
            return (N) WatchEventFluentImpl.this.withProjectStatusObject(builder.build());
    }
    public N endProjectStatusObject(){
            return and();
    }

}
    public class ClusterPolicyListObjectNestedImpl extends ClusterPolicyListFluentImpl> implements WatchEventFluent.ClusterPolicyListObjectNested,io.alauda.kubernetes.api.builder.Nested{

            private final ClusterPolicyListBuilder builder;
    
            ClusterPolicyListObjectNestedImpl(ClusterPolicyList item){
                    this.builder = new ClusterPolicyListBuilder(this, item);
            }
            ClusterPolicyListObjectNestedImpl(){
                    this.builder = new ClusterPolicyListBuilder(this);
            }
    
    public N and(){
            return (N) WatchEventFluentImpl.this.withClusterPolicyListObject(builder.build());
    }
    public N endClusterPolicyListObject(){
            return and();
    }

}
    public class ScaleStatusObjectNestedImpl extends ScaleStatusFluentImpl> implements WatchEventFluent.ScaleStatusObjectNested,io.alauda.kubernetes.api.builder.Nested{

            private final ScaleStatusBuilder builder;
    
            ScaleStatusObjectNestedImpl(ScaleStatus item){
                    this.builder = new ScaleStatusBuilder(this, item);
            }
            ScaleStatusObjectNestedImpl(){
                    this.builder = new ScaleStatusBuilder(this);
            }
    
    public N and(){
            return (N) WatchEventFluentImpl.this.withScaleStatusObject(builder.build());
    }
    public N endScaleStatusObject(){
            return and();
    }

}
    public class PipelineSpecObjectNestedImpl extends PipelineSpecFluentImpl> implements WatchEventFluent.PipelineSpecObjectNested,io.alauda.kubernetes.api.builder.Nested{

            private final PipelineSpecBuilder builder;
    
            PipelineSpecObjectNestedImpl(PipelineSpec item){
                    this.builder = new PipelineSpecBuilder(this, item);
            }
            PipelineSpecObjectNestedImpl(){
                    this.builder = new PipelineSpecBuilder(this);
            }
    
    public N and(){
            return (N) WatchEventFluentImpl.this.withPipelineSpecObject(builder.build());
    }
    public N endPipelineSpecObject(){
            return and();
    }

}
    public class GroupRestrictionObjectNestedImpl extends GroupRestrictionFluentImpl> implements WatchEventFluent.GroupRestrictionObjectNested,io.alauda.kubernetes.api.builder.Nested{

            private final GroupRestrictionBuilder builder;
    
            GroupRestrictionObjectNestedImpl(GroupRestriction item){
                    this.builder = new GroupRestrictionBuilder(this, item);
            }
            GroupRestrictionObjectNestedImpl(){
                    this.builder = new GroupRestrictionBuilder(this);
            }
    
    public N and(){
            return (N) WatchEventFluentImpl.this.withGroupRestrictionObject(builder.build());
    }
    public N endGroupRestrictionObject(){
            return and();
    }

}
    public class ProjectObjectNestedImpl extends ProjectFluentImpl> implements WatchEventFluent.ProjectObjectNested,io.alauda.kubernetes.api.builder.Nested{

            private final ProjectBuilder builder;
    
            ProjectObjectNestedImpl(Project item){
                    this.builder = new ProjectBuilder(this, item);
            }
            ProjectObjectNestedImpl(){
                    this.builder = new ProjectBuilder(this);
            }
    
    public N and(){
            return (N) WatchEventFluentImpl.this.withProjectObject(builder.build());
    }
    public N endProjectObject(){
            return and();
    }

}
    public class BuildRequestObjectNestedImpl extends BuildRequestFluentImpl> implements WatchEventFluent.BuildRequestObjectNested,io.alauda.kubernetes.api.builder.Nested{

            private final BuildRequestBuilder builder;
    
            BuildRequestObjectNestedImpl(BuildRequest item){
                    this.builder = new BuildRequestBuilder(this, item);
            }
            BuildRequestObjectNestedImpl(){
                    this.builder = new BuildRequestBuilder(this);
            }
    
    public N and(){
            return (N) WatchEventFluentImpl.this.withBuildRequestObject(builder.build());
    }
    public N endBuildRequestObject(){
            return and();
    }

}
    public class ConfigMapEnvSourceObjectNestedImpl extends ConfigMapEnvSourceFluentImpl> implements WatchEventFluent.ConfigMapEnvSourceObjectNested,io.alauda.kubernetes.api.builder.Nested{

            private final ConfigMapEnvSourceBuilder builder;
    
            ConfigMapEnvSourceObjectNestedImpl(ConfigMapEnvSource item){
                    this.builder = new ConfigMapEnvSourceBuilder(this, item);
            }
            ConfigMapEnvSourceObjectNestedImpl(){
                    this.builder = new ConfigMapEnvSourceBuilder(this);
            }
    
    public N and(){
            return (N) WatchEventFluentImpl.this.withConfigMapEnvSourceObject(builder.build());
    }
    public N endConfigMapEnvSourceObject(){
            return and();
    }

}
    public class WatchEventObjectNestedImpl extends WatchEventFluentImpl> implements WatchEventFluent.WatchEventObjectNested,io.alauda.kubernetes.api.builder.Nested{

            private final WatchEventBuilder builder;
    
            WatchEventObjectNestedImpl(WatchEvent item){
                    this.builder = new WatchEventBuilder(this, item);
            }
            WatchEventObjectNestedImpl(){
                    this.builder = new WatchEventBuilder(this);
            }
    
    public N and(){
            return (N) WatchEventFluentImpl.this.withWatchEventObject(builder.build());
    }
    public N endWatchEventObject(){
            return and();
    }

}
    public class HostAliasObjectNestedImpl extends HostAliasFluentImpl> implements WatchEventFluent.HostAliasObjectNested,io.alauda.kubernetes.api.builder.Nested{

            private final HostAliasBuilder builder;
    
            HostAliasObjectNestedImpl(HostAlias item){
                    this.builder = new HostAliasBuilder(this, item);
            }
            HostAliasObjectNestedImpl(){
                    this.builder = new HostAliasBuilder(this);
            }
    
    public N and(){
            return (N) WatchEventFluentImpl.this.withHostAliasObject(builder.build());
    }
    public N endHostAliasObject(){
            return and();
    }

}
    public class DeploymentDetailsObjectNestedImpl extends DeploymentDetailsFluentImpl> implements WatchEventFluent.DeploymentDetailsObjectNested,io.alauda.kubernetes.api.builder.Nested{

            private final DeploymentDetailsBuilder builder;
    
            DeploymentDetailsObjectNestedImpl(DeploymentDetails item){
                    this.builder = new DeploymentDetailsBuilder(this, item);
            }
            DeploymentDetailsObjectNestedImpl(){
                    this.builder = new DeploymentDetailsBuilder(this);
            }
    
    public N and(){
            return (N) WatchEventFluentImpl.this.withDeploymentDetailsObject(builder.build());
    }
    public N endDeploymentDetailsObject(){
            return and();
    }

}
    public class I18nNameObjectNestedImpl extends I18nNameFluentImpl> implements WatchEventFluent.I18nNameObjectNested,io.alauda.kubernetes.api.builder.Nested{

            private final I18nNameBuilder builder;
    
            I18nNameObjectNestedImpl(I18nName item){
                    this.builder = new I18nNameBuilder(this, item);
            }
            I18nNameObjectNestedImpl(){
                    this.builder = new I18nNameBuilder(this);
            }
    
    public N and(){
            return (N) WatchEventFluentImpl.this.withI18nNameObject(builder.build());
    }
    public N endI18nNameObject(){
            return and();
    }

}
    public class PipelineRunLimitsObjectNestedImpl extends PipelineRunLimitsFluentImpl> implements WatchEventFluent.PipelineRunLimitsObjectNested,io.alauda.kubernetes.api.builder.Nested{

            private final PipelineRunLimitsBuilder builder;
    
            PipelineRunLimitsObjectNestedImpl(PipelineRunLimits item){
                    this.builder = new PipelineRunLimitsBuilder(this, item);
            }
            PipelineRunLimitsObjectNestedImpl(){
                    this.builder = new PipelineRunLimitsBuilder(this);
            }
    
    public N and(){
            return (N) WatchEventFluentImpl.this.withPipelineRunLimitsObject(builder.build());
    }
    public N endPipelineRunLimitsObject(){
            return and();
    }

}
    public class RoleBindingObjectNestedImpl extends RoleBindingFluentImpl> implements WatchEventFluent.RoleBindingObjectNested,io.alauda.kubernetes.api.builder.Nested{

            private final RoleBindingBuilder builder;
    
            RoleBindingObjectNestedImpl(RoleBinding item){
                    this.builder = new RoleBindingBuilder(this, item);
            }
            RoleBindingObjectNestedImpl(){
                    this.builder = new RoleBindingBuilder(this);
            }
    
    public N and(){
            return (N) WatchEventFluentImpl.this.withRoleBindingObject(builder.build());
    }
    public N endRoleBindingObject(){
            return and();
    }

}
    public class ObjectReferenceObjectNestedImpl extends ObjectReferenceFluentImpl> implements WatchEventFluent.ObjectReferenceObjectNested,io.alauda.kubernetes.api.builder.Nested{

            private final ObjectReferenceBuilder builder;
    
            ObjectReferenceObjectNestedImpl(ObjectReference item){
                    this.builder = new ObjectReferenceBuilder(this, item);
            }
            ObjectReferenceObjectNestedImpl(){
                    this.builder = new ObjectReferenceBuilder(this);
            }
    
    public N and(){
            return (N) WatchEventFluentImpl.this.withObjectReferenceObject(builder.build());
    }
    public N endObjectReferenceObject(){
            return and();
    }

}
    public class SecurityContextConstraintsListObjectNestedImpl extends SecurityContextConstraintsListFluentImpl> implements WatchEventFluent.SecurityContextConstraintsListObjectNested,io.alauda.kubernetes.api.builder.Nested{

            private final SecurityContextConstraintsListBuilder builder;
    
            SecurityContextConstraintsListObjectNestedImpl(SecurityContextConstraintsList item){
                    this.builder = new SecurityContextConstraintsListBuilder(this, item);
            }
            SecurityContextConstraintsListObjectNestedImpl(){
                    this.builder = new SecurityContextConstraintsListBuilder(this);
            }
    
    public N and(){
            return (N) WatchEventFluentImpl.this.withSecurityContextConstraintsListObject(builder.build());
    }
    public N endSecurityContextConstraintsListObject(){
            return and();
    }

}
    public class PersistentVolumeObjectNestedImpl extends PersistentVolumeFluentImpl> implements WatchEventFluent.PersistentVolumeObjectNested,io.alauda.kubernetes.api.builder.Nested{

            private final PersistentVolumeBuilder builder;
    
            PersistentVolumeObjectNestedImpl(PersistentVolume item){
                    this.builder = new PersistentVolumeBuilder(this, item);
            }
            PersistentVolumeObjectNestedImpl(){
                    this.builder = new PersistentVolumeBuilder(this);
            }
    
    public N and(){
            return (N) WatchEventFluentImpl.this.withPersistentVolumeObject(builder.build());
    }
    public N endPersistentVolumeObject(){
            return and();
    }

}


}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy