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

annotations.io.fabric8.openshift.api.model.TemplateFluentImpl Maven / Gradle / Ivy

package io.fabric8.openshift.api.model;

import java.util.ArrayList;
import java.util.RandomAccess;
import io.fabric8.kubernetes.api.model.HasMetadata;
import java.util.Map;
import io.fabric8.kubernetes.api.model.KubernetesResource;
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 io.fabric8.kubernetes.api.model.ObjectMeta;
import java.io.Serializable;
import java.util.Map;
import java.util.Collection;
import java.util.AbstractMap;
import java.util.List;
import io.fabric8.kubernetes.api.model.ConfigMapBuilder;
import java.util.List;
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.kubernetes.api.builder.VisitableBuilder;
import java.util.List;
import io.fabric8.kubernetes.api.builder.Visitable;
import io.fabric8.kubernetes.api.model.LimitRange;
import io.fabric8.kubernetes.api.model.LimitRangeFluentImpl;
import io.fabric8.kubernetes.api.model.EventFluentImpl;
import io.fabric8.kubernetes.api.model.BindingBuilder;
import java.util.List;
import io.fabric8.kubernetes.api.model.PersistentVolume;
import java.util.List;
import io.fabric8.kubernetes.api.model.extensions.ThirdPartyResourceFluent;
import io.fabric8.kubernetes.api.model.NodeFluentImpl;
import java.util.List;
import java.util.List;
import io.fabric8.kubernetes.api.model.ResourceQuotaFluent;
import io.fabric8.kubernetes.api.builder.VisitableBuilder;
import io.fabric8.kubernetes.api.model.PersistentVolumeFluent;
import io.fabric8.kubernetes.api.model.Service;
import java.util.List;
import java.util.List;
import io.fabric8.kubernetes.api.model.EndpointsFluentImpl;
import java.util.List;
import io.fabric8.kubernetes.api.model.extensions.ScaleFluent;
import java.util.List;
import io.fabric8.kubernetes.api.builder.VisitableBuilder;
import java.util.List;
import io.fabric8.kubernetes.api.model.ObjectMetaBuilder;
import java.util.List;
import io.fabric8.kubernetes.api.model.ServiceFluent;
import io.fabric8.kubernetes.api.model.Pod;
import io.fabric8.kubernetes.api.model.Binding;
import io.fabric8.kubernetes.api.builder.Visitable;
import io.fabric8.kubernetes.api.model.EndpointsFluent;
import io.fabric8.kubernetes.api.model.ComponentStatusFluent;
import io.fabric8.kubernetes.api.builder.BaseFluent;
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.HorizontalPodAutoscalerFluentImpl;
import java.util.List;
import java.util.List;
import io.fabric8.kubernetes.api.model.PodTemplateFluent;
import io.fabric8.kubernetes.api.model.LimitRangeFluent;
import io.fabric8.kubernetes.api.model.extensions.ReplicaSetBuilder;
import io.fabric8.kubernetes.api.model.extensions.DeploymentFluent;
import io.fabric8.kubernetes.api.model.Namespace;
import io.fabric8.kubernetes.api.model.ObjectMetaFluent;
import io.fabric8.kubernetes.api.builder.VisitableBuilder;
import java.util.List;
import io.fabric8.kubernetes.api.model.extensions.IngressBuilder;
import io.fabric8.kubernetes.api.model.PersistentVolumeFluentImpl;
import io.fabric8.kubernetes.api.model.Node;
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 java.util.List;
import io.fabric8.kubernetes.api.model.ResourceQuotaFluentImpl;
import java.util.List;
import io.fabric8.kubernetes.api.builder.VisitableBuilder;
import io.fabric8.kubernetes.api.model.extensions.DeploymentFluentImpl;
import io.fabric8.kubernetes.api.model.ComponentStatusFluentImpl;
import java.util.List;
import io.fabric8.kubernetes.api.model.EventFluent;
import java.util.List;
import io.fabric8.kubernetes.api.model.extensions.ThirdPartyResource;
import java.util.List;
import io.fabric8.kubernetes.api.model.extensions.ThirdPartyResourceFluentImpl;
import java.util.List;
import io.fabric8.kubernetes.api.builder.Builder;
import io.fabric8.kubernetes.api.model.Secret;
import io.fabric8.kubernetes.api.model.extensions.JobBuilder;
import io.fabric8.kubernetes.api.builder.VisitableBuilder;
import io.fabric8.kubernetes.api.model.EndpointsBuilder;
import java.util.List;
import java.util.List;
import io.fabric8.kubernetes.api.model.extensions.DaemonSetFluentImpl;
import java.util.List;
import io.fabric8.kubernetes.api.builder.VisitableBuilder;
import io.fabric8.kubernetes.api.builder.VisitableBuilder;
import java.util.List;
import io.fabric8.kubernetes.api.builder.VisitableBuilder;
import io.fabric8.kubernetes.api.model.PodTemplate;
import io.fabric8.kubernetes.api.model.PersistentVolumeClaimFluentImpl;
import java.util.List;
import io.fabric8.kubernetes.api.builder.VisitableBuilder;
import io.fabric8.kubernetes.api.model.PersistentVolumeClaimFluent;
import io.fabric8.kubernetes.api.model.BindingFluentImpl;
import io.fabric8.kubernetes.api.model.extensions.ThirdPartyResourceBuilder;
import java.util.List;
import io.fabric8.kubernetes.api.builder.VisitableBuilder;
import io.fabric8.kubernetes.api.model.ReplicationControllerFluentImpl;
import io.fabric8.kubernetes.api.builder.Nested;
import java.util.List;
import io.fabric8.kubernetes.api.builder.VisitableBuilder;
import io.fabric8.kubernetes.api.model.extensions.HorizontalPodAutoscalerBuilder;
import io.fabric8.kubernetes.api.model.PersistentVolumeBuilder;
import java.util.List;
import io.fabric8.kubernetes.api.model.ServiceAccount;
import io.fabric8.kubernetes.api.model.Endpoints;
import io.fabric8.kubernetes.api.builder.VisitableBuilder;
import io.fabric8.kubernetes.api.model.extensions.HorizontalPodAutoscalerFluent;
import java.util.List;
import io.fabric8.kubernetes.api.model.extensions.IngressFluentImpl;
import io.fabric8.kubernetes.api.model.EventBuilder;
import io.fabric8.kubernetes.api.model.ResourceQuota;
import io.fabric8.kubernetes.api.model.extensions.DeploymentBuilder;
import io.fabric8.kubernetes.api.model.ComponentStatus;
import io.fabric8.kubernetes.api.builder.VisitableBuilder;
import io.fabric8.kubernetes.api.builder.VisitableBuilder;
import io.fabric8.kubernetes.api.model.ConfigMapFluentImpl;
import io.fabric8.kubernetes.api.model.ServiceAccountFluentImpl;
import io.fabric8.kubernetes.api.builder.VisitableBuilder;
import io.fabric8.kubernetes.api.model.ServiceAccountFluent;
import io.fabric8.kubernetes.api.model.extensions.Deployment;
import io.fabric8.kubernetes.api.model.NamespaceBuilder;
import io.fabric8.kubernetes.api.model.extensions.HorizontalPodAutoscaler;
import io.fabric8.kubernetes.api.model.PersistentVolumeClaim;
import java.util.List;
import io.fabric8.kubernetes.api.model.extensions.DaemonSetBuilder;
import io.fabric8.kubernetes.api.builder.VisitableBuilder;
import io.fabric8.kubernetes.api.model.SecurityContextConstraintsFluent;
import io.fabric8.kubernetes.api.builder.VisitableBuilder;
import io.fabric8.kubernetes.api.model.SecurityContextConstraintsBuilder;
import io.fabric8.kubernetes.api.model.ServiceAccountBuilder;
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.kubernetes.api.builder.VisitableBuilder;
import io.fabric8.kubernetes.api.model.extensions.JobFluentImpl;
import java.util.List;
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.kubernetes.api.builder.VisitableBuilder;
import io.fabric8.kubernetes.api.model.ConfigMap;
import io.fabric8.kubernetes.api.builder.VisitableBuilder;
import io.fabric8.kubernetes.api.model.PodFluent;
import io.fabric8.kubernetes.api.model.SecretFluentImpl;
import io.fabric8.kubernetes.api.model.NamespaceFluentImpl;
import java.util.List;
import io.fabric8.kubernetes.api.builder.VisitableBuilder;
import io.fabric8.kubernetes.api.model.ComponentStatusBuilder;
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.model.PersistentVolumeClaimBuilder;
import io.fabric8.kubernetes.api.model.ObjectMetaFluentImpl;
import io.fabric8.kubernetes.api.builder.VisitableBuilder;
import io.fabric8.kubernetes.api.builder.VisitableBuilder;
import java.util.List;
import io.fabric8.kubernetes.api.model.NamespaceFluent;
import io.fabric8.kubernetes.api.model.extensions.ScaleBuilder;
import io.fabric8.kubernetes.api.model.extensions.ScaleFluentImpl;
import io.fabric8.kubernetes.api.model.SecretFluent;
import io.fabric8.kubernetes.api.builder.VisitableBuilder;
import java.util.List;
import io.fabric8.kubernetes.api.model.extensions.ReplicaSetFluent;
import io.fabric8.kubernetes.api.model.extensions.IngressFluent;
import io.fabric8.kubernetes.api.model.ServiceBuilder;
import io.fabric8.kubernetes.api.builder.VisitableBuilder;
import io.fabric8.kubernetes.api.model.PodFluentImpl;
import io.fabric8.kubernetes.api.model.extensions.JobFluent;
import io.fabric8.kubernetes.api.model.SecurityContextConstraintsFluentImpl;
import io.fabric8.kubernetes.api.builder.VisitableBuilder;
import io.fabric8.kubernetes.api.model.extensions.ReplicaSetFluentImpl;
import java.util.List;
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 java.util.List;
import io.fabric8.kubernetes.api.model.ServiceFluentImpl;
import io.fabric8.kubernetes.api.model.ReplicationControllerFluent;
import io.fabric8.kubernetes.api.model.NodeFluent;
import io.fabric8.kubernetes.api.model.ReplicationController;
import io.fabric8.kubernetes.api.model.PodTemplateBuilder;
import io.fabric8.kubernetes.api.model.extensions.Job;
import io.fabric8.kubernetes.api.model.BindingFluent;
import io.fabric8.kubernetes.api.model.ResourceQuotaBuilder;
import io.fabric8.kubernetes.api.builder.VisitableBuilder;
import io.fabric8.kubernetes.api.builder.VisitableBuilder;
import java.util.List;
import java.util.List;
import java.util.List;
import io.fabric8.kubernetes.api.model.PodTemplateFluentImpl;
import io.fabric8.kubernetes.api.model.ConfigMapFluent;
import io.fabric8.kubernetes.api.builder.VisitableBuilder;
import io.fabric8.kubernetes.api.model.SecurityContextConstraints;
import java.util.List;
import io.fabric8.kubernetes.api.builder.VisitableBuilder;
import io.fabric8.kubernetes.api.model.Event;
import java.util.List;
import java.util.List;
import io.fabric8.kubernetes.api.model.extensions.DaemonSetFluent;
import io.fabric8.kubernetes.api.model.ReplicationControllerBuilder;
import io.fabric8.kubernetes.api.model.extensions.Scale;
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.kubernetes.api.model.SecretBuilder;
import java.util.List;
import io.fabric8.kubernetes.api.builder.VisitableBuilder;
import io.fabric8.kubernetes.api.model.PodBuilder;
import java.util.List;
import io.fabric8.kubernetes.api.model.extensions.DaemonSet;
import io.fabric8.kubernetes.api.model.NodeBuilder;
import io.fabric8.kubernetes.api.model.LimitRangeBuilder;
import io.fabric8.kubernetes.api.builder.VisitableBuilder;

public class TemplateFluentImpl> extends BaseFluent implements TemplateFluent{

     String apiVersion;     String kind;     Map labels = new HashMap();     VisitableBuilder metadata;     List objects = new ArrayList();     List> scaleObjects = new ArrayList();     List> buildConfigObjects = new ArrayList();     List> roleBindingObjects = new ArrayList();     List> limitRangeObjects = new ArrayList();     List> identityObjects = new ArrayList();     List> deploymentConfigObjects = new ArrayList();     List> daemonSetObjects = new ArrayList();     List> clusterRoleObjects = new ArrayList();     List> imageObjects = new ArrayList();     List> persistentVolumeClaimObjects = new ArrayList();     List> endpointsObjects = new ArrayList();     List> eventObjects = new ArrayList();     List> componentStatusObjects = new ArrayList();     List> oAuthClientAuthorizationObjects = new ArrayList();     List> ingressObjects = new ArrayList();     List> groupObjects = new ArrayList();     List> configMapObjects = new ArrayList();     List> secretObjects = new ArrayList();     List> serviceAccountObjects = new ArrayList();     List> horizontalPodAutoscalerObjects = new ArrayList();     List> jobObjects = new ArrayList();     List> oAuthAccessTokenObjects = new ArrayList();     List> persistentVolumeObjects = new ArrayList();     List> templateObjects = new ArrayList();     List> imageStreamObjects = new ArrayList();     List> bindingObjects = new ArrayList();     List> serviceObjects = new ArrayList();     List> clusterRoleBindingObjects = new ArrayList();     List> namespaceObjects = new ArrayList();     List> userObjects = new ArrayList();     List> replicationControllerObjects = new ArrayList();     List> oAuthAuthorizeTokenObjects = new ArrayList();     List> securityContextConstraintsObjects = new ArrayList();     List> podTemplateObjects = new ArrayList();     List> routeObjects = new ArrayList();     List> oAuthClientObjects = new ArrayList();     List> roleObjects = new ArrayList();     List> deploymentObjects = new ArrayList();     List> projectObjects = new ArrayList();     List> clusterPolicyObjects = new ArrayList();     List> podObjects = new ArrayList();     List> thirdPartyResourceObjects = new ArrayList();     List> buildObjects = new ArrayList();     List> policyBindingObjects = new ArrayList();     List> clusterPolicyBindingObjects = new ArrayList();     List> nodeObjects = new ArrayList();     List> replicaSetObjects = new ArrayList();     List> policyObjects = new ArrayList();     List> projectRequestObjects = new ArrayList();     List> resourceQuotaObjects = new ArrayList();     List> buildRequestObjects = new ArrayList();     List> parameters = new ArrayList();     Map additionalProperties = new HashMap();
public TemplateFluentImpl(){
    
}
public TemplateFluentImpl( Template instance ){
    this.withApiVersion(instance.getApiVersion()); this.withKind(instance.getKind()); this.withLabels(instance.getLabels()); this.withMetadata(instance.getMetadata()); this.withObjects(instance.getObjects()); this.withParameters(instance.getParameters()); 
}

    public String getApiVersion(){
    return this.apiVersion;
    }
    public T withApiVersion( String apiVersion){
    this.apiVersion=apiVersion; return (T) this;
    }
    public String getKind(){
    return this.kind;
    }
    public T withKind( String kind){
    this.kind=kind; return (T) this;
    }
    public T addToLabels( String key,  String value){
    if(key != null && value != null) {this.labels.put(key, value);} return (T)this;
    }
    public T addToLabels( Map map){
    if(map != null) { this.labels.putAll(map);} return (T)this;
    }
    public T removeFromLabels( String key){
    if(key != null) {this.labels.remove(key);} return (T)this;
    }
    public T removeFromLabels( Map map){
    if(map != null) { for(Object key : map.keySet()) {this.labels.remove(key);}} return (T)this;
    }
    public Map getLabels(){
    return this.labels;
    }
    public T withLabels( Map labels){
    this.labels.clear();if (labels != null) {this.labels.putAll(labels);} return (T) this;
    }
    public ObjectMeta getMetadata(){
    return this.metadata!=null?this.metadata.build():null;
    }
    public T withMetadata( ObjectMeta metadata){
    if (metadata!=null){ this.metadata= new ObjectMetaBuilder(metadata); _visitables.add(this.metadata);} return (T) this;
    }
    public MetadataNested withNewMetadata(){
    return new MetadataNestedImpl();
    }
    public MetadataNested withNewMetadataLike( ObjectMeta item){
    return new MetadataNestedImpl(item);
    }
    public MetadataNested editMetadata(){
    return withNewMetadataLike(getMetadata());
    }
    public T addToObjects( HasMetadata ...items){
    for (HasMetadata item : items) {if (item instanceof Scale){addToScaleObjects((Scale)item);}
 else if (item instanceof BuildConfig){addToBuildConfigObjects((BuildConfig)item);}
 else if (item instanceof RoleBinding){addToRoleBindingObjects((RoleBinding)item);}
 else if (item instanceof LimitRange){addToLimitRangeObjects((LimitRange)item);}
 else if (item instanceof Identity){addToIdentityObjects((Identity)item);}
 else if (item instanceof DeploymentConfig){addToDeploymentConfigObjects((DeploymentConfig)item);}
 else if (item instanceof DaemonSet){addToDaemonSetObjects((DaemonSet)item);}
 else if (item instanceof ClusterRole){addToClusterRoleObjects((ClusterRole)item);}
 else if (item instanceof Image){addToImageObjects((Image)item);}
 else if (item instanceof PersistentVolumeClaim){addToPersistentVolumeClaimObjects((PersistentVolumeClaim)item);}
 else if (item instanceof Endpoints){addToEndpointsObjects((Endpoints)item);}
 else if (item instanceof Event){addToEventObjects((Event)item);}
 else if (item instanceof ComponentStatus){addToComponentStatusObjects((ComponentStatus)item);}
 else if (item instanceof OAuthClientAuthorization){addToOAuthClientAuthorizationObjects((OAuthClientAuthorization)item);}
 else if (item instanceof Ingress){addToIngressObjects((Ingress)item);}
 else if (item instanceof Group){addToGroupObjects((Group)item);}
 else if (item instanceof ConfigMap){addToConfigMapObjects((ConfigMap)item);}
 else if (item instanceof Secret){addToSecretObjects((Secret)item);}
 else if (item instanceof ServiceAccount){addToServiceAccountObjects((ServiceAccount)item);}
 else if (item instanceof HorizontalPodAutoscaler){addToHorizontalPodAutoscalerObjects((HorizontalPodAutoscaler)item);}
 else if (item instanceof Job){addToJobObjects((Job)item);}
 else if (item instanceof OAuthAccessToken){addToOAuthAccessTokenObjects((OAuthAccessToken)item);}
 else if (item instanceof PersistentVolume){addToPersistentVolumeObjects((PersistentVolume)item);}
 else if (item instanceof Template){addToTemplateObjects((Template)item);}
 else if (item instanceof ImageStream){addToImageStreamObjects((ImageStream)item);}
 else if (item instanceof Binding){addToBindingObjects((Binding)item);}
 else if (item instanceof Service){addToServiceObjects((Service)item);}
 else if (item instanceof ClusterRoleBinding){addToClusterRoleBindingObjects((ClusterRoleBinding)item);}
 else if (item instanceof Namespace){addToNamespaceObjects((Namespace)item);}
 else if (item instanceof User){addToUserObjects((User)item);}
 else if (item instanceof ReplicationController){addToReplicationControllerObjects((ReplicationController)item);}
 else if (item instanceof OAuthAuthorizeToken){addToOAuthAuthorizeTokenObjects((OAuthAuthorizeToken)item);}
 else if (item instanceof SecurityContextConstraints){addToSecurityContextConstraintsObjects((SecurityContextConstraints)item);}
 else if (item instanceof PodTemplate){addToPodTemplateObjects((PodTemplate)item);}
 else if (item instanceof Route){addToRouteObjects((Route)item);}
 else if (item instanceof OAuthClient){addToOAuthClientObjects((OAuthClient)item);}
 else if (item instanceof Role){addToRoleObjects((Role)item);}
 else if (item instanceof Deployment){addToDeploymentObjects((Deployment)item);}
 else if (item instanceof Project){addToProjectObjects((Project)item);}
 else if (item instanceof ClusterPolicy){addToClusterPolicyObjects((ClusterPolicy)item);}
 else if (item instanceof Pod){addToPodObjects((Pod)item);}
 else if (item instanceof ThirdPartyResource){addToThirdPartyResourceObjects((ThirdPartyResource)item);}
 else if (item instanceof Build){addToBuildObjects((Build)item);}
 else if (item instanceof PolicyBinding){addToPolicyBindingObjects((PolicyBinding)item);}
 else if (item instanceof ClusterPolicyBinding){addToClusterPolicyBindingObjects((ClusterPolicyBinding)item);}
 else if (item instanceof Node){addToNodeObjects((Node)item);}
 else if (item instanceof ReplicaSet){addToReplicaSetObjects((ReplicaSet)item);}
 else if (item instanceof Policy){addToPolicyObjects((Policy)item);}
 else if (item instanceof ProjectRequest){addToProjectRequestObjects((ProjectRequest)item);}
 else if (item instanceof ResourceQuota){addToResourceQuotaObjects((ResourceQuota)item);}
 else if (item instanceof BuildRequest){addToBuildRequestObjects((BuildRequest)item);}
} return (T)this;
    }
    public T removeFromObjects( HasMetadata ...items){
    for (HasMetadata item : items) {if (item instanceof Scale){removeFromScaleObjects((Scale)item);}
 else if (item instanceof BuildConfig){removeFromBuildConfigObjects((BuildConfig)item);}
 else if (item instanceof RoleBinding){removeFromRoleBindingObjects((RoleBinding)item);}
 else if (item instanceof LimitRange){removeFromLimitRangeObjects((LimitRange)item);}
 else if (item instanceof Identity){removeFromIdentityObjects((Identity)item);}
 else if (item instanceof DeploymentConfig){removeFromDeploymentConfigObjects((DeploymentConfig)item);}
 else if (item instanceof DaemonSet){removeFromDaemonSetObjects((DaemonSet)item);}
 else if (item instanceof ClusterRole){removeFromClusterRoleObjects((ClusterRole)item);}
 else if (item instanceof Image){removeFromImageObjects((Image)item);}
 else if (item instanceof PersistentVolumeClaim){removeFromPersistentVolumeClaimObjects((PersistentVolumeClaim)item);}
 else if (item instanceof Endpoints){removeFromEndpointsObjects((Endpoints)item);}
 else if (item instanceof Event){removeFromEventObjects((Event)item);}
 else if (item instanceof ComponentStatus){removeFromComponentStatusObjects((ComponentStatus)item);}
 else if (item instanceof OAuthClientAuthorization){removeFromOAuthClientAuthorizationObjects((OAuthClientAuthorization)item);}
 else if (item instanceof Ingress){removeFromIngressObjects((Ingress)item);}
 else if (item instanceof Group){removeFromGroupObjects((Group)item);}
 else if (item instanceof ConfigMap){removeFromConfigMapObjects((ConfigMap)item);}
 else if (item instanceof Secret){removeFromSecretObjects((Secret)item);}
 else if (item instanceof ServiceAccount){removeFromServiceAccountObjects((ServiceAccount)item);}
 else if (item instanceof HorizontalPodAutoscaler){removeFromHorizontalPodAutoscalerObjects((HorizontalPodAutoscaler)item);}
 else if (item instanceof Job){removeFromJobObjects((Job)item);}
 else if (item instanceof OAuthAccessToken){removeFromOAuthAccessTokenObjects((OAuthAccessToken)item);}
 else if (item instanceof PersistentVolume){removeFromPersistentVolumeObjects((PersistentVolume)item);}
 else if (item instanceof Template){removeFromTemplateObjects((Template)item);}
 else if (item instanceof ImageStream){removeFromImageStreamObjects((ImageStream)item);}
 else if (item instanceof Binding){removeFromBindingObjects((Binding)item);}
 else if (item instanceof Service){removeFromServiceObjects((Service)item);}
 else if (item instanceof ClusterRoleBinding){removeFromClusterRoleBindingObjects((ClusterRoleBinding)item);}
 else if (item instanceof Namespace){removeFromNamespaceObjects((Namespace)item);}
 else if (item instanceof User){removeFromUserObjects((User)item);}
 else if (item instanceof ReplicationController){removeFromReplicationControllerObjects((ReplicationController)item);}
 else if (item instanceof OAuthAuthorizeToken){removeFromOAuthAuthorizeTokenObjects((OAuthAuthorizeToken)item);}
 else if (item instanceof SecurityContextConstraints){removeFromSecurityContextConstraintsObjects((SecurityContextConstraints)item);}
 else if (item instanceof PodTemplate){removeFromPodTemplateObjects((PodTemplate)item);}
 else if (item instanceof Route){removeFromRouteObjects((Route)item);}
 else if (item instanceof OAuthClient){removeFromOAuthClientObjects((OAuthClient)item);}
 else if (item instanceof Role){removeFromRoleObjects((Role)item);}
 else if (item instanceof Deployment){removeFromDeploymentObjects((Deployment)item);}
 else if (item instanceof Project){removeFromProjectObjects((Project)item);}
 else if (item instanceof ClusterPolicy){removeFromClusterPolicyObjects((ClusterPolicy)item);}
 else if (item instanceof Pod){removeFromPodObjects((Pod)item);}
 else if (item instanceof ThirdPartyResource){removeFromThirdPartyResourceObjects((ThirdPartyResource)item);}
 else if (item instanceof Build){removeFromBuildObjects((Build)item);}
 else if (item instanceof PolicyBinding){removeFromPolicyBindingObjects((PolicyBinding)item);}
 else if (item instanceof ClusterPolicyBinding){removeFromClusterPolicyBindingObjects((ClusterPolicyBinding)item);}
 else if (item instanceof Node){removeFromNodeObjects((Node)item);}
 else if (item instanceof ReplicaSet){removeFromReplicaSetObjects((ReplicaSet)item);}
 else if (item instanceof Policy){removeFromPolicyObjects((Policy)item);}
 else if (item instanceof ProjectRequest){removeFromProjectRequestObjects((ProjectRequest)item);}
 else if (item instanceof ResourceQuota){removeFromResourceQuotaObjects((ResourceQuota)item);}
 else if (item instanceof BuildRequest){removeFromBuildRequestObjects((BuildRequest)item);}
} return (T)this;
    }
    public List getObjects(){
    return aggregate(build(bindingObjects), build(buildConfigObjects), build(buildObjects), build(buildRequestObjects), build(clusterPolicyBindingObjects), build(clusterPolicyObjects), build(clusterRoleBindingObjects), build(clusterRoleObjects), build(componentStatusObjects), build(configMapObjects), build(daemonSetObjects), build(deploymentConfigObjects), build(deploymentObjects), build(endpointsObjects), build(eventObjects), build(groupObjects), build(horizontalPodAutoscalerObjects), build(identityObjects), build(imageObjects), build(imageStreamObjects), build(ingressObjects), build(jobObjects), build(limitRangeObjects), build(namespaceObjects), build(nodeObjects), build(oAuthAccessTokenObjects), build(oAuthAuthorizeTokenObjects), build(oAuthClientAuthorizationObjects), build(oAuthClientObjects), build(persistentVolumeClaimObjects), build(persistentVolumeObjects), build(podObjects), build(podTemplateObjects), build(policyBindingObjects), build(policyObjects), build(projectObjects), build(projectRequestObjects), build(replicaSetObjects), build(replicationControllerObjects), build(resourceQuotaObjects), build(roleBindingObjects), build(roleObjects), build(routeObjects), build(scaleObjects), build(secretObjects), build(securityContextConstraintsObjects), build(serviceAccountObjects), build(serviceObjects), build(templateObjects), build(thirdPartyResourceObjects), build(userObjects));
    }
    public T withObjects( List objects){
    this.objects.clear();if (objects != null) {for (HasMetadata item : objects){this.addToObjects(item);}} return (T) this;
    }
    public T withObjects( HasMetadata ...objects){
    this.objects.clear(); if (objects != null) {for (HasMetadata item :objects){ this.addToObjects(item);}} return (T) this;
    }
    public T addToScaleObjects( Scale ...items){
    for (Scale item : items) {ScaleBuilder builder = new ScaleBuilder(item);_visitables.add(builder);this.scaleObjects.add(builder);} return (T)this;
    }
    public T removeFromScaleObjects( Scale ...items){
    for (Scale item : items) {ScaleBuilder builder = new ScaleBuilder(item);_visitables.remove(builder);this.scaleObjects.remove(builder);} return (T)this;
    }
    public ScaleObjectsNested addNewScaleObject(){
    return new ScaleObjectsNestedImpl();
    }
    public ScaleObjectsNested addNewScaleObjectLike( Scale item){
    return new ScaleObjectsNestedImpl(item);
    }
    public T addToBuildConfigObjects( BuildConfig ...items){
    for (BuildConfig item : items) {BuildConfigBuilder builder = new BuildConfigBuilder(item);_visitables.add(builder);this.buildConfigObjects.add(builder);} return (T)this;
    }
    public T removeFromBuildConfigObjects( BuildConfig ...items){
    for (BuildConfig item : items) {BuildConfigBuilder builder = new BuildConfigBuilder(item);_visitables.remove(builder);this.buildConfigObjects.remove(builder);} return (T)this;
    }
    public BuildConfigObjectsNested addNewBuildConfigObject(){
    return new BuildConfigObjectsNestedImpl();
    }
    public BuildConfigObjectsNested addNewBuildConfigObjectLike( BuildConfig item){
    return new BuildConfigObjectsNestedImpl(item);
    }
    public T addToRoleBindingObjects( RoleBinding ...items){
    for (RoleBinding item : items) {RoleBindingBuilder builder = new RoleBindingBuilder(item);_visitables.add(builder);this.roleBindingObjects.add(builder);} return (T)this;
    }
    public T removeFromRoleBindingObjects( RoleBinding ...items){
    for (RoleBinding item : items) {RoleBindingBuilder builder = new RoleBindingBuilder(item);_visitables.remove(builder);this.roleBindingObjects.remove(builder);} return (T)this;
    }
    public RoleBindingObjectsNested addNewRoleBindingObject(){
    return new RoleBindingObjectsNestedImpl();
    }
    public RoleBindingObjectsNested addNewRoleBindingObjectLike( RoleBinding item){
    return new RoleBindingObjectsNestedImpl(item);
    }
    public T addToLimitRangeObjects( LimitRange ...items){
    for (LimitRange item : items) {LimitRangeBuilder builder = new LimitRangeBuilder(item);_visitables.add(builder);this.limitRangeObjects.add(builder);} return (T)this;
    }
    public T removeFromLimitRangeObjects( LimitRange ...items){
    for (LimitRange item : items) {LimitRangeBuilder builder = new LimitRangeBuilder(item);_visitables.remove(builder);this.limitRangeObjects.remove(builder);} return (T)this;
    }
    public LimitRangeObjectsNested addNewLimitRangeObject(){
    return new LimitRangeObjectsNestedImpl();
    }
    public LimitRangeObjectsNested addNewLimitRangeObjectLike( LimitRange item){
    return new LimitRangeObjectsNestedImpl(item);
    }
    public T addToIdentityObjects( Identity ...items){
    for (Identity item : items) {IdentityBuilder builder = new IdentityBuilder(item);_visitables.add(builder);this.identityObjects.add(builder);} return (T)this;
    }
    public T removeFromIdentityObjects( Identity ...items){
    for (Identity item : items) {IdentityBuilder builder = new IdentityBuilder(item);_visitables.remove(builder);this.identityObjects.remove(builder);} return (T)this;
    }
    public IdentityObjectsNested addNewIdentityObject(){
    return new IdentityObjectsNestedImpl();
    }
    public IdentityObjectsNested addNewIdentityObjectLike( Identity item){
    return new IdentityObjectsNestedImpl(item);
    }
    public T addToDeploymentConfigObjects( DeploymentConfig ...items){
    for (DeploymentConfig item : items) {DeploymentConfigBuilder builder = new DeploymentConfigBuilder(item);_visitables.add(builder);this.deploymentConfigObjects.add(builder);} return (T)this;
    }
    public T removeFromDeploymentConfigObjects( DeploymentConfig ...items){
    for (DeploymentConfig item : items) {DeploymentConfigBuilder builder = new DeploymentConfigBuilder(item);_visitables.remove(builder);this.deploymentConfigObjects.remove(builder);} return (T)this;
    }
    public DeploymentConfigObjectsNested addNewDeploymentConfigObject(){
    return new DeploymentConfigObjectsNestedImpl();
    }
    public DeploymentConfigObjectsNested addNewDeploymentConfigObjectLike( DeploymentConfig item){
    return new DeploymentConfigObjectsNestedImpl(item);
    }
    public T addToDaemonSetObjects( DaemonSet ...items){
    for (DaemonSet item : items) {DaemonSetBuilder builder = new DaemonSetBuilder(item);_visitables.add(builder);this.daemonSetObjects.add(builder);} return (T)this;
    }
    public T removeFromDaemonSetObjects( DaemonSet ...items){
    for (DaemonSet item : items) {DaemonSetBuilder builder = new DaemonSetBuilder(item);_visitables.remove(builder);this.daemonSetObjects.remove(builder);} return (T)this;
    }
    public DaemonSetObjectsNested addNewDaemonSetObject(){
    return new DaemonSetObjectsNestedImpl();
    }
    public DaemonSetObjectsNested addNewDaemonSetObjectLike( DaemonSet item){
    return new DaemonSetObjectsNestedImpl(item);
    }
    public T addToClusterRoleObjects( ClusterRole ...items){
    for (ClusterRole item : items) {ClusterRoleBuilder builder = new ClusterRoleBuilder(item);_visitables.add(builder);this.clusterRoleObjects.add(builder);} return (T)this;
    }
    public T removeFromClusterRoleObjects( ClusterRole ...items){
    for (ClusterRole item : items) {ClusterRoleBuilder builder = new ClusterRoleBuilder(item);_visitables.remove(builder);this.clusterRoleObjects.remove(builder);} return (T)this;
    }
    public ClusterRoleObjectsNested addNewClusterRoleObject(){
    return new ClusterRoleObjectsNestedImpl();
    }
    public ClusterRoleObjectsNested addNewClusterRoleObjectLike( ClusterRole item){
    return new ClusterRoleObjectsNestedImpl(item);
    }
    public T addToImageObjects( Image ...items){
    for (Image item : items) {ImageBuilder builder = new ImageBuilder(item);_visitables.add(builder);this.imageObjects.add(builder);} return (T)this;
    }
    public T removeFromImageObjects( Image ...items){
    for (Image item : items) {ImageBuilder builder = new ImageBuilder(item);_visitables.remove(builder);this.imageObjects.remove(builder);} return (T)this;
    }
    public ImageObjectsNested addNewImageObject(){
    return new ImageObjectsNestedImpl();
    }
    public ImageObjectsNested addNewImageObjectLike( Image item){
    return new ImageObjectsNestedImpl(item);
    }
    public T addToPersistentVolumeClaimObjects( PersistentVolumeClaim ...items){
    for (PersistentVolumeClaim item : items) {PersistentVolumeClaimBuilder builder = new PersistentVolumeClaimBuilder(item);_visitables.add(builder);this.persistentVolumeClaimObjects.add(builder);} return (T)this;
    }
    public T removeFromPersistentVolumeClaimObjects( PersistentVolumeClaim ...items){
    for (PersistentVolumeClaim item : items) {PersistentVolumeClaimBuilder builder = new PersistentVolumeClaimBuilder(item);_visitables.remove(builder);this.persistentVolumeClaimObjects.remove(builder);} return (T)this;
    }
    public PersistentVolumeClaimObjectsNested addNewPersistentVolumeClaimObject(){
    return new PersistentVolumeClaimObjectsNestedImpl();
    }
    public PersistentVolumeClaimObjectsNested addNewPersistentVolumeClaimObjectLike( PersistentVolumeClaim item){
    return new PersistentVolumeClaimObjectsNestedImpl(item);
    }
    public T addToEndpointsObjects( Endpoints ...items){
    for (Endpoints item : items) {EndpointsBuilder builder = new EndpointsBuilder(item);_visitables.add(builder);this.endpointsObjects.add(builder);} return (T)this;
    }
    public T removeFromEndpointsObjects( Endpoints ...items){
    for (Endpoints item : items) {EndpointsBuilder builder = new EndpointsBuilder(item);_visitables.remove(builder);this.endpointsObjects.remove(builder);} return (T)this;
    }
    public EndpointsObjectsNested addNewEndpointsObject(){
    return new EndpointsObjectsNestedImpl();
    }
    public EndpointsObjectsNested addNewEndpointsObjectLike( Endpoints item){
    return new EndpointsObjectsNestedImpl(item);
    }
    public T addToEventObjects( Event ...items){
    for (Event item : items) {EventBuilder builder = new EventBuilder(item);_visitables.add(builder);this.eventObjects.add(builder);} return (T)this;
    }
    public T removeFromEventObjects( Event ...items){
    for (Event item : items) {EventBuilder builder = new EventBuilder(item);_visitables.remove(builder);this.eventObjects.remove(builder);} return (T)this;
    }
    public EventObjectsNested addNewEventObject(){
    return new EventObjectsNestedImpl();
    }
    public EventObjectsNested addNewEventObjectLike( Event item){
    return new EventObjectsNestedImpl(item);
    }
    public T addToComponentStatusObjects( ComponentStatus ...items){
    for (ComponentStatus item : items) {ComponentStatusBuilder builder = new ComponentStatusBuilder(item);_visitables.add(builder);this.componentStatusObjects.add(builder);} return (T)this;
    }
    public T removeFromComponentStatusObjects( ComponentStatus ...items){
    for (ComponentStatus item : items) {ComponentStatusBuilder builder = new ComponentStatusBuilder(item);_visitables.remove(builder);this.componentStatusObjects.remove(builder);} return (T)this;
    }
    public ComponentStatusObjectsNested addNewComponentStatusObject(){
    return new ComponentStatusObjectsNestedImpl();
    }
    public ComponentStatusObjectsNested addNewComponentStatusObjectLike( ComponentStatus item){
    return new ComponentStatusObjectsNestedImpl(item);
    }
    public T addToOAuthClientAuthorizationObjects( OAuthClientAuthorization ...items){
    for (OAuthClientAuthorization item : items) {OAuthClientAuthorizationBuilder builder = new OAuthClientAuthorizationBuilder(item);_visitables.add(builder);this.oAuthClientAuthorizationObjects.add(builder);} return (T)this;
    }
    public T removeFromOAuthClientAuthorizationObjects( OAuthClientAuthorization ...items){
    for (OAuthClientAuthorization item : items) {OAuthClientAuthorizationBuilder builder = new OAuthClientAuthorizationBuilder(item);_visitables.remove(builder);this.oAuthClientAuthorizationObjects.remove(builder);} return (T)this;
    }
    public OAuthClientAuthorizationObjectsNested addNewOAuthClientAuthorizationObject(){
    return new OAuthClientAuthorizationObjectsNestedImpl();
    }
    public OAuthClientAuthorizationObjectsNested addNewOAuthClientAuthorizationObjectLike( OAuthClientAuthorization item){
    return new OAuthClientAuthorizationObjectsNestedImpl(item);
    }
    public T addToIngressObjects( Ingress ...items){
    for (Ingress item : items) {IngressBuilder builder = new IngressBuilder(item);_visitables.add(builder);this.ingressObjects.add(builder);} return (T)this;
    }
    public T removeFromIngressObjects( Ingress ...items){
    for (Ingress item : items) {IngressBuilder builder = new IngressBuilder(item);_visitables.remove(builder);this.ingressObjects.remove(builder);} return (T)this;
    }
    public IngressObjectsNested addNewIngressObject(){
    return new IngressObjectsNestedImpl();
    }
    public IngressObjectsNested addNewIngressObjectLike( Ingress item){
    return new IngressObjectsNestedImpl(item);
    }
    public T addToGroupObjects( Group ...items){
    for (Group item : items) {GroupBuilder builder = new GroupBuilder(item);_visitables.add(builder);this.groupObjects.add(builder);} return (T)this;
    }
    public T removeFromGroupObjects( Group ...items){
    for (Group item : items) {GroupBuilder builder = new GroupBuilder(item);_visitables.remove(builder);this.groupObjects.remove(builder);} return (T)this;
    }
    public GroupObjectsNested addNewGroupObject(){
    return new GroupObjectsNestedImpl();
    }
    public GroupObjectsNested addNewGroupObjectLike( Group item){
    return new GroupObjectsNestedImpl(item);
    }
    public T addToConfigMapObjects( ConfigMap ...items){
    for (ConfigMap item : items) {ConfigMapBuilder builder = new ConfigMapBuilder(item);_visitables.add(builder);this.configMapObjects.add(builder);} return (T)this;
    }
    public T removeFromConfigMapObjects( ConfigMap ...items){
    for (ConfigMap item : items) {ConfigMapBuilder builder = new ConfigMapBuilder(item);_visitables.remove(builder);this.configMapObjects.remove(builder);} return (T)this;
    }
    public ConfigMapObjectsNested addNewConfigMapObject(){
    return new ConfigMapObjectsNestedImpl();
    }
    public ConfigMapObjectsNested addNewConfigMapObjectLike( ConfigMap item){
    return new ConfigMapObjectsNestedImpl(item);
    }
    public T addToSecretObjects( Secret ...items){
    for (Secret item : items) {SecretBuilder builder = new SecretBuilder(item);_visitables.add(builder);this.secretObjects.add(builder);} return (T)this;
    }
    public T removeFromSecretObjects( Secret ...items){
    for (Secret item : items) {SecretBuilder builder = new SecretBuilder(item);_visitables.remove(builder);this.secretObjects.remove(builder);} return (T)this;
    }
    public SecretObjectsNested addNewSecretObject(){
    return new SecretObjectsNestedImpl();
    }
    public SecretObjectsNested addNewSecretObjectLike( Secret item){
    return new SecretObjectsNestedImpl(item);
    }
    public T addToServiceAccountObjects( ServiceAccount ...items){
    for (ServiceAccount item : items) {ServiceAccountBuilder builder = new ServiceAccountBuilder(item);_visitables.add(builder);this.serviceAccountObjects.add(builder);} return (T)this;
    }
    public T removeFromServiceAccountObjects( ServiceAccount ...items){
    for (ServiceAccount item : items) {ServiceAccountBuilder builder = new ServiceAccountBuilder(item);_visitables.remove(builder);this.serviceAccountObjects.remove(builder);} return (T)this;
    }
    public ServiceAccountObjectsNested addNewServiceAccountObject(){
    return new ServiceAccountObjectsNestedImpl();
    }
    public ServiceAccountObjectsNested addNewServiceAccountObjectLike( ServiceAccount item){
    return new ServiceAccountObjectsNestedImpl(item);
    }
    public T addToHorizontalPodAutoscalerObjects( HorizontalPodAutoscaler ...items){
    for (HorizontalPodAutoscaler item : items) {HorizontalPodAutoscalerBuilder builder = new HorizontalPodAutoscalerBuilder(item);_visitables.add(builder);this.horizontalPodAutoscalerObjects.add(builder);} return (T)this;
    }
    public T removeFromHorizontalPodAutoscalerObjects( HorizontalPodAutoscaler ...items){
    for (HorizontalPodAutoscaler item : items) {HorizontalPodAutoscalerBuilder builder = new HorizontalPodAutoscalerBuilder(item);_visitables.remove(builder);this.horizontalPodAutoscalerObjects.remove(builder);} return (T)this;
    }
    public HorizontalPodAutoscalerObjectsNested addNewHorizontalPodAutoscalerObject(){
    return new HorizontalPodAutoscalerObjectsNestedImpl();
    }
    public HorizontalPodAutoscalerObjectsNested addNewHorizontalPodAutoscalerObjectLike( HorizontalPodAutoscaler item){
    return new HorizontalPodAutoscalerObjectsNestedImpl(item);
    }
    public T addToJobObjects( Job ...items){
    for (Job item : items) {JobBuilder builder = new JobBuilder(item);_visitables.add(builder);this.jobObjects.add(builder);} return (T)this;
    }
    public T removeFromJobObjects( Job ...items){
    for (Job item : items) {JobBuilder builder = new JobBuilder(item);_visitables.remove(builder);this.jobObjects.remove(builder);} return (T)this;
    }
    public JobObjectsNested addNewJobObject(){
    return new JobObjectsNestedImpl();
    }
    public JobObjectsNested addNewJobObjectLike( Job item){
    return new JobObjectsNestedImpl(item);
    }
    public T addToOAuthAccessTokenObjects( OAuthAccessToken ...items){
    for (OAuthAccessToken item : items) {OAuthAccessTokenBuilder builder = new OAuthAccessTokenBuilder(item);_visitables.add(builder);this.oAuthAccessTokenObjects.add(builder);} return (T)this;
    }
    public T removeFromOAuthAccessTokenObjects( OAuthAccessToken ...items){
    for (OAuthAccessToken item : items) {OAuthAccessTokenBuilder builder = new OAuthAccessTokenBuilder(item);_visitables.remove(builder);this.oAuthAccessTokenObjects.remove(builder);} return (T)this;
    }
    public OAuthAccessTokenObjectsNested addNewOAuthAccessTokenObject(){
    return new OAuthAccessTokenObjectsNestedImpl();
    }
    public OAuthAccessTokenObjectsNested addNewOAuthAccessTokenObjectLike( OAuthAccessToken item){
    return new OAuthAccessTokenObjectsNestedImpl(item);
    }
    public T addToPersistentVolumeObjects( PersistentVolume ...items){
    for (PersistentVolume item : items) {PersistentVolumeBuilder builder = new PersistentVolumeBuilder(item);_visitables.add(builder);this.persistentVolumeObjects.add(builder);} return (T)this;
    }
    public T removeFromPersistentVolumeObjects( PersistentVolume ...items){
    for (PersistentVolume item : items) {PersistentVolumeBuilder builder = new PersistentVolumeBuilder(item);_visitables.remove(builder);this.persistentVolumeObjects.remove(builder);} return (T)this;
    }
    public PersistentVolumeObjectsNested addNewPersistentVolumeObject(){
    return new PersistentVolumeObjectsNestedImpl();
    }
    public PersistentVolumeObjectsNested addNewPersistentVolumeObjectLike( PersistentVolume item){
    return new PersistentVolumeObjectsNestedImpl(item);
    }
    public T addToTemplateObjects( Template ...items){
    for (Template item : items) {TemplateBuilder builder = new TemplateBuilder(item);_visitables.add(builder);this.templateObjects.add(builder);} return (T)this;
    }
    public T removeFromTemplateObjects( Template ...items){
    for (Template item : items) {TemplateBuilder builder = new TemplateBuilder(item);_visitables.remove(builder);this.templateObjects.remove(builder);} return (T)this;
    }
    public TemplateObjectsNested addNewTemplateObject(){
    return new TemplateObjectsNestedImpl();
    }
    public TemplateObjectsNested addNewTemplateObjectLike( Template item){
    return new TemplateObjectsNestedImpl(item);
    }
    public T addToImageStreamObjects( ImageStream ...items){
    for (ImageStream item : items) {ImageStreamBuilder builder = new ImageStreamBuilder(item);_visitables.add(builder);this.imageStreamObjects.add(builder);} return (T)this;
    }
    public T removeFromImageStreamObjects( ImageStream ...items){
    for (ImageStream item : items) {ImageStreamBuilder builder = new ImageStreamBuilder(item);_visitables.remove(builder);this.imageStreamObjects.remove(builder);} return (T)this;
    }
    public ImageStreamObjectsNested addNewImageStreamObject(){
    return new ImageStreamObjectsNestedImpl();
    }
    public ImageStreamObjectsNested addNewImageStreamObjectLike( ImageStream item){
    return new ImageStreamObjectsNestedImpl(item);
    }
    public T addToBindingObjects( Binding ...items){
    for (Binding item : items) {BindingBuilder builder = new BindingBuilder(item);_visitables.add(builder);this.bindingObjects.add(builder);} return (T)this;
    }
    public T removeFromBindingObjects( Binding ...items){
    for (Binding item : items) {BindingBuilder builder = new BindingBuilder(item);_visitables.remove(builder);this.bindingObjects.remove(builder);} return (T)this;
    }
    public BindingObjectsNested addNewBindingObject(){
    return new BindingObjectsNestedImpl();
    }
    public BindingObjectsNested addNewBindingObjectLike( Binding item){
    return new BindingObjectsNestedImpl(item);
    }
    public T addToServiceObjects( Service ...items){
    for (Service item : items) {ServiceBuilder builder = new ServiceBuilder(item);_visitables.add(builder);this.serviceObjects.add(builder);} return (T)this;
    }
    public T removeFromServiceObjects( Service ...items){
    for (Service item : items) {ServiceBuilder builder = new ServiceBuilder(item);_visitables.remove(builder);this.serviceObjects.remove(builder);} return (T)this;
    }
    public ServiceObjectsNested addNewServiceObject(){
    return new ServiceObjectsNestedImpl();
    }
    public ServiceObjectsNested addNewServiceObjectLike( Service item){
    return new ServiceObjectsNestedImpl(item);
    }
    public T addToClusterRoleBindingObjects( ClusterRoleBinding ...items){
    for (ClusterRoleBinding item : items) {ClusterRoleBindingBuilder builder = new ClusterRoleBindingBuilder(item);_visitables.add(builder);this.clusterRoleBindingObjects.add(builder);} return (T)this;
    }
    public T removeFromClusterRoleBindingObjects( ClusterRoleBinding ...items){
    for (ClusterRoleBinding item : items) {ClusterRoleBindingBuilder builder = new ClusterRoleBindingBuilder(item);_visitables.remove(builder);this.clusterRoleBindingObjects.remove(builder);} return (T)this;
    }
    public ClusterRoleBindingObjectsNested addNewClusterRoleBindingObject(){
    return new ClusterRoleBindingObjectsNestedImpl();
    }
    public ClusterRoleBindingObjectsNested addNewClusterRoleBindingObjectLike( ClusterRoleBinding item){
    return new ClusterRoleBindingObjectsNestedImpl(item);
    }
    public T addToNamespaceObjects( Namespace ...items){
    for (Namespace item : items) {NamespaceBuilder builder = new NamespaceBuilder(item);_visitables.add(builder);this.namespaceObjects.add(builder);} return (T)this;
    }
    public T removeFromNamespaceObjects( Namespace ...items){
    for (Namespace item : items) {NamespaceBuilder builder = new NamespaceBuilder(item);_visitables.remove(builder);this.namespaceObjects.remove(builder);} return (T)this;
    }
    public NamespaceObjectsNested addNewNamespaceObject(){
    return new NamespaceObjectsNestedImpl();
    }
    public NamespaceObjectsNested addNewNamespaceObjectLike( Namespace item){
    return new NamespaceObjectsNestedImpl(item);
    }
    public T addToUserObjects( User ...items){
    for (User item : items) {UserBuilder builder = new UserBuilder(item);_visitables.add(builder);this.userObjects.add(builder);} return (T)this;
    }
    public T removeFromUserObjects( User ...items){
    for (User item : items) {UserBuilder builder = new UserBuilder(item);_visitables.remove(builder);this.userObjects.remove(builder);} return (T)this;
    }
    public UserObjectsNested addNewUserObject(){
    return new UserObjectsNestedImpl();
    }
    public UserObjectsNested addNewUserObjectLike( User item){
    return new UserObjectsNestedImpl(item);
    }
    public T addToReplicationControllerObjects( ReplicationController ...items){
    for (ReplicationController item : items) {ReplicationControllerBuilder builder = new ReplicationControllerBuilder(item);_visitables.add(builder);this.replicationControllerObjects.add(builder);} return (T)this;
    }
    public T removeFromReplicationControllerObjects( ReplicationController ...items){
    for (ReplicationController item : items) {ReplicationControllerBuilder builder = new ReplicationControllerBuilder(item);_visitables.remove(builder);this.replicationControllerObjects.remove(builder);} return (T)this;
    }
    public ReplicationControllerObjectsNested addNewReplicationControllerObject(){
    return new ReplicationControllerObjectsNestedImpl();
    }
    public ReplicationControllerObjectsNested addNewReplicationControllerObjectLike( ReplicationController item){
    return new ReplicationControllerObjectsNestedImpl(item);
    }
    public T addToOAuthAuthorizeTokenObjects( OAuthAuthorizeToken ...items){
    for (OAuthAuthorizeToken item : items) {OAuthAuthorizeTokenBuilder builder = new OAuthAuthorizeTokenBuilder(item);_visitables.add(builder);this.oAuthAuthorizeTokenObjects.add(builder);} return (T)this;
    }
    public T removeFromOAuthAuthorizeTokenObjects( OAuthAuthorizeToken ...items){
    for (OAuthAuthorizeToken item : items) {OAuthAuthorizeTokenBuilder builder = new OAuthAuthorizeTokenBuilder(item);_visitables.remove(builder);this.oAuthAuthorizeTokenObjects.remove(builder);} return (T)this;
    }
    public OAuthAuthorizeTokenObjectsNested addNewOAuthAuthorizeTokenObject(){
    return new OAuthAuthorizeTokenObjectsNestedImpl();
    }
    public OAuthAuthorizeTokenObjectsNested addNewOAuthAuthorizeTokenObjectLike( OAuthAuthorizeToken item){
    return new OAuthAuthorizeTokenObjectsNestedImpl(item);
    }
    public T addToSecurityContextConstraintsObjects( SecurityContextConstraints ...items){
    for (SecurityContextConstraints item : items) {SecurityContextConstraintsBuilder builder = new SecurityContextConstraintsBuilder(item);_visitables.add(builder);this.securityContextConstraintsObjects.add(builder);} return (T)this;
    }
    public T removeFromSecurityContextConstraintsObjects( SecurityContextConstraints ...items){
    for (SecurityContextConstraints item : items) {SecurityContextConstraintsBuilder builder = new SecurityContextConstraintsBuilder(item);_visitables.remove(builder);this.securityContextConstraintsObjects.remove(builder);} return (T)this;
    }
    public SecurityContextConstraintsObjectsNested addNewSecurityContextConstraintsObject(){
    return new SecurityContextConstraintsObjectsNestedImpl();
    }
    public SecurityContextConstraintsObjectsNested addNewSecurityContextConstraintsObjectLike( SecurityContextConstraints item){
    return new SecurityContextConstraintsObjectsNestedImpl(item);
    }
    public T addToPodTemplateObjects( PodTemplate ...items){
    for (PodTemplate item : items) {PodTemplateBuilder builder = new PodTemplateBuilder(item);_visitables.add(builder);this.podTemplateObjects.add(builder);} return (T)this;
    }
    public T removeFromPodTemplateObjects( PodTemplate ...items){
    for (PodTemplate item : items) {PodTemplateBuilder builder = new PodTemplateBuilder(item);_visitables.remove(builder);this.podTemplateObjects.remove(builder);} return (T)this;
    }
    public PodTemplateObjectsNested addNewPodTemplateObject(){
    return new PodTemplateObjectsNestedImpl();
    }
    public PodTemplateObjectsNested addNewPodTemplateObjectLike( PodTemplate item){
    return new PodTemplateObjectsNestedImpl(item);
    }
    public T addToRouteObjects( Route ...items){
    for (Route item : items) {RouteBuilder builder = new RouteBuilder(item);_visitables.add(builder);this.routeObjects.add(builder);} return (T)this;
    }
    public T removeFromRouteObjects( Route ...items){
    for (Route item : items) {RouteBuilder builder = new RouteBuilder(item);_visitables.remove(builder);this.routeObjects.remove(builder);} return (T)this;
    }
    public RouteObjectsNested addNewRouteObject(){
    return new RouteObjectsNestedImpl();
    }
    public RouteObjectsNested addNewRouteObjectLike( Route item){
    return new RouteObjectsNestedImpl(item);
    }
    public T addToOAuthClientObjects( OAuthClient ...items){
    for (OAuthClient item : items) {OAuthClientBuilder builder = new OAuthClientBuilder(item);_visitables.add(builder);this.oAuthClientObjects.add(builder);} return (T)this;
    }
    public T removeFromOAuthClientObjects( OAuthClient ...items){
    for (OAuthClient item : items) {OAuthClientBuilder builder = new OAuthClientBuilder(item);_visitables.remove(builder);this.oAuthClientObjects.remove(builder);} return (T)this;
    }
    public OAuthClientObjectsNested addNewOAuthClientObject(){
    return new OAuthClientObjectsNestedImpl();
    }
    public OAuthClientObjectsNested addNewOAuthClientObjectLike( OAuthClient item){
    return new OAuthClientObjectsNestedImpl(item);
    }
    public T addToRoleObjects( Role ...items){
    for (Role item : items) {RoleBuilder builder = new RoleBuilder(item);_visitables.add(builder);this.roleObjects.add(builder);} return (T)this;
    }
    public T removeFromRoleObjects( Role ...items){
    for (Role item : items) {RoleBuilder builder = new RoleBuilder(item);_visitables.remove(builder);this.roleObjects.remove(builder);} return (T)this;
    }
    public RoleObjectsNested addNewRoleObject(){
    return new RoleObjectsNestedImpl();
    }
    public RoleObjectsNested addNewRoleObjectLike( Role item){
    return new RoleObjectsNestedImpl(item);
    }
    public T addToDeploymentObjects( Deployment ...items){
    for (Deployment item : items) {DeploymentBuilder builder = new DeploymentBuilder(item);_visitables.add(builder);this.deploymentObjects.add(builder);} return (T)this;
    }
    public T removeFromDeploymentObjects( Deployment ...items){
    for (Deployment item : items) {DeploymentBuilder builder = new DeploymentBuilder(item);_visitables.remove(builder);this.deploymentObjects.remove(builder);} return (T)this;
    }
    public DeploymentObjectsNested addNewDeploymentObject(){
    return new DeploymentObjectsNestedImpl();
    }
    public DeploymentObjectsNested addNewDeploymentObjectLike( Deployment item){
    return new DeploymentObjectsNestedImpl(item);
    }
    public T addToProjectObjects( Project ...items){
    for (Project item : items) {ProjectBuilder builder = new ProjectBuilder(item);_visitables.add(builder);this.projectObjects.add(builder);} return (T)this;
    }
    public T removeFromProjectObjects( Project ...items){
    for (Project item : items) {ProjectBuilder builder = new ProjectBuilder(item);_visitables.remove(builder);this.projectObjects.remove(builder);} return (T)this;
    }
    public ProjectObjectsNested addNewProjectObject(){
    return new ProjectObjectsNestedImpl();
    }
    public ProjectObjectsNested addNewProjectObjectLike( Project item){
    return new ProjectObjectsNestedImpl(item);
    }
    public T addToClusterPolicyObjects( ClusterPolicy ...items){
    for (ClusterPolicy item : items) {ClusterPolicyBuilder builder = new ClusterPolicyBuilder(item);_visitables.add(builder);this.clusterPolicyObjects.add(builder);} return (T)this;
    }
    public T removeFromClusterPolicyObjects( ClusterPolicy ...items){
    for (ClusterPolicy item : items) {ClusterPolicyBuilder builder = new ClusterPolicyBuilder(item);_visitables.remove(builder);this.clusterPolicyObjects.remove(builder);} return (T)this;
    }
    public ClusterPolicyObjectsNested addNewClusterPolicyObject(){
    return new ClusterPolicyObjectsNestedImpl();
    }
    public ClusterPolicyObjectsNested addNewClusterPolicyObjectLike( ClusterPolicy item){
    return new ClusterPolicyObjectsNestedImpl(item);
    }
    public T addToPodObjects( Pod ...items){
    for (Pod item : items) {PodBuilder builder = new PodBuilder(item);_visitables.add(builder);this.podObjects.add(builder);} return (T)this;
    }
    public T removeFromPodObjects( Pod ...items){
    for (Pod item : items) {PodBuilder builder = new PodBuilder(item);_visitables.remove(builder);this.podObjects.remove(builder);} return (T)this;
    }
    public PodObjectsNested addNewPodObject(){
    return new PodObjectsNestedImpl();
    }
    public PodObjectsNested addNewPodObjectLike( Pod item){
    return new PodObjectsNestedImpl(item);
    }
    public T addToThirdPartyResourceObjects( ThirdPartyResource ...items){
    for (ThirdPartyResource item : items) {ThirdPartyResourceBuilder builder = new ThirdPartyResourceBuilder(item);_visitables.add(builder);this.thirdPartyResourceObjects.add(builder);} return (T)this;
    }
    public T removeFromThirdPartyResourceObjects( ThirdPartyResource ...items){
    for (ThirdPartyResource item : items) {ThirdPartyResourceBuilder builder = new ThirdPartyResourceBuilder(item);_visitables.remove(builder);this.thirdPartyResourceObjects.remove(builder);} return (T)this;
    }
    public ThirdPartyResourceObjectsNested addNewThirdPartyResourceObject(){
    return new ThirdPartyResourceObjectsNestedImpl();
    }
    public ThirdPartyResourceObjectsNested addNewThirdPartyResourceObjectLike( ThirdPartyResource item){
    return new ThirdPartyResourceObjectsNestedImpl(item);
    }
    public T addToBuildObjects( Build ...items){
    for (Build item : items) {BuildBuilder builder = new BuildBuilder(item);_visitables.add(builder);this.buildObjects.add(builder);} return (T)this;
    }
    public T removeFromBuildObjects( Build ...items){
    for (Build item : items) {BuildBuilder builder = new BuildBuilder(item);_visitables.remove(builder);this.buildObjects.remove(builder);} return (T)this;
    }
    public BuildObjectsNested addNewBuildObject(){
    return new BuildObjectsNestedImpl();
    }
    public BuildObjectsNested addNewBuildObjectLike( Build item){
    return new BuildObjectsNestedImpl(item);
    }
    public T addToPolicyBindingObjects( PolicyBinding ...items){
    for (PolicyBinding item : items) {PolicyBindingBuilder builder = new PolicyBindingBuilder(item);_visitables.add(builder);this.policyBindingObjects.add(builder);} return (T)this;
    }
    public T removeFromPolicyBindingObjects( PolicyBinding ...items){
    for (PolicyBinding item : items) {PolicyBindingBuilder builder = new PolicyBindingBuilder(item);_visitables.remove(builder);this.policyBindingObjects.remove(builder);} return (T)this;
    }
    public PolicyBindingObjectsNested addNewPolicyBindingObject(){
    return new PolicyBindingObjectsNestedImpl();
    }
    public PolicyBindingObjectsNested addNewPolicyBindingObjectLike( PolicyBinding item){
    return new PolicyBindingObjectsNestedImpl(item);
    }
    public T addToClusterPolicyBindingObjects( ClusterPolicyBinding ...items){
    for (ClusterPolicyBinding item : items) {ClusterPolicyBindingBuilder builder = new ClusterPolicyBindingBuilder(item);_visitables.add(builder);this.clusterPolicyBindingObjects.add(builder);} return (T)this;
    }
    public T removeFromClusterPolicyBindingObjects( ClusterPolicyBinding ...items){
    for (ClusterPolicyBinding item : items) {ClusterPolicyBindingBuilder builder = new ClusterPolicyBindingBuilder(item);_visitables.remove(builder);this.clusterPolicyBindingObjects.remove(builder);} return (T)this;
    }
    public ClusterPolicyBindingObjectsNested addNewClusterPolicyBindingObject(){
    return new ClusterPolicyBindingObjectsNestedImpl();
    }
    public ClusterPolicyBindingObjectsNested addNewClusterPolicyBindingObjectLike( ClusterPolicyBinding item){
    return new ClusterPolicyBindingObjectsNestedImpl(item);
    }
    public T addToNodeObjects( Node ...items){
    for (Node item : items) {NodeBuilder builder = new NodeBuilder(item);_visitables.add(builder);this.nodeObjects.add(builder);} return (T)this;
    }
    public T removeFromNodeObjects( Node ...items){
    for (Node item : items) {NodeBuilder builder = new NodeBuilder(item);_visitables.remove(builder);this.nodeObjects.remove(builder);} return (T)this;
    }
    public NodeObjectsNested addNewNodeObject(){
    return new NodeObjectsNestedImpl();
    }
    public NodeObjectsNested addNewNodeObjectLike( Node item){
    return new NodeObjectsNestedImpl(item);
    }
    public T addToReplicaSetObjects( ReplicaSet ...items){
    for (ReplicaSet item : items) {ReplicaSetBuilder builder = new ReplicaSetBuilder(item);_visitables.add(builder);this.replicaSetObjects.add(builder);} return (T)this;
    }
    public T removeFromReplicaSetObjects( ReplicaSet ...items){
    for (ReplicaSet item : items) {ReplicaSetBuilder builder = new ReplicaSetBuilder(item);_visitables.remove(builder);this.replicaSetObjects.remove(builder);} return (T)this;
    }
    public ReplicaSetObjectsNested addNewReplicaSetObject(){
    return new ReplicaSetObjectsNestedImpl();
    }
    public ReplicaSetObjectsNested addNewReplicaSetObjectLike( ReplicaSet item){
    return new ReplicaSetObjectsNestedImpl(item);
    }
    public T addToPolicyObjects( Policy ...items){
    for (Policy item : items) {PolicyBuilder builder = new PolicyBuilder(item);_visitables.add(builder);this.policyObjects.add(builder);} return (T)this;
    }
    public T removeFromPolicyObjects( Policy ...items){
    for (Policy item : items) {PolicyBuilder builder = new PolicyBuilder(item);_visitables.remove(builder);this.policyObjects.remove(builder);} return (T)this;
    }
    public PolicyObjectsNested addNewPolicyObject(){
    return new PolicyObjectsNestedImpl();
    }
    public PolicyObjectsNested addNewPolicyObjectLike( Policy item){
    return new PolicyObjectsNestedImpl(item);
    }
    public T addToProjectRequestObjects( ProjectRequest ...items){
    for (ProjectRequest item : items) {ProjectRequestBuilder builder = new ProjectRequestBuilder(item);_visitables.add(builder);this.projectRequestObjects.add(builder);} return (T)this;
    }
    public T removeFromProjectRequestObjects( ProjectRequest ...items){
    for (ProjectRequest item : items) {ProjectRequestBuilder builder = new ProjectRequestBuilder(item);_visitables.remove(builder);this.projectRequestObjects.remove(builder);} return (T)this;
    }
    public ProjectRequestObjectsNested addNewProjectRequestObject(){
    return new ProjectRequestObjectsNestedImpl();
    }
    public ProjectRequestObjectsNested addNewProjectRequestObjectLike( ProjectRequest item){
    return new ProjectRequestObjectsNestedImpl(item);
    }
    public T addToResourceQuotaObjects( ResourceQuota ...items){
    for (ResourceQuota item : items) {ResourceQuotaBuilder builder = new ResourceQuotaBuilder(item);_visitables.add(builder);this.resourceQuotaObjects.add(builder);} return (T)this;
    }
    public T removeFromResourceQuotaObjects( ResourceQuota ...items){
    for (ResourceQuota item : items) {ResourceQuotaBuilder builder = new ResourceQuotaBuilder(item);_visitables.remove(builder);this.resourceQuotaObjects.remove(builder);} return (T)this;
    }
    public ResourceQuotaObjectsNested addNewResourceQuotaObject(){
    return new ResourceQuotaObjectsNestedImpl();
    }
    public ResourceQuotaObjectsNested addNewResourceQuotaObjectLike( ResourceQuota item){
    return new ResourceQuotaObjectsNestedImpl(item);
    }
    public T addToBuildRequestObjects( BuildRequest ...items){
    for (BuildRequest item : items) {BuildRequestBuilder builder = new BuildRequestBuilder(item);_visitables.add(builder);this.buildRequestObjects.add(builder);} return (T)this;
    }
    public T removeFromBuildRequestObjects( BuildRequest ...items){
    for (BuildRequest item : items) {BuildRequestBuilder builder = new BuildRequestBuilder(item);_visitables.remove(builder);this.buildRequestObjects.remove(builder);} return (T)this;
    }
    public BuildRequestObjectsNested addNewBuildRequestObject(){
    return new BuildRequestObjectsNestedImpl();
    }
    public BuildRequestObjectsNested addNewBuildRequestObjectLike( BuildRequest item){
    return new BuildRequestObjectsNestedImpl(item);
    }
    public T addToParameters( Parameter ...items){
    for (Parameter item : items) {ParameterBuilder builder = new ParameterBuilder(item);_visitables.add(builder);this.parameters.add(builder);} return (T)this;
    }
    public T removeFromParameters( Parameter ...items){
    for (Parameter item : items) {ParameterBuilder builder = new ParameterBuilder(item);_visitables.remove(builder);this.parameters.remove(builder);} return (T)this;
    }
    public List getParameters(){
    return build(parameters);
    }
    public T withParameters( List parameters){
    this.parameters.clear();if (parameters != null) {for (Parameter item : parameters){this.addToParameters(item);}} return (T) this;
    }
    public T withParameters( Parameter ...parameters){
    this.parameters.clear(); if (parameters != null) {for (Parameter item :parameters){ this.addToParameters(item);}} return (T) this;
    }
    public ParametersNested addNewParameter(){
    return new ParametersNestedImpl();
    }
    public ParametersNested addNewParameterLike( Parameter item){
    return new ParametersNestedImpl(item);
    }
    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;
TemplateFluentImpl that = (TemplateFluentImpl) o;
if (apiVersion != null ? !apiVersion.equals(that.apiVersion) :that.apiVersion != null) return false;
if (kind != null ? !kind.equals(that.kind) :that.kind != null) return false;
if (labels != null ? !labels.equals(that.labels) :that.labels != null) return false;
if (metadata != null ? !metadata.equals(that.metadata) :that.metadata != null) return false;
if (objects != null ? !objects.equals(that.objects) :that.objects != null) return false;
if (scaleObjects != null ? !scaleObjects.equals(that.scaleObjects) :that.scaleObjects != null) return false;
if (buildConfigObjects != null ? !buildConfigObjects.equals(that.buildConfigObjects) :that.buildConfigObjects != null) return false;
if (roleBindingObjects != null ? !roleBindingObjects.equals(that.roleBindingObjects) :that.roleBindingObjects != null) return false;
if (limitRangeObjects != null ? !limitRangeObjects.equals(that.limitRangeObjects) :that.limitRangeObjects != null) return false;
if (identityObjects != null ? !identityObjects.equals(that.identityObjects) :that.identityObjects != null) return false;
if (deploymentConfigObjects != null ? !deploymentConfigObjects.equals(that.deploymentConfigObjects) :that.deploymentConfigObjects != null) return false;
if (daemonSetObjects != null ? !daemonSetObjects.equals(that.daemonSetObjects) :that.daemonSetObjects != null) return false;
if (clusterRoleObjects != null ? !clusterRoleObjects.equals(that.clusterRoleObjects) :that.clusterRoleObjects != null) return false;
if (imageObjects != null ? !imageObjects.equals(that.imageObjects) :that.imageObjects != null) return false;
if (persistentVolumeClaimObjects != null ? !persistentVolumeClaimObjects.equals(that.persistentVolumeClaimObjects) :that.persistentVolumeClaimObjects != null) return false;
if (endpointsObjects != null ? !endpointsObjects.equals(that.endpointsObjects) :that.endpointsObjects != null) return false;
if (eventObjects != null ? !eventObjects.equals(that.eventObjects) :that.eventObjects != null) return false;
if (componentStatusObjects != null ? !componentStatusObjects.equals(that.componentStatusObjects) :that.componentStatusObjects != null) return false;
if (oAuthClientAuthorizationObjects != null ? !oAuthClientAuthorizationObjects.equals(that.oAuthClientAuthorizationObjects) :that.oAuthClientAuthorizationObjects != null) return false;
if (ingressObjects != null ? !ingressObjects.equals(that.ingressObjects) :that.ingressObjects != null) return false;
if (groupObjects != null ? !groupObjects.equals(that.groupObjects) :that.groupObjects != null) return false;
if (configMapObjects != null ? !configMapObjects.equals(that.configMapObjects) :that.configMapObjects != null) return false;
if (secretObjects != null ? !secretObjects.equals(that.secretObjects) :that.secretObjects != null) return false;
if (serviceAccountObjects != null ? !serviceAccountObjects.equals(that.serviceAccountObjects) :that.serviceAccountObjects != null) return false;
if (horizontalPodAutoscalerObjects != null ? !horizontalPodAutoscalerObjects.equals(that.horizontalPodAutoscalerObjects) :that.horizontalPodAutoscalerObjects != null) return false;
if (jobObjects != null ? !jobObjects.equals(that.jobObjects) :that.jobObjects != null) return false;
if (oAuthAccessTokenObjects != null ? !oAuthAccessTokenObjects.equals(that.oAuthAccessTokenObjects) :that.oAuthAccessTokenObjects != null) return false;
if (persistentVolumeObjects != null ? !persistentVolumeObjects.equals(that.persistentVolumeObjects) :that.persistentVolumeObjects != null) return false;
if (templateObjects != null ? !templateObjects.equals(that.templateObjects) :that.templateObjects != null) return false;
if (imageStreamObjects != null ? !imageStreamObjects.equals(that.imageStreamObjects) :that.imageStreamObjects != null) return false;
if (bindingObjects != null ? !bindingObjects.equals(that.bindingObjects) :that.bindingObjects != null) return false;
if (serviceObjects != null ? !serviceObjects.equals(that.serviceObjects) :that.serviceObjects != null) return false;
if (clusterRoleBindingObjects != null ? !clusterRoleBindingObjects.equals(that.clusterRoleBindingObjects) :that.clusterRoleBindingObjects != null) return false;
if (namespaceObjects != null ? !namespaceObjects.equals(that.namespaceObjects) :that.namespaceObjects != null) return false;
if (userObjects != null ? !userObjects.equals(that.userObjects) :that.userObjects != null) return false;
if (replicationControllerObjects != null ? !replicationControllerObjects.equals(that.replicationControllerObjects) :that.replicationControllerObjects != null) return false;
if (oAuthAuthorizeTokenObjects != null ? !oAuthAuthorizeTokenObjects.equals(that.oAuthAuthorizeTokenObjects) :that.oAuthAuthorizeTokenObjects != null) return false;
if (securityContextConstraintsObjects != null ? !securityContextConstraintsObjects.equals(that.securityContextConstraintsObjects) :that.securityContextConstraintsObjects != null) return false;
if (podTemplateObjects != null ? !podTemplateObjects.equals(that.podTemplateObjects) :that.podTemplateObjects != null) return false;
if (routeObjects != null ? !routeObjects.equals(that.routeObjects) :that.routeObjects != null) return false;
if (oAuthClientObjects != null ? !oAuthClientObjects.equals(that.oAuthClientObjects) :that.oAuthClientObjects != null) return false;
if (roleObjects != null ? !roleObjects.equals(that.roleObjects) :that.roleObjects != null) return false;
if (deploymentObjects != null ? !deploymentObjects.equals(that.deploymentObjects) :that.deploymentObjects != null) return false;
if (projectObjects != null ? !projectObjects.equals(that.projectObjects) :that.projectObjects != null) return false;
if (clusterPolicyObjects != null ? !clusterPolicyObjects.equals(that.clusterPolicyObjects) :that.clusterPolicyObjects != null) return false;
if (podObjects != null ? !podObjects.equals(that.podObjects) :that.podObjects != null) return false;
if (thirdPartyResourceObjects != null ? !thirdPartyResourceObjects.equals(that.thirdPartyResourceObjects) :that.thirdPartyResourceObjects != null) return false;
if (buildObjects != null ? !buildObjects.equals(that.buildObjects) :that.buildObjects != null) return false;
if (policyBindingObjects != null ? !policyBindingObjects.equals(that.policyBindingObjects) :that.policyBindingObjects != null) return false;
if (clusterPolicyBindingObjects != null ? !clusterPolicyBindingObjects.equals(that.clusterPolicyBindingObjects) :that.clusterPolicyBindingObjects != null) return false;
if (nodeObjects != null ? !nodeObjects.equals(that.nodeObjects) :that.nodeObjects != null) return false;
if (replicaSetObjects != null ? !replicaSetObjects.equals(that.replicaSetObjects) :that.replicaSetObjects != null) return false;
if (policyObjects != null ? !policyObjects.equals(that.policyObjects) :that.policyObjects != null) return false;
if (projectRequestObjects != null ? !projectRequestObjects.equals(that.projectRequestObjects) :that.projectRequestObjects != null) return false;
if (resourceQuotaObjects != null ? !resourceQuotaObjects.equals(that.resourceQuotaObjects) :that.resourceQuotaObjects != null) return false;
if (buildRequestObjects != null ? !buildRequestObjects.equals(that.buildRequestObjects) :that.buildRequestObjects != null) return false;
if (parameters != null ? !parameters.equals(that.parameters) :that.parameters != null) return false;
if (additionalProperties != null ? !additionalProperties.equals(that.additionalProperties) :that.additionalProperties != null) return false;
return true;

    }

    public class MetadataNestedImpl extends ObjectMetaFluentImpl> implements MetadataNested{

        private final ObjectMetaBuilder builder;
    
             MetadataNestedImpl ( ObjectMeta item){
        this.builder = new ObjectMetaBuilder(this, item);
        }
             MetadataNestedImpl (){
        this.builder = new ObjectMetaBuilder(this);
        }
    
            public N and(){
            return (N) TemplateFluentImpl.this.withMetadata(builder.build());
        }
            public N endMetadata(){
            return and();
        }
    
}
    public class ScaleObjectsNestedImpl extends ScaleFluentImpl> implements ScaleObjectsNested{

        private final ScaleBuilder builder;
    
             ScaleObjectsNestedImpl (){
        this.builder = new ScaleBuilder(this);
        }
             ScaleObjectsNestedImpl ( Scale item){
        this.builder = new ScaleBuilder(this, item);
        }
    
            public N and(){
            return (N) TemplateFluentImpl.this.addToScaleObjects(builder.build());
        }
            public N endScaleObject(){
            return and();
        }
    
}
    public class BuildConfigObjectsNestedImpl extends BuildConfigFluentImpl> implements BuildConfigObjectsNested{

        private final BuildConfigBuilder builder;
    
             BuildConfigObjectsNestedImpl (){
        this.builder = new BuildConfigBuilder(this);
        }
             BuildConfigObjectsNestedImpl ( BuildConfig item){
        this.builder = new BuildConfigBuilder(this, item);
        }
    
            public N and(){
            return (N) TemplateFluentImpl.this.addToBuildConfigObjects(builder.build());
        }
            public N endBuildConfigObject(){
            return and();
        }
    
}
    public class RoleBindingObjectsNestedImpl extends RoleBindingFluentImpl> implements RoleBindingObjectsNested{

        private final RoleBindingBuilder builder;
    
             RoleBindingObjectsNestedImpl ( RoleBinding item){
        this.builder = new RoleBindingBuilder(this, item);
        }
             RoleBindingObjectsNestedImpl (){
        this.builder = new RoleBindingBuilder(this);
        }
    
            public N and(){
            return (N) TemplateFluentImpl.this.addToRoleBindingObjects(builder.build());
        }
            public N endRoleBindingObject(){
            return and();
        }
    
}
    public class LimitRangeObjectsNestedImpl extends LimitRangeFluentImpl> implements LimitRangeObjectsNested{

        private final LimitRangeBuilder builder;
    
             LimitRangeObjectsNestedImpl (){
        this.builder = new LimitRangeBuilder(this);
        }
             LimitRangeObjectsNestedImpl ( LimitRange item){
        this.builder = new LimitRangeBuilder(this, item);
        }
    
            public N and(){
            return (N) TemplateFluentImpl.this.addToLimitRangeObjects(builder.build());
        }
            public N endLimitRangeObject(){
            return and();
        }
    
}
    public class IdentityObjectsNestedImpl extends IdentityFluentImpl> implements IdentityObjectsNested{

        private final IdentityBuilder builder;
    
             IdentityObjectsNestedImpl ( Identity item){
        this.builder = new IdentityBuilder(this, item);
        }
             IdentityObjectsNestedImpl (){
        this.builder = new IdentityBuilder(this);
        }
    
            public N and(){
            return (N) TemplateFluentImpl.this.addToIdentityObjects(builder.build());
        }
            public N endIdentityObject(){
            return and();
        }
    
}
    public class DeploymentConfigObjectsNestedImpl extends DeploymentConfigFluentImpl> implements DeploymentConfigObjectsNested{

        private final DeploymentConfigBuilder builder;
    
             DeploymentConfigObjectsNestedImpl (){
        this.builder = new DeploymentConfigBuilder(this);
        }
             DeploymentConfigObjectsNestedImpl ( DeploymentConfig item){
        this.builder = new DeploymentConfigBuilder(this, item);
        }
    
            public N and(){
            return (N) TemplateFluentImpl.this.addToDeploymentConfigObjects(builder.build());
        }
            public N endDeploymentConfigObject(){
            return and();
        }
    
}
    public class DaemonSetObjectsNestedImpl extends DaemonSetFluentImpl> implements DaemonSetObjectsNested{

        private final DaemonSetBuilder builder;
    
             DaemonSetObjectsNestedImpl (){
        this.builder = new DaemonSetBuilder(this);
        }
             DaemonSetObjectsNestedImpl ( DaemonSet item){
        this.builder = new DaemonSetBuilder(this, item);
        }
    
            public N endDaemonSetObject(){
            return and();
        }
            public N and(){
            return (N) TemplateFluentImpl.this.addToDaemonSetObjects(builder.build());
        }
    
}
    public class ClusterRoleObjectsNestedImpl extends ClusterRoleFluentImpl> implements ClusterRoleObjectsNested{

        private final ClusterRoleBuilder builder;
    
             ClusterRoleObjectsNestedImpl (){
        this.builder = new ClusterRoleBuilder(this);
        }
             ClusterRoleObjectsNestedImpl ( ClusterRole item){
        this.builder = new ClusterRoleBuilder(this, item);
        }
    
            public N endClusterRoleObject(){
            return and();
        }
            public N and(){
            return (N) TemplateFluentImpl.this.addToClusterRoleObjects(builder.build());
        }
    
}
    public class ImageObjectsNestedImpl extends ImageFluentImpl> implements ImageObjectsNested{

        private final ImageBuilder builder;
    
             ImageObjectsNestedImpl (){
        this.builder = new ImageBuilder(this);
        }
             ImageObjectsNestedImpl ( Image item){
        this.builder = new ImageBuilder(this, item);
        }
    
            public N endImageObject(){
            return and();
        }
            public N and(){
            return (N) TemplateFluentImpl.this.addToImageObjects(builder.build());
        }
    
}
    public class PersistentVolumeClaimObjectsNestedImpl extends PersistentVolumeClaimFluentImpl> implements PersistentVolumeClaimObjectsNested{

        private final PersistentVolumeClaimBuilder builder;
    
             PersistentVolumeClaimObjectsNestedImpl (){
        this.builder = new PersistentVolumeClaimBuilder(this);
        }
             PersistentVolumeClaimObjectsNestedImpl ( PersistentVolumeClaim item){
        this.builder = new PersistentVolumeClaimBuilder(this, item);
        }
    
            public N endPersistentVolumeClaimObject(){
            return and();
        }
            public N and(){
            return (N) TemplateFluentImpl.this.addToPersistentVolumeClaimObjects(builder.build());
        }
    
}
    public class EndpointsObjectsNestedImpl extends EndpointsFluentImpl> implements EndpointsObjectsNested{

        private final EndpointsBuilder builder;
    
             EndpointsObjectsNestedImpl (){
        this.builder = new EndpointsBuilder(this);
        }
             EndpointsObjectsNestedImpl ( Endpoints item){
        this.builder = new EndpointsBuilder(this, item);
        }
    
            public N and(){
            return (N) TemplateFluentImpl.this.addToEndpointsObjects(builder.build());
        }
            public N endEndpointsObject(){
            return and();
        }
    
}
    public class EventObjectsNestedImpl extends EventFluentImpl> implements EventObjectsNested{

        private final EventBuilder builder;
    
             EventObjectsNestedImpl ( Event item){
        this.builder = new EventBuilder(this, item);
        }
             EventObjectsNestedImpl (){
        this.builder = new EventBuilder(this);
        }
    
            public N and(){
            return (N) TemplateFluentImpl.this.addToEventObjects(builder.build());
        }
            public N endEventObject(){
            return and();
        }
    
}
    public class ComponentStatusObjectsNestedImpl extends ComponentStatusFluentImpl> implements ComponentStatusObjectsNested{

        private final ComponentStatusBuilder builder;
    
             ComponentStatusObjectsNestedImpl (){
        this.builder = new ComponentStatusBuilder(this);
        }
             ComponentStatusObjectsNestedImpl ( ComponentStatus item){
        this.builder = new ComponentStatusBuilder(this, item);
        }
    
            public N and(){
            return (N) TemplateFluentImpl.this.addToComponentStatusObjects(builder.build());
        }
            public N endComponentStatusObject(){
            return and();
        }
    
}
    public class OAuthClientAuthorizationObjectsNestedImpl extends OAuthClientAuthorizationFluentImpl> implements OAuthClientAuthorizationObjectsNested{

        private final OAuthClientAuthorizationBuilder builder;
    
             OAuthClientAuthorizationObjectsNestedImpl (){
        this.builder = new OAuthClientAuthorizationBuilder(this);
        }
             OAuthClientAuthorizationObjectsNestedImpl ( OAuthClientAuthorization item){
        this.builder = new OAuthClientAuthorizationBuilder(this, item);
        }
    
            public N endOAuthClientAuthorizationObject(){
            return and();
        }
            public N and(){
            return (N) TemplateFluentImpl.this.addToOAuthClientAuthorizationObjects(builder.build());
        }
    
}
    public class IngressObjectsNestedImpl extends IngressFluentImpl> implements IngressObjectsNested{

        private final IngressBuilder builder;
    
             IngressObjectsNestedImpl (){
        this.builder = new IngressBuilder(this);
        }
             IngressObjectsNestedImpl ( Ingress item){
        this.builder = new IngressBuilder(this, item);
        }
    
            public N endIngressObject(){
            return and();
        }
            public N and(){
            return (N) TemplateFluentImpl.this.addToIngressObjects(builder.build());
        }
    
}
    public class GroupObjectsNestedImpl extends GroupFluentImpl> implements GroupObjectsNested{

        private final GroupBuilder builder;
    
             GroupObjectsNestedImpl (){
        this.builder = new GroupBuilder(this);
        }
             GroupObjectsNestedImpl ( Group item){
        this.builder = new GroupBuilder(this, item);
        }
    
            public N and(){
            return (N) TemplateFluentImpl.this.addToGroupObjects(builder.build());
        }
            public N endGroupObject(){
            return and();
        }
    
}
    public class ConfigMapObjectsNestedImpl extends ConfigMapFluentImpl> implements ConfigMapObjectsNested{

        private final ConfigMapBuilder builder;
    
             ConfigMapObjectsNestedImpl (){
        this.builder = new ConfigMapBuilder(this);
        }
             ConfigMapObjectsNestedImpl ( ConfigMap item){
        this.builder = new ConfigMapBuilder(this, item);
        }
    
            public N and(){
            return (N) TemplateFluentImpl.this.addToConfigMapObjects(builder.build());
        }
            public N endConfigMapObject(){
            return and();
        }
    
}
    public class SecretObjectsNestedImpl extends SecretFluentImpl> implements SecretObjectsNested{

        private final SecretBuilder builder;
    
             SecretObjectsNestedImpl (){
        this.builder = new SecretBuilder(this);
        }
             SecretObjectsNestedImpl ( Secret item){
        this.builder = new SecretBuilder(this, item);
        }
    
            public N endSecretObject(){
            return and();
        }
            public N and(){
            return (N) TemplateFluentImpl.this.addToSecretObjects(builder.build());
        }
    
}
    public class ServiceAccountObjectsNestedImpl extends ServiceAccountFluentImpl> implements ServiceAccountObjectsNested{

        private final ServiceAccountBuilder builder;
    
             ServiceAccountObjectsNestedImpl (){
        this.builder = new ServiceAccountBuilder(this);
        }
             ServiceAccountObjectsNestedImpl ( ServiceAccount item){
        this.builder = new ServiceAccountBuilder(this, item);
        }
    
            public N and(){
            return (N) TemplateFluentImpl.this.addToServiceAccountObjects(builder.build());
        }
            public N endServiceAccountObject(){
            return and();
        }
    
}
    public class HorizontalPodAutoscalerObjectsNestedImpl extends HorizontalPodAutoscalerFluentImpl> implements HorizontalPodAutoscalerObjectsNested{

        private final HorizontalPodAutoscalerBuilder builder;
    
             HorizontalPodAutoscalerObjectsNestedImpl ( HorizontalPodAutoscaler item){
        this.builder = new HorizontalPodAutoscalerBuilder(this, item);
        }
             HorizontalPodAutoscalerObjectsNestedImpl (){
        this.builder = new HorizontalPodAutoscalerBuilder(this);
        }
    
            public N endHorizontalPodAutoscalerObject(){
            return and();
        }
            public N and(){
            return (N) TemplateFluentImpl.this.addToHorizontalPodAutoscalerObjects(builder.build());
        }
    
}
    public class JobObjectsNestedImpl extends JobFluentImpl> implements JobObjectsNested{

        private final JobBuilder builder;
    
             JobObjectsNestedImpl (){
        this.builder = new JobBuilder(this);
        }
             JobObjectsNestedImpl ( Job item){
        this.builder = new JobBuilder(this, item);
        }
    
            public N endJobObject(){
            return and();
        }
            public N and(){
            return (N) TemplateFluentImpl.this.addToJobObjects(builder.build());
        }
    
}
    public class OAuthAccessTokenObjectsNestedImpl extends OAuthAccessTokenFluentImpl> implements OAuthAccessTokenObjectsNested{

        private final OAuthAccessTokenBuilder builder;
    
             OAuthAccessTokenObjectsNestedImpl (){
        this.builder = new OAuthAccessTokenBuilder(this);
        }
             OAuthAccessTokenObjectsNestedImpl ( OAuthAccessToken item){
        this.builder = new OAuthAccessTokenBuilder(this, item);
        }
    
            public N endOAuthAccessTokenObject(){
            return and();
        }
            public N and(){
            return (N) TemplateFluentImpl.this.addToOAuthAccessTokenObjects(builder.build());
        }
    
}
    public class PersistentVolumeObjectsNestedImpl extends PersistentVolumeFluentImpl> implements PersistentVolumeObjectsNested{

        private final PersistentVolumeBuilder builder;
    
             PersistentVolumeObjectsNestedImpl (){
        this.builder = new PersistentVolumeBuilder(this);
        }
             PersistentVolumeObjectsNestedImpl ( PersistentVolume item){
        this.builder = new PersistentVolumeBuilder(this, item);
        }
    
            public N and(){
            return (N) TemplateFluentImpl.this.addToPersistentVolumeObjects(builder.build());
        }
            public N endPersistentVolumeObject(){
            return and();
        }
    
}
    public class TemplateObjectsNestedImpl extends TemplateFluentImpl> implements TemplateObjectsNested{

        private final TemplateBuilder builder;
    
             TemplateObjectsNestedImpl (){
        this.builder = new TemplateBuilder(this);
        }
             TemplateObjectsNestedImpl ( Template item){
        this.builder = new TemplateBuilder(this, item);
        }
    
            public N endTemplateObject(){
            return and();
        }
            public N and(){
            return (N) TemplateFluentImpl.this.addToTemplateObjects(builder.build());
        }
    
}
    public class ImageStreamObjectsNestedImpl extends ImageStreamFluentImpl> implements ImageStreamObjectsNested{

        private final ImageStreamBuilder builder;
    
             ImageStreamObjectsNestedImpl ( ImageStream item){
        this.builder = new ImageStreamBuilder(this, item);
        }
             ImageStreamObjectsNestedImpl (){
        this.builder = new ImageStreamBuilder(this);
        }
    
            public N endImageStreamObject(){
            return and();
        }
            public N and(){
            return (N) TemplateFluentImpl.this.addToImageStreamObjects(builder.build());
        }
    
}
    public class BindingObjectsNestedImpl extends BindingFluentImpl> implements BindingObjectsNested{

        private final BindingBuilder builder;
    
             BindingObjectsNestedImpl (){
        this.builder = new BindingBuilder(this);
        }
             BindingObjectsNestedImpl ( Binding item){
        this.builder = new BindingBuilder(this, item);
        }
    
            public N endBindingObject(){
            return and();
        }
            public N and(){
            return (N) TemplateFluentImpl.this.addToBindingObjects(builder.build());
        }
    
}
    public class ServiceObjectsNestedImpl extends ServiceFluentImpl> implements ServiceObjectsNested{

        private final ServiceBuilder builder;
    
             ServiceObjectsNestedImpl ( Service item){
        this.builder = new ServiceBuilder(this, item);
        }
             ServiceObjectsNestedImpl (){
        this.builder = new ServiceBuilder(this);
        }
    
            public N and(){
            return (N) TemplateFluentImpl.this.addToServiceObjects(builder.build());
        }
            public N endServiceObject(){
            return and();
        }
    
}
    public class ClusterRoleBindingObjectsNestedImpl extends ClusterRoleBindingFluentImpl> implements ClusterRoleBindingObjectsNested{

        private final ClusterRoleBindingBuilder builder;
    
             ClusterRoleBindingObjectsNestedImpl (){
        this.builder = new ClusterRoleBindingBuilder(this);
        }
             ClusterRoleBindingObjectsNestedImpl ( ClusterRoleBinding item){
        this.builder = new ClusterRoleBindingBuilder(this, item);
        }
    
            public N endClusterRoleBindingObject(){
            return and();
        }
            public N and(){
            return (N) TemplateFluentImpl.this.addToClusterRoleBindingObjects(builder.build());
        }
    
}
    public class NamespaceObjectsNestedImpl extends NamespaceFluentImpl> implements NamespaceObjectsNested{

        private final NamespaceBuilder builder;
    
             NamespaceObjectsNestedImpl (){
        this.builder = new NamespaceBuilder(this);
        }
             NamespaceObjectsNestedImpl ( Namespace item){
        this.builder = new NamespaceBuilder(this, item);
        }
    
            public N endNamespaceObject(){
            return and();
        }
            public N and(){
            return (N) TemplateFluentImpl.this.addToNamespaceObjects(builder.build());
        }
    
}
    public class UserObjectsNestedImpl extends UserFluentImpl> implements UserObjectsNested{

        private final UserBuilder builder;
    
             UserObjectsNestedImpl (){
        this.builder = new UserBuilder(this);
        }
             UserObjectsNestedImpl ( User item){
        this.builder = new UserBuilder(this, item);
        }
    
            public N and(){
            return (N) TemplateFluentImpl.this.addToUserObjects(builder.build());
        }
            public N endUserObject(){
            return and();
        }
    
}
    public class ReplicationControllerObjectsNestedImpl extends ReplicationControllerFluentImpl> implements ReplicationControllerObjectsNested{

        private final ReplicationControllerBuilder builder;
    
             ReplicationControllerObjectsNestedImpl (){
        this.builder = new ReplicationControllerBuilder(this);
        }
             ReplicationControllerObjectsNestedImpl ( ReplicationController item){
        this.builder = new ReplicationControllerBuilder(this, item);
        }
    
            public N endReplicationControllerObject(){
            return and();
        }
            public N and(){
            return (N) TemplateFluentImpl.this.addToReplicationControllerObjects(builder.build());
        }
    
}
    public class OAuthAuthorizeTokenObjectsNestedImpl extends OAuthAuthorizeTokenFluentImpl> implements OAuthAuthorizeTokenObjectsNested{

        private final OAuthAuthorizeTokenBuilder builder;
    
             OAuthAuthorizeTokenObjectsNestedImpl (){
        this.builder = new OAuthAuthorizeTokenBuilder(this);
        }
             OAuthAuthorizeTokenObjectsNestedImpl ( OAuthAuthorizeToken item){
        this.builder = new OAuthAuthorizeTokenBuilder(this, item);
        }
    
            public N and(){
            return (N) TemplateFluentImpl.this.addToOAuthAuthorizeTokenObjects(builder.build());
        }
            public N endOAuthAuthorizeTokenObject(){
            return and();
        }
    
}
    public class SecurityContextConstraintsObjectsNestedImpl extends SecurityContextConstraintsFluentImpl> implements SecurityContextConstraintsObjectsNested{

        private final SecurityContextConstraintsBuilder builder;
    
             SecurityContextConstraintsObjectsNestedImpl (){
        this.builder = new SecurityContextConstraintsBuilder(this);
        }
             SecurityContextConstraintsObjectsNestedImpl ( SecurityContextConstraints item){
        this.builder = new SecurityContextConstraintsBuilder(this, item);
        }
    
            public N and(){
            return (N) TemplateFluentImpl.this.addToSecurityContextConstraintsObjects(builder.build());
        }
            public N endSecurityContextConstraintsObject(){
            return and();
        }
    
}
    public class PodTemplateObjectsNestedImpl extends PodTemplateFluentImpl> implements PodTemplateObjectsNested{

        private final PodTemplateBuilder builder;
    
             PodTemplateObjectsNestedImpl (){
        this.builder = new PodTemplateBuilder(this);
        }
             PodTemplateObjectsNestedImpl ( PodTemplate item){
        this.builder = new PodTemplateBuilder(this, item);
        }
    
            public N endPodTemplateObject(){
            return and();
        }
            public N and(){
            return (N) TemplateFluentImpl.this.addToPodTemplateObjects(builder.build());
        }
    
}
    public class RouteObjectsNestedImpl extends RouteFluentImpl> implements RouteObjectsNested{

        private final RouteBuilder builder;
    
             RouteObjectsNestedImpl (){
        this.builder = new RouteBuilder(this);
        }
             RouteObjectsNestedImpl ( Route item){
        this.builder = new RouteBuilder(this, item);
        }
    
            public N endRouteObject(){
            return and();
        }
            public N and(){
            return (N) TemplateFluentImpl.this.addToRouteObjects(builder.build());
        }
    
}
    public class OAuthClientObjectsNestedImpl extends OAuthClientFluentImpl> implements OAuthClientObjectsNested{

        private final OAuthClientBuilder builder;
    
             OAuthClientObjectsNestedImpl (){
        this.builder = new OAuthClientBuilder(this);
        }
             OAuthClientObjectsNestedImpl ( OAuthClient item){
        this.builder = new OAuthClientBuilder(this, item);
        }
    
            public N and(){
            return (N) TemplateFluentImpl.this.addToOAuthClientObjects(builder.build());
        }
            public N endOAuthClientObject(){
            return and();
        }
    
}
    public class RoleObjectsNestedImpl extends RoleFluentImpl> implements RoleObjectsNested{

        private final RoleBuilder builder;
    
             RoleObjectsNestedImpl (){
        this.builder = new RoleBuilder(this);
        }
             RoleObjectsNestedImpl ( Role item){
        this.builder = new RoleBuilder(this, item);
        }
    
            public N and(){
            return (N) TemplateFluentImpl.this.addToRoleObjects(builder.build());
        }
            public N endRoleObject(){
            return and();
        }
    
}
    public class DeploymentObjectsNestedImpl extends DeploymentFluentImpl> implements DeploymentObjectsNested{

        private final DeploymentBuilder builder;
    
             DeploymentObjectsNestedImpl (){
        this.builder = new DeploymentBuilder(this);
        }
             DeploymentObjectsNestedImpl ( Deployment item){
        this.builder = new DeploymentBuilder(this, item);
        }
    
            public N endDeploymentObject(){
            return and();
        }
            public N and(){
            return (N) TemplateFluentImpl.this.addToDeploymentObjects(builder.build());
        }
    
}
    public class ProjectObjectsNestedImpl extends ProjectFluentImpl> implements ProjectObjectsNested{

        private final ProjectBuilder builder;
    
             ProjectObjectsNestedImpl (){
        this.builder = new ProjectBuilder(this);
        }
             ProjectObjectsNestedImpl ( Project item){
        this.builder = new ProjectBuilder(this, item);
        }
    
            public N and(){
            return (N) TemplateFluentImpl.this.addToProjectObjects(builder.build());
        }
            public N endProjectObject(){
            return and();
        }
    
}
    public class ClusterPolicyObjectsNestedImpl extends ClusterPolicyFluentImpl> implements ClusterPolicyObjectsNested{

        private final ClusterPolicyBuilder builder;
    
             ClusterPolicyObjectsNestedImpl (){
        this.builder = new ClusterPolicyBuilder(this);
        }
             ClusterPolicyObjectsNestedImpl ( ClusterPolicy item){
        this.builder = new ClusterPolicyBuilder(this, item);
        }
    
            public N endClusterPolicyObject(){
            return and();
        }
            public N and(){
            return (N) TemplateFluentImpl.this.addToClusterPolicyObjects(builder.build());
        }
    
}
    public class PodObjectsNestedImpl extends PodFluentImpl> implements PodObjectsNested{

        private final PodBuilder builder;
    
             PodObjectsNestedImpl (){
        this.builder = new PodBuilder(this);
        }
             PodObjectsNestedImpl ( Pod item){
        this.builder = new PodBuilder(this, item);
        }
    
            public N endPodObject(){
            return and();
        }
            public N and(){
            return (N) TemplateFluentImpl.this.addToPodObjects(builder.build());
        }
    
}
    public class ThirdPartyResourceObjectsNestedImpl extends ThirdPartyResourceFluentImpl> implements ThirdPartyResourceObjectsNested{

        private final ThirdPartyResourceBuilder builder;
    
             ThirdPartyResourceObjectsNestedImpl (){
        this.builder = new ThirdPartyResourceBuilder(this);
        }
             ThirdPartyResourceObjectsNestedImpl ( ThirdPartyResource item){
        this.builder = new ThirdPartyResourceBuilder(this, item);
        }
    
            public N and(){
            return (N) TemplateFluentImpl.this.addToThirdPartyResourceObjects(builder.build());
        }
            public N endThirdPartyResourceObject(){
            return and();
        }
    
}
    public class BuildObjectsNestedImpl extends BuildFluentImpl> implements BuildObjectsNested{

        private final BuildBuilder builder;
    
             BuildObjectsNestedImpl ( Build item){
        this.builder = new BuildBuilder(this, item);
        }
             BuildObjectsNestedImpl (){
        this.builder = new BuildBuilder(this);
        }
    
            public N endBuildObject(){
            return and();
        }
            public N and(){
            return (N) TemplateFluentImpl.this.addToBuildObjects(builder.build());
        }
    
}
    public class PolicyBindingObjectsNestedImpl extends PolicyBindingFluentImpl> implements PolicyBindingObjectsNested{

        private final PolicyBindingBuilder builder;
    
             PolicyBindingObjectsNestedImpl ( PolicyBinding item){
        this.builder = new PolicyBindingBuilder(this, item);
        }
             PolicyBindingObjectsNestedImpl (){
        this.builder = new PolicyBindingBuilder(this);
        }
    
            public N and(){
            return (N) TemplateFluentImpl.this.addToPolicyBindingObjects(builder.build());
        }
            public N endPolicyBindingObject(){
            return and();
        }
    
}
    public class ClusterPolicyBindingObjectsNestedImpl extends ClusterPolicyBindingFluentImpl> implements ClusterPolicyBindingObjectsNested{

        private final ClusterPolicyBindingBuilder builder;
    
             ClusterPolicyBindingObjectsNestedImpl (){
        this.builder = new ClusterPolicyBindingBuilder(this);
        }
             ClusterPolicyBindingObjectsNestedImpl ( ClusterPolicyBinding item){
        this.builder = new ClusterPolicyBindingBuilder(this, item);
        }
    
            public N endClusterPolicyBindingObject(){
            return and();
        }
            public N and(){
            return (N) TemplateFluentImpl.this.addToClusterPolicyBindingObjects(builder.build());
        }
    
}
    public class NodeObjectsNestedImpl extends NodeFluentImpl> implements NodeObjectsNested{

        private final NodeBuilder builder;
    
             NodeObjectsNestedImpl (){
        this.builder = new NodeBuilder(this);
        }
             NodeObjectsNestedImpl ( Node item){
        this.builder = new NodeBuilder(this, item);
        }
    
            public N endNodeObject(){
            return and();
        }
            public N and(){
            return (N) TemplateFluentImpl.this.addToNodeObjects(builder.build());
        }
    
}
    public class ReplicaSetObjectsNestedImpl extends ReplicaSetFluentImpl> implements ReplicaSetObjectsNested{

        private final ReplicaSetBuilder builder;
    
             ReplicaSetObjectsNestedImpl (){
        this.builder = new ReplicaSetBuilder(this);
        }
             ReplicaSetObjectsNestedImpl ( ReplicaSet item){
        this.builder = new ReplicaSetBuilder(this, item);
        }
    
            public N endReplicaSetObject(){
            return and();
        }
            public N and(){
            return (N) TemplateFluentImpl.this.addToReplicaSetObjects(builder.build());
        }
    
}
    public class PolicyObjectsNestedImpl extends PolicyFluentImpl> implements PolicyObjectsNested{

        private final PolicyBuilder builder;
    
             PolicyObjectsNestedImpl (){
        this.builder = new PolicyBuilder(this);
        }
             PolicyObjectsNestedImpl ( Policy item){
        this.builder = new PolicyBuilder(this, item);
        }
    
            public N and(){
            return (N) TemplateFluentImpl.this.addToPolicyObjects(builder.build());
        }
            public N endPolicyObject(){
            return and();
        }
    
}
    public class ProjectRequestObjectsNestedImpl extends ProjectRequestFluentImpl> implements ProjectRequestObjectsNested{

        private final ProjectRequestBuilder builder;
    
             ProjectRequestObjectsNestedImpl (){
        this.builder = new ProjectRequestBuilder(this);
        }
             ProjectRequestObjectsNestedImpl ( ProjectRequest item){
        this.builder = new ProjectRequestBuilder(this, item);
        }
    
            public N endProjectRequestObject(){
            return and();
        }
            public N and(){
            return (N) TemplateFluentImpl.this.addToProjectRequestObjects(builder.build());
        }
    
}
    public class ResourceQuotaObjectsNestedImpl extends ResourceQuotaFluentImpl> implements ResourceQuotaObjectsNested{

        private final ResourceQuotaBuilder builder;
    
             ResourceQuotaObjectsNestedImpl (){
        this.builder = new ResourceQuotaBuilder(this);
        }
             ResourceQuotaObjectsNestedImpl ( ResourceQuota item){
        this.builder = new ResourceQuotaBuilder(this, item);
        }
    
            public N endResourceQuotaObject(){
            return and();
        }
            public N and(){
            return (N) TemplateFluentImpl.this.addToResourceQuotaObjects(builder.build());
        }
    
}
    public class BuildRequestObjectsNestedImpl extends BuildRequestFluentImpl> implements BuildRequestObjectsNested{

        private final BuildRequestBuilder builder;
    
             BuildRequestObjectsNestedImpl (){
        this.builder = new BuildRequestBuilder(this);
        }
             BuildRequestObjectsNestedImpl ( BuildRequest item){
        this.builder = new BuildRequestBuilder(this, item);
        }
    
            public N endBuildRequestObject(){
            return and();
        }
            public N and(){
            return (N) TemplateFluentImpl.this.addToBuildRequestObjects(builder.build());
        }
    
}
    public class ParametersNestedImpl extends ParameterFluentImpl> implements ParametersNested{

        private final ParameterBuilder builder;
    
             ParametersNestedImpl ( Parameter item){
        this.builder = new ParameterBuilder(this, item);
        }
             ParametersNestedImpl (){
        this.builder = new ParameterBuilder(this);
        }
    
            public N endParameter(){
            return and();
        }
            public N and(){
            return (N) TemplateFluentImpl.this.addToParameters(builder.build());
        }
    
}


}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy