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

io.fabric8.kubernetes.api.model.BaseKubernetesListFluentImpl Maven / Gradle / Ivy

package io.fabric8.kubernetes.api.model;

import java.util.ArrayList;
import java.util.RandomAccess;
import java.util.Map;
import java.util.Map;
import java.util.List;
import java.util.List;
import java.util.AbstractCollection;
import java.util.AbstractList;
import java.util.HashMap;
import java.io.Serializable;
import java.util.Collection;
import java.util.AbstractMap;
import java.util.List;
import io.fabric8.kubernetes.api.builder.VisitableBuilder;
import io.fabric8.openshift.api.model.Identity;
import io.fabric8.openshift.api.model.PolicyFluentImpl;
import java.util.List;
import io.fabric8.openshift.api.model.ClusterRoleBinding;
import io.fabric8.openshift.api.model.ImageBuilder;
import io.fabric8.openshift.api.model.RoleBindingFluent;
import io.fabric8.openshift.api.model.OAuthClientBuilder;
import java.util.List;
import io.fabric8.kubernetes.api.builder.VisitableBuilder;
import java.util.List;
import io.fabric8.kubernetes.api.model.extensions.JobFluent;
import io.fabric8.kubernetes.api.builder.Visitable;
import io.fabric8.openshift.api.model.ClusterPolicyBindingFluent;
import java.util.List;
import io.fabric8.openshift.api.model.OAuthClient;
import java.util.List;
import io.fabric8.openshift.api.model.BuildRequest;
import java.util.List;
import io.fabric8.kubernetes.api.builder.VisitableBuilder;
import java.util.List;
import java.util.List;
import io.fabric8.openshift.api.model.UserBuilder;
import java.util.List;
import java.util.List;
import io.fabric8.kubernetes.api.builder.VisitableBuilder;
import java.util.List;
import java.util.List;
import io.fabric8.kubernetes.api.model.extensions.HorizontalPodAutoscalerFluent;
import io.fabric8.kubernetes.api.builder.Visitable;
import io.fabric8.kubernetes.api.model.extensions.DaemonSetFluent;
import io.fabric8.kubernetes.api.builder.BaseFluent;
import io.fabric8.openshift.api.model.RouteBuilder;
import java.util.List;
import io.fabric8.kubernetes.api.builder.VisitableBuilder;
import io.fabric8.kubernetes.api.builder.VisitableBuilder;
import io.fabric8.openshift.api.model.OAuthAccessTokenBuilder;
import java.util.List;
import io.fabric8.openshift.api.model.OAuthAuthorizeTokenFluent;
import io.fabric8.openshift.api.model.RouteFluentImpl;
import java.util.List;
import io.fabric8.kubernetes.api.model.extensions.ScaleFluent;
import io.fabric8.openshift.api.model.ProjectRequestBuilder;
import io.fabric8.openshift.api.model.ProjectBuilder;
import io.fabric8.kubernetes.api.model.extensions.ReplicaSetFluent;
import io.fabric8.kubernetes.api.model.extensions.ReplicaSetBuilder;
import io.fabric8.openshift.api.model.ProjectFluentImpl;
import io.fabric8.openshift.api.model.ImageStreamBuilder;
import io.fabric8.kubernetes.api.builder.VisitableBuilder;
import io.fabric8.openshift.api.model.BuildFluentImpl;
import java.util.List;
import io.fabric8.kubernetes.api.model.extensions.IngressBuilder;
import io.fabric8.openshift.api.model.DeploymentConfigBuilder;
import io.fabric8.openshift.api.model.BuildRequestBuilder;
import io.fabric8.openshift.api.model.GroupBuilder;
import java.util.List;
import io.fabric8.kubernetes.api.builder.VisitableBuilder;
import io.fabric8.kubernetes.api.builder.VisitableBuilder;
import io.fabric8.kubernetes.api.model.extensions.ReplicaSet;
import io.fabric8.openshift.api.model.ImageStream;
import java.util.List;
import io.fabric8.openshift.api.model.ProjectRequestFluent;
import java.util.List;
import io.fabric8.openshift.api.model.IdentityBuilder;
import io.fabric8.kubernetes.api.builder.VisitableBuilder;
import java.util.List;
import io.fabric8.kubernetes.api.builder.VisitableBuilder;
import java.util.List;
import io.fabric8.kubernetes.api.model.extensions.ThirdPartyResource;
import io.fabric8.openshift.api.model.ClusterPolicyBindingBuilder;
import io.fabric8.kubernetes.api.model.extensions.DeploymentFluentImpl;
import io.fabric8.kubernetes.api.model.extensions.ThirdPartyResourceFluent;
import java.util.List;
import io.fabric8.openshift.api.model.OAuthAuthorizeTokenBuilder;
import java.util.List;
import io.fabric8.openshift.api.model.BuildFluent;
import io.fabric8.kubernetes.api.builder.Builder;
import io.fabric8.openshift.api.model.RoleFluent;
import io.fabric8.kubernetes.api.model.extensions.JobBuilder;
import io.fabric8.kubernetes.api.builder.VisitableBuilder;
import java.util.List;
import java.util.List;
import java.util.List;
import io.fabric8.kubernetes.api.builder.VisitableBuilder;
import io.fabric8.kubernetes.api.builder.VisitableBuilder;
import io.fabric8.openshift.api.model.PolicyBuilder;
import io.fabric8.openshift.api.model.ClusterPolicyBuilder;
import io.fabric8.openshift.api.model.OAuthClientAuthorizationFluent;
import io.fabric8.openshift.api.model.OAuthAuthorizeTokenFluentImpl;
import java.util.List;
import io.fabric8.kubernetes.api.builder.VisitableBuilder;
import io.fabric8.openshift.api.model.UserFluent;
import io.fabric8.openshift.api.model.IdentityFluent;
import java.util.List;
import io.fabric8.openshift.api.model.ProjectRequest;
import io.fabric8.kubernetes.api.model.extensions.ThirdPartyResourceBuilder;
import io.fabric8.openshift.api.model.OAuthClientFluentImpl;
import java.util.List;
import io.fabric8.kubernetes.api.model.extensions.ScaleFluentImpl;
import io.fabric8.kubernetes.api.builder.VisitableBuilder;
import io.fabric8.kubernetes.api.builder.Nested;
import java.util.List;
import io.fabric8.openshift.api.model.ClusterRoleFluent;
import io.fabric8.kubernetes.api.builder.VisitableBuilder;
import io.fabric8.kubernetes.api.model.extensions.HorizontalPodAutoscalerBuilder;
import io.fabric8.openshift.api.model.Role;
import io.fabric8.kubernetes.api.model.extensions.HorizontalPodAutoscalerFluentImpl;
import io.fabric8.openshift.api.model.TemplateFluentImpl;
import java.util.List;
import io.fabric8.openshift.api.model.ClusterPolicy;
import io.fabric8.kubernetes.api.builder.VisitableBuilder;
import io.fabric8.openshift.api.model.GroupFluentImpl;
import io.fabric8.openshift.api.model.TemplateBuilder;
import java.util.List;
import io.fabric8.openshift.api.model.PolicyBinding;
import io.fabric8.openshift.api.model.DeploymentConfig;
import io.fabric8.kubernetes.api.model.extensions.DeploymentBuilder;
import io.fabric8.openshift.api.model.RoleBindingBuilder;
import io.fabric8.openshift.api.model.ImageStreamFluent;
import io.fabric8.openshift.api.model.BuildConfigFluentImpl;
import io.fabric8.kubernetes.api.builder.VisitableBuilder;
import io.fabric8.kubernetes.api.builder.VisitableBuilder;
import io.fabric8.openshift.api.model.ClusterRole;
import io.fabric8.openshift.api.model.Build;
import io.fabric8.kubernetes.api.builder.VisitableBuilder;
import io.fabric8.openshift.api.model.OAuthAuthorizeToken;
import io.fabric8.kubernetes.api.model.extensions.Deployment;
import io.fabric8.openshift.api.model.OAuthClientAuthorizationFluentImpl;
import io.fabric8.openshift.api.model.BuildBuilder;
import io.fabric8.openshift.api.model.ClusterRoleBindingFluent;
import io.fabric8.kubernetes.api.model.extensions.HorizontalPodAutoscaler;
import java.util.List;
import io.fabric8.kubernetes.api.model.extensions.DaemonSetBuilder;
import io.fabric8.openshift.api.model.ClusterPolicyBinding;
import io.fabric8.kubernetes.api.builder.VisitableBuilder;
import io.fabric8.kubernetes.api.builder.VisitableBuilder;
import io.fabric8.openshift.api.model.ClusterPolicyFluent;
import io.fabric8.openshift.api.model.OAuthClientFluent;
import io.fabric8.openshift.api.model.PolicyBindingFluentImpl;
import io.fabric8.kubernetes.api.builder.VisitableBuilder;
import java.util.List;
import io.fabric8.kubernetes.api.builder.VisitableBuilder;
import io.fabric8.kubernetes.api.builder.VisitableBuilder;
import io.fabric8.openshift.api.model.Project;
import io.fabric8.kubernetes.api.builder.VisitableBuilder;
import java.util.List;
import io.fabric8.kubernetes.api.builder.VisitableBuilder;
import io.fabric8.openshift.api.model.RouteFluent;
import io.fabric8.kubernetes.api.builder.VisitableBuilder;
import io.fabric8.kubernetes.api.builder.VisitableBuilder;
import io.fabric8.kubernetes.api.builder.VisitableBuilder;
import io.fabric8.kubernetes.api.builder.VisitableBuilder;
import io.fabric8.openshift.api.model.ImageFluent;
import io.fabric8.openshift.api.model.PolicyBindingBuilder;
import io.fabric8.openshift.api.model.BuildConfigFluent;
import io.fabric8.kubernetes.api.builder.VisitableBuilder;
import io.fabric8.openshift.api.model.ClusterRoleBindingBuilder;
import java.util.List;
import io.fabric8.kubernetes.api.builder.VisitableBuilder;
import io.fabric8.openshift.api.model.GroupFluent;
import io.fabric8.openshift.api.model.User;
import io.fabric8.openshift.api.model.RoleFluentImpl;
import io.fabric8.kubernetes.api.model.extensions.ThirdPartyResourceFluentImpl;
import io.fabric8.openshift.api.model.PolicyFluent;
import io.fabric8.kubernetes.api.builder.VisitableBuilder;
import io.fabric8.kubernetes.api.builder.VisitableBuilder;
import io.fabric8.kubernetes.api.builder.VisitableBuilder;
import io.fabric8.openshift.api.model.BuildConfigBuilder;
import io.fabric8.kubernetes.api.builder.VisitableBuilder;
import io.fabric8.kubernetes.api.model.extensions.DeploymentFluent;
import io.fabric8.kubernetes.api.builder.VisitableBuilder;
import java.util.List;
import io.fabric8.kubernetes.api.model.extensions.ScaleBuilder;
import io.fabric8.openshift.api.model.BuildConfig;
import io.fabric8.openshift.api.model.TemplateFluent;
import io.fabric8.kubernetes.api.builder.VisitableBuilder;
import io.fabric8.openshift.api.model.DeploymentConfigFluent;
import io.fabric8.openshift.api.model.ClusterRoleBindingFluentImpl;
import java.util.List;
import io.fabric8.openshift.api.model.ProjectFluent;
import io.fabric8.openshift.api.model.OAuthAccessToken;
import io.fabric8.openshift.api.model.OAuthAccessTokenFluent;
import io.fabric8.kubernetes.api.builder.VisitableBuilder;
import io.fabric8.openshift.api.model.ClusterPolicyFluentImpl;
import io.fabric8.kubernetes.api.builder.VisitableBuilder;
import io.fabric8.openshift.api.model.DeploymentConfigFluentImpl;
import java.util.List;
import io.fabric8.kubernetes.api.model.extensions.ReplicaSetFluentImpl;
import io.fabric8.openshift.api.model.Template;
import io.fabric8.openshift.api.model.OAuthAccessTokenFluentImpl;
import io.fabric8.kubernetes.api.builder.Fluent;
import io.fabric8.kubernetes.api.model.extensions.Ingress;
import java.util.List;
import io.fabric8.kubernetes.api.builder.VisitableBuilder;
import io.fabric8.kubernetes.api.model.extensions.JobFluentImpl;
import io.fabric8.openshift.api.model.ProjectRequestFluentImpl;
import java.util.List;
import io.fabric8.openshift.api.model.Policy;
import io.fabric8.openshift.api.model.ClusterRoleFluentImpl;
import io.fabric8.kubernetes.api.model.extensions.DaemonSetFluentImpl;
import io.fabric8.kubernetes.api.model.extensions.Job;
import io.fabric8.kubernetes.api.builder.VisitableBuilder;
import io.fabric8.kubernetes.api.builder.VisitableBuilder;
import java.util.List;
import java.util.List;
import io.fabric8.openshift.api.model.OAuthClientAuthorization;
import io.fabric8.openshift.api.model.ClusterRoleBuilder;
import java.util.List;
import io.fabric8.openshift.api.model.Route;
import io.fabric8.openshift.api.model.ImageFluentImpl;
import io.fabric8.kubernetes.api.builder.VisitableBuilder;
import java.util.List;
import io.fabric8.kubernetes.api.builder.VisitableBuilder;
import java.util.List;
import java.util.List;
import io.fabric8.openshift.api.model.OAuthClientAuthorizationBuilder;
import io.fabric8.openshift.api.model.RoleBinding;
import io.fabric8.openshift.api.model.RoleBindingFluentImpl;
import io.fabric8.openshift.api.model.BuildRequestFluentImpl;
import io.fabric8.kubernetes.api.model.extensions.Scale;
import io.fabric8.kubernetes.api.model.extensions.IngressFluent;
import io.fabric8.kubernetes.api.model.extensions.IngressFluentImpl;
import io.fabric8.kubernetes.api.builder.VisitableBuilder;
import io.fabric8.kubernetes.api.builder.VisitableBuilder;
import io.fabric8.kubernetes.api.builder.VisitableBuilder;
import java.util.List;
import io.fabric8.openshift.api.model.IdentityFluentImpl;
import io.fabric8.openshift.api.model.UserFluentImpl;
import io.fabric8.openshift.api.model.ClusterPolicyBindingFluentImpl;
import io.fabric8.openshift.api.model.Image;
import io.fabric8.openshift.api.model.BuildRequestFluent;
import java.util.List;
import io.fabric8.openshift.api.model.PolicyBindingFluent;
import io.fabric8.kubernetes.api.builder.VisitableBuilder;
import io.fabric8.openshift.api.model.ImageStreamFluentImpl;
import io.fabric8.openshift.api.model.Group;
import java.util.List;
import io.fabric8.openshift.api.model.RoleBuilder;
import io.fabric8.kubernetes.api.model.extensions.DaemonSet;
import io.fabric8.kubernetes.api.builder.VisitableBuilder;

public class BaseKubernetesListFluentImpl> extends BaseFluent implements BaseKubernetesListFluent{

     String apiVersion;     List items = new ArrayList();     List> scaleItems = new ArrayList();     List> buildConfigItems = new ArrayList();     List> roleBindingItems = new ArrayList();     List> limitRangeItems = new ArrayList();     List> identityItems = new ArrayList();     List> deploymentConfigItems = new ArrayList();     List> daemonSetItems = new ArrayList();     List> clusterRoleItems = new ArrayList();     List> imageItems = new ArrayList();     List> persistentVolumeClaimItems = new ArrayList();     List> endpointsItems = new ArrayList();     List> eventItems = new ArrayList();     List> componentStatusItems = new ArrayList();     List> oAuthClientAuthorizationItems = new ArrayList();     List> ingressItems = new ArrayList();     List> groupItems = new ArrayList();     List> configMapItems = new ArrayList();     List> secretItems = new ArrayList();     List> serviceAccountItems = new ArrayList();     List> horizontalPodAutoscalerItems = new ArrayList();     List> jobItems = new ArrayList();     List> oAuthAccessTokenItems = new ArrayList();     List> persistentVolumeItems = new ArrayList();     List> templateItems = new ArrayList();     List> imageStreamItems = new ArrayList();     List> bindingItems = new ArrayList();     List> serviceItems = new ArrayList();     List> clusterRoleBindingItems = new ArrayList();     List> namespaceItems = new ArrayList();     List> userItems = new ArrayList();     List> replicationControllerItems = new ArrayList();     List> oAuthAuthorizeTokenItems = new ArrayList();     List> securityContextConstraintsItems = new ArrayList();     List> podTemplateItems = new ArrayList();     List> routeItems = new ArrayList();     List> oAuthClientItems = new ArrayList();     List> roleItems = new ArrayList();     List> deploymentItems = new ArrayList();     List> projectItems = new ArrayList();     List> clusterPolicyItems = new ArrayList();     List> podItems = new ArrayList();     List> thirdPartyResourceItems = new ArrayList();     List> buildItems = new ArrayList();     List> policyBindingItems = new ArrayList();     List> clusterPolicyBindingItems = new ArrayList();     List> nodeItems = new ArrayList();     List> replicaSetItems = new ArrayList();     List> policyItems = new ArrayList();     List> projectRequestItems = new ArrayList();     List> resourceQuotaItems = new ArrayList();     List> buildRequestItems = new ArrayList();     String kind;     VisitableBuilder metadata;     Map additionalProperties = new HashMap();
public BaseKubernetesListFluentImpl(){
    
}
public BaseKubernetesListFluentImpl( BaseKubernetesList instance ){
    this.withApiVersion(instance.getApiVersion()); this.withItems(instance.getItems()); this.withKind(instance.getKind()); this.withMetadata(instance.getMetadata()); 
}

    public String getApiVersion(){
    return this.apiVersion;
    }
    public T withApiVersion( String apiVersion){
    this.apiVersion=apiVersion; return (T) this;
    }
    public T addToItems( HasMetadata ...items){
    for (HasMetadata item : items) {if (item instanceof Scale){addToScaleItems((Scale)item);}
 else if (item instanceof BuildConfig){addToBuildConfigItems((BuildConfig)item);}
 else if (item instanceof RoleBinding){addToRoleBindingItems((RoleBinding)item);}
 else if (item instanceof LimitRange){addToLimitRangeItems((LimitRange)item);}
 else if (item instanceof Identity){addToIdentityItems((Identity)item);}
 else if (item instanceof DeploymentConfig){addToDeploymentConfigItems((DeploymentConfig)item);}
 else if (item instanceof DaemonSet){addToDaemonSetItems((DaemonSet)item);}
 else if (item instanceof ClusterRole){addToClusterRoleItems((ClusterRole)item);}
 else if (item instanceof Image){addToImageItems((Image)item);}
 else if (item instanceof PersistentVolumeClaim){addToPersistentVolumeClaimItems((PersistentVolumeClaim)item);}
 else if (item instanceof Endpoints){addToEndpointsItems((Endpoints)item);}
 else if (item instanceof Event){addToEventItems((Event)item);}
 else if (item instanceof ComponentStatus){addToComponentStatusItems((ComponentStatus)item);}
 else if (item instanceof OAuthClientAuthorization){addToOAuthClientAuthorizationItems((OAuthClientAuthorization)item);}
 else if (item instanceof Ingress){addToIngressItems((Ingress)item);}
 else if (item instanceof Group){addToGroupItems((Group)item);}
 else if (item instanceof ConfigMap){addToConfigMapItems((ConfigMap)item);}
 else if (item instanceof Secret){addToSecretItems((Secret)item);}
 else if (item instanceof ServiceAccount){addToServiceAccountItems((ServiceAccount)item);}
 else if (item instanceof HorizontalPodAutoscaler){addToHorizontalPodAutoscalerItems((HorizontalPodAutoscaler)item);}
 else if (item instanceof Job){addToJobItems((Job)item);}
 else if (item instanceof OAuthAccessToken){addToOAuthAccessTokenItems((OAuthAccessToken)item);}
 else if (item instanceof PersistentVolume){addToPersistentVolumeItems((PersistentVolume)item);}
 else if (item instanceof Template){addToTemplateItems((Template)item);}
 else if (item instanceof ImageStream){addToImageStreamItems((ImageStream)item);}
 else if (item instanceof Binding){addToBindingItems((Binding)item);}
 else if (item instanceof Service){addToServiceItems((Service)item);}
 else if (item instanceof ClusterRoleBinding){addToClusterRoleBindingItems((ClusterRoleBinding)item);}
 else if (item instanceof Namespace){addToNamespaceItems((Namespace)item);}
 else if (item instanceof User){addToUserItems((User)item);}
 else if (item instanceof ReplicationController){addToReplicationControllerItems((ReplicationController)item);}
 else if (item instanceof OAuthAuthorizeToken){addToOAuthAuthorizeTokenItems((OAuthAuthorizeToken)item);}
 else if (item instanceof SecurityContextConstraints){addToSecurityContextConstraintsItems((SecurityContextConstraints)item);}
 else if (item instanceof PodTemplate){addToPodTemplateItems((PodTemplate)item);}
 else if (item instanceof Route){addToRouteItems((Route)item);}
 else if (item instanceof OAuthClient){addToOAuthClientItems((OAuthClient)item);}
 else if (item instanceof Role){addToRoleItems((Role)item);}
 else if (item instanceof Deployment){addToDeploymentItems((Deployment)item);}
 else if (item instanceof Project){addToProjectItems((Project)item);}
 else if (item instanceof ClusterPolicy){addToClusterPolicyItems((ClusterPolicy)item);}
 else if (item instanceof Pod){addToPodItems((Pod)item);}
 else if (item instanceof ThirdPartyResource){addToThirdPartyResourceItems((ThirdPartyResource)item);}
 else if (item instanceof Build){addToBuildItems((Build)item);}
 else if (item instanceof PolicyBinding){addToPolicyBindingItems((PolicyBinding)item);}
 else if (item instanceof ClusterPolicyBinding){addToClusterPolicyBindingItems((ClusterPolicyBinding)item);}
 else if (item instanceof Node){addToNodeItems((Node)item);}
 else if (item instanceof ReplicaSet){addToReplicaSetItems((ReplicaSet)item);}
 else if (item instanceof Policy){addToPolicyItems((Policy)item);}
 else if (item instanceof ProjectRequest){addToProjectRequestItems((ProjectRequest)item);}
 else if (item instanceof ResourceQuota){addToResourceQuotaItems((ResourceQuota)item);}
 else if (item instanceof BuildRequest){addToBuildRequestItems((BuildRequest)item);}
} return (T)this;
    }
    public T removeFromItems( HasMetadata ...items){
    for (HasMetadata item : items) {if (item instanceof Scale){removeFromScaleItems((Scale)item);}
 else if (item instanceof BuildConfig){removeFromBuildConfigItems((BuildConfig)item);}
 else if (item instanceof RoleBinding){removeFromRoleBindingItems((RoleBinding)item);}
 else if (item instanceof LimitRange){removeFromLimitRangeItems((LimitRange)item);}
 else if (item instanceof Identity){removeFromIdentityItems((Identity)item);}
 else if (item instanceof DeploymentConfig){removeFromDeploymentConfigItems((DeploymentConfig)item);}
 else if (item instanceof DaemonSet){removeFromDaemonSetItems((DaemonSet)item);}
 else if (item instanceof ClusterRole){removeFromClusterRoleItems((ClusterRole)item);}
 else if (item instanceof Image){removeFromImageItems((Image)item);}
 else if (item instanceof PersistentVolumeClaim){removeFromPersistentVolumeClaimItems((PersistentVolumeClaim)item);}
 else if (item instanceof Endpoints){removeFromEndpointsItems((Endpoints)item);}
 else if (item instanceof Event){removeFromEventItems((Event)item);}
 else if (item instanceof ComponentStatus){removeFromComponentStatusItems((ComponentStatus)item);}
 else if (item instanceof OAuthClientAuthorization){removeFromOAuthClientAuthorizationItems((OAuthClientAuthorization)item);}
 else if (item instanceof Ingress){removeFromIngressItems((Ingress)item);}
 else if (item instanceof Group){removeFromGroupItems((Group)item);}
 else if (item instanceof ConfigMap){removeFromConfigMapItems((ConfigMap)item);}
 else if (item instanceof Secret){removeFromSecretItems((Secret)item);}
 else if (item instanceof ServiceAccount){removeFromServiceAccountItems((ServiceAccount)item);}
 else if (item instanceof HorizontalPodAutoscaler){removeFromHorizontalPodAutoscalerItems((HorizontalPodAutoscaler)item);}
 else if (item instanceof Job){removeFromJobItems((Job)item);}
 else if (item instanceof OAuthAccessToken){removeFromOAuthAccessTokenItems((OAuthAccessToken)item);}
 else if (item instanceof PersistentVolume){removeFromPersistentVolumeItems((PersistentVolume)item);}
 else if (item instanceof Template){removeFromTemplateItems((Template)item);}
 else if (item instanceof ImageStream){removeFromImageStreamItems((ImageStream)item);}
 else if (item instanceof Binding){removeFromBindingItems((Binding)item);}
 else if (item instanceof Service){removeFromServiceItems((Service)item);}
 else if (item instanceof ClusterRoleBinding){removeFromClusterRoleBindingItems((ClusterRoleBinding)item);}
 else if (item instanceof Namespace){removeFromNamespaceItems((Namespace)item);}
 else if (item instanceof User){removeFromUserItems((User)item);}
 else if (item instanceof ReplicationController){removeFromReplicationControllerItems((ReplicationController)item);}
 else if (item instanceof OAuthAuthorizeToken){removeFromOAuthAuthorizeTokenItems((OAuthAuthorizeToken)item);}
 else if (item instanceof SecurityContextConstraints){removeFromSecurityContextConstraintsItems((SecurityContextConstraints)item);}
 else if (item instanceof PodTemplate){removeFromPodTemplateItems((PodTemplate)item);}
 else if (item instanceof Route){removeFromRouteItems((Route)item);}
 else if (item instanceof OAuthClient){removeFromOAuthClientItems((OAuthClient)item);}
 else if (item instanceof Role){removeFromRoleItems((Role)item);}
 else if (item instanceof Deployment){removeFromDeploymentItems((Deployment)item);}
 else if (item instanceof Project){removeFromProjectItems((Project)item);}
 else if (item instanceof ClusterPolicy){removeFromClusterPolicyItems((ClusterPolicy)item);}
 else if (item instanceof Pod){removeFromPodItems((Pod)item);}
 else if (item instanceof ThirdPartyResource){removeFromThirdPartyResourceItems((ThirdPartyResource)item);}
 else if (item instanceof Build){removeFromBuildItems((Build)item);}
 else if (item instanceof PolicyBinding){removeFromPolicyBindingItems((PolicyBinding)item);}
 else if (item instanceof ClusterPolicyBinding){removeFromClusterPolicyBindingItems((ClusterPolicyBinding)item);}
 else if (item instanceof Node){removeFromNodeItems((Node)item);}
 else if (item instanceof ReplicaSet){removeFromReplicaSetItems((ReplicaSet)item);}
 else if (item instanceof Policy){removeFromPolicyItems((Policy)item);}
 else if (item instanceof ProjectRequest){removeFromProjectRequestItems((ProjectRequest)item);}
 else if (item instanceof ResourceQuota){removeFromResourceQuotaItems((ResourceQuota)item);}
 else if (item instanceof BuildRequest){removeFromBuildRequestItems((BuildRequest)item);}
} return (T)this;
    }
    public List getItems(){
    return aggregate(build(bindingItems), build(buildConfigItems), build(buildItems), build(buildRequestItems), build(clusterPolicyBindingItems), build(clusterPolicyItems), build(clusterRoleBindingItems), build(clusterRoleItems), build(componentStatusItems), build(configMapItems), build(daemonSetItems), build(deploymentConfigItems), build(deploymentItems), build(endpointsItems), build(eventItems), build(groupItems), build(horizontalPodAutoscalerItems), build(identityItems), build(imageItems), build(imageStreamItems), build(ingressItems), build(jobItems), build(limitRangeItems), build(namespaceItems), build(nodeItems), build(oAuthAccessTokenItems), build(oAuthAuthorizeTokenItems), build(oAuthClientAuthorizationItems), build(oAuthClientItems), build(persistentVolumeClaimItems), build(persistentVolumeItems), build(podItems), build(podTemplateItems), build(policyBindingItems), build(policyItems), build(projectItems), build(projectRequestItems), build(replicaSetItems), build(replicationControllerItems), build(resourceQuotaItems), build(roleBindingItems), build(roleItems), build(routeItems), build(scaleItems), build(secretItems), build(securityContextConstraintsItems), build(serviceAccountItems), build(serviceItems), build(templateItems), build(thirdPartyResourceItems), build(userItems));
    }
    public T withItems( List items){
    this.items.clear();if (items != null) {for (HasMetadata item : items){this.addToItems(item);}} return (T) this;
    }
    public T withItems( HasMetadata ...items){
    this.items.clear(); if (items != null) {for (HasMetadata item :items){ this.addToItems(item);}} return (T) this;
    }
    public T addToScaleItems( Scale ...items){
    for (Scale item : items) {ScaleBuilder builder = new ScaleBuilder(item);_visitables.add(builder);this.scaleItems.add(builder);} return (T)this;
    }
    public T removeFromScaleItems( Scale ...items){
    for (Scale item : items) {ScaleBuilder builder = new ScaleBuilder(item);_visitables.remove(builder);this.scaleItems.remove(builder);} return (T)this;
    }
    public ScaleItemsNested addNewScaleItem(){
    return new ScaleItemsNestedImpl();
    }
    public ScaleItemsNested addNewScaleItemLike( Scale item){
    return new ScaleItemsNestedImpl(item);
    }
    public T addToBuildConfigItems( BuildConfig ...items){
    for (BuildConfig item : items) {BuildConfigBuilder builder = new BuildConfigBuilder(item);_visitables.add(builder);this.buildConfigItems.add(builder);} return (T)this;
    }
    public T removeFromBuildConfigItems( BuildConfig ...items){
    for (BuildConfig item : items) {BuildConfigBuilder builder = new BuildConfigBuilder(item);_visitables.remove(builder);this.buildConfigItems.remove(builder);} return (T)this;
    }
    public BuildConfigItemsNested addNewBuildConfigItem(){
    return new BuildConfigItemsNestedImpl();
    }
    public BuildConfigItemsNested addNewBuildConfigItemLike( BuildConfig item){
    return new BuildConfigItemsNestedImpl(item);
    }
    public T addToRoleBindingItems( RoleBinding ...items){
    for (RoleBinding item : items) {RoleBindingBuilder builder = new RoleBindingBuilder(item);_visitables.add(builder);this.roleBindingItems.add(builder);} return (T)this;
    }
    public T removeFromRoleBindingItems( RoleBinding ...items){
    for (RoleBinding item : items) {RoleBindingBuilder builder = new RoleBindingBuilder(item);_visitables.remove(builder);this.roleBindingItems.remove(builder);} return (T)this;
    }
    public RoleBindingItemsNested addNewRoleBindingItem(){
    return new RoleBindingItemsNestedImpl();
    }
    public RoleBindingItemsNested addNewRoleBindingItemLike( RoleBinding item){
    return new RoleBindingItemsNestedImpl(item);
    }
    public T addToLimitRangeItems( LimitRange ...items){
    for (LimitRange item : items) {LimitRangeBuilder builder = new LimitRangeBuilder(item);_visitables.add(builder);this.limitRangeItems.add(builder);} return (T)this;
    }
    public T removeFromLimitRangeItems( LimitRange ...items){
    for (LimitRange item : items) {LimitRangeBuilder builder = new LimitRangeBuilder(item);_visitables.remove(builder);this.limitRangeItems.remove(builder);} return (T)this;
    }
    public LimitRangeItemsNested addNewLimitRangeItem(){
    return new LimitRangeItemsNestedImpl();
    }
    public LimitRangeItemsNested addNewLimitRangeItemLike( LimitRange item){
    return new LimitRangeItemsNestedImpl(item);
    }
    public T addToIdentityItems( Identity ...items){
    for (Identity item : items) {IdentityBuilder builder = new IdentityBuilder(item);_visitables.add(builder);this.identityItems.add(builder);} return (T)this;
    }
    public T removeFromIdentityItems( Identity ...items){
    for (Identity item : items) {IdentityBuilder builder = new IdentityBuilder(item);_visitables.remove(builder);this.identityItems.remove(builder);} return (T)this;
    }
    public IdentityItemsNested addNewIdentityItem(){
    return new IdentityItemsNestedImpl();
    }
    public IdentityItemsNested addNewIdentityItemLike( Identity item){
    return new IdentityItemsNestedImpl(item);
    }
    public T addToDeploymentConfigItems( DeploymentConfig ...items){
    for (DeploymentConfig item : items) {DeploymentConfigBuilder builder = new DeploymentConfigBuilder(item);_visitables.add(builder);this.deploymentConfigItems.add(builder);} return (T)this;
    }
    public T removeFromDeploymentConfigItems( DeploymentConfig ...items){
    for (DeploymentConfig item : items) {DeploymentConfigBuilder builder = new DeploymentConfigBuilder(item);_visitables.remove(builder);this.deploymentConfigItems.remove(builder);} return (T)this;
    }
    public DeploymentConfigItemsNested addNewDeploymentConfigItem(){
    return new DeploymentConfigItemsNestedImpl();
    }
    public DeploymentConfigItemsNested addNewDeploymentConfigItemLike( DeploymentConfig item){
    return new DeploymentConfigItemsNestedImpl(item);
    }
    public T addToDaemonSetItems( DaemonSet ...items){
    for (DaemonSet item : items) {DaemonSetBuilder builder = new DaemonSetBuilder(item);_visitables.add(builder);this.daemonSetItems.add(builder);} return (T)this;
    }
    public T removeFromDaemonSetItems( DaemonSet ...items){
    for (DaemonSet item : items) {DaemonSetBuilder builder = new DaemonSetBuilder(item);_visitables.remove(builder);this.daemonSetItems.remove(builder);} return (T)this;
    }
    public DaemonSetItemsNested addNewDaemonSetItem(){
    return new DaemonSetItemsNestedImpl();
    }
    public DaemonSetItemsNested addNewDaemonSetItemLike( DaemonSet item){
    return new DaemonSetItemsNestedImpl(item);
    }
    public T addToClusterRoleItems( ClusterRole ...items){
    for (ClusterRole item : items) {ClusterRoleBuilder builder = new ClusterRoleBuilder(item);_visitables.add(builder);this.clusterRoleItems.add(builder);} return (T)this;
    }
    public T removeFromClusterRoleItems( ClusterRole ...items){
    for (ClusterRole item : items) {ClusterRoleBuilder builder = new ClusterRoleBuilder(item);_visitables.remove(builder);this.clusterRoleItems.remove(builder);} return (T)this;
    }
    public ClusterRoleItemsNested addNewClusterRoleItem(){
    return new ClusterRoleItemsNestedImpl();
    }
    public ClusterRoleItemsNested addNewClusterRoleItemLike( ClusterRole item){
    return new ClusterRoleItemsNestedImpl(item);
    }
    public T addToImageItems( Image ...items){
    for (Image item : items) {ImageBuilder builder = new ImageBuilder(item);_visitables.add(builder);this.imageItems.add(builder);} return (T)this;
    }
    public T removeFromImageItems( Image ...items){
    for (Image item : items) {ImageBuilder builder = new ImageBuilder(item);_visitables.remove(builder);this.imageItems.remove(builder);} return (T)this;
    }
    public ImageItemsNested addNewImageItem(){
    return new ImageItemsNestedImpl();
    }
    public ImageItemsNested addNewImageItemLike( Image item){
    return new ImageItemsNestedImpl(item);
    }
    public T addToPersistentVolumeClaimItems( PersistentVolumeClaim ...items){
    for (PersistentVolumeClaim item : items) {PersistentVolumeClaimBuilder builder = new PersistentVolumeClaimBuilder(item);_visitables.add(builder);this.persistentVolumeClaimItems.add(builder);} return (T)this;
    }
    public T removeFromPersistentVolumeClaimItems( PersistentVolumeClaim ...items){
    for (PersistentVolumeClaim item : items) {PersistentVolumeClaimBuilder builder = new PersistentVolumeClaimBuilder(item);_visitables.remove(builder);this.persistentVolumeClaimItems.remove(builder);} return (T)this;
    }
    public PersistentVolumeClaimItemsNested addNewPersistentVolumeClaimItem(){
    return new PersistentVolumeClaimItemsNestedImpl();
    }
    public PersistentVolumeClaimItemsNested addNewPersistentVolumeClaimItemLike( PersistentVolumeClaim item){
    return new PersistentVolumeClaimItemsNestedImpl(item);
    }
    public T addToEndpointsItems( Endpoints ...items){
    for (Endpoints item : items) {EndpointsBuilder builder = new EndpointsBuilder(item);_visitables.add(builder);this.endpointsItems.add(builder);} return (T)this;
    }
    public T removeFromEndpointsItems( Endpoints ...items){
    for (Endpoints item : items) {EndpointsBuilder builder = new EndpointsBuilder(item);_visitables.remove(builder);this.endpointsItems.remove(builder);} return (T)this;
    }
    public EndpointsItemsNested addNewEndpointsItem(){
    return new EndpointsItemsNestedImpl();
    }
    public EndpointsItemsNested addNewEndpointsItemLike( Endpoints item){
    return new EndpointsItemsNestedImpl(item);
    }
    public T addToEventItems( Event ...items){
    for (Event item : items) {EventBuilder builder = new EventBuilder(item);_visitables.add(builder);this.eventItems.add(builder);} return (T)this;
    }
    public T removeFromEventItems( Event ...items){
    for (Event item : items) {EventBuilder builder = new EventBuilder(item);_visitables.remove(builder);this.eventItems.remove(builder);} return (T)this;
    }
    public EventItemsNested addNewEventItem(){
    return new EventItemsNestedImpl();
    }
    public EventItemsNested addNewEventItemLike( Event item){
    return new EventItemsNestedImpl(item);
    }
    public T addToComponentStatusItems( ComponentStatus ...items){
    for (ComponentStatus item : items) {ComponentStatusBuilder builder = new ComponentStatusBuilder(item);_visitables.add(builder);this.componentStatusItems.add(builder);} return (T)this;
    }
    public T removeFromComponentStatusItems( ComponentStatus ...items){
    for (ComponentStatus item : items) {ComponentStatusBuilder builder = new ComponentStatusBuilder(item);_visitables.remove(builder);this.componentStatusItems.remove(builder);} return (T)this;
    }
    public ComponentStatusItemsNested addNewComponentStatusItem(){
    return new ComponentStatusItemsNestedImpl();
    }
    public ComponentStatusItemsNested addNewComponentStatusItemLike( ComponentStatus item){
    return new ComponentStatusItemsNestedImpl(item);
    }
    public T addToOAuthClientAuthorizationItems( OAuthClientAuthorization ...items){
    for (OAuthClientAuthorization item : items) {OAuthClientAuthorizationBuilder builder = new OAuthClientAuthorizationBuilder(item);_visitables.add(builder);this.oAuthClientAuthorizationItems.add(builder);} return (T)this;
    }
    public T removeFromOAuthClientAuthorizationItems( OAuthClientAuthorization ...items){
    for (OAuthClientAuthorization item : items) {OAuthClientAuthorizationBuilder builder = new OAuthClientAuthorizationBuilder(item);_visitables.remove(builder);this.oAuthClientAuthorizationItems.remove(builder);} return (T)this;
    }
    public OAuthClientAuthorizationItemsNested addNewOAuthClientAuthorizationItem(){
    return new OAuthClientAuthorizationItemsNestedImpl();
    }
    public OAuthClientAuthorizationItemsNested addNewOAuthClientAuthorizationItemLike( OAuthClientAuthorization item){
    return new OAuthClientAuthorizationItemsNestedImpl(item);
    }
    public T addToIngressItems( Ingress ...items){
    for (Ingress item : items) {IngressBuilder builder = new IngressBuilder(item);_visitables.add(builder);this.ingressItems.add(builder);} return (T)this;
    }
    public T removeFromIngressItems( Ingress ...items){
    for (Ingress item : items) {IngressBuilder builder = new IngressBuilder(item);_visitables.remove(builder);this.ingressItems.remove(builder);} return (T)this;
    }
    public IngressItemsNested addNewIngressItem(){
    return new IngressItemsNestedImpl();
    }
    public IngressItemsNested addNewIngressItemLike( Ingress item){
    return new IngressItemsNestedImpl(item);
    }
    public T addToGroupItems( Group ...items){
    for (Group item : items) {GroupBuilder builder = new GroupBuilder(item);_visitables.add(builder);this.groupItems.add(builder);} return (T)this;
    }
    public T removeFromGroupItems( Group ...items){
    for (Group item : items) {GroupBuilder builder = new GroupBuilder(item);_visitables.remove(builder);this.groupItems.remove(builder);} return (T)this;
    }
    public GroupItemsNested addNewGroupItem(){
    return new GroupItemsNestedImpl();
    }
    public GroupItemsNested addNewGroupItemLike( Group item){
    return new GroupItemsNestedImpl(item);
    }
    public T addToConfigMapItems( ConfigMap ...items){
    for (ConfigMap item : items) {ConfigMapBuilder builder = new ConfigMapBuilder(item);_visitables.add(builder);this.configMapItems.add(builder);} return (T)this;
    }
    public T removeFromConfigMapItems( ConfigMap ...items){
    for (ConfigMap item : items) {ConfigMapBuilder builder = new ConfigMapBuilder(item);_visitables.remove(builder);this.configMapItems.remove(builder);} return (T)this;
    }
    public ConfigMapItemsNested addNewConfigMapItem(){
    return new ConfigMapItemsNestedImpl();
    }
    public ConfigMapItemsNested addNewConfigMapItemLike( ConfigMap item){
    return new ConfigMapItemsNestedImpl(item);
    }
    public T addToSecretItems( Secret ...items){
    for (Secret item : items) {SecretBuilder builder = new SecretBuilder(item);_visitables.add(builder);this.secretItems.add(builder);} return (T)this;
    }
    public T removeFromSecretItems( Secret ...items){
    for (Secret item : items) {SecretBuilder builder = new SecretBuilder(item);_visitables.remove(builder);this.secretItems.remove(builder);} return (T)this;
    }
    public SecretItemsNested addNewSecretItem(){
    return new SecretItemsNestedImpl();
    }
    public SecretItemsNested addNewSecretItemLike( Secret item){
    return new SecretItemsNestedImpl(item);
    }
    public T addToServiceAccountItems( ServiceAccount ...items){
    for (ServiceAccount item : items) {ServiceAccountBuilder builder = new ServiceAccountBuilder(item);_visitables.add(builder);this.serviceAccountItems.add(builder);} return (T)this;
    }
    public T removeFromServiceAccountItems( ServiceAccount ...items){
    for (ServiceAccount item : items) {ServiceAccountBuilder builder = new ServiceAccountBuilder(item);_visitables.remove(builder);this.serviceAccountItems.remove(builder);} return (T)this;
    }
    public ServiceAccountItemsNested addNewServiceAccountItem(){
    return new ServiceAccountItemsNestedImpl();
    }
    public ServiceAccountItemsNested addNewServiceAccountItemLike( ServiceAccount item){
    return new ServiceAccountItemsNestedImpl(item);
    }
    public T addToHorizontalPodAutoscalerItems( HorizontalPodAutoscaler ...items){
    for (HorizontalPodAutoscaler item : items) {HorizontalPodAutoscalerBuilder builder = new HorizontalPodAutoscalerBuilder(item);_visitables.add(builder);this.horizontalPodAutoscalerItems.add(builder);} return (T)this;
    }
    public T removeFromHorizontalPodAutoscalerItems( HorizontalPodAutoscaler ...items){
    for (HorizontalPodAutoscaler item : items) {HorizontalPodAutoscalerBuilder builder = new HorizontalPodAutoscalerBuilder(item);_visitables.remove(builder);this.horizontalPodAutoscalerItems.remove(builder);} return (T)this;
    }
    public HorizontalPodAutoscalerItemsNested addNewHorizontalPodAutoscalerItem(){
    return new HorizontalPodAutoscalerItemsNestedImpl();
    }
    public HorizontalPodAutoscalerItemsNested addNewHorizontalPodAutoscalerItemLike( HorizontalPodAutoscaler item){
    return new HorizontalPodAutoscalerItemsNestedImpl(item);
    }
    public T addToJobItems( Job ...items){
    for (Job item : items) {JobBuilder builder = new JobBuilder(item);_visitables.add(builder);this.jobItems.add(builder);} return (T)this;
    }
    public T removeFromJobItems( Job ...items){
    for (Job item : items) {JobBuilder builder = new JobBuilder(item);_visitables.remove(builder);this.jobItems.remove(builder);} return (T)this;
    }
    public JobItemsNested addNewJobItem(){
    return new JobItemsNestedImpl();
    }
    public JobItemsNested addNewJobItemLike( Job item){
    return new JobItemsNestedImpl(item);
    }
    public T addToOAuthAccessTokenItems( OAuthAccessToken ...items){
    for (OAuthAccessToken item : items) {OAuthAccessTokenBuilder builder = new OAuthAccessTokenBuilder(item);_visitables.add(builder);this.oAuthAccessTokenItems.add(builder);} return (T)this;
    }
    public T removeFromOAuthAccessTokenItems( OAuthAccessToken ...items){
    for (OAuthAccessToken item : items) {OAuthAccessTokenBuilder builder = new OAuthAccessTokenBuilder(item);_visitables.remove(builder);this.oAuthAccessTokenItems.remove(builder);} return (T)this;
    }
    public OAuthAccessTokenItemsNested addNewOAuthAccessTokenItem(){
    return new OAuthAccessTokenItemsNestedImpl();
    }
    public OAuthAccessTokenItemsNested addNewOAuthAccessTokenItemLike( OAuthAccessToken item){
    return new OAuthAccessTokenItemsNestedImpl(item);
    }
    public T addToPersistentVolumeItems( PersistentVolume ...items){
    for (PersistentVolume item : items) {PersistentVolumeBuilder builder = new PersistentVolumeBuilder(item);_visitables.add(builder);this.persistentVolumeItems.add(builder);} return (T)this;
    }
    public T removeFromPersistentVolumeItems( PersistentVolume ...items){
    for (PersistentVolume item : items) {PersistentVolumeBuilder builder = new PersistentVolumeBuilder(item);_visitables.remove(builder);this.persistentVolumeItems.remove(builder);} return (T)this;
    }
    public PersistentVolumeItemsNested addNewPersistentVolumeItem(){
    return new PersistentVolumeItemsNestedImpl();
    }
    public PersistentVolumeItemsNested addNewPersistentVolumeItemLike( PersistentVolume item){
    return new PersistentVolumeItemsNestedImpl(item);
    }
    public T addToTemplateItems( Template ...items){
    for (Template item : items) {TemplateBuilder builder = new TemplateBuilder(item);_visitables.add(builder);this.templateItems.add(builder);} return (T)this;
    }
    public T removeFromTemplateItems( Template ...items){
    for (Template item : items) {TemplateBuilder builder = new TemplateBuilder(item);_visitables.remove(builder);this.templateItems.remove(builder);} return (T)this;
    }
    public TemplateItemsNested addNewTemplateItem(){
    return new TemplateItemsNestedImpl();
    }
    public TemplateItemsNested addNewTemplateItemLike( Template item){
    return new TemplateItemsNestedImpl(item);
    }
    public T addToImageStreamItems( ImageStream ...items){
    for (ImageStream item : items) {ImageStreamBuilder builder = new ImageStreamBuilder(item);_visitables.add(builder);this.imageStreamItems.add(builder);} return (T)this;
    }
    public T removeFromImageStreamItems( ImageStream ...items){
    for (ImageStream item : items) {ImageStreamBuilder builder = new ImageStreamBuilder(item);_visitables.remove(builder);this.imageStreamItems.remove(builder);} return (T)this;
    }
    public ImageStreamItemsNested addNewImageStreamItem(){
    return new ImageStreamItemsNestedImpl();
    }
    public ImageStreamItemsNested addNewImageStreamItemLike( ImageStream item){
    return new ImageStreamItemsNestedImpl(item);
    }
    public T addToBindingItems( Binding ...items){
    for (Binding item : items) {BindingBuilder builder = new BindingBuilder(item);_visitables.add(builder);this.bindingItems.add(builder);} return (T)this;
    }
    public T removeFromBindingItems( Binding ...items){
    for (Binding item : items) {BindingBuilder builder = new BindingBuilder(item);_visitables.remove(builder);this.bindingItems.remove(builder);} return (T)this;
    }
    public BindingItemsNested addNewBindingItem(){
    return new BindingItemsNestedImpl();
    }
    public BindingItemsNested addNewBindingItemLike( Binding item){
    return new BindingItemsNestedImpl(item);
    }
    public T addToServiceItems( Service ...items){
    for (Service item : items) {ServiceBuilder builder = new ServiceBuilder(item);_visitables.add(builder);this.serviceItems.add(builder);} return (T)this;
    }
    public T removeFromServiceItems( Service ...items){
    for (Service item : items) {ServiceBuilder builder = new ServiceBuilder(item);_visitables.remove(builder);this.serviceItems.remove(builder);} return (T)this;
    }
    public ServiceItemsNested addNewServiceItem(){
    return new ServiceItemsNestedImpl();
    }
    public ServiceItemsNested addNewServiceItemLike( Service item){
    return new ServiceItemsNestedImpl(item);
    }
    public T addToClusterRoleBindingItems( ClusterRoleBinding ...items){
    for (ClusterRoleBinding item : items) {ClusterRoleBindingBuilder builder = new ClusterRoleBindingBuilder(item);_visitables.add(builder);this.clusterRoleBindingItems.add(builder);} return (T)this;
    }
    public T removeFromClusterRoleBindingItems( ClusterRoleBinding ...items){
    for (ClusterRoleBinding item : items) {ClusterRoleBindingBuilder builder = new ClusterRoleBindingBuilder(item);_visitables.remove(builder);this.clusterRoleBindingItems.remove(builder);} return (T)this;
    }
    public ClusterRoleBindingItemsNested addNewClusterRoleBindingItem(){
    return new ClusterRoleBindingItemsNestedImpl();
    }
    public ClusterRoleBindingItemsNested addNewClusterRoleBindingItemLike( ClusterRoleBinding item){
    return new ClusterRoleBindingItemsNestedImpl(item);
    }
    public T addToNamespaceItems( Namespace ...items){
    for (Namespace item : items) {NamespaceBuilder builder = new NamespaceBuilder(item);_visitables.add(builder);this.namespaceItems.add(builder);} return (T)this;
    }
    public T removeFromNamespaceItems( Namespace ...items){
    for (Namespace item : items) {NamespaceBuilder builder = new NamespaceBuilder(item);_visitables.remove(builder);this.namespaceItems.remove(builder);} return (T)this;
    }
    public NamespaceItemsNested addNewNamespaceItem(){
    return new NamespaceItemsNestedImpl();
    }
    public NamespaceItemsNested addNewNamespaceItemLike( Namespace item){
    return new NamespaceItemsNestedImpl(item);
    }
    public T addToUserItems( User ...items){
    for (User item : items) {UserBuilder builder = new UserBuilder(item);_visitables.add(builder);this.userItems.add(builder);} return (T)this;
    }
    public T removeFromUserItems( User ...items){
    for (User item : items) {UserBuilder builder = new UserBuilder(item);_visitables.remove(builder);this.userItems.remove(builder);} return (T)this;
    }
    public UserItemsNested addNewUserItem(){
    return new UserItemsNestedImpl();
    }
    public UserItemsNested addNewUserItemLike( User item){
    return new UserItemsNestedImpl(item);
    }
    public T addToReplicationControllerItems( ReplicationController ...items){
    for (ReplicationController item : items) {ReplicationControllerBuilder builder = new ReplicationControllerBuilder(item);_visitables.add(builder);this.replicationControllerItems.add(builder);} return (T)this;
    }
    public T removeFromReplicationControllerItems( ReplicationController ...items){
    for (ReplicationController item : items) {ReplicationControllerBuilder builder = new ReplicationControllerBuilder(item);_visitables.remove(builder);this.replicationControllerItems.remove(builder);} return (T)this;
    }
    public ReplicationControllerItemsNested addNewReplicationControllerItem(){
    return new ReplicationControllerItemsNestedImpl();
    }
    public ReplicationControllerItemsNested addNewReplicationControllerItemLike( ReplicationController item){
    return new ReplicationControllerItemsNestedImpl(item);
    }
    public T addToOAuthAuthorizeTokenItems( OAuthAuthorizeToken ...items){
    for (OAuthAuthorizeToken item : items) {OAuthAuthorizeTokenBuilder builder = new OAuthAuthorizeTokenBuilder(item);_visitables.add(builder);this.oAuthAuthorizeTokenItems.add(builder);} return (T)this;
    }
    public T removeFromOAuthAuthorizeTokenItems( OAuthAuthorizeToken ...items){
    for (OAuthAuthorizeToken item : items) {OAuthAuthorizeTokenBuilder builder = new OAuthAuthorizeTokenBuilder(item);_visitables.remove(builder);this.oAuthAuthorizeTokenItems.remove(builder);} return (T)this;
    }
    public OAuthAuthorizeTokenItemsNested addNewOAuthAuthorizeTokenItem(){
    return new OAuthAuthorizeTokenItemsNestedImpl();
    }
    public OAuthAuthorizeTokenItemsNested addNewOAuthAuthorizeTokenItemLike( OAuthAuthorizeToken item){
    return new OAuthAuthorizeTokenItemsNestedImpl(item);
    }
    public T addToSecurityContextConstraintsItems( SecurityContextConstraints ...items){
    for (SecurityContextConstraints item : items) {SecurityContextConstraintsBuilder builder = new SecurityContextConstraintsBuilder(item);_visitables.add(builder);this.securityContextConstraintsItems.add(builder);} return (T)this;
    }
    public T removeFromSecurityContextConstraintsItems( SecurityContextConstraints ...items){
    for (SecurityContextConstraints item : items) {SecurityContextConstraintsBuilder builder = new SecurityContextConstraintsBuilder(item);_visitables.remove(builder);this.securityContextConstraintsItems.remove(builder);} return (T)this;
    }
    public SecurityContextConstraintsItemsNested addNewSecurityContextConstraintsItem(){
    return new SecurityContextConstraintsItemsNestedImpl();
    }
    public SecurityContextConstraintsItemsNested addNewSecurityContextConstraintsItemLike( SecurityContextConstraints item){
    return new SecurityContextConstraintsItemsNestedImpl(item);
    }
    public T addToPodTemplateItems( PodTemplate ...items){
    for (PodTemplate item : items) {PodTemplateBuilder builder = new PodTemplateBuilder(item);_visitables.add(builder);this.podTemplateItems.add(builder);} return (T)this;
    }
    public T removeFromPodTemplateItems( PodTemplate ...items){
    for (PodTemplate item : items) {PodTemplateBuilder builder = new PodTemplateBuilder(item);_visitables.remove(builder);this.podTemplateItems.remove(builder);} return (T)this;
    }
    public PodTemplateItemsNested addNewPodTemplateItem(){
    return new PodTemplateItemsNestedImpl();
    }
    public PodTemplateItemsNested addNewPodTemplateItemLike( PodTemplate item){
    return new PodTemplateItemsNestedImpl(item);
    }
    public T addToRouteItems( Route ...items){
    for (Route item : items) {RouteBuilder builder = new RouteBuilder(item);_visitables.add(builder);this.routeItems.add(builder);} return (T)this;
    }
    public T removeFromRouteItems( Route ...items){
    for (Route item : items) {RouteBuilder builder = new RouteBuilder(item);_visitables.remove(builder);this.routeItems.remove(builder);} return (T)this;
    }
    public RouteItemsNested addNewRouteItem(){
    return new RouteItemsNestedImpl();
    }
    public RouteItemsNested addNewRouteItemLike( Route item){
    return new RouteItemsNestedImpl(item);
    }
    public T addToOAuthClientItems( OAuthClient ...items){
    for (OAuthClient item : items) {OAuthClientBuilder builder = new OAuthClientBuilder(item);_visitables.add(builder);this.oAuthClientItems.add(builder);} return (T)this;
    }
    public T removeFromOAuthClientItems( OAuthClient ...items){
    for (OAuthClient item : items) {OAuthClientBuilder builder = new OAuthClientBuilder(item);_visitables.remove(builder);this.oAuthClientItems.remove(builder);} return (T)this;
    }
    public OAuthClientItemsNested addNewOAuthClientItem(){
    return new OAuthClientItemsNestedImpl();
    }
    public OAuthClientItemsNested addNewOAuthClientItemLike( OAuthClient item){
    return new OAuthClientItemsNestedImpl(item);
    }
    public T addToRoleItems( Role ...items){
    for (Role item : items) {RoleBuilder builder = new RoleBuilder(item);_visitables.add(builder);this.roleItems.add(builder);} return (T)this;
    }
    public T removeFromRoleItems( Role ...items){
    for (Role item : items) {RoleBuilder builder = new RoleBuilder(item);_visitables.remove(builder);this.roleItems.remove(builder);} return (T)this;
    }
    public RoleItemsNested addNewRoleItem(){
    return new RoleItemsNestedImpl();
    }
    public RoleItemsNested addNewRoleItemLike( Role item){
    return new RoleItemsNestedImpl(item);
    }
    public T addToDeploymentItems( Deployment ...items){
    for (Deployment item : items) {DeploymentBuilder builder = new DeploymentBuilder(item);_visitables.add(builder);this.deploymentItems.add(builder);} return (T)this;
    }
    public T removeFromDeploymentItems( Deployment ...items){
    for (Deployment item : items) {DeploymentBuilder builder = new DeploymentBuilder(item);_visitables.remove(builder);this.deploymentItems.remove(builder);} return (T)this;
    }
    public DeploymentItemsNested addNewDeploymentItem(){
    return new DeploymentItemsNestedImpl();
    }
    public DeploymentItemsNested addNewDeploymentItemLike( Deployment item){
    return new DeploymentItemsNestedImpl(item);
    }
    public T addToProjectItems( Project ...items){
    for (Project item : items) {ProjectBuilder builder = new ProjectBuilder(item);_visitables.add(builder);this.projectItems.add(builder);} return (T)this;
    }
    public T removeFromProjectItems( Project ...items){
    for (Project item : items) {ProjectBuilder builder = new ProjectBuilder(item);_visitables.remove(builder);this.projectItems.remove(builder);} return (T)this;
    }
    public ProjectItemsNested addNewProjectItem(){
    return new ProjectItemsNestedImpl();
    }
    public ProjectItemsNested addNewProjectItemLike( Project item){
    return new ProjectItemsNestedImpl(item);
    }
    public T addToClusterPolicyItems( ClusterPolicy ...items){
    for (ClusterPolicy item : items) {ClusterPolicyBuilder builder = new ClusterPolicyBuilder(item);_visitables.add(builder);this.clusterPolicyItems.add(builder);} return (T)this;
    }
    public T removeFromClusterPolicyItems( ClusterPolicy ...items){
    for (ClusterPolicy item : items) {ClusterPolicyBuilder builder = new ClusterPolicyBuilder(item);_visitables.remove(builder);this.clusterPolicyItems.remove(builder);} return (T)this;
    }
    public ClusterPolicyItemsNested addNewClusterPolicyItem(){
    return new ClusterPolicyItemsNestedImpl();
    }
    public ClusterPolicyItemsNested addNewClusterPolicyItemLike( ClusterPolicy item){
    return new ClusterPolicyItemsNestedImpl(item);
    }
    public T addToPodItems( Pod ...items){
    for (Pod item : items) {PodBuilder builder = new PodBuilder(item);_visitables.add(builder);this.podItems.add(builder);} return (T)this;
    }
    public T removeFromPodItems( Pod ...items){
    for (Pod item : items) {PodBuilder builder = new PodBuilder(item);_visitables.remove(builder);this.podItems.remove(builder);} return (T)this;
    }
    public PodItemsNested addNewPodItem(){
    return new PodItemsNestedImpl();
    }
    public PodItemsNested addNewPodItemLike( Pod item){
    return new PodItemsNestedImpl(item);
    }
    public T addToThirdPartyResourceItems( ThirdPartyResource ...items){
    for (ThirdPartyResource item : items) {ThirdPartyResourceBuilder builder = new ThirdPartyResourceBuilder(item);_visitables.add(builder);this.thirdPartyResourceItems.add(builder);} return (T)this;
    }
    public T removeFromThirdPartyResourceItems( ThirdPartyResource ...items){
    for (ThirdPartyResource item : items) {ThirdPartyResourceBuilder builder = new ThirdPartyResourceBuilder(item);_visitables.remove(builder);this.thirdPartyResourceItems.remove(builder);} return (T)this;
    }
    public ThirdPartyResourceItemsNested addNewThirdPartyResourceItem(){
    return new ThirdPartyResourceItemsNestedImpl();
    }
    public ThirdPartyResourceItemsNested addNewThirdPartyResourceItemLike( ThirdPartyResource item){
    return new ThirdPartyResourceItemsNestedImpl(item);
    }
    public T addToBuildItems( Build ...items){
    for (Build item : items) {BuildBuilder builder = new BuildBuilder(item);_visitables.add(builder);this.buildItems.add(builder);} return (T)this;
    }
    public T removeFromBuildItems( Build ...items){
    for (Build item : items) {BuildBuilder builder = new BuildBuilder(item);_visitables.remove(builder);this.buildItems.remove(builder);} return (T)this;
    }
    public BuildItemsNested addNewBuildItem(){
    return new BuildItemsNestedImpl();
    }
    public BuildItemsNested addNewBuildItemLike( Build item){
    return new BuildItemsNestedImpl(item);
    }
    public T addToPolicyBindingItems( PolicyBinding ...items){
    for (PolicyBinding item : items) {PolicyBindingBuilder builder = new PolicyBindingBuilder(item);_visitables.add(builder);this.policyBindingItems.add(builder);} return (T)this;
    }
    public T removeFromPolicyBindingItems( PolicyBinding ...items){
    for (PolicyBinding item : items) {PolicyBindingBuilder builder = new PolicyBindingBuilder(item);_visitables.remove(builder);this.policyBindingItems.remove(builder);} return (T)this;
    }
    public PolicyBindingItemsNested addNewPolicyBindingItem(){
    return new PolicyBindingItemsNestedImpl();
    }
    public PolicyBindingItemsNested addNewPolicyBindingItemLike( PolicyBinding item){
    return new PolicyBindingItemsNestedImpl(item);
    }
    public T addToClusterPolicyBindingItems( ClusterPolicyBinding ...items){
    for (ClusterPolicyBinding item : items) {ClusterPolicyBindingBuilder builder = new ClusterPolicyBindingBuilder(item);_visitables.add(builder);this.clusterPolicyBindingItems.add(builder);} return (T)this;
    }
    public T removeFromClusterPolicyBindingItems( ClusterPolicyBinding ...items){
    for (ClusterPolicyBinding item : items) {ClusterPolicyBindingBuilder builder = new ClusterPolicyBindingBuilder(item);_visitables.remove(builder);this.clusterPolicyBindingItems.remove(builder);} return (T)this;
    }
    public ClusterPolicyBindingItemsNested addNewClusterPolicyBindingItem(){
    return new ClusterPolicyBindingItemsNestedImpl();
    }
    public ClusterPolicyBindingItemsNested addNewClusterPolicyBindingItemLike( ClusterPolicyBinding item){
    return new ClusterPolicyBindingItemsNestedImpl(item);
    }
    public T addToNodeItems( Node ...items){
    for (Node item : items) {NodeBuilder builder = new NodeBuilder(item);_visitables.add(builder);this.nodeItems.add(builder);} return (T)this;
    }
    public T removeFromNodeItems( Node ...items){
    for (Node item : items) {NodeBuilder builder = new NodeBuilder(item);_visitables.remove(builder);this.nodeItems.remove(builder);} return (T)this;
    }
    public NodeItemsNested addNewNodeItem(){
    return new NodeItemsNestedImpl();
    }
    public NodeItemsNested addNewNodeItemLike( Node item){
    return new NodeItemsNestedImpl(item);
    }
    public T addToReplicaSetItems( ReplicaSet ...items){
    for (ReplicaSet item : items) {ReplicaSetBuilder builder = new ReplicaSetBuilder(item);_visitables.add(builder);this.replicaSetItems.add(builder);} return (T)this;
    }
    public T removeFromReplicaSetItems( ReplicaSet ...items){
    for (ReplicaSet item : items) {ReplicaSetBuilder builder = new ReplicaSetBuilder(item);_visitables.remove(builder);this.replicaSetItems.remove(builder);} return (T)this;
    }
    public ReplicaSetItemsNested addNewReplicaSetItem(){
    return new ReplicaSetItemsNestedImpl();
    }
    public ReplicaSetItemsNested addNewReplicaSetItemLike( ReplicaSet item){
    return new ReplicaSetItemsNestedImpl(item);
    }
    public T addToPolicyItems( Policy ...items){
    for (Policy item : items) {PolicyBuilder builder = new PolicyBuilder(item);_visitables.add(builder);this.policyItems.add(builder);} return (T)this;
    }
    public T removeFromPolicyItems( Policy ...items){
    for (Policy item : items) {PolicyBuilder builder = new PolicyBuilder(item);_visitables.remove(builder);this.policyItems.remove(builder);} return (T)this;
    }
    public PolicyItemsNested addNewPolicyItem(){
    return new PolicyItemsNestedImpl();
    }
    public PolicyItemsNested addNewPolicyItemLike( Policy item){
    return new PolicyItemsNestedImpl(item);
    }
    public T addToProjectRequestItems( ProjectRequest ...items){
    for (ProjectRequest item : items) {ProjectRequestBuilder builder = new ProjectRequestBuilder(item);_visitables.add(builder);this.projectRequestItems.add(builder);} return (T)this;
    }
    public T removeFromProjectRequestItems( ProjectRequest ...items){
    for (ProjectRequest item : items) {ProjectRequestBuilder builder = new ProjectRequestBuilder(item);_visitables.remove(builder);this.projectRequestItems.remove(builder);} return (T)this;
    }
    public ProjectRequestItemsNested addNewProjectRequestItem(){
    return new ProjectRequestItemsNestedImpl();
    }
    public ProjectRequestItemsNested addNewProjectRequestItemLike( ProjectRequest item){
    return new ProjectRequestItemsNestedImpl(item);
    }
    public T addToResourceQuotaItems( ResourceQuota ...items){
    for (ResourceQuota item : items) {ResourceQuotaBuilder builder = new ResourceQuotaBuilder(item);_visitables.add(builder);this.resourceQuotaItems.add(builder);} return (T)this;
    }
    public T removeFromResourceQuotaItems( ResourceQuota ...items){
    for (ResourceQuota item : items) {ResourceQuotaBuilder builder = new ResourceQuotaBuilder(item);_visitables.remove(builder);this.resourceQuotaItems.remove(builder);} return (T)this;
    }
    public ResourceQuotaItemsNested addNewResourceQuotaItem(){
    return new ResourceQuotaItemsNestedImpl();
    }
    public ResourceQuotaItemsNested addNewResourceQuotaItemLike( ResourceQuota item){
    return new ResourceQuotaItemsNestedImpl(item);
    }
    public T addToBuildRequestItems( BuildRequest ...items){
    for (BuildRequest item : items) {BuildRequestBuilder builder = new BuildRequestBuilder(item);_visitables.add(builder);this.buildRequestItems.add(builder);} return (T)this;
    }
    public T removeFromBuildRequestItems( BuildRequest ...items){
    for (BuildRequest item : items) {BuildRequestBuilder builder = new BuildRequestBuilder(item);_visitables.remove(builder);this.buildRequestItems.remove(builder);} return (T)this;
    }
    public BuildRequestItemsNested addNewBuildRequestItem(){
    return new BuildRequestItemsNestedImpl();
    }
    public BuildRequestItemsNested addNewBuildRequestItemLike( BuildRequest item){
    return new BuildRequestItemsNestedImpl(item);
    }
    public String getKind(){
    return this.kind;
    }
    public T withKind( String kind){
    this.kind=kind; return (T) this;
    }
    public ListMeta getMetadata(){
    return this.metadata!=null?this.metadata.build():null;
    }
    public T withMetadata( ListMeta metadata){
    if (metadata!=null){ this.metadata= new ListMetaBuilder(metadata); _visitables.add(this.metadata);} return (T) this;
    }
    public MetadataNested withNewMetadata(){
    return new MetadataNestedImpl();
    }
    public MetadataNested withNewMetadataLike( ListMeta item){
    return new MetadataNestedImpl(item);
    }
    public MetadataNested editMetadata(){
    return withNewMetadataLike(getMetadata());
    }
    public T withNewMetadata( String resourceVersion,  String selfLink){
    return withMetadata(new ListMeta(resourceVersion, selfLink));
    }
    public T addToAdditionalProperties( String key,  Object value){
    if(key != null && value != null) {this.additionalProperties.put(key, value);} return (T)this;
    }
    public T addToAdditionalProperties( Map map){
    if(map != null) { this.additionalProperties.putAll(map);} return (T)this;
    }
    public T removeFromAdditionalProperties( String key){
    if(key != null) {this.additionalProperties.remove(key);} return (T)this;
    }
    public T removeFromAdditionalProperties( Map map){
    if(map != null) { for(Object key : map.keySet()) {this.additionalProperties.remove(key);}} return (T)this;
    }
    public Map getAdditionalProperties(){
    return this.additionalProperties;
    }
    public T withAdditionalProperties( Map additionalProperties){
    this.additionalProperties.clear();if (additionalProperties != null) {this.additionalProperties.putAll(additionalProperties);} return (T) this;
    }
    public boolean equals( Object o){
    
if (this == o) return true;
if (o == null || getClass() != o.getClass()) return false;
BaseKubernetesListFluentImpl that = (BaseKubernetesListFluentImpl) o;
if (apiVersion != null ? !apiVersion.equals(that.apiVersion) :that.apiVersion != null) return false;
if (items != null ? !items.equals(that.items) :that.items != null) return false;
if (scaleItems != null ? !scaleItems.equals(that.scaleItems) :that.scaleItems != null) return false;
if (buildConfigItems != null ? !buildConfigItems.equals(that.buildConfigItems) :that.buildConfigItems != null) return false;
if (roleBindingItems != null ? !roleBindingItems.equals(that.roleBindingItems) :that.roleBindingItems != null) return false;
if (limitRangeItems != null ? !limitRangeItems.equals(that.limitRangeItems) :that.limitRangeItems != null) return false;
if (identityItems != null ? !identityItems.equals(that.identityItems) :that.identityItems != null) return false;
if (deploymentConfigItems != null ? !deploymentConfigItems.equals(that.deploymentConfigItems) :that.deploymentConfigItems != null) return false;
if (daemonSetItems != null ? !daemonSetItems.equals(that.daemonSetItems) :that.daemonSetItems != null) return false;
if (clusterRoleItems != null ? !clusterRoleItems.equals(that.clusterRoleItems) :that.clusterRoleItems != null) return false;
if (imageItems != null ? !imageItems.equals(that.imageItems) :that.imageItems != null) return false;
if (persistentVolumeClaimItems != null ? !persistentVolumeClaimItems.equals(that.persistentVolumeClaimItems) :that.persistentVolumeClaimItems != null) return false;
if (endpointsItems != null ? !endpointsItems.equals(that.endpointsItems) :that.endpointsItems != null) return false;
if (eventItems != null ? !eventItems.equals(that.eventItems) :that.eventItems != null) return false;
if (componentStatusItems != null ? !componentStatusItems.equals(that.componentStatusItems) :that.componentStatusItems != null) return false;
if (oAuthClientAuthorizationItems != null ? !oAuthClientAuthorizationItems.equals(that.oAuthClientAuthorizationItems) :that.oAuthClientAuthorizationItems != null) return false;
if (ingressItems != null ? !ingressItems.equals(that.ingressItems) :that.ingressItems != null) return false;
if (groupItems != null ? !groupItems.equals(that.groupItems) :that.groupItems != null) return false;
if (configMapItems != null ? !configMapItems.equals(that.configMapItems) :that.configMapItems != null) return false;
if (secretItems != null ? !secretItems.equals(that.secretItems) :that.secretItems != null) return false;
if (serviceAccountItems != null ? !serviceAccountItems.equals(that.serviceAccountItems) :that.serviceAccountItems != null) return false;
if (horizontalPodAutoscalerItems != null ? !horizontalPodAutoscalerItems.equals(that.horizontalPodAutoscalerItems) :that.horizontalPodAutoscalerItems != null) return false;
if (jobItems != null ? !jobItems.equals(that.jobItems) :that.jobItems != null) return false;
if (oAuthAccessTokenItems != null ? !oAuthAccessTokenItems.equals(that.oAuthAccessTokenItems) :that.oAuthAccessTokenItems != null) return false;
if (persistentVolumeItems != null ? !persistentVolumeItems.equals(that.persistentVolumeItems) :that.persistentVolumeItems != null) return false;
if (templateItems != null ? !templateItems.equals(that.templateItems) :that.templateItems != null) return false;
if (imageStreamItems != null ? !imageStreamItems.equals(that.imageStreamItems) :that.imageStreamItems != null) return false;
if (bindingItems != null ? !bindingItems.equals(that.bindingItems) :that.bindingItems != null) return false;
if (serviceItems != null ? !serviceItems.equals(that.serviceItems) :that.serviceItems != null) return false;
if (clusterRoleBindingItems != null ? !clusterRoleBindingItems.equals(that.clusterRoleBindingItems) :that.clusterRoleBindingItems != null) return false;
if (namespaceItems != null ? !namespaceItems.equals(that.namespaceItems) :that.namespaceItems != null) return false;
if (userItems != null ? !userItems.equals(that.userItems) :that.userItems != null) return false;
if (replicationControllerItems != null ? !replicationControllerItems.equals(that.replicationControllerItems) :that.replicationControllerItems != null) return false;
if (oAuthAuthorizeTokenItems != null ? !oAuthAuthorizeTokenItems.equals(that.oAuthAuthorizeTokenItems) :that.oAuthAuthorizeTokenItems != null) return false;
if (securityContextConstraintsItems != null ? !securityContextConstraintsItems.equals(that.securityContextConstraintsItems) :that.securityContextConstraintsItems != null) return false;
if (podTemplateItems != null ? !podTemplateItems.equals(that.podTemplateItems) :that.podTemplateItems != null) return false;
if (routeItems != null ? !routeItems.equals(that.routeItems) :that.routeItems != null) return false;
if (oAuthClientItems != null ? !oAuthClientItems.equals(that.oAuthClientItems) :that.oAuthClientItems != null) return false;
if (roleItems != null ? !roleItems.equals(that.roleItems) :that.roleItems != null) return false;
if (deploymentItems != null ? !deploymentItems.equals(that.deploymentItems) :that.deploymentItems != null) return false;
if (projectItems != null ? !projectItems.equals(that.projectItems) :that.projectItems != null) return false;
if (clusterPolicyItems != null ? !clusterPolicyItems.equals(that.clusterPolicyItems) :that.clusterPolicyItems != null) return false;
if (podItems != null ? !podItems.equals(that.podItems) :that.podItems != null) return false;
if (thirdPartyResourceItems != null ? !thirdPartyResourceItems.equals(that.thirdPartyResourceItems) :that.thirdPartyResourceItems != null) return false;
if (buildItems != null ? !buildItems.equals(that.buildItems) :that.buildItems != null) return false;
if (policyBindingItems != null ? !policyBindingItems.equals(that.policyBindingItems) :that.policyBindingItems != null) return false;
if (clusterPolicyBindingItems != null ? !clusterPolicyBindingItems.equals(that.clusterPolicyBindingItems) :that.clusterPolicyBindingItems != null) return false;
if (nodeItems != null ? !nodeItems.equals(that.nodeItems) :that.nodeItems != null) return false;
if (replicaSetItems != null ? !replicaSetItems.equals(that.replicaSetItems) :that.replicaSetItems != null) return false;
if (policyItems != null ? !policyItems.equals(that.policyItems) :that.policyItems != null) return false;
if (projectRequestItems != null ? !projectRequestItems.equals(that.projectRequestItems) :that.projectRequestItems != null) return false;
if (resourceQuotaItems != null ? !resourceQuotaItems.equals(that.resourceQuotaItems) :that.resourceQuotaItems != null) return false;
if (buildRequestItems != null ? !buildRequestItems.equals(that.buildRequestItems) :that.buildRequestItems != null) return false;
if (kind != null ? !kind.equals(that.kind) :that.kind != null) return false;
if (metadata != null ? !metadata.equals(that.metadata) :that.metadata != null) return false;
if (additionalProperties != null ? !additionalProperties.equals(that.additionalProperties) :that.additionalProperties != null) return false;
return true;

    }

    public class ScaleItemsNestedImpl extends ScaleFluentImpl> implements ScaleItemsNested{

        private final ScaleBuilder builder;
    
             ScaleItemsNestedImpl (){
        this.builder = new ScaleBuilder(this);
        }
             ScaleItemsNestedImpl ( Scale item){
        this.builder = new ScaleBuilder(this, item);
        }
    
            public N endScaleItem(){
            return and();
        }
            public N and(){
            return (N) BaseKubernetesListFluentImpl.this.addToScaleItems(builder.build());
        }
    
}
    public class BuildConfigItemsNestedImpl extends BuildConfigFluentImpl> implements BuildConfigItemsNested{

        private final BuildConfigBuilder builder;
    
             BuildConfigItemsNestedImpl (){
        this.builder = new BuildConfigBuilder(this);
        }
             BuildConfigItemsNestedImpl ( BuildConfig item){
        this.builder = new BuildConfigBuilder(this, item);
        }
    
            public N and(){
            return (N) BaseKubernetesListFluentImpl.this.addToBuildConfigItems(builder.build());
        }
            public N endBuildConfigItem(){
            return and();
        }
    
}
    public class RoleBindingItemsNestedImpl extends RoleBindingFluentImpl> implements RoleBindingItemsNested{

        private final RoleBindingBuilder builder;
    
             RoleBindingItemsNestedImpl ( RoleBinding item){
        this.builder = new RoleBindingBuilder(this, item);
        }
             RoleBindingItemsNestedImpl (){
        this.builder = new RoleBindingBuilder(this);
        }
    
            public N endRoleBindingItem(){
            return and();
        }
            public N and(){
            return (N) BaseKubernetesListFluentImpl.this.addToRoleBindingItems(builder.build());
        }
    
}
    public class LimitRangeItemsNestedImpl extends LimitRangeFluentImpl> implements LimitRangeItemsNested{

        private final LimitRangeBuilder builder;
    
             LimitRangeItemsNestedImpl (){
        this.builder = new LimitRangeBuilder(this);
        }
             LimitRangeItemsNestedImpl ( LimitRange item){
        this.builder = new LimitRangeBuilder(this, item);
        }
    
            public N endLimitRangeItem(){
            return and();
        }
            public N and(){
            return (N) BaseKubernetesListFluentImpl.this.addToLimitRangeItems(builder.build());
        }
    
}
    public class IdentityItemsNestedImpl extends IdentityFluentImpl> implements IdentityItemsNested{

        private final IdentityBuilder builder;
    
             IdentityItemsNestedImpl ( Identity item){
        this.builder = new IdentityBuilder(this, item);
        }
             IdentityItemsNestedImpl (){
        this.builder = new IdentityBuilder(this);
        }
    
            public N endIdentityItem(){
            return and();
        }
            public N and(){
            return (N) BaseKubernetesListFluentImpl.this.addToIdentityItems(builder.build());
        }
    
}
    public class DeploymentConfigItemsNestedImpl extends DeploymentConfigFluentImpl> implements DeploymentConfigItemsNested{

        private final DeploymentConfigBuilder builder;
    
             DeploymentConfigItemsNestedImpl (){
        this.builder = new DeploymentConfigBuilder(this);
        }
             DeploymentConfigItemsNestedImpl ( DeploymentConfig item){
        this.builder = new DeploymentConfigBuilder(this, item);
        }
    
            public N and(){
            return (N) BaseKubernetesListFluentImpl.this.addToDeploymentConfigItems(builder.build());
        }
            public N endDeploymentConfigItem(){
            return and();
        }
    
}
    public class DaemonSetItemsNestedImpl extends DaemonSetFluentImpl> implements DaemonSetItemsNested{

        private final DaemonSetBuilder builder;
    
             DaemonSetItemsNestedImpl (){
        this.builder = new DaemonSetBuilder(this);
        }
             DaemonSetItemsNestedImpl ( DaemonSet item){
        this.builder = new DaemonSetBuilder(this, item);
        }
    
            public N and(){
            return (N) BaseKubernetesListFluentImpl.this.addToDaemonSetItems(builder.build());
        }
            public N endDaemonSetItem(){
            return and();
        }
    
}
    public class ClusterRoleItemsNestedImpl extends ClusterRoleFluentImpl> implements ClusterRoleItemsNested{

        private final ClusterRoleBuilder builder;
    
             ClusterRoleItemsNestedImpl (){
        this.builder = new ClusterRoleBuilder(this);
        }
             ClusterRoleItemsNestedImpl ( ClusterRole item){
        this.builder = new ClusterRoleBuilder(this, item);
        }
    
            public N endClusterRoleItem(){
            return and();
        }
            public N and(){
            return (N) BaseKubernetesListFluentImpl.this.addToClusterRoleItems(builder.build());
        }
    
}
    public class ImageItemsNestedImpl extends ImageFluentImpl> implements ImageItemsNested{

        private final ImageBuilder builder;
    
             ImageItemsNestedImpl (){
        this.builder = new ImageBuilder(this);
        }
             ImageItemsNestedImpl ( Image item){
        this.builder = new ImageBuilder(this, item);
        }
    
            public N and(){
            return (N) BaseKubernetesListFluentImpl.this.addToImageItems(builder.build());
        }
            public N endImageItem(){
            return and();
        }
    
}
    public class PersistentVolumeClaimItemsNestedImpl extends PersistentVolumeClaimFluentImpl> implements PersistentVolumeClaimItemsNested{

        private final PersistentVolumeClaimBuilder builder;
    
             PersistentVolumeClaimItemsNestedImpl (){
        this.builder = new PersistentVolumeClaimBuilder(this);
        }
             PersistentVolumeClaimItemsNestedImpl ( PersistentVolumeClaim item){
        this.builder = new PersistentVolumeClaimBuilder(this, item);
        }
    
            public N endPersistentVolumeClaimItem(){
            return and();
        }
            public N and(){
            return (N) BaseKubernetesListFluentImpl.this.addToPersistentVolumeClaimItems(builder.build());
        }
    
}
    public class EndpointsItemsNestedImpl extends EndpointsFluentImpl> implements EndpointsItemsNested{

        private final EndpointsBuilder builder;
    
             EndpointsItemsNestedImpl (){
        this.builder = new EndpointsBuilder(this);
        }
             EndpointsItemsNestedImpl ( Endpoints item){
        this.builder = new EndpointsBuilder(this, item);
        }
    
            public N and(){
            return (N) BaseKubernetesListFluentImpl.this.addToEndpointsItems(builder.build());
        }
            public N endEndpointsItem(){
            return and();
        }
    
}
    public class EventItemsNestedImpl extends EventFluentImpl> implements EventItemsNested{

        private final EventBuilder builder;
    
             EventItemsNestedImpl ( Event item){
        this.builder = new EventBuilder(this, item);
        }
             EventItemsNestedImpl (){
        this.builder = new EventBuilder(this);
        }
    
            public N and(){
            return (N) BaseKubernetesListFluentImpl.this.addToEventItems(builder.build());
        }
            public N endEventItem(){
            return and();
        }
    
}
    public class ComponentStatusItemsNestedImpl extends ComponentStatusFluentImpl> implements ComponentStatusItemsNested{

        private final ComponentStatusBuilder builder;
    
             ComponentStatusItemsNestedImpl (){
        this.builder = new ComponentStatusBuilder(this);
        }
             ComponentStatusItemsNestedImpl ( ComponentStatus item){
        this.builder = new ComponentStatusBuilder(this, item);
        }
    
            public N endComponentStatusItem(){
            return and();
        }
            public N and(){
            return (N) BaseKubernetesListFluentImpl.this.addToComponentStatusItems(builder.build());
        }
    
}
    public class OAuthClientAuthorizationItemsNestedImpl extends OAuthClientAuthorizationFluentImpl> implements OAuthClientAuthorizationItemsNested{

        private final OAuthClientAuthorizationBuilder builder;
    
             OAuthClientAuthorizationItemsNestedImpl (){
        this.builder = new OAuthClientAuthorizationBuilder(this);
        }
             OAuthClientAuthorizationItemsNestedImpl ( OAuthClientAuthorization item){
        this.builder = new OAuthClientAuthorizationBuilder(this, item);
        }
    
            public N and(){
            return (N) BaseKubernetesListFluentImpl.this.addToOAuthClientAuthorizationItems(builder.build());
        }
            public N endOAuthClientAuthorizationItem(){
            return and();
        }
    
}
    public class IngressItemsNestedImpl extends IngressFluentImpl> implements IngressItemsNested{

        private final IngressBuilder builder;
    
             IngressItemsNestedImpl (){
        this.builder = new IngressBuilder(this);
        }
             IngressItemsNestedImpl ( Ingress item){
        this.builder = new IngressBuilder(this, item);
        }
    
            public N and(){
            return (N) BaseKubernetesListFluentImpl.this.addToIngressItems(builder.build());
        }
            public N endIngressItem(){
            return and();
        }
    
}
    public class GroupItemsNestedImpl extends GroupFluentImpl> implements GroupItemsNested{

        private final GroupBuilder builder;
    
             GroupItemsNestedImpl (){
        this.builder = new GroupBuilder(this);
        }
             GroupItemsNestedImpl ( Group item){
        this.builder = new GroupBuilder(this, item);
        }
    
            public N endGroupItem(){
            return and();
        }
            public N and(){
            return (N) BaseKubernetesListFluentImpl.this.addToGroupItems(builder.build());
        }
    
}
    public class ConfigMapItemsNestedImpl extends ConfigMapFluentImpl> implements ConfigMapItemsNested{

        private final ConfigMapBuilder builder;
    
             ConfigMapItemsNestedImpl (){
        this.builder = new ConfigMapBuilder(this);
        }
             ConfigMapItemsNestedImpl ( ConfigMap item){
        this.builder = new ConfigMapBuilder(this, item);
        }
    
            public N and(){
            return (N) BaseKubernetesListFluentImpl.this.addToConfigMapItems(builder.build());
        }
            public N endConfigMapItem(){
            return and();
        }
    
}
    public class SecretItemsNestedImpl extends SecretFluentImpl> implements SecretItemsNested{

        private final SecretBuilder builder;
    
             SecretItemsNestedImpl (){
        this.builder = new SecretBuilder(this);
        }
             SecretItemsNestedImpl ( Secret item){
        this.builder = new SecretBuilder(this, item);
        }
    
            public N endSecretItem(){
            return and();
        }
            public N and(){
            return (N) BaseKubernetesListFluentImpl.this.addToSecretItems(builder.build());
        }
    
}
    public class ServiceAccountItemsNestedImpl extends ServiceAccountFluentImpl> implements ServiceAccountItemsNested{

        private final ServiceAccountBuilder builder;
    
             ServiceAccountItemsNestedImpl (){
        this.builder = new ServiceAccountBuilder(this);
        }
             ServiceAccountItemsNestedImpl ( ServiceAccount item){
        this.builder = new ServiceAccountBuilder(this, item);
        }
    
            public N endServiceAccountItem(){
            return and();
        }
            public N and(){
            return (N) BaseKubernetesListFluentImpl.this.addToServiceAccountItems(builder.build());
        }
    
}
    public class HorizontalPodAutoscalerItemsNestedImpl extends HorizontalPodAutoscalerFluentImpl> implements HorizontalPodAutoscalerItemsNested{

        private final HorizontalPodAutoscalerBuilder builder;
    
             HorizontalPodAutoscalerItemsNestedImpl ( HorizontalPodAutoscaler item){
        this.builder = new HorizontalPodAutoscalerBuilder(this, item);
        }
             HorizontalPodAutoscalerItemsNestedImpl (){
        this.builder = new HorizontalPodAutoscalerBuilder(this);
        }
    
            public N endHorizontalPodAutoscalerItem(){
            return and();
        }
            public N and(){
            return (N) BaseKubernetesListFluentImpl.this.addToHorizontalPodAutoscalerItems(builder.build());
        }
    
}
    public class JobItemsNestedImpl extends JobFluentImpl> implements JobItemsNested{

        private final JobBuilder builder;
    
             JobItemsNestedImpl (){
        this.builder = new JobBuilder(this);
        }
             JobItemsNestedImpl ( Job item){
        this.builder = new JobBuilder(this, item);
        }
    
            public N and(){
            return (N) BaseKubernetesListFluentImpl.this.addToJobItems(builder.build());
        }
            public N endJobItem(){
            return and();
        }
    
}
    public class OAuthAccessTokenItemsNestedImpl extends OAuthAccessTokenFluentImpl> implements OAuthAccessTokenItemsNested{

        private final OAuthAccessTokenBuilder builder;
    
             OAuthAccessTokenItemsNestedImpl (){
        this.builder = new OAuthAccessTokenBuilder(this);
        }
             OAuthAccessTokenItemsNestedImpl ( OAuthAccessToken item){
        this.builder = new OAuthAccessTokenBuilder(this, item);
        }
    
            public N and(){
            return (N) BaseKubernetesListFluentImpl.this.addToOAuthAccessTokenItems(builder.build());
        }
            public N endOAuthAccessTokenItem(){
            return and();
        }
    
}
    public class PersistentVolumeItemsNestedImpl extends PersistentVolumeFluentImpl> implements PersistentVolumeItemsNested{

        private final PersistentVolumeBuilder builder;
    
             PersistentVolumeItemsNestedImpl (){
        this.builder = new PersistentVolumeBuilder(this);
        }
             PersistentVolumeItemsNestedImpl ( PersistentVolume item){
        this.builder = new PersistentVolumeBuilder(this, item);
        }
    
            public N endPersistentVolumeItem(){
            return and();
        }
            public N and(){
            return (N) BaseKubernetesListFluentImpl.this.addToPersistentVolumeItems(builder.build());
        }
    
}
    public class TemplateItemsNestedImpl extends TemplateFluentImpl> implements TemplateItemsNested{

        private final TemplateBuilder builder;
    
             TemplateItemsNestedImpl (){
        this.builder = new TemplateBuilder(this);
        }
             TemplateItemsNestedImpl ( Template item){
        this.builder = new TemplateBuilder(this, item);
        }
    
            public N and(){
            return (N) BaseKubernetesListFluentImpl.this.addToTemplateItems(builder.build());
        }
            public N endTemplateItem(){
            return and();
        }
    
}
    public class ImageStreamItemsNestedImpl extends ImageStreamFluentImpl> implements ImageStreamItemsNested{

        private final ImageStreamBuilder builder;
    
             ImageStreamItemsNestedImpl ( ImageStream item){
        this.builder = new ImageStreamBuilder(this, item);
        }
             ImageStreamItemsNestedImpl (){
        this.builder = new ImageStreamBuilder(this);
        }
    
            public N and(){
            return (N) BaseKubernetesListFluentImpl.this.addToImageStreamItems(builder.build());
        }
            public N endImageStreamItem(){
            return and();
        }
    
}
    public class BindingItemsNestedImpl extends BindingFluentImpl> implements BindingItemsNested{

        private final BindingBuilder builder;
    
             BindingItemsNestedImpl (){
        this.builder = new BindingBuilder(this);
        }
             BindingItemsNestedImpl ( Binding item){
        this.builder = new BindingBuilder(this, item);
        }
    
            public N endBindingItem(){
            return and();
        }
            public N and(){
            return (N) BaseKubernetesListFluentImpl.this.addToBindingItems(builder.build());
        }
    
}
    public class ServiceItemsNestedImpl extends ServiceFluentImpl> implements ServiceItemsNested{

        private final ServiceBuilder builder;
    
             ServiceItemsNestedImpl ( Service item){
        this.builder = new ServiceBuilder(this, item);
        }
             ServiceItemsNestedImpl (){
        this.builder = new ServiceBuilder(this);
        }
    
            public N endServiceItem(){
            return and();
        }
            public N and(){
            return (N) BaseKubernetesListFluentImpl.this.addToServiceItems(builder.build());
        }
    
}
    public class ClusterRoleBindingItemsNestedImpl extends ClusterRoleBindingFluentImpl> implements ClusterRoleBindingItemsNested{

        private final ClusterRoleBindingBuilder builder;
    
             ClusterRoleBindingItemsNestedImpl (){
        this.builder = new ClusterRoleBindingBuilder(this);
        }
             ClusterRoleBindingItemsNestedImpl ( ClusterRoleBinding item){
        this.builder = new ClusterRoleBindingBuilder(this, item);
        }
    
            public N endClusterRoleBindingItem(){
            return and();
        }
            public N and(){
            return (N) BaseKubernetesListFluentImpl.this.addToClusterRoleBindingItems(builder.build());
        }
    
}
    public class NamespaceItemsNestedImpl extends NamespaceFluentImpl> implements NamespaceItemsNested{

        private final NamespaceBuilder builder;
    
             NamespaceItemsNestedImpl (){
        this.builder = new NamespaceBuilder(this);
        }
             NamespaceItemsNestedImpl ( Namespace item){
        this.builder = new NamespaceBuilder(this, item);
        }
    
            public N endNamespaceItem(){
            return and();
        }
            public N and(){
            return (N) BaseKubernetesListFluentImpl.this.addToNamespaceItems(builder.build());
        }
    
}
    public class UserItemsNestedImpl extends UserFluentImpl> implements UserItemsNested{

        private final UserBuilder builder;
    
             UserItemsNestedImpl (){
        this.builder = new UserBuilder(this);
        }
             UserItemsNestedImpl ( User item){
        this.builder = new UserBuilder(this, item);
        }
    
            public N and(){
            return (N) BaseKubernetesListFluentImpl.this.addToUserItems(builder.build());
        }
            public N endUserItem(){
            return and();
        }
    
}
    public class ReplicationControllerItemsNestedImpl extends ReplicationControllerFluentImpl> implements ReplicationControllerItemsNested{

        private final ReplicationControllerBuilder builder;
    
             ReplicationControllerItemsNestedImpl (){
        this.builder = new ReplicationControllerBuilder(this);
        }
             ReplicationControllerItemsNestedImpl ( ReplicationController item){
        this.builder = new ReplicationControllerBuilder(this, item);
        }
    
            public N endReplicationControllerItem(){
            return and();
        }
            public N and(){
            return (N) BaseKubernetesListFluentImpl.this.addToReplicationControllerItems(builder.build());
        }
    
}
    public class OAuthAuthorizeTokenItemsNestedImpl extends OAuthAuthorizeTokenFluentImpl> implements OAuthAuthorizeTokenItemsNested{

        private final OAuthAuthorizeTokenBuilder builder;
    
             OAuthAuthorizeTokenItemsNestedImpl (){
        this.builder = new OAuthAuthorizeTokenBuilder(this);
        }
             OAuthAuthorizeTokenItemsNestedImpl ( OAuthAuthorizeToken item){
        this.builder = new OAuthAuthorizeTokenBuilder(this, item);
        }
    
            public N and(){
            return (N) BaseKubernetesListFluentImpl.this.addToOAuthAuthorizeTokenItems(builder.build());
        }
            public N endOAuthAuthorizeTokenItem(){
            return and();
        }
    
}
    public class SecurityContextConstraintsItemsNestedImpl extends SecurityContextConstraintsFluentImpl> implements SecurityContextConstraintsItemsNested{

        private final SecurityContextConstraintsBuilder builder;
    
             SecurityContextConstraintsItemsNestedImpl (){
        this.builder = new SecurityContextConstraintsBuilder(this);
        }
             SecurityContextConstraintsItemsNestedImpl ( SecurityContextConstraints item){
        this.builder = new SecurityContextConstraintsBuilder(this, item);
        }
    
            public N and(){
            return (N) BaseKubernetesListFluentImpl.this.addToSecurityContextConstraintsItems(builder.build());
        }
            public N endSecurityContextConstraintsItem(){
            return and();
        }
    
}
    public class PodTemplateItemsNestedImpl extends PodTemplateFluentImpl> implements PodTemplateItemsNested{

        private final PodTemplateBuilder builder;
    
             PodTemplateItemsNestedImpl (){
        this.builder = new PodTemplateBuilder(this);
        }
             PodTemplateItemsNestedImpl ( PodTemplate item){
        this.builder = new PodTemplateBuilder(this, item);
        }
    
            public N endPodTemplateItem(){
            return and();
        }
            public N and(){
            return (N) BaseKubernetesListFluentImpl.this.addToPodTemplateItems(builder.build());
        }
    
}
    public class RouteItemsNestedImpl extends RouteFluentImpl> implements RouteItemsNested{

        private final RouteBuilder builder;
    
             RouteItemsNestedImpl (){
        this.builder = new RouteBuilder(this);
        }
             RouteItemsNestedImpl ( Route item){
        this.builder = new RouteBuilder(this, item);
        }
    
            public N and(){
            return (N) BaseKubernetesListFluentImpl.this.addToRouteItems(builder.build());
        }
            public N endRouteItem(){
            return and();
        }
    
}
    public class OAuthClientItemsNestedImpl extends OAuthClientFluentImpl> implements OAuthClientItemsNested{

        private final OAuthClientBuilder builder;
    
             OAuthClientItemsNestedImpl (){
        this.builder = new OAuthClientBuilder(this);
        }
             OAuthClientItemsNestedImpl ( OAuthClient item){
        this.builder = new OAuthClientBuilder(this, item);
        }
    
            public N and(){
            return (N) BaseKubernetesListFluentImpl.this.addToOAuthClientItems(builder.build());
        }
            public N endOAuthClientItem(){
            return and();
        }
    
}
    public class RoleItemsNestedImpl extends RoleFluentImpl> implements RoleItemsNested{

        private final RoleBuilder builder;
    
             RoleItemsNestedImpl (){
        this.builder = new RoleBuilder(this);
        }
             RoleItemsNestedImpl ( Role item){
        this.builder = new RoleBuilder(this, item);
        }
    
            public N endRoleItem(){
            return and();
        }
            public N and(){
            return (N) BaseKubernetesListFluentImpl.this.addToRoleItems(builder.build());
        }
    
}
    public class DeploymentItemsNestedImpl extends DeploymentFluentImpl> implements DeploymentItemsNested{

        private final DeploymentBuilder builder;
    
             DeploymentItemsNestedImpl (){
        this.builder = new DeploymentBuilder(this);
        }
             DeploymentItemsNestedImpl ( Deployment item){
        this.builder = new DeploymentBuilder(this, item);
        }
    
            public N endDeploymentItem(){
            return and();
        }
            public N and(){
            return (N) BaseKubernetesListFluentImpl.this.addToDeploymentItems(builder.build());
        }
    
}
    public class ProjectItemsNestedImpl extends ProjectFluentImpl> implements ProjectItemsNested{

        private final ProjectBuilder builder;
    
             ProjectItemsNestedImpl (){
        this.builder = new ProjectBuilder(this);
        }
             ProjectItemsNestedImpl ( Project item){
        this.builder = new ProjectBuilder(this, item);
        }
    
            public N endProjectItem(){
            return and();
        }
            public N and(){
            return (N) BaseKubernetesListFluentImpl.this.addToProjectItems(builder.build());
        }
    
}
    public class ClusterPolicyItemsNestedImpl extends ClusterPolicyFluentImpl> implements ClusterPolicyItemsNested{

        private final ClusterPolicyBuilder builder;
    
             ClusterPolicyItemsNestedImpl (){
        this.builder = new ClusterPolicyBuilder(this);
        }
             ClusterPolicyItemsNestedImpl ( ClusterPolicy item){
        this.builder = new ClusterPolicyBuilder(this, item);
        }
    
            public N endClusterPolicyItem(){
            return and();
        }
            public N and(){
            return (N) BaseKubernetesListFluentImpl.this.addToClusterPolicyItems(builder.build());
        }
    
}
    public class PodItemsNestedImpl extends PodFluentImpl> implements PodItemsNested{

        private final PodBuilder builder;
    
             PodItemsNestedImpl (){
        this.builder = new PodBuilder(this);
        }
             PodItemsNestedImpl ( Pod item){
        this.builder = new PodBuilder(this, item);
        }
    
            public N endPodItem(){
            return and();
        }
            public N and(){
            return (N) BaseKubernetesListFluentImpl.this.addToPodItems(builder.build());
        }
    
}
    public class ThirdPartyResourceItemsNestedImpl extends ThirdPartyResourceFluentImpl> implements ThirdPartyResourceItemsNested{

        private final ThirdPartyResourceBuilder builder;
    
             ThirdPartyResourceItemsNestedImpl (){
        this.builder = new ThirdPartyResourceBuilder(this);
        }
             ThirdPartyResourceItemsNestedImpl ( ThirdPartyResource item){
        this.builder = new ThirdPartyResourceBuilder(this, item);
        }
    
            public N endThirdPartyResourceItem(){
            return and();
        }
            public N and(){
            return (N) BaseKubernetesListFluentImpl.this.addToThirdPartyResourceItems(builder.build());
        }
    
}
    public class BuildItemsNestedImpl extends BuildFluentImpl> implements BuildItemsNested{

        private final BuildBuilder builder;
    
             BuildItemsNestedImpl ( Build item){
        this.builder = new BuildBuilder(this, item);
        }
             BuildItemsNestedImpl (){
        this.builder = new BuildBuilder(this);
        }
    
            public N endBuildItem(){
            return and();
        }
            public N and(){
            return (N) BaseKubernetesListFluentImpl.this.addToBuildItems(builder.build());
        }
    
}
    public class PolicyBindingItemsNestedImpl extends PolicyBindingFluentImpl> implements PolicyBindingItemsNested{

        private final PolicyBindingBuilder builder;
    
             PolicyBindingItemsNestedImpl ( PolicyBinding item){
        this.builder = new PolicyBindingBuilder(this, item);
        }
             PolicyBindingItemsNestedImpl (){
        this.builder = new PolicyBindingBuilder(this);
        }
    
            public N endPolicyBindingItem(){
            return and();
        }
            public N and(){
            return (N) BaseKubernetesListFluentImpl.this.addToPolicyBindingItems(builder.build());
        }
    
}
    public class ClusterPolicyBindingItemsNestedImpl extends ClusterPolicyBindingFluentImpl> implements ClusterPolicyBindingItemsNested{

        private final ClusterPolicyBindingBuilder builder;
    
             ClusterPolicyBindingItemsNestedImpl (){
        this.builder = new ClusterPolicyBindingBuilder(this);
        }
             ClusterPolicyBindingItemsNestedImpl ( ClusterPolicyBinding item){
        this.builder = new ClusterPolicyBindingBuilder(this, item);
        }
    
            public N endClusterPolicyBindingItem(){
            return and();
        }
            public N and(){
            return (N) BaseKubernetesListFluentImpl.this.addToClusterPolicyBindingItems(builder.build());
        }
    
}
    public class NodeItemsNestedImpl extends NodeFluentImpl> implements NodeItemsNested{

        private final NodeBuilder builder;
    
             NodeItemsNestedImpl (){
        this.builder = new NodeBuilder(this);
        }
             NodeItemsNestedImpl ( Node item){
        this.builder = new NodeBuilder(this, item);
        }
    
            public N and(){
            return (N) BaseKubernetesListFluentImpl.this.addToNodeItems(builder.build());
        }
            public N endNodeItem(){
            return and();
        }
    
}
    public class ReplicaSetItemsNestedImpl extends ReplicaSetFluentImpl> implements ReplicaSetItemsNested{

        private final ReplicaSetBuilder builder;
    
             ReplicaSetItemsNestedImpl (){
        this.builder = new ReplicaSetBuilder(this);
        }
             ReplicaSetItemsNestedImpl ( ReplicaSet item){
        this.builder = new ReplicaSetBuilder(this, item);
        }
    
            public N endReplicaSetItem(){
            return and();
        }
            public N and(){
            return (N) BaseKubernetesListFluentImpl.this.addToReplicaSetItems(builder.build());
        }
    
}
    public class PolicyItemsNestedImpl extends PolicyFluentImpl> implements PolicyItemsNested{

        private final PolicyBuilder builder;
    
             PolicyItemsNestedImpl (){
        this.builder = new PolicyBuilder(this);
        }
             PolicyItemsNestedImpl ( Policy item){
        this.builder = new PolicyBuilder(this, item);
        }
    
            public N and(){
            return (N) BaseKubernetesListFluentImpl.this.addToPolicyItems(builder.build());
        }
            public N endPolicyItem(){
            return and();
        }
    
}
    public class ProjectRequestItemsNestedImpl extends ProjectRequestFluentImpl> implements ProjectRequestItemsNested{

        private final ProjectRequestBuilder builder;
    
             ProjectRequestItemsNestedImpl (){
        this.builder = new ProjectRequestBuilder(this);
        }
             ProjectRequestItemsNestedImpl ( ProjectRequest item){
        this.builder = new ProjectRequestBuilder(this, item);
        }
    
            public N endProjectRequestItem(){
            return and();
        }
            public N and(){
            return (N) BaseKubernetesListFluentImpl.this.addToProjectRequestItems(builder.build());
        }
    
}
    public class ResourceQuotaItemsNestedImpl extends ResourceQuotaFluentImpl> implements ResourceQuotaItemsNested{

        private final ResourceQuotaBuilder builder;
    
             ResourceQuotaItemsNestedImpl (){
        this.builder = new ResourceQuotaBuilder(this);
        }
             ResourceQuotaItemsNestedImpl ( ResourceQuota item){
        this.builder = new ResourceQuotaBuilder(this, item);
        }
    
            public N and(){
            return (N) BaseKubernetesListFluentImpl.this.addToResourceQuotaItems(builder.build());
        }
            public N endResourceQuotaItem(){
            return and();
        }
    
}
    public class BuildRequestItemsNestedImpl extends BuildRequestFluentImpl> implements BuildRequestItemsNested{

        private final BuildRequestBuilder builder;
    
             BuildRequestItemsNestedImpl (){
        this.builder = new BuildRequestBuilder(this);
        }
             BuildRequestItemsNestedImpl ( BuildRequest item){
        this.builder = new BuildRequestBuilder(this, item);
        }
    
            public N endBuildRequestItem(){
            return and();
        }
            public N and(){
            return (N) BaseKubernetesListFluentImpl.this.addToBuildRequestItems(builder.build());
        }
    
}
    public class MetadataNestedImpl extends ListMetaFluentImpl> implements MetadataNested{

        private final ListMetaBuilder builder;
    
             MetadataNestedImpl (){
        this.builder = new ListMetaBuilder(this);
        }
             MetadataNestedImpl ( ListMeta item){
        this.builder = new ListMetaBuilder(this, item);
        }
    
            public N and(){
            return (N) BaseKubernetesListFluentImpl.this.withMetadata(builder.build());
        }
            public N endMetadata(){
            return and();
        }
    
}


}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy