io.alauda.kubernetes.api.model.BaseKubernetesListFluentImpl Maven / Gradle / Ivy
package io.alauda.kubernetes.api.model;
import io.alauda.devops.api.model.ClusterRoleBinding;
import io.alauda.devops.api.model.DeploymentConfigBuilder;
import java.util.ArrayList;
import java.lang.String;
import io.alauda.devops.api.model.OAuthAccessTokenBuilder;
import io.alauda.devops.api.model.OAuthAccessTokenFluentImpl;
import io.alauda.kubernetes.api.model.apiextensions.CustomResourceDefinitionFluentImpl;
import io.alauda.devops.api.model.UserBuilder;
import io.alauda.devops.api.model.ClusterRole;
import io.alauda.kubernetes.api.model.extensions.NetworkPolicyBuilder;
import io.alauda.devops.api.model.PolicyBindingBuilder;
import io.alauda.kubernetes.api.model.authorization.SubjectAccessReviewBuilder;
import io.alauda.devops.api.model.OAuthAccessToken;
import io.alauda.devops.api.model.DeploymentConfig;
import io.alauda.devops.api.model.OAuthClientAuthorization;
import io.alauda.devops.api.model.OAuthClientBuilder;
import io.alauda.devops.api.model.Group;
import io.alauda.devops.api.model.RouteBuilder;
import io.alauda.devops.api.model.BuildRequestFluentImpl;
import io.alauda.kubernetes.api.model.authorization.SubjectAccessReview;
import io.alauda.kubernetes.api.model.extensions.StatefulSetBuilder;
import io.alauda.devops.api.model.IdentityFluentImpl;
import java.lang.Deprecated;
import io.alauda.kubernetes.api.model.extensions.PodSecurityPolicy;
import io.alauda.kubernetes.api.model.extensions.ReplicaSet;
import io.alauda.devops.api.model.BuildConfigFluentImpl;
import io.alauda.devops.api.model.SecurityContextConstraints;
import io.alauda.kubernetes.api.model.authorization.SubjectAccessReviewFluentImpl;
import io.alauda.devops.api.model.OAuthAuthorizeTokenBuilder;
import io.alauda.devops.api.model.ImageSignatureBuilder;
import io.alauda.kubernetes.api.model.authorization.LocalSubjectAccessReviewBuilder;
import io.alauda.devops.api.model.ImageSignatureFluentImpl;
import io.alauda.kubernetes.api.model.authentication.TokenReviewFluentImpl;
import io.alauda.kubernetes.api.model.extensions.IngressFluentImpl;
import io.alauda.kubernetes.api.model.extensions.ScaleFluentImpl;
import io.alauda.kubernetes.api.model.policy.PodDisruptionBudgetFluentImpl;
import io.alauda.devops.api.model.GroupBuilder;
import io.alauda.kubernetes.api.model.extensions.Deployment;
import io.alauda.kubernetes.api.builder.Predicate;
import java.util.List;
import io.alauda.devops.api.model.Route;
import io.alauda.devops.api.model.RouteFluentImpl;
import io.alauda.devops.api.model.SecurityContextConstraintsFluentImpl;
import io.alauda.devops.api.model.ClusterRoleBindingBuilder;
import io.alauda.devops.api.model.ClusterPolicyBindingFluentImpl;
import io.alauda.devops.api.model.OAuthAuthorizeToken;
import io.alauda.kubernetes.api.model.extensions.ThirdPartyResourceFluentImpl;
import io.alauda.devops.api.model.Role;
import io.alauda.devops.api.model.ImageFluentImpl;
import io.alauda.devops.api.model.OAuthClientAuthorizationBuilder;
import io.alauda.kubernetes.api.model.extensions.DaemonSet;
import io.alauda.kubernetes.api.model.extensions.ReplicaSetFluentImpl;
import javax.validation.constraints.NotNull;
import io.alauda.devops.api.model.ImageBuilder;
import io.alauda.devops.api.model.ImageStreamTagBuilder;
import io.alauda.devops.api.model.ClusterRoleBindingFluentImpl;
import io.alauda.kubernetes.api.model.extensions.PodSecurityPolicyFluentImpl;
import io.alauda.kubernetes.api.model.authorization.LocalSubjectAccessReview;
import io.alauda.devops.api.model.PolicyBinding;
import io.alauda.devops.api.model.RoleBuilder;
import io.alauda.kubernetes.api.model.extensions.IngressBuilder;
import io.alauda.devops.api.model.UserFluentImpl;
import io.alauda.devops.api.model.ClusterPolicyFluentImpl;
import com.fasterxml.jackson.annotation.JsonProperty;
import io.alauda.devops.api.model.ClusterRoleFluentImpl;
import io.alauda.devops.api.model.ImageStreamTag;
import io.alauda.devops.api.model.Image;
import io.alauda.devops.api.model.ImageStreamBuilder;
import io.alauda.devops.api.model.BuildRequestBuilder;
import io.alauda.kubernetes.api.builder.BaseFluent;
import io.alauda.devops.api.model.BuildConfig;
import io.alauda.devops.api.model.SecurityContextConstraintsBuilder;
import io.alauda.devops.api.model.Identity;
import java.lang.Boolean;
import io.alauda.devops.api.model.ClusterRoleBuilder;
import io.alauda.devops.api.model.OAuthClientAuthorizationFluentImpl;
import io.alauda.kubernetes.api.model.extensions.NetworkPolicy;
import io.alauda.devops.api.model.RoleBindingRestrictionBuilder;
import io.alauda.kubernetes.api.model.extensions.DaemonSetFluentImpl;
import io.alauda.devops.api.model.BuildBuilder;
import javax.validation.Valid;
import java.lang.Object;
import io.alauda.kubernetes.api.model.extensions.DeploymentBuilder;
import io.alauda.devops.api.model.ImageStreamTagFluentImpl;
import io.alauda.devops.api.model.PolicyBindingFluentImpl;
import io.alauda.kubernetes.api.model.extensions.ThirdPartyResource;
import io.alauda.devops.api.model.TemplateFluentImpl;
import io.alauda.devops.api.model.DeploymentConfigFluentImpl;
import io.alauda.kubernetes.api.model.authentication.TokenReviewBuilder;
import io.alauda.devops.api.model.RoleBindingRestrictionFluentImpl;
import io.alauda.devops.api.model.RoleBindingRestriction;
import io.alauda.devops.api.model.ClusterPolicyBuilder;
import io.alauda.devops.api.model.ClusterPolicy;
import io.alauda.devops.api.model.RoleFluentImpl;
import io.alauda.kubernetes.api.model.authentication.TokenReview;
import io.alauda.devops.api.model.ImageSignature;
import io.alauda.devops.api.model.OAuthAuthorizeTokenFluentImpl;
import io.alauda.devops.api.model.Policy;
import io.alauda.kubernetes.api.model.apiextensions.CustomResourceDefinitionBuilder;
import io.alauda.devops.api.model.GroupFluentImpl;
import io.alauda.kubernetes.api.builder.VisitableBuilder;
import io.alauda.kubernetes.api.model.authorization.LocalSubjectAccessReviewFluentImpl;
import io.alauda.devops.api.model.TemplateBuilder;
import io.alauda.devops.api.model.ImageStream;
import io.alauda.kubernetes.api.model.extensions.DeploymentFluentImpl;
import io.alauda.kubernetes.api.model.policy.PodDisruptionBudgetBuilder;
import io.alauda.devops.api.model.BuildConfigBuilder;
import io.alauda.devops.api.model.Template;
import io.alauda.devops.api.model.Build;
import io.alauda.devops.api.model.RoleBinding;
import io.alauda.devops.api.model.PolicyBuilder;
import io.alauda.kubernetes.api.model.extensions.ThirdPartyResourceBuilder;
import io.alauda.kubernetes.api.model.extensions.ScaleBuilder;
import io.alauda.devops.api.model.ClusterPolicyBindingBuilder;
import io.alauda.devops.api.model.RoleBindingBuilder;
import io.alauda.kubernetes.api.model.extensions.NetworkPolicyFluentImpl;
import io.alauda.kubernetes.api.model.extensions.Ingress;
import io.alauda.devops.api.model.BuildFluentImpl;
import io.alauda.devops.api.model.BuildRequest;
import io.alauda.devops.api.model.OAuthClientFluentImpl;
import io.alauda.devops.api.model.IdentityBuilder;
import java.util.Collection;
import io.alauda.kubernetes.api.model.extensions.StatefulSet;
import io.alauda.devops.api.model.ImageStreamFluentImpl;
import io.alauda.devops.api.model.User;
import io.alauda.kubernetes.api.model.policy.PodDisruptionBudget;
import io.alauda.devops.api.model.OAuthClient;
import io.alauda.kubernetes.api.builder.Nested;
import io.alauda.kubernetes.api.model.extensions.DaemonSetBuilder;
import io.alauda.devops.api.model.ClusterPolicyBinding;
import io.alauda.kubernetes.api.model.extensions.ReplicaSetBuilder;
import io.alauda.kubernetes.api.model.extensions.StatefulSetFluentImpl;
import io.alauda.kubernetes.api.model.apiextensions.CustomResourceDefinition;
import io.alauda.kubernetes.api.model.extensions.Scale;
import io.alauda.devops.api.model.RoleBindingFluentImpl;
import io.alauda.kubernetes.api.model.extensions.PodSecurityPolicyBuilder;
import io.alauda.devops.api.model.PolicyFluentImpl;
public class BaseKubernetesListFluentImpl> extends io.alauda.kubernetes.api.builder.BaseFluent implements BaseKubernetesListFluent{
private String apiVersion;
private List> items = new ArrayList>();
private String kind;
private ListMetaBuilder metadata;
public BaseKubernetesListFluentImpl(){
}
public BaseKubernetesListFluentImpl(BaseKubernetesList instance){
this.withApiVersion(instance.getApiVersion());
this.withItems(instance.getItems());
this.withKind(instance.getKind());
this.withMetadata(instance.getMetadata());
}
public String getApiVersion(){
return this.apiVersion;
}
public A withApiVersion(String apiVersion){
this.apiVersion=apiVersion; return (A) this;
}
public Boolean hasApiVersion(){
return this.apiVersion!=null;
}
public A addToItems(int index,HasMetadata item){
if (item instanceof Ingress){addToIngressItems(index, (Ingress)item);}
else if (item instanceof Route){addToRouteItems(index, (Route)item);}
else if (item instanceof PolicyBinding){addToPolicyBindingItems(index, (PolicyBinding)item);}
else if (item instanceof ResourceQuota){addToResourceQuotaItems(index, (ResourceQuota)item);}
else if (item instanceof ServiceAccount){addToServiceAccountItems(index, (ServiceAccount)item);}
else if (item instanceof ConfigMap){addToConfigMapItems(index, (ConfigMap)item);}
else if (item instanceof OAuthClientAuthorization){addToOAuthClientAuthorizationItems(index, (OAuthClientAuthorization)item);}
else if (item instanceof Policy){addToPolicyItems(index, (Policy)item);}
else if (item instanceof OAuthAuthorizeToken){addToOAuthAuthorizeTokenItems(index, (OAuthAuthorizeToken)item);}
else if (item instanceof JenkinsBinding){addToJenkinsBindingItems(index, (JenkinsBinding)item);}
else if (item instanceof Identity){addToIdentityItems(index, (Identity)item);}
else if (item instanceof PodTemplate){addToPodTemplateItems(index, (PodTemplate)item);}
else if (item instanceof TokenReview){addToTokenReviewItems(index, (TokenReview)item);}
else if (item instanceof CustomResourceDefinition){addToCustomResourceDefinitionItems(index, (CustomResourceDefinition)item);}
else if (item instanceof ImageSignature){addToImageSignatureItems(index, (ImageSignature)item);}
else if (item instanceof ClusterRole){addToClusterRoleItems(index, (ClusterRole)item);}
else if (item instanceof Namespace){addToNamespaceItems(index, (Namespace)item);}
else if (item instanceof ClusterPolicy){addToClusterPolicyItems(index, (ClusterPolicy)item);}
else if (item instanceof Build){addToBuildItems(index, (Build)item);}
else if (item instanceof Scale){addToScaleItems(index, (Scale)item);}
else if (item instanceof Pod){addToPodItems(index, (Pod)item);}
else if (item instanceof HorizontalPodAutoscaler){addToHorizontalPodAutoscalerItems(index, (HorizontalPodAutoscaler)item);}
else if (item instanceof ThirdPartyResource){addToThirdPartyResourceItems(index, (ThirdPartyResource)item);}
else if (item instanceof ImageStreamTag){addToImageStreamTagItems(index, (ImageStreamTag)item);}
else if (item instanceof ComponentStatus){addToComponentStatusItems(index, (ComponentStatus)item);}
else if (item instanceof Secret){addToSecretItems(index, (Secret)item);}
else if (item instanceof ReplicationController){addToReplicationControllerItems(index, (ReplicationController)item);}
else if (item instanceof LimitRange){addToLimitRangeItems(index, (LimitRange)item);}
else if (item instanceof Endpoints){addToEndpointsItems(index, (Endpoints)item);}
else if (item instanceof SecurityContextConstraints){addToSecurityContextConstraintsItems(index, (SecurityContextConstraints)item);}
else if (item instanceof Group){addToGroupItems(index, (Group)item);}
else if (item instanceof Event){addToEventItems(index, (Event)item);}
else if (item instanceof Node){addToNodeItems(index, (Node)item);}
else if (item instanceof ReplicaSet){addToReplicaSetItems(index, (ReplicaSet)item);}
else if (item instanceof ClusterRoleBinding){addToClusterRoleBindingItems(index, (ClusterRoleBinding)item);}
else if (item instanceof Jenkins){addToJenkinsItems(index, (Jenkins)item);}
else if (item instanceof DaemonSet){addToDaemonSetItems(index, (DaemonSet)item);}
else if (item instanceof PodDisruptionBudget){addToPodDisruptionBudgetItems(index, (PodDisruptionBudget)item);}
else if (item instanceof ImageStream){addToImageStreamItems(index, (ImageStream)item);}
else if (item instanceof RoleBindingRestriction){addToRoleBindingRestrictionItems(index, (RoleBindingRestriction)item);}
else if (item instanceof Binding){addToBindingItems(index, (Binding)item);}
else if (item instanceof io.alauda.kubernetes.api.model.authorization.LocalSubjectAccessReview){addToLocalSubjectAccessReviewItems(index, (io.alauda.kubernetes.api.model.authorization.LocalSubjectAccessReview)item);}
else if (item instanceof StatefulSet){addToStatefulSetItems(index, (StatefulSet)item);}
else if (item instanceof PipelineTemplateTaskInstance){addToPipelineTemplateTaskInstanceItems(index, (PipelineTemplateTaskInstance)item);}
else if (item instanceof OAuthClient){addToOAuthClientItems(index, (OAuthClient)item);}
else if (item instanceof Template){addToTemplateItems(index, (Template)item);}
else if (item instanceof BuildConfig){addToBuildConfigItems(index, (BuildConfig)item);}
else if (item instanceof PodSecurityPolicy){addToPodSecurityPolicyItems(index, (PodSecurityPolicy)item);}
else if (item instanceof Pipeline){addToPipelineItems(index, (Pipeline)item);}
else if (item instanceof Role){addToRoleItems(index, (Role)item);}
else if (item instanceof CronJob){addToCronJobItems(index, (CronJob)item);}
else if (item instanceof User){addToUserItems(index, (User)item);}
else if (item instanceof io.alauda.kubernetes.api.model.authorization.SubjectAccessReview){addToSubjectAccessReviewItems(index, (io.alauda.kubernetes.api.model.authorization.SubjectAccessReview)item);}
else if (item instanceof StorageClass){addToStorageClassItems(index, (StorageClass)item);}
else if (item instanceof PipelineConfigTemplate){addToPipelineConfigTemplateItems(index, (PipelineConfigTemplate)item);}
else if (item instanceof PipelineConfig){addToPipelineConfigItems(index, (PipelineConfig)item);}
else if (item instanceof DeploymentConfig){addToDeploymentConfigItems(index, (DeploymentConfig)item);}
else if (item instanceof OAuthAccessToken){addToOAuthAccessTokenItems(index, (OAuthAccessToken)item);}
else if (item instanceof PersistentVolumeClaim){addToPersistentVolumeClaimItems(index, (PersistentVolumeClaim)item);}
else if (item instanceof NetworkPolicy){addToNetworkPolicyItems(index, (NetworkPolicy)item);}
else if (item instanceof Image){addToImageItems(index, (Image)item);}
else if (item instanceof Service){addToServiceItems(index, (Service)item);}
else if (item instanceof Job){addToJobItems(index, (Job)item);}
else if (item instanceof Deployment){addToDeploymentItems(index, (Deployment)item);}
else if (item instanceof ClusterPolicyBinding){addToClusterPolicyBindingItems(index, (ClusterPolicyBinding)item);}
else if (item instanceof Project){addToProjectItems(index, (Project)item);}
else if (item instanceof BuildRequest){addToBuildRequestItems(index, (BuildRequest)item);}
else if (item instanceof RoleBinding){addToRoleBindingItems(index, (RoleBinding)item);}
else if (item instanceof PersistentVolume){addToPersistentVolumeItems(index, (PersistentVolume)item);}
return (A)this;
}
public A setToItems(int index,HasMetadata item){
if (item instanceof Ingress){setToIngressItems(index, (Ingress)item);}
else if (item instanceof Route){setToRouteItems(index, (Route)item);}
else if (item instanceof PolicyBinding){setToPolicyBindingItems(index, (PolicyBinding)item);}
else if (item instanceof ResourceQuota){setToResourceQuotaItems(index, (ResourceQuota)item);}
else if (item instanceof ServiceAccount){setToServiceAccountItems(index, (ServiceAccount)item);}
else if (item instanceof ConfigMap){setToConfigMapItems(index, (ConfigMap)item);}
else if (item instanceof OAuthClientAuthorization){setToOAuthClientAuthorizationItems(index, (OAuthClientAuthorization)item);}
else if (item instanceof Policy){setToPolicyItems(index, (Policy)item);}
else if (item instanceof OAuthAuthorizeToken){setToOAuthAuthorizeTokenItems(index, (OAuthAuthorizeToken)item);}
else if (item instanceof JenkinsBinding){setToJenkinsBindingItems(index, (JenkinsBinding)item);}
else if (item instanceof Identity){setToIdentityItems(index, (Identity)item);}
else if (item instanceof PodTemplate){setToPodTemplateItems(index, (PodTemplate)item);}
else if (item instanceof TokenReview){setToTokenReviewItems(index, (TokenReview)item);}
else if (item instanceof CustomResourceDefinition){setToCustomResourceDefinitionItems(index, (CustomResourceDefinition)item);}
else if (item instanceof ImageSignature){setToImageSignatureItems(index, (ImageSignature)item);}
else if (item instanceof ClusterRole){setToClusterRoleItems(index, (ClusterRole)item);}
else if (item instanceof Namespace){setToNamespaceItems(index, (Namespace)item);}
else if (item instanceof ClusterPolicy){setToClusterPolicyItems(index, (ClusterPolicy)item);}
else if (item instanceof Build){setToBuildItems(index, (Build)item);}
else if (item instanceof Scale){setToScaleItems(index, (Scale)item);}
else if (item instanceof Pod){setToPodItems(index, (Pod)item);}
else if (item instanceof HorizontalPodAutoscaler){setToHorizontalPodAutoscalerItems(index, (HorizontalPodAutoscaler)item);}
else if (item instanceof ThirdPartyResource){setToThirdPartyResourceItems(index, (ThirdPartyResource)item);}
else if (item instanceof ImageStreamTag){setToImageStreamTagItems(index, (ImageStreamTag)item);}
else if (item instanceof ComponentStatus){setToComponentStatusItems(index, (ComponentStatus)item);}
else if (item instanceof Secret){setToSecretItems(index, (Secret)item);}
else if (item instanceof ReplicationController){setToReplicationControllerItems(index, (ReplicationController)item);}
else if (item instanceof LimitRange){setToLimitRangeItems(index, (LimitRange)item);}
else if (item instanceof Endpoints){setToEndpointsItems(index, (Endpoints)item);}
else if (item instanceof SecurityContextConstraints){setToSecurityContextConstraintsItems(index, (SecurityContextConstraints)item);}
else if (item instanceof Group){setToGroupItems(index, (Group)item);}
else if (item instanceof Event){setToEventItems(index, (Event)item);}
else if (item instanceof Node){setToNodeItems(index, (Node)item);}
else if (item instanceof ReplicaSet){setToReplicaSetItems(index, (ReplicaSet)item);}
else if (item instanceof ClusterRoleBinding){setToClusterRoleBindingItems(index, (ClusterRoleBinding)item);}
else if (item instanceof Jenkins){setToJenkinsItems(index, (Jenkins)item);}
else if (item instanceof DaemonSet){setToDaemonSetItems(index, (DaemonSet)item);}
else if (item instanceof PodDisruptionBudget){setToPodDisruptionBudgetItems(index, (PodDisruptionBudget)item);}
else if (item instanceof ImageStream){setToImageStreamItems(index, (ImageStream)item);}
else if (item instanceof RoleBindingRestriction){setToRoleBindingRestrictionItems(index, (RoleBindingRestriction)item);}
else if (item instanceof Binding){setToBindingItems(index, (Binding)item);}
else if (item instanceof io.alauda.kubernetes.api.model.authorization.LocalSubjectAccessReview){setToLocalSubjectAccessReviewItems(index, (io.alauda.kubernetes.api.model.authorization.LocalSubjectAccessReview)item);}
else if (item instanceof StatefulSet){setToStatefulSetItems(index, (StatefulSet)item);}
else if (item instanceof PipelineTemplateTaskInstance){setToPipelineTemplateTaskInstanceItems(index, (PipelineTemplateTaskInstance)item);}
else if (item instanceof OAuthClient){setToOAuthClientItems(index, (OAuthClient)item);}
else if (item instanceof Template){setToTemplateItems(index, (Template)item);}
else if (item instanceof BuildConfig){setToBuildConfigItems(index, (BuildConfig)item);}
else if (item instanceof PodSecurityPolicy){setToPodSecurityPolicyItems(index, (PodSecurityPolicy)item);}
else if (item instanceof Pipeline){setToPipelineItems(index, (Pipeline)item);}
else if (item instanceof Role){setToRoleItems(index, (Role)item);}
else if (item instanceof CronJob){setToCronJobItems(index, (CronJob)item);}
else if (item instanceof User){setToUserItems(index, (User)item);}
else if (item instanceof io.alauda.kubernetes.api.model.authorization.SubjectAccessReview){setToSubjectAccessReviewItems(index, (io.alauda.kubernetes.api.model.authorization.SubjectAccessReview)item);}
else if (item instanceof StorageClass){setToStorageClassItems(index, (StorageClass)item);}
else if (item instanceof PipelineConfigTemplate){setToPipelineConfigTemplateItems(index, (PipelineConfigTemplate)item);}
else if (item instanceof PipelineConfig){setToPipelineConfigItems(index, (PipelineConfig)item);}
else if (item instanceof DeploymentConfig){setToDeploymentConfigItems(index, (DeploymentConfig)item);}
else if (item instanceof OAuthAccessToken){setToOAuthAccessTokenItems(index, (OAuthAccessToken)item);}
else if (item instanceof PersistentVolumeClaim){setToPersistentVolumeClaimItems(index, (PersistentVolumeClaim)item);}
else if (item instanceof NetworkPolicy){setToNetworkPolicyItems(index, (NetworkPolicy)item);}
else if (item instanceof Image){setToImageItems(index, (Image)item);}
else if (item instanceof Service){setToServiceItems(index, (Service)item);}
else if (item instanceof Job){setToJobItems(index, (Job)item);}
else if (item instanceof Deployment){setToDeploymentItems(index, (Deployment)item);}
else if (item instanceof ClusterPolicyBinding){setToClusterPolicyBindingItems(index, (ClusterPolicyBinding)item);}
else if (item instanceof Project){setToProjectItems(index, (Project)item);}
else if (item instanceof BuildRequest){setToBuildRequestItems(index, (BuildRequest)item);}
else if (item instanceof RoleBinding){setToRoleBindingItems(index, (RoleBinding)item);}
else if (item instanceof PersistentVolume){setToPersistentVolumeItems(index, (PersistentVolume)item);}
return (A)this;
}
public A addToItems(HasMetadata... items){
for (HasMetadata item : items) {
if (item instanceof Ingress){addToIngressItems((Ingress)item);}
else if (item instanceof Route){addToRouteItems((Route)item);}
else if (item instanceof PolicyBinding){addToPolicyBindingItems((PolicyBinding)item);}
else if (item instanceof ResourceQuota){addToResourceQuotaItems((ResourceQuota)item);}
else if (item instanceof ServiceAccount){addToServiceAccountItems((ServiceAccount)item);}
else if (item instanceof ConfigMap){addToConfigMapItems((ConfigMap)item);}
else if (item instanceof OAuthClientAuthorization){addToOAuthClientAuthorizationItems((OAuthClientAuthorization)item);}
else if (item instanceof Policy){addToPolicyItems((Policy)item);}
else if (item instanceof OAuthAuthorizeToken){addToOAuthAuthorizeTokenItems((OAuthAuthorizeToken)item);}
else if (item instanceof JenkinsBinding){addToJenkinsBindingItems((JenkinsBinding)item);}
else if (item instanceof Identity){addToIdentityItems((Identity)item);}
else if (item instanceof PodTemplate){addToPodTemplateItems((PodTemplate)item);}
else if (item instanceof TokenReview){addToTokenReviewItems((TokenReview)item);}
else if (item instanceof CustomResourceDefinition){addToCustomResourceDefinitionItems((CustomResourceDefinition)item);}
else if (item instanceof ImageSignature){addToImageSignatureItems((ImageSignature)item);}
else if (item instanceof ClusterRole){addToClusterRoleItems((ClusterRole)item);}
else if (item instanceof Namespace){addToNamespaceItems((Namespace)item);}
else if (item instanceof ClusterPolicy){addToClusterPolicyItems((ClusterPolicy)item);}
else if (item instanceof Build){addToBuildItems((Build)item);}
else if (item instanceof Scale){addToScaleItems((Scale)item);}
else if (item instanceof Pod){addToPodItems((Pod)item);}
else if (item instanceof HorizontalPodAutoscaler){addToHorizontalPodAutoscalerItems((HorizontalPodAutoscaler)item);}
else if (item instanceof ThirdPartyResource){addToThirdPartyResourceItems((ThirdPartyResource)item);}
else if (item instanceof ImageStreamTag){addToImageStreamTagItems((ImageStreamTag)item);}
else if (item instanceof ComponentStatus){addToComponentStatusItems((ComponentStatus)item);}
else if (item instanceof Secret){addToSecretItems((Secret)item);}
else if (item instanceof ReplicationController){addToReplicationControllerItems((ReplicationController)item);}
else if (item instanceof LimitRange){addToLimitRangeItems((LimitRange)item);}
else if (item instanceof Endpoints){addToEndpointsItems((Endpoints)item);}
else if (item instanceof SecurityContextConstraints){addToSecurityContextConstraintsItems((SecurityContextConstraints)item);}
else if (item instanceof Group){addToGroupItems((Group)item);}
else if (item instanceof Event){addToEventItems((Event)item);}
else if (item instanceof Node){addToNodeItems((Node)item);}
else if (item instanceof ReplicaSet){addToReplicaSetItems((ReplicaSet)item);}
else if (item instanceof ClusterRoleBinding){addToClusterRoleBindingItems((ClusterRoleBinding)item);}
else if (item instanceof Jenkins){addToJenkinsItems((Jenkins)item);}
else if (item instanceof DaemonSet){addToDaemonSetItems((DaemonSet)item);}
else if (item instanceof PodDisruptionBudget){addToPodDisruptionBudgetItems((PodDisruptionBudget)item);}
else if (item instanceof ImageStream){addToImageStreamItems((ImageStream)item);}
else if (item instanceof RoleBindingRestriction){addToRoleBindingRestrictionItems((RoleBindingRestriction)item);}
else if (item instanceof Binding){addToBindingItems((Binding)item);}
else if (item instanceof io.alauda.kubernetes.api.model.authorization.LocalSubjectAccessReview){addToLocalSubjectAccessReviewItems((io.alauda.kubernetes.api.model.authorization.LocalSubjectAccessReview)item);}
else if (item instanceof StatefulSet){addToStatefulSetItems((StatefulSet)item);}
else if (item instanceof PipelineTemplateTaskInstance){addToPipelineTemplateTaskInstanceItems((PipelineTemplateTaskInstance)item);}
else if (item instanceof OAuthClient){addToOAuthClientItems((OAuthClient)item);}
else if (item instanceof Template){addToTemplateItems((Template)item);}
else if (item instanceof BuildConfig){addToBuildConfigItems((BuildConfig)item);}
else if (item instanceof PodSecurityPolicy){addToPodSecurityPolicyItems((PodSecurityPolicy)item);}
else if (item instanceof Pipeline){addToPipelineItems((Pipeline)item);}
else if (item instanceof Role){addToRoleItems((Role)item);}
else if (item instanceof CronJob){addToCronJobItems((CronJob)item);}
else if (item instanceof User){addToUserItems((User)item);}
else if (item instanceof io.alauda.kubernetes.api.model.authorization.SubjectAccessReview){addToSubjectAccessReviewItems((io.alauda.kubernetes.api.model.authorization.SubjectAccessReview)item);}
else if (item instanceof StorageClass){addToStorageClassItems((StorageClass)item);}
else if (item instanceof PipelineConfigTemplate){addToPipelineConfigTemplateItems((PipelineConfigTemplate)item);}
else if (item instanceof PipelineConfig){addToPipelineConfigItems((PipelineConfig)item);}
else if (item instanceof DeploymentConfig){addToDeploymentConfigItems((DeploymentConfig)item);}
else if (item instanceof OAuthAccessToken){addToOAuthAccessTokenItems((OAuthAccessToken)item);}
else if (item instanceof PersistentVolumeClaim){addToPersistentVolumeClaimItems((PersistentVolumeClaim)item);}
else if (item instanceof NetworkPolicy){addToNetworkPolicyItems((NetworkPolicy)item);}
else if (item instanceof Image){addToImageItems((Image)item);}
else if (item instanceof Service){addToServiceItems((Service)item);}
else if (item instanceof Job){addToJobItems((Job)item);}
else if (item instanceof Deployment){addToDeploymentItems((Deployment)item);}
else if (item instanceof ClusterPolicyBinding){addToClusterPolicyBindingItems((ClusterPolicyBinding)item);}
else if (item instanceof Project){addToProjectItems((Project)item);}
else if (item instanceof BuildRequest){addToBuildRequestItems((BuildRequest)item);}
else if (item instanceof RoleBinding){addToRoleBindingItems((RoleBinding)item);}
else if (item instanceof PersistentVolume){addToPersistentVolumeItems((PersistentVolume)item);}
} return (A)this;
}
public A addAllToItems(Collection items){
for (HasMetadata item : items) {
if (item instanceof Ingress){addToIngressItems((Ingress)item);}
else if (item instanceof Route){addToRouteItems((Route)item);}
else if (item instanceof PolicyBinding){addToPolicyBindingItems((PolicyBinding)item);}
else if (item instanceof ResourceQuota){addToResourceQuotaItems((ResourceQuota)item);}
else if (item instanceof ServiceAccount){addToServiceAccountItems((ServiceAccount)item);}
else if (item instanceof ConfigMap){addToConfigMapItems((ConfigMap)item);}
else if (item instanceof OAuthClientAuthorization){addToOAuthClientAuthorizationItems((OAuthClientAuthorization)item);}
else if (item instanceof Policy){addToPolicyItems((Policy)item);}
else if (item instanceof OAuthAuthorizeToken){addToOAuthAuthorizeTokenItems((OAuthAuthorizeToken)item);}
else if (item instanceof JenkinsBinding){addToJenkinsBindingItems((JenkinsBinding)item);}
else if (item instanceof Identity){addToIdentityItems((Identity)item);}
else if (item instanceof PodTemplate){addToPodTemplateItems((PodTemplate)item);}
else if (item instanceof TokenReview){addToTokenReviewItems((TokenReview)item);}
else if (item instanceof CustomResourceDefinition){addToCustomResourceDefinitionItems((CustomResourceDefinition)item);}
else if (item instanceof ImageSignature){addToImageSignatureItems((ImageSignature)item);}
else if (item instanceof ClusterRole){addToClusterRoleItems((ClusterRole)item);}
else if (item instanceof Namespace){addToNamespaceItems((Namespace)item);}
else if (item instanceof ClusterPolicy){addToClusterPolicyItems((ClusterPolicy)item);}
else if (item instanceof Build){addToBuildItems((Build)item);}
else if (item instanceof Scale){addToScaleItems((Scale)item);}
else if (item instanceof Pod){addToPodItems((Pod)item);}
else if (item instanceof HorizontalPodAutoscaler){addToHorizontalPodAutoscalerItems((HorizontalPodAutoscaler)item);}
else if (item instanceof ThirdPartyResource){addToThirdPartyResourceItems((ThirdPartyResource)item);}
else if (item instanceof ImageStreamTag){addToImageStreamTagItems((ImageStreamTag)item);}
else if (item instanceof ComponentStatus){addToComponentStatusItems((ComponentStatus)item);}
else if (item instanceof Secret){addToSecretItems((Secret)item);}
else if (item instanceof ReplicationController){addToReplicationControllerItems((ReplicationController)item);}
else if (item instanceof LimitRange){addToLimitRangeItems((LimitRange)item);}
else if (item instanceof Endpoints){addToEndpointsItems((Endpoints)item);}
else if (item instanceof SecurityContextConstraints){addToSecurityContextConstraintsItems((SecurityContextConstraints)item);}
else if (item instanceof Group){addToGroupItems((Group)item);}
else if (item instanceof Event){addToEventItems((Event)item);}
else if (item instanceof Node){addToNodeItems((Node)item);}
else if (item instanceof ReplicaSet){addToReplicaSetItems((ReplicaSet)item);}
else if (item instanceof ClusterRoleBinding){addToClusterRoleBindingItems((ClusterRoleBinding)item);}
else if (item instanceof Jenkins){addToJenkinsItems((Jenkins)item);}
else if (item instanceof DaemonSet){addToDaemonSetItems((DaemonSet)item);}
else if (item instanceof PodDisruptionBudget){addToPodDisruptionBudgetItems((PodDisruptionBudget)item);}
else if (item instanceof ImageStream){addToImageStreamItems((ImageStream)item);}
else if (item instanceof RoleBindingRestriction){addToRoleBindingRestrictionItems((RoleBindingRestriction)item);}
else if (item instanceof Binding){addToBindingItems((Binding)item);}
else if (item instanceof io.alauda.kubernetes.api.model.authorization.LocalSubjectAccessReview){addToLocalSubjectAccessReviewItems((io.alauda.kubernetes.api.model.authorization.LocalSubjectAccessReview)item);}
else if (item instanceof StatefulSet){addToStatefulSetItems((StatefulSet)item);}
else if (item instanceof PipelineTemplateTaskInstance){addToPipelineTemplateTaskInstanceItems((PipelineTemplateTaskInstance)item);}
else if (item instanceof OAuthClient){addToOAuthClientItems((OAuthClient)item);}
else if (item instanceof Template){addToTemplateItems((Template)item);}
else if (item instanceof BuildConfig){addToBuildConfigItems((BuildConfig)item);}
else if (item instanceof PodSecurityPolicy){addToPodSecurityPolicyItems((PodSecurityPolicy)item);}
else if (item instanceof Pipeline){addToPipelineItems((Pipeline)item);}
else if (item instanceof Role){addToRoleItems((Role)item);}
else if (item instanceof CronJob){addToCronJobItems((CronJob)item);}
else if (item instanceof User){addToUserItems((User)item);}
else if (item instanceof io.alauda.kubernetes.api.model.authorization.SubjectAccessReview){addToSubjectAccessReviewItems((io.alauda.kubernetes.api.model.authorization.SubjectAccessReview)item);}
else if (item instanceof StorageClass){addToStorageClassItems((StorageClass)item);}
else if (item instanceof PipelineConfigTemplate){addToPipelineConfigTemplateItems((PipelineConfigTemplate)item);}
else if (item instanceof PipelineConfig){addToPipelineConfigItems((PipelineConfig)item);}
else if (item instanceof DeploymentConfig){addToDeploymentConfigItems((DeploymentConfig)item);}
else if (item instanceof OAuthAccessToken){addToOAuthAccessTokenItems((OAuthAccessToken)item);}
else if (item instanceof PersistentVolumeClaim){addToPersistentVolumeClaimItems((PersistentVolumeClaim)item);}
else if (item instanceof NetworkPolicy){addToNetworkPolicyItems((NetworkPolicy)item);}
else if (item instanceof Image){addToImageItems((Image)item);}
else if (item instanceof Service){addToServiceItems((Service)item);}
else if (item instanceof Job){addToJobItems((Job)item);}
else if (item instanceof Deployment){addToDeploymentItems((Deployment)item);}
else if (item instanceof ClusterPolicyBinding){addToClusterPolicyBindingItems((ClusterPolicyBinding)item);}
else if (item instanceof Project){addToProjectItems((Project)item);}
else if (item instanceof BuildRequest){addToBuildRequestItems((BuildRequest)item);}
else if (item instanceof RoleBinding){addToRoleBindingItems((RoleBinding)item);}
else if (item instanceof PersistentVolume){addToPersistentVolumeItems((PersistentVolume)item);}
} return (A)this;
}
public A removeFromItems(HasMetadata... items){
for (HasMetadata item : items) {if (item instanceof Ingress){removeFromIngressItems((Ingress)item);}
else if (item instanceof Route){removeFromRouteItems((Route)item);}
else if (item instanceof PolicyBinding){removeFromPolicyBindingItems((PolicyBinding)item);}
else if (item instanceof ResourceQuota){removeFromResourceQuotaItems((ResourceQuota)item);}
else if (item instanceof ServiceAccount){removeFromServiceAccountItems((ServiceAccount)item);}
else if (item instanceof ConfigMap){removeFromConfigMapItems((ConfigMap)item);}
else if (item instanceof OAuthClientAuthorization){removeFromOAuthClientAuthorizationItems((OAuthClientAuthorization)item);}
else if (item instanceof Policy){removeFromPolicyItems((Policy)item);}
else if (item instanceof OAuthAuthorizeToken){removeFromOAuthAuthorizeTokenItems((OAuthAuthorizeToken)item);}
else if (item instanceof JenkinsBinding){removeFromJenkinsBindingItems((JenkinsBinding)item);}
else if (item instanceof Identity){removeFromIdentityItems((Identity)item);}
else if (item instanceof PodTemplate){removeFromPodTemplateItems((PodTemplate)item);}
else if (item instanceof TokenReview){removeFromTokenReviewItems((TokenReview)item);}
else if (item instanceof CustomResourceDefinition){removeFromCustomResourceDefinitionItems((CustomResourceDefinition)item);}
else if (item instanceof ImageSignature){removeFromImageSignatureItems((ImageSignature)item);}
else if (item instanceof ClusterRole){removeFromClusterRoleItems((ClusterRole)item);}
else if (item instanceof Namespace){removeFromNamespaceItems((Namespace)item);}
else if (item instanceof ClusterPolicy){removeFromClusterPolicyItems((ClusterPolicy)item);}
else if (item instanceof Build){removeFromBuildItems((Build)item);}
else if (item instanceof Scale){removeFromScaleItems((Scale)item);}
else if (item instanceof Pod){removeFromPodItems((Pod)item);}
else if (item instanceof HorizontalPodAutoscaler){removeFromHorizontalPodAutoscalerItems((HorizontalPodAutoscaler)item);}
else if (item instanceof ThirdPartyResource){removeFromThirdPartyResourceItems((ThirdPartyResource)item);}
else if (item instanceof ImageStreamTag){removeFromImageStreamTagItems((ImageStreamTag)item);}
else if (item instanceof ComponentStatus){removeFromComponentStatusItems((ComponentStatus)item);}
else if (item instanceof Secret){removeFromSecretItems((Secret)item);}
else if (item instanceof ReplicationController){removeFromReplicationControllerItems((ReplicationController)item);}
else if (item instanceof LimitRange){removeFromLimitRangeItems((LimitRange)item);}
else if (item instanceof Endpoints){removeFromEndpointsItems((Endpoints)item);}
else if (item instanceof SecurityContextConstraints){removeFromSecurityContextConstraintsItems((SecurityContextConstraints)item);}
else if (item instanceof Group){removeFromGroupItems((Group)item);}
else if (item instanceof Event){removeFromEventItems((Event)item);}
else if (item instanceof Node){removeFromNodeItems((Node)item);}
else if (item instanceof ReplicaSet){removeFromReplicaSetItems((ReplicaSet)item);}
else if (item instanceof ClusterRoleBinding){removeFromClusterRoleBindingItems((ClusterRoleBinding)item);}
else if (item instanceof Jenkins){removeFromJenkinsItems((Jenkins)item);}
else if (item instanceof DaemonSet){removeFromDaemonSetItems((DaemonSet)item);}
else if (item instanceof PodDisruptionBudget){removeFromPodDisruptionBudgetItems((PodDisruptionBudget)item);}
else if (item instanceof ImageStream){removeFromImageStreamItems((ImageStream)item);}
else if (item instanceof RoleBindingRestriction){removeFromRoleBindingRestrictionItems((RoleBindingRestriction)item);}
else if (item instanceof Binding){removeFromBindingItems((Binding)item);}
else if (item instanceof io.alauda.kubernetes.api.model.authorization.LocalSubjectAccessReview){removeFromLocalSubjectAccessReviewItems((io.alauda.kubernetes.api.model.authorization.LocalSubjectAccessReview)item);}
else if (item instanceof StatefulSet){removeFromStatefulSetItems((StatefulSet)item);}
else if (item instanceof PipelineTemplateTaskInstance){removeFromPipelineTemplateTaskInstanceItems((PipelineTemplateTaskInstance)item);}
else if (item instanceof OAuthClient){removeFromOAuthClientItems((OAuthClient)item);}
else if (item instanceof Template){removeFromTemplateItems((Template)item);}
else if (item instanceof BuildConfig){removeFromBuildConfigItems((BuildConfig)item);}
else if (item instanceof PodSecurityPolicy){removeFromPodSecurityPolicyItems((PodSecurityPolicy)item);}
else if (item instanceof Pipeline){removeFromPipelineItems((Pipeline)item);}
else if (item instanceof Role){removeFromRoleItems((Role)item);}
else if (item instanceof CronJob){removeFromCronJobItems((CronJob)item);}
else if (item instanceof User){removeFromUserItems((User)item);}
else if (item instanceof io.alauda.kubernetes.api.model.authorization.SubjectAccessReview){removeFromSubjectAccessReviewItems((io.alauda.kubernetes.api.model.authorization.SubjectAccessReview)item);}
else if (item instanceof StorageClass){removeFromStorageClassItems((StorageClass)item);}
else if (item instanceof PipelineConfigTemplate){removeFromPipelineConfigTemplateItems((PipelineConfigTemplate)item);}
else if (item instanceof PipelineConfig){removeFromPipelineConfigItems((PipelineConfig)item);}
else if (item instanceof DeploymentConfig){removeFromDeploymentConfigItems((DeploymentConfig)item);}
else if (item instanceof OAuthAccessToken){removeFromOAuthAccessTokenItems((OAuthAccessToken)item);}
else if (item instanceof PersistentVolumeClaim){removeFromPersistentVolumeClaimItems((PersistentVolumeClaim)item);}
else if (item instanceof NetworkPolicy){removeFromNetworkPolicyItems((NetworkPolicy)item);}
else if (item instanceof Image){removeFromImageItems((Image)item);}
else if (item instanceof Service){removeFromServiceItems((Service)item);}
else if (item instanceof Job){removeFromJobItems((Job)item);}
else if (item instanceof Deployment){removeFromDeploymentItems((Deployment)item);}
else if (item instanceof ClusterPolicyBinding){removeFromClusterPolicyBindingItems((ClusterPolicyBinding)item);}
else if (item instanceof Project){removeFromProjectItems((Project)item);}
else if (item instanceof BuildRequest){removeFromBuildRequestItems((BuildRequest)item);}
else if (item instanceof RoleBinding){removeFromRoleBindingItems((RoleBinding)item);}
else if (item instanceof PersistentVolume){removeFromPersistentVolumeItems((PersistentVolume)item);}
} return (A)this;
}
public A removeAllFromItems(Collection items){
for (HasMetadata item : items) {if (item instanceof Ingress){removeFromIngressItems((Ingress)item);}
else if (item instanceof Route){removeFromRouteItems((Route)item);}
else if (item instanceof PolicyBinding){removeFromPolicyBindingItems((PolicyBinding)item);}
else if (item instanceof ResourceQuota){removeFromResourceQuotaItems((ResourceQuota)item);}
else if (item instanceof ServiceAccount){removeFromServiceAccountItems((ServiceAccount)item);}
else if (item instanceof ConfigMap){removeFromConfigMapItems((ConfigMap)item);}
else if (item instanceof OAuthClientAuthorization){removeFromOAuthClientAuthorizationItems((OAuthClientAuthorization)item);}
else if (item instanceof Policy){removeFromPolicyItems((Policy)item);}
else if (item instanceof OAuthAuthorizeToken){removeFromOAuthAuthorizeTokenItems((OAuthAuthorizeToken)item);}
else if (item instanceof JenkinsBinding){removeFromJenkinsBindingItems((JenkinsBinding)item);}
else if (item instanceof Identity){removeFromIdentityItems((Identity)item);}
else if (item instanceof PodTemplate){removeFromPodTemplateItems((PodTemplate)item);}
else if (item instanceof TokenReview){removeFromTokenReviewItems((TokenReview)item);}
else if (item instanceof CustomResourceDefinition){removeFromCustomResourceDefinitionItems((CustomResourceDefinition)item);}
else if (item instanceof ImageSignature){removeFromImageSignatureItems((ImageSignature)item);}
else if (item instanceof ClusterRole){removeFromClusterRoleItems((ClusterRole)item);}
else if (item instanceof Namespace){removeFromNamespaceItems((Namespace)item);}
else if (item instanceof ClusterPolicy){removeFromClusterPolicyItems((ClusterPolicy)item);}
else if (item instanceof Build){removeFromBuildItems((Build)item);}
else if (item instanceof Scale){removeFromScaleItems((Scale)item);}
else if (item instanceof Pod){removeFromPodItems((Pod)item);}
else if (item instanceof HorizontalPodAutoscaler){removeFromHorizontalPodAutoscalerItems((HorizontalPodAutoscaler)item);}
else if (item instanceof ThirdPartyResource){removeFromThirdPartyResourceItems((ThirdPartyResource)item);}
else if (item instanceof ImageStreamTag){removeFromImageStreamTagItems((ImageStreamTag)item);}
else if (item instanceof ComponentStatus){removeFromComponentStatusItems((ComponentStatus)item);}
else if (item instanceof Secret){removeFromSecretItems((Secret)item);}
else if (item instanceof ReplicationController){removeFromReplicationControllerItems((ReplicationController)item);}
else if (item instanceof LimitRange){removeFromLimitRangeItems((LimitRange)item);}
else if (item instanceof Endpoints){removeFromEndpointsItems((Endpoints)item);}
else if (item instanceof SecurityContextConstraints){removeFromSecurityContextConstraintsItems((SecurityContextConstraints)item);}
else if (item instanceof Group){removeFromGroupItems((Group)item);}
else if (item instanceof Event){removeFromEventItems((Event)item);}
else if (item instanceof Node){removeFromNodeItems((Node)item);}
else if (item instanceof ReplicaSet){removeFromReplicaSetItems((ReplicaSet)item);}
else if (item instanceof ClusterRoleBinding){removeFromClusterRoleBindingItems((ClusterRoleBinding)item);}
else if (item instanceof Jenkins){removeFromJenkinsItems((Jenkins)item);}
else if (item instanceof DaemonSet){removeFromDaemonSetItems((DaemonSet)item);}
else if (item instanceof PodDisruptionBudget){removeFromPodDisruptionBudgetItems((PodDisruptionBudget)item);}
else if (item instanceof ImageStream){removeFromImageStreamItems((ImageStream)item);}
else if (item instanceof RoleBindingRestriction){removeFromRoleBindingRestrictionItems((RoleBindingRestriction)item);}
else if (item instanceof Binding){removeFromBindingItems((Binding)item);}
else if (item instanceof io.alauda.kubernetes.api.model.authorization.LocalSubjectAccessReview){removeFromLocalSubjectAccessReviewItems((io.alauda.kubernetes.api.model.authorization.LocalSubjectAccessReview)item);}
else if (item instanceof StatefulSet){removeFromStatefulSetItems((StatefulSet)item);}
else if (item instanceof PipelineTemplateTaskInstance){removeFromPipelineTemplateTaskInstanceItems((PipelineTemplateTaskInstance)item);}
else if (item instanceof OAuthClient){removeFromOAuthClientItems((OAuthClient)item);}
else if (item instanceof Template){removeFromTemplateItems((Template)item);}
else if (item instanceof BuildConfig){removeFromBuildConfigItems((BuildConfig)item);}
else if (item instanceof PodSecurityPolicy){removeFromPodSecurityPolicyItems((PodSecurityPolicy)item);}
else if (item instanceof Pipeline){removeFromPipelineItems((Pipeline)item);}
else if (item instanceof Role){removeFromRoleItems((Role)item);}
else if (item instanceof CronJob){removeFromCronJobItems((CronJob)item);}
else if (item instanceof User){removeFromUserItems((User)item);}
else if (item instanceof io.alauda.kubernetes.api.model.authorization.SubjectAccessReview){removeFromSubjectAccessReviewItems((io.alauda.kubernetes.api.model.authorization.SubjectAccessReview)item);}
else if (item instanceof StorageClass){removeFromStorageClassItems((StorageClass)item);}
else if (item instanceof PipelineConfigTemplate){removeFromPipelineConfigTemplateItems((PipelineConfigTemplate)item);}
else if (item instanceof PipelineConfig){removeFromPipelineConfigItems((PipelineConfig)item);}
else if (item instanceof DeploymentConfig){removeFromDeploymentConfigItems((DeploymentConfig)item);}
else if (item instanceof OAuthAccessToken){removeFromOAuthAccessTokenItems((OAuthAccessToken)item);}
else if (item instanceof PersistentVolumeClaim){removeFromPersistentVolumeClaimItems((PersistentVolumeClaim)item);}
else if (item instanceof NetworkPolicy){removeFromNetworkPolicyItems((NetworkPolicy)item);}
else if (item instanceof Image){removeFromImageItems((Image)item);}
else if (item instanceof Service){removeFromServiceItems((Service)item);}
else if (item instanceof Job){removeFromJobItems((Job)item);}
else if (item instanceof Deployment){removeFromDeploymentItems((Deployment)item);}
else if (item instanceof ClusterPolicyBinding){removeFromClusterPolicyBindingItems((ClusterPolicyBinding)item);}
else if (item instanceof Project){removeFromProjectItems((Project)item);}
else if (item instanceof BuildRequest){removeFromBuildRequestItems((BuildRequest)item);}
else if (item instanceof RoleBinding){removeFromRoleBindingItems((RoleBinding)item);}
else if (item instanceof PersistentVolume){removeFromPersistentVolumeItems((PersistentVolume)item);}
} return (A)this;
}
/**
* This method has been deprecated, please use method buildItems instead.
*/
@Deprecated public List getItems(){
return build(items);
}
public List buildItems(){
return build(items);
}
public HasMetadata buildItem(int index){
return this.items.get(index).build();
}
public HasMetadata buildFirstItem(){
return this.items.get(0).build();
}
public HasMetadata buildLastItem(){
return this.items.get(items.size() - 1).build();
}
public HasMetadata buildMatchingItem(io.alauda.kubernetes.api.builder.Predicate> predicate){
for (VisitableBuilder extends HasMetadata,?> item: items) { if(predicate.apply(item)){return item.build();} } return null;
}
public A withItems(List items){
this.items.clear();
if (items != null) {for (HasMetadata item : items){this.addToItems(item);}} return (A) this;
}
public A withItems(HasMetadata... items){
this.items.clear(); if (items != null) {for (HasMetadata item :items){ this.addToItems(item);}} return (A) this;
}
public Boolean hasItems(){
return items!= null && !items.isEmpty();
}
public A addToIngressItems(int index,Ingress item){
IngressBuilder builder = new IngressBuilder(item);_visitables.add(index >= 0 ? index : _visitables.size(), builder);this.items.add(index >= 0 ? index : items.size(), builder); return (A)this;
}
public A setToIngressItems(int index,Ingress item){
IngressBuilder builder = new IngressBuilder(item);
if (index < 0 || index >= _visitables.size()) { _visitables.add(builder); } else { _visitables.set(index, builder);}
if (index < 0 || index >= items.size()) { items.add(builder); } else { items.set(index, builder);}
return (A)this;
}
public A addToIngressItems(Ingress... items){
for (Ingress item : items) {IngressBuilder builder = new IngressBuilder(item);_visitables.add(builder);this.items.add(builder);} return (A)this;
}
public A addAllToIngressItems(Collection items){
for (Ingress item : items) {IngressBuilder builder = new IngressBuilder(item);_visitables.add(builder);this.items.add(builder);} return (A)this;
}
public A removeFromIngressItems(Ingress... items){
for (Ingress item : items) {IngressBuilder builder = new IngressBuilder(item);_visitables.remove(builder);this.items.remove(builder);} return (A)this;
}
public A removeAllFromIngressItems(Collection items){
for (Ingress item : items) {IngressBuilder builder = new IngressBuilder(item);_visitables.remove(builder);this.items.remove(builder);} return (A)this;
}
public BaseKubernetesListFluent.IngressItemsNested addNewIngressItem(){
return new IngressItemsNestedImpl();
}
public BaseKubernetesListFluent.IngressItemsNested addNewIngressItemLike(Ingress item){
return new IngressItemsNestedImpl(-1, item);
}
public BaseKubernetesListFluent.IngressItemsNested setNewIngressItemLike(int index,Ingress item){
return new IngressItemsNestedImpl(index, item);
}
public A addToRouteItems(int index,Route item){
RouteBuilder builder = new RouteBuilder(item);_visitables.add(index >= 0 ? index : _visitables.size(), builder);this.items.add(index >= 0 ? index : items.size(), builder); return (A)this;
}
public A setToRouteItems(int index,Route item){
RouteBuilder builder = new RouteBuilder(item);
if (index < 0 || index >= _visitables.size()) { _visitables.add(builder); } else { _visitables.set(index, builder);}
if (index < 0 || index >= items.size()) { items.add(builder); } else { items.set(index, builder);}
return (A)this;
}
public A addToRouteItems(Route... items){
for (Route item : items) {RouteBuilder builder = new RouteBuilder(item);_visitables.add(builder);this.items.add(builder);} return (A)this;
}
public A addAllToRouteItems(Collection items){
for (Route item : items) {RouteBuilder builder = new RouteBuilder(item);_visitables.add(builder);this.items.add(builder);} return (A)this;
}
public A removeFromRouteItems(Route... items){
for (Route item : items) {RouteBuilder builder = new RouteBuilder(item);_visitables.remove(builder);this.items.remove(builder);} return (A)this;
}
public A removeAllFromRouteItems(Collection items){
for (Route item : items) {RouteBuilder builder = new RouteBuilder(item);_visitables.remove(builder);this.items.remove(builder);} return (A)this;
}
public BaseKubernetesListFluent.RouteItemsNested addNewRouteItem(){
return new RouteItemsNestedImpl();
}
public BaseKubernetesListFluent.RouteItemsNested addNewRouteItemLike(Route item){
return new RouteItemsNestedImpl(-1, item);
}
public BaseKubernetesListFluent.RouteItemsNested setNewRouteItemLike(int index,Route item){
return new RouteItemsNestedImpl(index, item);
}
public A addToPolicyBindingItems(int index,PolicyBinding item){
PolicyBindingBuilder builder = new PolicyBindingBuilder(item);_visitables.add(index >= 0 ? index : _visitables.size(), builder);this.items.add(index >= 0 ? index : items.size(), builder); return (A)this;
}
public A setToPolicyBindingItems(int index,PolicyBinding item){
PolicyBindingBuilder builder = new PolicyBindingBuilder(item);
if (index < 0 || index >= _visitables.size()) { _visitables.add(builder); } else { _visitables.set(index, builder);}
if (index < 0 || index >= items.size()) { items.add(builder); } else { items.set(index, builder);}
return (A)this;
}
public A addToPolicyBindingItems(PolicyBinding... items){
for (PolicyBinding item : items) {PolicyBindingBuilder builder = new PolicyBindingBuilder(item);_visitables.add(builder);this.items.add(builder);} return (A)this;
}
public A addAllToPolicyBindingItems(Collection items){
for (PolicyBinding item : items) {PolicyBindingBuilder builder = new PolicyBindingBuilder(item);_visitables.add(builder);this.items.add(builder);} return (A)this;
}
public A removeFromPolicyBindingItems(PolicyBinding... items){
for (PolicyBinding item : items) {PolicyBindingBuilder builder = new PolicyBindingBuilder(item);_visitables.remove(builder);this.items.remove(builder);} return (A)this;
}
public A removeAllFromPolicyBindingItems(Collection items){
for (PolicyBinding item : items) {PolicyBindingBuilder builder = new PolicyBindingBuilder(item);_visitables.remove(builder);this.items.remove(builder);} return (A)this;
}
public BaseKubernetesListFluent.PolicyBindingItemsNested addNewPolicyBindingItem(){
return new PolicyBindingItemsNestedImpl();
}
public BaseKubernetesListFluent.PolicyBindingItemsNested addNewPolicyBindingItemLike(PolicyBinding item){
return new PolicyBindingItemsNestedImpl(-1, item);
}
public BaseKubernetesListFluent.PolicyBindingItemsNested setNewPolicyBindingItemLike(int index,PolicyBinding item){
return new PolicyBindingItemsNestedImpl(index, item);
}
public A addToResourceQuotaItems(int index,ResourceQuota item){
ResourceQuotaBuilder builder = new ResourceQuotaBuilder(item);_visitables.add(index >= 0 ? index : _visitables.size(), builder);this.items.add(index >= 0 ? index : items.size(), builder); return (A)this;
}
public A setToResourceQuotaItems(int index,ResourceQuota item){
ResourceQuotaBuilder builder = new ResourceQuotaBuilder(item);
if (index < 0 || index >= _visitables.size()) { _visitables.add(builder); } else { _visitables.set(index, builder);}
if (index < 0 || index >= items.size()) { items.add(builder); } else { items.set(index, builder);}
return (A)this;
}
public A addToResourceQuotaItems(ResourceQuota... items){
for (ResourceQuota item : items) {ResourceQuotaBuilder builder = new ResourceQuotaBuilder(item);_visitables.add(builder);this.items.add(builder);} return (A)this;
}
public A addAllToResourceQuotaItems(Collection items){
for (ResourceQuota item : items) {ResourceQuotaBuilder builder = new ResourceQuotaBuilder(item);_visitables.add(builder);this.items.add(builder);} return (A)this;
}
public A removeFromResourceQuotaItems(ResourceQuota... items){
for (ResourceQuota item : items) {ResourceQuotaBuilder builder = new ResourceQuotaBuilder(item);_visitables.remove(builder);this.items.remove(builder);} return (A)this;
}
public A removeAllFromResourceQuotaItems(Collection items){
for (ResourceQuota item : items) {ResourceQuotaBuilder builder = new ResourceQuotaBuilder(item);_visitables.remove(builder);this.items.remove(builder);} return (A)this;
}
public BaseKubernetesListFluent.ResourceQuotaItemsNested addNewResourceQuotaItem(){
return new ResourceQuotaItemsNestedImpl();
}
public BaseKubernetesListFluent.ResourceQuotaItemsNested addNewResourceQuotaItemLike(ResourceQuota item){
return new ResourceQuotaItemsNestedImpl(-1, item);
}
public BaseKubernetesListFluent.ResourceQuotaItemsNested setNewResourceQuotaItemLike(int index,ResourceQuota item){
return new ResourceQuotaItemsNestedImpl(index, item);
}
public A addToServiceAccountItems(int index,ServiceAccount item){
ServiceAccountBuilder builder = new ServiceAccountBuilder(item);_visitables.add(index >= 0 ? index : _visitables.size(), builder);this.items.add(index >= 0 ? index : items.size(), builder); return (A)this;
}
public A setToServiceAccountItems(int index,ServiceAccount item){
ServiceAccountBuilder builder = new ServiceAccountBuilder(item);
if (index < 0 || index >= _visitables.size()) { _visitables.add(builder); } else { _visitables.set(index, builder);}
if (index < 0 || index >= items.size()) { items.add(builder); } else { items.set(index, builder);}
return (A)this;
}
public A addToServiceAccountItems(ServiceAccount... items){
for (ServiceAccount item : items) {ServiceAccountBuilder builder = new ServiceAccountBuilder(item);_visitables.add(builder);this.items.add(builder);} return (A)this;
}
public A addAllToServiceAccountItems(Collection items){
for (ServiceAccount item : items) {ServiceAccountBuilder builder = new ServiceAccountBuilder(item);_visitables.add(builder);this.items.add(builder);} return (A)this;
}
public A removeFromServiceAccountItems(ServiceAccount... items){
for (ServiceAccount item : items) {ServiceAccountBuilder builder = new ServiceAccountBuilder(item);_visitables.remove(builder);this.items.remove(builder);} return (A)this;
}
public A removeAllFromServiceAccountItems(Collection items){
for (ServiceAccount item : items) {ServiceAccountBuilder builder = new ServiceAccountBuilder(item);_visitables.remove(builder);this.items.remove(builder);} return (A)this;
}
public BaseKubernetesListFluent.ServiceAccountItemsNested addNewServiceAccountItem(){
return new ServiceAccountItemsNestedImpl();
}
public BaseKubernetesListFluent.ServiceAccountItemsNested addNewServiceAccountItemLike(ServiceAccount item){
return new ServiceAccountItemsNestedImpl(-1, item);
}
public BaseKubernetesListFluent.ServiceAccountItemsNested setNewServiceAccountItemLike(int index,ServiceAccount item){
return new ServiceAccountItemsNestedImpl(index, item);
}
public A addToConfigMapItems(int index,ConfigMap item){
ConfigMapBuilder builder = new ConfigMapBuilder(item);_visitables.add(index >= 0 ? index : _visitables.size(), builder);this.items.add(index >= 0 ? index : items.size(), builder); return (A)this;
}
public A setToConfigMapItems(int index,ConfigMap item){
ConfigMapBuilder builder = new ConfigMapBuilder(item);
if (index < 0 || index >= _visitables.size()) { _visitables.add(builder); } else { _visitables.set(index, builder);}
if (index < 0 || index >= items.size()) { items.add(builder); } else { items.set(index, builder);}
return (A)this;
}
public A addToConfigMapItems(ConfigMap... items){
for (ConfigMap item : items) {ConfigMapBuilder builder = new ConfigMapBuilder(item);_visitables.add(builder);this.items.add(builder);} return (A)this;
}
public A addAllToConfigMapItems(Collection items){
for (ConfigMap item : items) {ConfigMapBuilder builder = new ConfigMapBuilder(item);_visitables.add(builder);this.items.add(builder);} return (A)this;
}
public A removeFromConfigMapItems(ConfigMap... items){
for (ConfigMap item : items) {ConfigMapBuilder builder = new ConfigMapBuilder(item);_visitables.remove(builder);this.items.remove(builder);} return (A)this;
}
public A removeAllFromConfigMapItems(Collection items){
for (ConfigMap item : items) {ConfigMapBuilder builder = new ConfigMapBuilder(item);_visitables.remove(builder);this.items.remove(builder);} return (A)this;
}
public BaseKubernetesListFluent.ConfigMapItemsNested addNewConfigMapItem(){
return new ConfigMapItemsNestedImpl();
}
public BaseKubernetesListFluent.ConfigMapItemsNested addNewConfigMapItemLike(ConfigMap item){
return new ConfigMapItemsNestedImpl(-1, item);
}
public BaseKubernetesListFluent.ConfigMapItemsNested setNewConfigMapItemLike(int index,ConfigMap item){
return new ConfigMapItemsNestedImpl(index, item);
}
public A addToOAuthClientAuthorizationItems(int index,OAuthClientAuthorization item){
OAuthClientAuthorizationBuilder builder = new OAuthClientAuthorizationBuilder(item);_visitables.add(index >= 0 ? index : _visitables.size(), builder);this.items.add(index >= 0 ? index : items.size(), builder); return (A)this;
}
public A setToOAuthClientAuthorizationItems(int index,OAuthClientAuthorization item){
OAuthClientAuthorizationBuilder builder = new OAuthClientAuthorizationBuilder(item);
if (index < 0 || index >= _visitables.size()) { _visitables.add(builder); } else { _visitables.set(index, builder);}
if (index < 0 || index >= items.size()) { items.add(builder); } else { items.set(index, builder);}
return (A)this;
}
public A addToOAuthClientAuthorizationItems(OAuthClientAuthorization... items){
for (OAuthClientAuthorization item : items) {OAuthClientAuthorizationBuilder builder = new OAuthClientAuthorizationBuilder(item);_visitables.add(builder);this.items.add(builder);} return (A)this;
}
public A addAllToOAuthClientAuthorizationItems(Collection items){
for (OAuthClientAuthorization item : items) {OAuthClientAuthorizationBuilder builder = new OAuthClientAuthorizationBuilder(item);_visitables.add(builder);this.items.add(builder);} return (A)this;
}
public A removeFromOAuthClientAuthorizationItems(OAuthClientAuthorization... items){
for (OAuthClientAuthorization item : items) {OAuthClientAuthorizationBuilder builder = new OAuthClientAuthorizationBuilder(item);_visitables.remove(builder);this.items.remove(builder);} return (A)this;
}
public A removeAllFromOAuthClientAuthorizationItems(Collection items){
for (OAuthClientAuthorization item : items) {OAuthClientAuthorizationBuilder builder = new OAuthClientAuthorizationBuilder(item);_visitables.remove(builder);this.items.remove(builder);} return (A)this;
}
public BaseKubernetesListFluent.OAuthClientAuthorizationItemsNested addNewOAuthClientAuthorizationItem(){
return new OAuthClientAuthorizationItemsNestedImpl();
}
public BaseKubernetesListFluent.OAuthClientAuthorizationItemsNested addNewOAuthClientAuthorizationItemLike(OAuthClientAuthorization item){
return new OAuthClientAuthorizationItemsNestedImpl(-1, item);
}
public BaseKubernetesListFluent.OAuthClientAuthorizationItemsNested setNewOAuthClientAuthorizationItemLike(int index,OAuthClientAuthorization item){
return new OAuthClientAuthorizationItemsNestedImpl(index, item);
}
public A addToPolicyItems(int index,Policy item){
PolicyBuilder builder = new PolicyBuilder(item);_visitables.add(index >= 0 ? index : _visitables.size(), builder);this.items.add(index >= 0 ? index : items.size(), builder); return (A)this;
}
public A setToPolicyItems(int index,Policy item){
PolicyBuilder builder = new PolicyBuilder(item);
if (index < 0 || index >= _visitables.size()) { _visitables.add(builder); } else { _visitables.set(index, builder);}
if (index < 0 || index >= items.size()) { items.add(builder); } else { items.set(index, builder);}
return (A)this;
}
public A addToPolicyItems(Policy... items){
for (Policy item : items) {PolicyBuilder builder = new PolicyBuilder(item);_visitables.add(builder);this.items.add(builder);} return (A)this;
}
public A addAllToPolicyItems(Collection items){
for (Policy item : items) {PolicyBuilder builder = new PolicyBuilder(item);_visitables.add(builder);this.items.add(builder);} return (A)this;
}
public A removeFromPolicyItems(Policy... items){
for (Policy item : items) {PolicyBuilder builder = new PolicyBuilder(item);_visitables.remove(builder);this.items.remove(builder);} return (A)this;
}
public A removeAllFromPolicyItems(Collection items){
for (Policy item : items) {PolicyBuilder builder = new PolicyBuilder(item);_visitables.remove(builder);this.items.remove(builder);} return (A)this;
}
public BaseKubernetesListFluent.PolicyItemsNested addNewPolicyItem(){
return new PolicyItemsNestedImpl();
}
public BaseKubernetesListFluent.PolicyItemsNested addNewPolicyItemLike(Policy item){
return new PolicyItemsNestedImpl(-1, item);
}
public BaseKubernetesListFluent.PolicyItemsNested setNewPolicyItemLike(int index,Policy item){
return new PolicyItemsNestedImpl(index, item);
}
public A addToOAuthAuthorizeTokenItems(int index,OAuthAuthorizeToken item){
OAuthAuthorizeTokenBuilder builder = new OAuthAuthorizeTokenBuilder(item);_visitables.add(index >= 0 ? index : _visitables.size(), builder);this.items.add(index >= 0 ? index : items.size(), builder); return (A)this;
}
public A setToOAuthAuthorizeTokenItems(int index,OAuthAuthorizeToken item){
OAuthAuthorizeTokenBuilder builder = new OAuthAuthorizeTokenBuilder(item);
if (index < 0 || index >= _visitables.size()) { _visitables.add(builder); } else { _visitables.set(index, builder);}
if (index < 0 || index >= items.size()) { items.add(builder); } else { items.set(index, builder);}
return (A)this;
}
public A addToOAuthAuthorizeTokenItems(OAuthAuthorizeToken... items){
for (OAuthAuthorizeToken item : items) {OAuthAuthorizeTokenBuilder builder = new OAuthAuthorizeTokenBuilder(item);_visitables.add(builder);this.items.add(builder);} return (A)this;
}
public A addAllToOAuthAuthorizeTokenItems(Collection items){
for (OAuthAuthorizeToken item : items) {OAuthAuthorizeTokenBuilder builder = new OAuthAuthorizeTokenBuilder(item);_visitables.add(builder);this.items.add(builder);} return (A)this;
}
public A removeFromOAuthAuthorizeTokenItems(OAuthAuthorizeToken... items){
for (OAuthAuthorizeToken item : items) {OAuthAuthorizeTokenBuilder builder = new OAuthAuthorizeTokenBuilder(item);_visitables.remove(builder);this.items.remove(builder);} return (A)this;
}
public A removeAllFromOAuthAuthorizeTokenItems(Collection items){
for (OAuthAuthorizeToken item : items) {OAuthAuthorizeTokenBuilder builder = new OAuthAuthorizeTokenBuilder(item);_visitables.remove(builder);this.items.remove(builder);} return (A)this;
}
public BaseKubernetesListFluent.OAuthAuthorizeTokenItemsNested addNewOAuthAuthorizeTokenItem(){
return new OAuthAuthorizeTokenItemsNestedImpl();
}
public BaseKubernetesListFluent.OAuthAuthorizeTokenItemsNested addNewOAuthAuthorizeTokenItemLike(OAuthAuthorizeToken item){
return new OAuthAuthorizeTokenItemsNestedImpl(-1, item);
}
public BaseKubernetesListFluent.OAuthAuthorizeTokenItemsNested setNewOAuthAuthorizeTokenItemLike(int index,OAuthAuthorizeToken item){
return new OAuthAuthorizeTokenItemsNestedImpl(index, item);
}
public A addToJenkinsBindingItems(int index,JenkinsBinding item){
JenkinsBindingBuilder builder = new JenkinsBindingBuilder(item);_visitables.add(index >= 0 ? index : _visitables.size(), builder);this.items.add(index >= 0 ? index : items.size(), builder); return (A)this;
}
public A setToJenkinsBindingItems(int index,JenkinsBinding item){
JenkinsBindingBuilder builder = new JenkinsBindingBuilder(item);
if (index < 0 || index >= _visitables.size()) { _visitables.add(builder); } else { _visitables.set(index, builder);}
if (index < 0 || index >= items.size()) { items.add(builder); } else { items.set(index, builder);}
return (A)this;
}
public A addToJenkinsBindingItems(JenkinsBinding... items){
for (JenkinsBinding item : items) {JenkinsBindingBuilder builder = new JenkinsBindingBuilder(item);_visitables.add(builder);this.items.add(builder);} return (A)this;
}
public A addAllToJenkinsBindingItems(Collection items){
for (JenkinsBinding item : items) {JenkinsBindingBuilder builder = new JenkinsBindingBuilder(item);_visitables.add(builder);this.items.add(builder);} return (A)this;
}
public A removeFromJenkinsBindingItems(JenkinsBinding... items){
for (JenkinsBinding item : items) {JenkinsBindingBuilder builder = new JenkinsBindingBuilder(item);_visitables.remove(builder);this.items.remove(builder);} return (A)this;
}
public A removeAllFromJenkinsBindingItems(Collection items){
for (JenkinsBinding item : items) {JenkinsBindingBuilder builder = new JenkinsBindingBuilder(item);_visitables.remove(builder);this.items.remove(builder);} return (A)this;
}
public BaseKubernetesListFluent.JenkinsBindingItemsNested addNewJenkinsBindingItem(){
return new JenkinsBindingItemsNestedImpl();
}
public BaseKubernetesListFluent.JenkinsBindingItemsNested addNewJenkinsBindingItemLike(JenkinsBinding item){
return new JenkinsBindingItemsNestedImpl(-1, item);
}
public BaseKubernetesListFluent.JenkinsBindingItemsNested setNewJenkinsBindingItemLike(int index,JenkinsBinding item){
return new JenkinsBindingItemsNestedImpl(index, item);
}
public A addToIdentityItems(int index,Identity item){
IdentityBuilder builder = new IdentityBuilder(item);_visitables.add(index >= 0 ? index : _visitables.size(), builder);this.items.add(index >= 0 ? index : items.size(), builder); return (A)this;
}
public A setToIdentityItems(int index,Identity item){
IdentityBuilder builder = new IdentityBuilder(item);
if (index < 0 || index >= _visitables.size()) { _visitables.add(builder); } else { _visitables.set(index, builder);}
if (index < 0 || index >= items.size()) { items.add(builder); } else { items.set(index, builder);}
return (A)this;
}
public A addToIdentityItems(Identity... items){
for (Identity item : items) {IdentityBuilder builder = new IdentityBuilder(item);_visitables.add(builder);this.items.add(builder);} return (A)this;
}
public A addAllToIdentityItems(Collection items){
for (Identity item : items) {IdentityBuilder builder = new IdentityBuilder(item);_visitables.add(builder);this.items.add(builder);} return (A)this;
}
public A removeFromIdentityItems(Identity... items){
for (Identity item : items) {IdentityBuilder builder = new IdentityBuilder(item);_visitables.remove(builder);this.items.remove(builder);} return (A)this;
}
public A removeAllFromIdentityItems(Collection items){
for (Identity item : items) {IdentityBuilder builder = new IdentityBuilder(item);_visitables.remove(builder);this.items.remove(builder);} return (A)this;
}
public BaseKubernetesListFluent.IdentityItemsNested addNewIdentityItem(){
return new IdentityItemsNestedImpl();
}
public BaseKubernetesListFluent.IdentityItemsNested addNewIdentityItemLike(Identity item){
return new IdentityItemsNestedImpl(-1, item);
}
public BaseKubernetesListFluent.IdentityItemsNested setNewIdentityItemLike(int index,Identity item){
return new IdentityItemsNestedImpl(index, item);
}
public A addToPodTemplateItems(int index,PodTemplate item){
PodTemplateBuilder builder = new PodTemplateBuilder(item);_visitables.add(index >= 0 ? index : _visitables.size(), builder);this.items.add(index >= 0 ? index : items.size(), builder); return (A)this;
}
public A setToPodTemplateItems(int index,PodTemplate item){
PodTemplateBuilder builder = new PodTemplateBuilder(item);
if (index < 0 || index >= _visitables.size()) { _visitables.add(builder); } else { _visitables.set(index, builder);}
if (index < 0 || index >= items.size()) { items.add(builder); } else { items.set(index, builder);}
return (A)this;
}
public A addToPodTemplateItems(PodTemplate... items){
for (PodTemplate item : items) {PodTemplateBuilder builder = new PodTemplateBuilder(item);_visitables.add(builder);this.items.add(builder);} return (A)this;
}
public A addAllToPodTemplateItems(Collection items){
for (PodTemplate item : items) {PodTemplateBuilder builder = new PodTemplateBuilder(item);_visitables.add(builder);this.items.add(builder);} return (A)this;
}
public A removeFromPodTemplateItems(PodTemplate... items){
for (PodTemplate item : items) {PodTemplateBuilder builder = new PodTemplateBuilder(item);_visitables.remove(builder);this.items.remove(builder);} return (A)this;
}
public A removeAllFromPodTemplateItems(Collection items){
for (PodTemplate item : items) {PodTemplateBuilder builder = new PodTemplateBuilder(item);_visitables.remove(builder);this.items.remove(builder);} return (A)this;
}
public BaseKubernetesListFluent.PodTemplateItemsNested addNewPodTemplateItem(){
return new PodTemplateItemsNestedImpl();
}
public BaseKubernetesListFluent.PodTemplateItemsNested addNewPodTemplateItemLike(PodTemplate item){
return new PodTemplateItemsNestedImpl(-1, item);
}
public BaseKubernetesListFluent.PodTemplateItemsNested setNewPodTemplateItemLike(int index,PodTemplate item){
return new PodTemplateItemsNestedImpl(index, item);
}
public A addToTokenReviewItems(int index,TokenReview item){
TokenReviewBuilder builder = new TokenReviewBuilder(item);_visitables.add(index >= 0 ? index : _visitables.size(), builder);this.items.add(index >= 0 ? index : items.size(), builder); return (A)this;
}
public A setToTokenReviewItems(int index,TokenReview item){
TokenReviewBuilder builder = new TokenReviewBuilder(item);
if (index < 0 || index >= _visitables.size()) { _visitables.add(builder); } else { _visitables.set(index, builder);}
if (index < 0 || index >= items.size()) { items.add(builder); } else { items.set(index, builder);}
return (A)this;
}
public A addToTokenReviewItems(TokenReview... items){
for (TokenReview item : items) {TokenReviewBuilder builder = new TokenReviewBuilder(item);_visitables.add(builder);this.items.add(builder);} return (A)this;
}
public A addAllToTokenReviewItems(Collection items){
for (TokenReview item : items) {TokenReviewBuilder builder = new TokenReviewBuilder(item);_visitables.add(builder);this.items.add(builder);} return (A)this;
}
public A removeFromTokenReviewItems(TokenReview... items){
for (TokenReview item : items) {TokenReviewBuilder builder = new TokenReviewBuilder(item);_visitables.remove(builder);this.items.remove(builder);} return (A)this;
}
public A removeAllFromTokenReviewItems(Collection items){
for (TokenReview item : items) {TokenReviewBuilder builder = new TokenReviewBuilder(item);_visitables.remove(builder);this.items.remove(builder);} return (A)this;
}
public BaseKubernetesListFluent.TokenReviewItemsNested addNewTokenReviewItem(){
return new TokenReviewItemsNestedImpl();
}
public BaseKubernetesListFluent.TokenReviewItemsNested addNewTokenReviewItemLike(TokenReview item){
return new TokenReviewItemsNestedImpl(-1, item);
}
public BaseKubernetesListFluent.TokenReviewItemsNested setNewTokenReviewItemLike(int index,TokenReview item){
return new TokenReviewItemsNestedImpl(index, item);
}
public A addToCustomResourceDefinitionItems(int index,CustomResourceDefinition item){
CustomResourceDefinitionBuilder builder = new CustomResourceDefinitionBuilder(item);_visitables.add(index >= 0 ? index : _visitables.size(), builder);this.items.add(index >= 0 ? index : items.size(), builder); return (A)this;
}
public A setToCustomResourceDefinitionItems(int index,CustomResourceDefinition item){
CustomResourceDefinitionBuilder builder = new CustomResourceDefinitionBuilder(item);
if (index < 0 || index >= _visitables.size()) { _visitables.add(builder); } else { _visitables.set(index, builder);}
if (index < 0 || index >= items.size()) { items.add(builder); } else { items.set(index, builder);}
return (A)this;
}
public A addToCustomResourceDefinitionItems(CustomResourceDefinition... items){
for (CustomResourceDefinition item : items) {CustomResourceDefinitionBuilder builder = new CustomResourceDefinitionBuilder(item);_visitables.add(builder);this.items.add(builder);} return (A)this;
}
public A addAllToCustomResourceDefinitionItems(Collection items){
for (CustomResourceDefinition item : items) {CustomResourceDefinitionBuilder builder = new CustomResourceDefinitionBuilder(item);_visitables.add(builder);this.items.add(builder);} return (A)this;
}
public A removeFromCustomResourceDefinitionItems(CustomResourceDefinition... items){
for (CustomResourceDefinition item : items) {CustomResourceDefinitionBuilder builder = new CustomResourceDefinitionBuilder(item);_visitables.remove(builder);this.items.remove(builder);} return (A)this;
}
public A removeAllFromCustomResourceDefinitionItems(Collection items){
for (CustomResourceDefinition item : items) {CustomResourceDefinitionBuilder builder = new CustomResourceDefinitionBuilder(item);_visitables.remove(builder);this.items.remove(builder);} return (A)this;
}
public BaseKubernetesListFluent.CustomResourceDefinitionItemsNested addNewCustomResourceDefinitionItem(){
return new CustomResourceDefinitionItemsNestedImpl();
}
public BaseKubernetesListFluent.CustomResourceDefinitionItemsNested addNewCustomResourceDefinitionItemLike(CustomResourceDefinition item){
return new CustomResourceDefinitionItemsNestedImpl(-1, item);
}
public BaseKubernetesListFluent.CustomResourceDefinitionItemsNested setNewCustomResourceDefinitionItemLike(int index,CustomResourceDefinition item){
return new CustomResourceDefinitionItemsNestedImpl(index, item);
}
public A addToImageSignatureItems(int index,ImageSignature item){
ImageSignatureBuilder builder = new ImageSignatureBuilder(item);_visitables.add(index >= 0 ? index : _visitables.size(), builder);this.items.add(index >= 0 ? index : items.size(), builder); return (A)this;
}
public A setToImageSignatureItems(int index,ImageSignature item){
ImageSignatureBuilder builder = new ImageSignatureBuilder(item);
if (index < 0 || index >= _visitables.size()) { _visitables.add(builder); } else { _visitables.set(index, builder);}
if (index < 0 || index >= items.size()) { items.add(builder); } else { items.set(index, builder);}
return (A)this;
}
public A addToImageSignatureItems(ImageSignature... items){
for (ImageSignature item : items) {ImageSignatureBuilder builder = new ImageSignatureBuilder(item);_visitables.add(builder);this.items.add(builder);} return (A)this;
}
public A addAllToImageSignatureItems(Collection items){
for (ImageSignature item : items) {ImageSignatureBuilder builder = new ImageSignatureBuilder(item);_visitables.add(builder);this.items.add(builder);} return (A)this;
}
public A removeFromImageSignatureItems(ImageSignature... items){
for (ImageSignature item : items) {ImageSignatureBuilder builder = new ImageSignatureBuilder(item);_visitables.remove(builder);this.items.remove(builder);} return (A)this;
}
public A removeAllFromImageSignatureItems(Collection items){
for (ImageSignature item : items) {ImageSignatureBuilder builder = new ImageSignatureBuilder(item);_visitables.remove(builder);this.items.remove(builder);} return (A)this;
}
public BaseKubernetesListFluent.ImageSignatureItemsNested addNewImageSignatureItem(){
return new ImageSignatureItemsNestedImpl();
}
public BaseKubernetesListFluent.ImageSignatureItemsNested addNewImageSignatureItemLike(ImageSignature item){
return new ImageSignatureItemsNestedImpl(-1, item);
}
public BaseKubernetesListFluent.ImageSignatureItemsNested setNewImageSignatureItemLike(int index,ImageSignature item){
return new ImageSignatureItemsNestedImpl(index, item);
}
public A addToClusterRoleItems(int index,ClusterRole item){
ClusterRoleBuilder builder = new ClusterRoleBuilder(item);_visitables.add(index >= 0 ? index : _visitables.size(), builder);this.items.add(index >= 0 ? index : items.size(), builder); return (A)this;
}
public A setToClusterRoleItems(int index,ClusterRole item){
ClusterRoleBuilder builder = new ClusterRoleBuilder(item);
if (index < 0 || index >= _visitables.size()) { _visitables.add(builder); } else { _visitables.set(index, builder);}
if (index < 0 || index >= items.size()) { items.add(builder); } else { items.set(index, builder);}
return (A)this;
}
public A addToClusterRoleItems(ClusterRole... items){
for (ClusterRole item : items) {ClusterRoleBuilder builder = new ClusterRoleBuilder(item);_visitables.add(builder);this.items.add(builder);} return (A)this;
}
public A addAllToClusterRoleItems(Collection items){
for (ClusterRole item : items) {ClusterRoleBuilder builder = new ClusterRoleBuilder(item);_visitables.add(builder);this.items.add(builder);} return (A)this;
}
public A removeFromClusterRoleItems(ClusterRole... items){
for (ClusterRole item : items) {ClusterRoleBuilder builder = new ClusterRoleBuilder(item);_visitables.remove(builder);this.items.remove(builder);} return (A)this;
}
public A removeAllFromClusterRoleItems(Collection items){
for (ClusterRole item : items) {ClusterRoleBuilder builder = new ClusterRoleBuilder(item);_visitables.remove(builder);this.items.remove(builder);} return (A)this;
}
public BaseKubernetesListFluent.ClusterRoleItemsNested addNewClusterRoleItem(){
return new ClusterRoleItemsNestedImpl();
}
public BaseKubernetesListFluent.ClusterRoleItemsNested addNewClusterRoleItemLike(ClusterRole item){
return new ClusterRoleItemsNestedImpl(-1, item);
}
public BaseKubernetesListFluent.ClusterRoleItemsNested setNewClusterRoleItemLike(int index,ClusterRole item){
return new ClusterRoleItemsNestedImpl(index, item);
}
public A addToNamespaceItems(int index,Namespace item){
NamespaceBuilder builder = new NamespaceBuilder(item);_visitables.add(index >= 0 ? index : _visitables.size(), builder);this.items.add(index >= 0 ? index : items.size(), builder); return (A)this;
}
public A setToNamespaceItems(int index,Namespace item){
NamespaceBuilder builder = new NamespaceBuilder(item);
if (index < 0 || index >= _visitables.size()) { _visitables.add(builder); } else { _visitables.set(index, builder);}
if (index < 0 || index >= items.size()) { items.add(builder); } else { items.set(index, builder);}
return (A)this;
}
public A addToNamespaceItems(Namespace... items){
for (Namespace item : items) {NamespaceBuilder builder = new NamespaceBuilder(item);_visitables.add(builder);this.items.add(builder);} return (A)this;
}
public A addAllToNamespaceItems(Collection items){
for (Namespace item : items) {NamespaceBuilder builder = new NamespaceBuilder(item);_visitables.add(builder);this.items.add(builder);} return (A)this;
}
public A removeFromNamespaceItems(Namespace... items){
for (Namespace item : items) {NamespaceBuilder builder = new NamespaceBuilder(item);_visitables.remove(builder);this.items.remove(builder);} return (A)this;
}
public A removeAllFromNamespaceItems(Collection items){
for (Namespace item : items) {NamespaceBuilder builder = new NamespaceBuilder(item);_visitables.remove(builder);this.items.remove(builder);} return (A)this;
}
public BaseKubernetesListFluent.NamespaceItemsNested addNewNamespaceItem(){
return new NamespaceItemsNestedImpl();
}
public BaseKubernetesListFluent.NamespaceItemsNested addNewNamespaceItemLike(Namespace item){
return new NamespaceItemsNestedImpl(-1, item);
}
public BaseKubernetesListFluent.NamespaceItemsNested setNewNamespaceItemLike(int index,Namespace item){
return new NamespaceItemsNestedImpl(index, item);
}
public A addToClusterPolicyItems(int index,ClusterPolicy item){
ClusterPolicyBuilder builder = new ClusterPolicyBuilder(item);_visitables.add(index >= 0 ? index : _visitables.size(), builder);this.items.add(index >= 0 ? index : items.size(), builder); return (A)this;
}
public A setToClusterPolicyItems(int index,ClusterPolicy item){
ClusterPolicyBuilder builder = new ClusterPolicyBuilder(item);
if (index < 0 || index >= _visitables.size()) { _visitables.add(builder); } else { _visitables.set(index, builder);}
if (index < 0 || index >= items.size()) { items.add(builder); } else { items.set(index, builder);}
return (A)this;
}
public A addToClusterPolicyItems(ClusterPolicy... items){
for (ClusterPolicy item : items) {ClusterPolicyBuilder builder = new ClusterPolicyBuilder(item);_visitables.add(builder);this.items.add(builder);} return (A)this;
}
public A addAllToClusterPolicyItems(Collection items){
for (ClusterPolicy item : items) {ClusterPolicyBuilder builder = new ClusterPolicyBuilder(item);_visitables.add(builder);this.items.add(builder);} return (A)this;
}
public A removeFromClusterPolicyItems(ClusterPolicy... items){
for (ClusterPolicy item : items) {ClusterPolicyBuilder builder = new ClusterPolicyBuilder(item);_visitables.remove(builder);this.items.remove(builder);} return (A)this;
}
public A removeAllFromClusterPolicyItems(Collection items){
for (ClusterPolicy item : items) {ClusterPolicyBuilder builder = new ClusterPolicyBuilder(item);_visitables.remove(builder);this.items.remove(builder);} return (A)this;
}
public BaseKubernetesListFluent.ClusterPolicyItemsNested addNewClusterPolicyItem(){
return new ClusterPolicyItemsNestedImpl();
}
public BaseKubernetesListFluent.ClusterPolicyItemsNested addNewClusterPolicyItemLike(ClusterPolicy item){
return new ClusterPolicyItemsNestedImpl(-1, item);
}
public BaseKubernetesListFluent.ClusterPolicyItemsNested setNewClusterPolicyItemLike(int index,ClusterPolicy item){
return new ClusterPolicyItemsNestedImpl(index, item);
}
public A addToBuildItems(int index,Build item){
BuildBuilder builder = new BuildBuilder(item);_visitables.add(index >= 0 ? index : _visitables.size(), builder);this.items.add(index >= 0 ? index : items.size(), builder); return (A)this;
}
public A setToBuildItems(int index,Build item){
BuildBuilder builder = new BuildBuilder(item);
if (index < 0 || index >= _visitables.size()) { _visitables.add(builder); } else { _visitables.set(index, builder);}
if (index < 0 || index >= items.size()) { items.add(builder); } else { items.set(index, builder);}
return (A)this;
}
public A addToBuildItems(Build... items){
for (Build item : items) {BuildBuilder builder = new BuildBuilder(item);_visitables.add(builder);this.items.add(builder);} return (A)this;
}
public A addAllToBuildItems(Collection items){
for (Build item : items) {BuildBuilder builder = new BuildBuilder(item);_visitables.add(builder);this.items.add(builder);} return (A)this;
}
public A removeFromBuildItems(Build... items){
for (Build item : items) {BuildBuilder builder = new BuildBuilder(item);_visitables.remove(builder);this.items.remove(builder);} return (A)this;
}
public A removeAllFromBuildItems(Collection items){
for (Build item : items) {BuildBuilder builder = new BuildBuilder(item);_visitables.remove(builder);this.items.remove(builder);} return (A)this;
}
public BaseKubernetesListFluent.BuildItemsNested addNewBuildItem(){
return new BuildItemsNestedImpl();
}
public BaseKubernetesListFluent.BuildItemsNested addNewBuildItemLike(Build item){
return new BuildItemsNestedImpl(-1, item);
}
public BaseKubernetesListFluent.BuildItemsNested setNewBuildItemLike(int index,Build item){
return new BuildItemsNestedImpl(index, item);
}
public A addToScaleItems(int index,Scale item){
ScaleBuilder builder = new ScaleBuilder(item);_visitables.add(index >= 0 ? index : _visitables.size(), builder);this.items.add(index >= 0 ? index : items.size(), builder); return (A)this;
}
public A setToScaleItems(int index,Scale item){
ScaleBuilder builder = new ScaleBuilder(item);
if (index < 0 || index >= _visitables.size()) { _visitables.add(builder); } else { _visitables.set(index, builder);}
if (index < 0 || index >= items.size()) { items.add(builder); } else { items.set(index, builder);}
return (A)this;
}
public A addToScaleItems(Scale... items){
for (Scale item : items) {ScaleBuilder builder = new ScaleBuilder(item);_visitables.add(builder);this.items.add(builder);} return (A)this;
}
public A addAllToScaleItems(Collection items){
for (Scale item : items) {ScaleBuilder builder = new ScaleBuilder(item);_visitables.add(builder);this.items.add(builder);} return (A)this;
}
public A removeFromScaleItems(Scale... items){
for (Scale item : items) {ScaleBuilder builder = new ScaleBuilder(item);_visitables.remove(builder);this.items.remove(builder);} return (A)this;
}
public A removeAllFromScaleItems(Collection items){
for (Scale item : items) {ScaleBuilder builder = new ScaleBuilder(item);_visitables.remove(builder);this.items.remove(builder);} return (A)this;
}
public BaseKubernetesListFluent.ScaleItemsNested addNewScaleItem(){
return new ScaleItemsNestedImpl();
}
public BaseKubernetesListFluent.ScaleItemsNested addNewScaleItemLike(Scale item){
return new ScaleItemsNestedImpl(-1, item);
}
public BaseKubernetesListFluent.ScaleItemsNested setNewScaleItemLike(int index,Scale item){
return new ScaleItemsNestedImpl(index, item);
}
public A addToPodItems(int index,Pod item){
PodBuilder builder = new PodBuilder(item);_visitables.add(index >= 0 ? index : _visitables.size(), builder);this.items.add(index >= 0 ? index : items.size(), builder); return (A)this;
}
public A setToPodItems(int index,Pod item){
PodBuilder builder = new PodBuilder(item);
if (index < 0 || index >= _visitables.size()) { _visitables.add(builder); } else { _visitables.set(index, builder);}
if (index < 0 || index >= items.size()) { items.add(builder); } else { items.set(index, builder);}
return (A)this;
}
public A addToPodItems(Pod... items){
for (Pod item : items) {PodBuilder builder = new PodBuilder(item);_visitables.add(builder);this.items.add(builder);} return (A)this;
}
public A addAllToPodItems(Collection items){
for (Pod item : items) {PodBuilder builder = new PodBuilder(item);_visitables.add(builder);this.items.add(builder);} return (A)this;
}
public A removeFromPodItems(Pod... items){
for (Pod item : items) {PodBuilder builder = new PodBuilder(item);_visitables.remove(builder);this.items.remove(builder);} return (A)this;
}
public A removeAllFromPodItems(Collection items){
for (Pod item : items) {PodBuilder builder = new PodBuilder(item);_visitables.remove(builder);this.items.remove(builder);} return (A)this;
}
public BaseKubernetesListFluent.PodItemsNested addNewPodItem(){
return new PodItemsNestedImpl();
}
public BaseKubernetesListFluent.PodItemsNested addNewPodItemLike(Pod item){
return new PodItemsNestedImpl(-1, item);
}
public BaseKubernetesListFluent.PodItemsNested setNewPodItemLike(int index,Pod item){
return new PodItemsNestedImpl(index, item);
}
public A addToHorizontalPodAutoscalerItems(int index,HorizontalPodAutoscaler item){
HorizontalPodAutoscalerBuilder builder = new HorizontalPodAutoscalerBuilder(item);_visitables.add(index >= 0 ? index : _visitables.size(), builder);this.items.add(index >= 0 ? index : items.size(), builder); return (A)this;
}
public A setToHorizontalPodAutoscalerItems(int index,HorizontalPodAutoscaler item){
HorizontalPodAutoscalerBuilder builder = new HorizontalPodAutoscalerBuilder(item);
if (index < 0 || index >= _visitables.size()) { _visitables.add(builder); } else { _visitables.set(index, builder);}
if (index < 0 || index >= items.size()) { items.add(builder); } else { items.set(index, builder);}
return (A)this;
}
public A addToHorizontalPodAutoscalerItems(HorizontalPodAutoscaler... items){
for (HorizontalPodAutoscaler item : items) {HorizontalPodAutoscalerBuilder builder = new HorizontalPodAutoscalerBuilder(item);_visitables.add(builder);this.items.add(builder);} return (A)this;
}
public A addAllToHorizontalPodAutoscalerItems(Collection items){
for (HorizontalPodAutoscaler item : items) {HorizontalPodAutoscalerBuilder builder = new HorizontalPodAutoscalerBuilder(item);_visitables.add(builder);this.items.add(builder);} return (A)this;
}
public A removeFromHorizontalPodAutoscalerItems(HorizontalPodAutoscaler... items){
for (HorizontalPodAutoscaler item : items) {HorizontalPodAutoscalerBuilder builder = new HorizontalPodAutoscalerBuilder(item);_visitables.remove(builder);this.items.remove(builder);} return (A)this;
}
public A removeAllFromHorizontalPodAutoscalerItems(Collection items){
for (HorizontalPodAutoscaler item : items) {HorizontalPodAutoscalerBuilder builder = new HorizontalPodAutoscalerBuilder(item);_visitables.remove(builder);this.items.remove(builder);} return (A)this;
}
public BaseKubernetesListFluent.HorizontalPodAutoscalerItemsNested addNewHorizontalPodAutoscalerItem(){
return new HorizontalPodAutoscalerItemsNestedImpl();
}
public BaseKubernetesListFluent.HorizontalPodAutoscalerItemsNested addNewHorizontalPodAutoscalerItemLike(HorizontalPodAutoscaler item){
return new HorizontalPodAutoscalerItemsNestedImpl(-1, item);
}
public BaseKubernetesListFluent.HorizontalPodAutoscalerItemsNested setNewHorizontalPodAutoscalerItemLike(int index,HorizontalPodAutoscaler item){
return new HorizontalPodAutoscalerItemsNestedImpl(index, item);
}
public A addToThirdPartyResourceItems(int index,ThirdPartyResource item){
ThirdPartyResourceBuilder builder = new ThirdPartyResourceBuilder(item);_visitables.add(index >= 0 ? index : _visitables.size(), builder);this.items.add(index >= 0 ? index : items.size(), builder); return (A)this;
}
public A setToThirdPartyResourceItems(int index,ThirdPartyResource item){
ThirdPartyResourceBuilder builder = new ThirdPartyResourceBuilder(item);
if (index < 0 || index >= _visitables.size()) { _visitables.add(builder); } else { _visitables.set(index, builder);}
if (index < 0 || index >= items.size()) { items.add(builder); } else { items.set(index, builder);}
return (A)this;
}
public A addToThirdPartyResourceItems(ThirdPartyResource... items){
for (ThirdPartyResource item : items) {ThirdPartyResourceBuilder builder = new ThirdPartyResourceBuilder(item);_visitables.add(builder);this.items.add(builder);} return (A)this;
}
public A addAllToThirdPartyResourceItems(Collection items){
for (ThirdPartyResource item : items) {ThirdPartyResourceBuilder builder = new ThirdPartyResourceBuilder(item);_visitables.add(builder);this.items.add(builder);} return (A)this;
}
public A removeFromThirdPartyResourceItems(ThirdPartyResource... items){
for (ThirdPartyResource item : items) {ThirdPartyResourceBuilder builder = new ThirdPartyResourceBuilder(item);_visitables.remove(builder);this.items.remove(builder);} return (A)this;
}
public A removeAllFromThirdPartyResourceItems(Collection items){
for (ThirdPartyResource item : items) {ThirdPartyResourceBuilder builder = new ThirdPartyResourceBuilder(item);_visitables.remove(builder);this.items.remove(builder);} return (A)this;
}
public BaseKubernetesListFluent.ThirdPartyResourceItemsNested addNewThirdPartyResourceItem(){
return new ThirdPartyResourceItemsNestedImpl();
}
public BaseKubernetesListFluent.ThirdPartyResourceItemsNested addNewThirdPartyResourceItemLike(ThirdPartyResource item){
return new ThirdPartyResourceItemsNestedImpl(-1, item);
}
public BaseKubernetesListFluent.ThirdPartyResourceItemsNested setNewThirdPartyResourceItemLike(int index,ThirdPartyResource item){
return new ThirdPartyResourceItemsNestedImpl(index, item);
}
public A addToImageStreamTagItems(int index,ImageStreamTag item){
ImageStreamTagBuilder builder = new ImageStreamTagBuilder(item);_visitables.add(index >= 0 ? index : _visitables.size(), builder);this.items.add(index >= 0 ? index : items.size(), builder); return (A)this;
}
public A setToImageStreamTagItems(int index,ImageStreamTag item){
ImageStreamTagBuilder builder = new ImageStreamTagBuilder(item);
if (index < 0 || index >= _visitables.size()) { _visitables.add(builder); } else { _visitables.set(index, builder);}
if (index < 0 || index >= items.size()) { items.add(builder); } else { items.set(index, builder);}
return (A)this;
}
public A addToImageStreamTagItems(ImageStreamTag... items){
for (ImageStreamTag item : items) {ImageStreamTagBuilder builder = new ImageStreamTagBuilder(item);_visitables.add(builder);this.items.add(builder);} return (A)this;
}
public A addAllToImageStreamTagItems(Collection items){
for (ImageStreamTag item : items) {ImageStreamTagBuilder builder = new ImageStreamTagBuilder(item);_visitables.add(builder);this.items.add(builder);} return (A)this;
}
public A removeFromImageStreamTagItems(ImageStreamTag... items){
for (ImageStreamTag item : items) {ImageStreamTagBuilder builder = new ImageStreamTagBuilder(item);_visitables.remove(builder);this.items.remove(builder);} return (A)this;
}
public A removeAllFromImageStreamTagItems(Collection items){
for (ImageStreamTag item : items) {ImageStreamTagBuilder builder = new ImageStreamTagBuilder(item);_visitables.remove(builder);this.items.remove(builder);} return (A)this;
}
public BaseKubernetesListFluent.ImageStreamTagItemsNested addNewImageStreamTagItem(){
return new ImageStreamTagItemsNestedImpl();
}
public BaseKubernetesListFluent.ImageStreamTagItemsNested addNewImageStreamTagItemLike(ImageStreamTag item){
return new ImageStreamTagItemsNestedImpl(-1, item);
}
public BaseKubernetesListFluent.ImageStreamTagItemsNested setNewImageStreamTagItemLike(int index,ImageStreamTag item){
return new ImageStreamTagItemsNestedImpl(index, item);
}
public A addToComponentStatusItems(int index,ComponentStatus item){
ComponentStatusBuilder builder = new ComponentStatusBuilder(item);_visitables.add(index >= 0 ? index : _visitables.size(), builder);this.items.add(index >= 0 ? index : items.size(), builder); return (A)this;
}
public A setToComponentStatusItems(int index,ComponentStatus item){
ComponentStatusBuilder builder = new ComponentStatusBuilder(item);
if (index < 0 || index >= _visitables.size()) { _visitables.add(builder); } else { _visitables.set(index, builder);}
if (index < 0 || index >= items.size()) { items.add(builder); } else { items.set(index, builder);}
return (A)this;
}
public A addToComponentStatusItems(ComponentStatus... items){
for (ComponentStatus item : items) {ComponentStatusBuilder builder = new ComponentStatusBuilder(item);_visitables.add(builder);this.items.add(builder);} return (A)this;
}
public A addAllToComponentStatusItems(Collection items){
for (ComponentStatus item : items) {ComponentStatusBuilder builder = new ComponentStatusBuilder(item);_visitables.add(builder);this.items.add(builder);} return (A)this;
}
public A removeFromComponentStatusItems(ComponentStatus... items){
for (ComponentStatus item : items) {ComponentStatusBuilder builder = new ComponentStatusBuilder(item);_visitables.remove(builder);this.items.remove(builder);} return (A)this;
}
public A removeAllFromComponentStatusItems(Collection items){
for (ComponentStatus item : items) {ComponentStatusBuilder builder = new ComponentStatusBuilder(item);_visitables.remove(builder);this.items.remove(builder);} return (A)this;
}
public BaseKubernetesListFluent.ComponentStatusItemsNested addNewComponentStatusItem(){
return new ComponentStatusItemsNestedImpl();
}
public BaseKubernetesListFluent.ComponentStatusItemsNested addNewComponentStatusItemLike(ComponentStatus item){
return new ComponentStatusItemsNestedImpl(-1, item);
}
public BaseKubernetesListFluent.ComponentStatusItemsNested setNewComponentStatusItemLike(int index,ComponentStatus item){
return new ComponentStatusItemsNestedImpl(index, item);
}
public A addToSecretItems(int index,Secret item){
SecretBuilder builder = new SecretBuilder(item);_visitables.add(index >= 0 ? index : _visitables.size(), builder);this.items.add(index >= 0 ? index : items.size(), builder); return (A)this;
}
public A setToSecretItems(int index,Secret item){
SecretBuilder builder = new SecretBuilder(item);
if (index < 0 || index >= _visitables.size()) { _visitables.add(builder); } else { _visitables.set(index, builder);}
if (index < 0 || index >= items.size()) { items.add(builder); } else { items.set(index, builder);}
return (A)this;
}
public A addToSecretItems(Secret... items){
for (Secret item : items) {SecretBuilder builder = new SecretBuilder(item);_visitables.add(builder);this.items.add(builder);} return (A)this;
}
public A addAllToSecretItems(Collection items){
for (Secret item : items) {SecretBuilder builder = new SecretBuilder(item);_visitables.add(builder);this.items.add(builder);} return (A)this;
}
public A removeFromSecretItems(Secret... items){
for (Secret item : items) {SecretBuilder builder = new SecretBuilder(item);_visitables.remove(builder);this.items.remove(builder);} return (A)this;
}
public A removeAllFromSecretItems(Collection items){
for (Secret item : items) {SecretBuilder builder = new SecretBuilder(item);_visitables.remove(builder);this.items.remove(builder);} return (A)this;
}
public BaseKubernetesListFluent.SecretItemsNested addNewSecretItem(){
return new SecretItemsNestedImpl();
}
public BaseKubernetesListFluent.SecretItemsNested addNewSecretItemLike(Secret item){
return new SecretItemsNestedImpl(-1, item);
}
public BaseKubernetesListFluent.SecretItemsNested setNewSecretItemLike(int index,Secret item){
return new SecretItemsNestedImpl(index, item);
}
public A addToReplicationControllerItems(int index,ReplicationController item){
ReplicationControllerBuilder builder = new ReplicationControllerBuilder(item);_visitables.add(index >= 0 ? index : _visitables.size(), builder);this.items.add(index >= 0 ? index : items.size(), builder); return (A)this;
}
public A setToReplicationControllerItems(int index,ReplicationController item){
ReplicationControllerBuilder builder = new ReplicationControllerBuilder(item);
if (index < 0 || index >= _visitables.size()) { _visitables.add(builder); } else { _visitables.set(index, builder);}
if (index < 0 || index >= items.size()) { items.add(builder); } else { items.set(index, builder);}
return (A)this;
}
public A addToReplicationControllerItems(ReplicationController... items){
for (ReplicationController item : items) {ReplicationControllerBuilder builder = new ReplicationControllerBuilder(item);_visitables.add(builder);this.items.add(builder);} return (A)this;
}
public A addAllToReplicationControllerItems(Collection items){
for (ReplicationController item : items) {ReplicationControllerBuilder builder = new ReplicationControllerBuilder(item);_visitables.add(builder);this.items.add(builder);} return (A)this;
}
public A removeFromReplicationControllerItems(ReplicationController... items){
for (ReplicationController item : items) {ReplicationControllerBuilder builder = new ReplicationControllerBuilder(item);_visitables.remove(builder);this.items.remove(builder);} return (A)this;
}
public A removeAllFromReplicationControllerItems(Collection items){
for (ReplicationController item : items) {ReplicationControllerBuilder builder = new ReplicationControllerBuilder(item);_visitables.remove(builder);this.items.remove(builder);} return (A)this;
}
public BaseKubernetesListFluent.ReplicationControllerItemsNested addNewReplicationControllerItem(){
return new ReplicationControllerItemsNestedImpl();
}
public BaseKubernetesListFluent.ReplicationControllerItemsNested addNewReplicationControllerItemLike(ReplicationController item){
return new ReplicationControllerItemsNestedImpl(-1, item);
}
public BaseKubernetesListFluent.ReplicationControllerItemsNested setNewReplicationControllerItemLike(int index,ReplicationController item){
return new ReplicationControllerItemsNestedImpl(index, item);
}
public A addToLimitRangeItems(int index,LimitRange item){
LimitRangeBuilder builder = new LimitRangeBuilder(item);_visitables.add(index >= 0 ? index : _visitables.size(), builder);this.items.add(index >= 0 ? index : items.size(), builder); return (A)this;
}
public A setToLimitRangeItems(int index,LimitRange item){
LimitRangeBuilder builder = new LimitRangeBuilder(item);
if (index < 0 || index >= _visitables.size()) { _visitables.add(builder); } else { _visitables.set(index, builder);}
if (index < 0 || index >= items.size()) { items.add(builder); } else { items.set(index, builder);}
return (A)this;
}
public A addToLimitRangeItems(LimitRange... items){
for (LimitRange item : items) {LimitRangeBuilder builder = new LimitRangeBuilder(item);_visitables.add(builder);this.items.add(builder);} return (A)this;
}
public A addAllToLimitRangeItems(Collection items){
for (LimitRange item : items) {LimitRangeBuilder builder = new LimitRangeBuilder(item);_visitables.add(builder);this.items.add(builder);} return (A)this;
}
public A removeFromLimitRangeItems(LimitRange... items){
for (LimitRange item : items) {LimitRangeBuilder builder = new LimitRangeBuilder(item);_visitables.remove(builder);this.items.remove(builder);} return (A)this;
}
public A removeAllFromLimitRangeItems(Collection items){
for (LimitRange item : items) {LimitRangeBuilder builder = new LimitRangeBuilder(item);_visitables.remove(builder);this.items.remove(builder);} return (A)this;
}
public BaseKubernetesListFluent.LimitRangeItemsNested addNewLimitRangeItem(){
return new LimitRangeItemsNestedImpl();
}
public BaseKubernetesListFluent.LimitRangeItemsNested addNewLimitRangeItemLike(LimitRange item){
return new LimitRangeItemsNestedImpl(-1, item);
}
public BaseKubernetesListFluent.LimitRangeItemsNested setNewLimitRangeItemLike(int index,LimitRange item){
return new LimitRangeItemsNestedImpl(index, item);
}
public A addToEndpointsItems(int index,Endpoints item){
EndpointsBuilder builder = new EndpointsBuilder(item);_visitables.add(index >= 0 ? index : _visitables.size(), builder);this.items.add(index >= 0 ? index : items.size(), builder); return (A)this;
}
public A setToEndpointsItems(int index,Endpoints item){
EndpointsBuilder builder = new EndpointsBuilder(item);
if (index < 0 || index >= _visitables.size()) { _visitables.add(builder); } else { _visitables.set(index, builder);}
if (index < 0 || index >= items.size()) { items.add(builder); } else { items.set(index, builder);}
return (A)this;
}
public A addToEndpointsItems(Endpoints... items){
for (Endpoints item : items) {EndpointsBuilder builder = new EndpointsBuilder(item);_visitables.add(builder);this.items.add(builder);} return (A)this;
}
public A addAllToEndpointsItems(Collection items){
for (Endpoints item : items) {EndpointsBuilder builder = new EndpointsBuilder(item);_visitables.add(builder);this.items.add(builder);} return (A)this;
}
public A removeFromEndpointsItems(Endpoints... items){
for (Endpoints item : items) {EndpointsBuilder builder = new EndpointsBuilder(item);_visitables.remove(builder);this.items.remove(builder);} return (A)this;
}
public A removeAllFromEndpointsItems(Collection items){
for (Endpoints item : items) {EndpointsBuilder builder = new EndpointsBuilder(item);_visitables.remove(builder);this.items.remove(builder);} return (A)this;
}
public BaseKubernetesListFluent.EndpointsItemsNested addNewEndpointsItem(){
return new EndpointsItemsNestedImpl();
}
public BaseKubernetesListFluent.EndpointsItemsNested addNewEndpointsItemLike(Endpoints item){
return new EndpointsItemsNestedImpl(-1, item);
}
public BaseKubernetesListFluent.EndpointsItemsNested setNewEndpointsItemLike(int index,Endpoints item){
return new EndpointsItemsNestedImpl(index, item);
}
public A addToSecurityContextConstraintsItems(int index,SecurityContextConstraints item){
SecurityContextConstraintsBuilder builder = new SecurityContextConstraintsBuilder(item);_visitables.add(index >= 0 ? index : _visitables.size(), builder);this.items.add(index >= 0 ? index : items.size(), builder); return (A)this;
}
public A setToSecurityContextConstraintsItems(int index,SecurityContextConstraints item){
SecurityContextConstraintsBuilder builder = new SecurityContextConstraintsBuilder(item);
if (index < 0 || index >= _visitables.size()) { _visitables.add(builder); } else { _visitables.set(index, builder);}
if (index < 0 || index >= items.size()) { items.add(builder); } else { items.set(index, builder);}
return (A)this;
}
public A addToSecurityContextConstraintsItems(SecurityContextConstraints... items){
for (SecurityContextConstraints item : items) {SecurityContextConstraintsBuilder builder = new SecurityContextConstraintsBuilder(item);_visitables.add(builder);this.items.add(builder);} return (A)this;
}
public A addAllToSecurityContextConstraintsItems(Collection items){
for (SecurityContextConstraints item : items) {SecurityContextConstraintsBuilder builder = new SecurityContextConstraintsBuilder(item);_visitables.add(builder);this.items.add(builder);} return (A)this;
}
public A removeFromSecurityContextConstraintsItems(SecurityContextConstraints... items){
for (SecurityContextConstraints item : items) {SecurityContextConstraintsBuilder builder = new SecurityContextConstraintsBuilder(item);_visitables.remove(builder);this.items.remove(builder);} return (A)this;
}
public A removeAllFromSecurityContextConstraintsItems(Collection items){
for (SecurityContextConstraints item : items) {SecurityContextConstraintsBuilder builder = new SecurityContextConstraintsBuilder(item);_visitables.remove(builder);this.items.remove(builder);} return (A)this;
}
public BaseKubernetesListFluent.SecurityContextConstraintsItemsNested addNewSecurityContextConstraintsItem(){
return new SecurityContextConstraintsItemsNestedImpl();
}
public BaseKubernetesListFluent.SecurityContextConstraintsItemsNested addNewSecurityContextConstraintsItemLike(SecurityContextConstraints item){
return new SecurityContextConstraintsItemsNestedImpl(-1, item);
}
public BaseKubernetesListFluent.SecurityContextConstraintsItemsNested setNewSecurityContextConstraintsItemLike(int index,SecurityContextConstraints item){
return new SecurityContextConstraintsItemsNestedImpl(index, item);
}
public A addToGroupItems(int index,Group item){
GroupBuilder builder = new GroupBuilder(item);_visitables.add(index >= 0 ? index : _visitables.size(), builder);this.items.add(index >= 0 ? index : items.size(), builder); return (A)this;
}
public A setToGroupItems(int index,Group item){
GroupBuilder builder = new GroupBuilder(item);
if (index < 0 || index >= _visitables.size()) { _visitables.add(builder); } else { _visitables.set(index, builder);}
if (index < 0 || index >= items.size()) { items.add(builder); } else { items.set(index, builder);}
return (A)this;
}
public A addToGroupItems(Group... items){
for (Group item : items) {GroupBuilder builder = new GroupBuilder(item);_visitables.add(builder);this.items.add(builder);} return (A)this;
}
public A addAllToGroupItems(Collection items){
for (Group item : items) {GroupBuilder builder = new GroupBuilder(item);_visitables.add(builder);this.items.add(builder);} return (A)this;
}
public A removeFromGroupItems(Group... items){
for (Group item : items) {GroupBuilder builder = new GroupBuilder(item);_visitables.remove(builder);this.items.remove(builder);} return (A)this;
}
public A removeAllFromGroupItems(Collection items){
for (Group item : items) {GroupBuilder builder = new GroupBuilder(item);_visitables.remove(builder);this.items.remove(builder);} return (A)this;
}
public BaseKubernetesListFluent.GroupItemsNested addNewGroupItem(){
return new GroupItemsNestedImpl();
}
public BaseKubernetesListFluent.GroupItemsNested addNewGroupItemLike(Group item){
return new GroupItemsNestedImpl(-1, item);
}
public BaseKubernetesListFluent.GroupItemsNested setNewGroupItemLike(int index,Group item){
return new GroupItemsNestedImpl(index, item);
}
public A addToEventItems(int index,Event item){
EventBuilder builder = new EventBuilder(item);_visitables.add(index >= 0 ? index : _visitables.size(), builder);this.items.add(index >= 0 ? index : items.size(), builder); return (A)this;
}
public A setToEventItems(int index,Event item){
EventBuilder builder = new EventBuilder(item);
if (index < 0 || index >= _visitables.size()) { _visitables.add(builder); } else { _visitables.set(index, builder);}
if (index < 0 || index >= items.size()) { items.add(builder); } else { items.set(index, builder);}
return (A)this;
}
public A addToEventItems(Event... items){
for (Event item : items) {EventBuilder builder = new EventBuilder(item);_visitables.add(builder);this.items.add(builder);} return (A)this;
}
public A addAllToEventItems(Collection items){
for (Event item : items) {EventBuilder builder = new EventBuilder(item);_visitables.add(builder);this.items.add(builder);} return (A)this;
}
public A removeFromEventItems(Event... items){
for (Event item : items) {EventBuilder builder = new EventBuilder(item);_visitables.remove(builder);this.items.remove(builder);} return (A)this;
}
public A removeAllFromEventItems(Collection items){
for (Event item : items) {EventBuilder builder = new EventBuilder(item);_visitables.remove(builder);this.items.remove(builder);} return (A)this;
}
public BaseKubernetesListFluent.EventItemsNested addNewEventItem(){
return new EventItemsNestedImpl();
}
public BaseKubernetesListFluent.EventItemsNested addNewEventItemLike(Event item){
return new EventItemsNestedImpl(-1, item);
}
public BaseKubernetesListFluent.EventItemsNested setNewEventItemLike(int index,Event item){
return new EventItemsNestedImpl(index, item);
}
public A addToNodeItems(int index,Node item){
NodeBuilder builder = new NodeBuilder(item);_visitables.add(index >= 0 ? index : _visitables.size(), builder);this.items.add(index >= 0 ? index : items.size(), builder); return (A)this;
}
public A setToNodeItems(int index,Node item){
NodeBuilder builder = new NodeBuilder(item);
if (index < 0 || index >= _visitables.size()) { _visitables.add(builder); } else { _visitables.set(index, builder);}
if (index < 0 || index >= items.size()) { items.add(builder); } else { items.set(index, builder);}
return (A)this;
}
public A addToNodeItems(Node... items){
for (Node item : items) {NodeBuilder builder = new NodeBuilder(item);_visitables.add(builder);this.items.add(builder);} return (A)this;
}
public A addAllToNodeItems(Collection items){
for (Node item : items) {NodeBuilder builder = new NodeBuilder(item);_visitables.add(builder);this.items.add(builder);} return (A)this;
}
public A removeFromNodeItems(Node... items){
for (Node item : items) {NodeBuilder builder = new NodeBuilder(item);_visitables.remove(builder);this.items.remove(builder);} return (A)this;
}
public A removeAllFromNodeItems(Collection items){
for (Node item : items) {NodeBuilder builder = new NodeBuilder(item);_visitables.remove(builder);this.items.remove(builder);} return (A)this;
}
public BaseKubernetesListFluent.NodeItemsNested addNewNodeItem(){
return new NodeItemsNestedImpl();
}
public BaseKubernetesListFluent.NodeItemsNested addNewNodeItemLike(Node item){
return new NodeItemsNestedImpl(-1, item);
}
public BaseKubernetesListFluent.NodeItemsNested setNewNodeItemLike(int index,Node item){
return new NodeItemsNestedImpl(index, item);
}
public A addToReplicaSetItems(int index,ReplicaSet item){
ReplicaSetBuilder builder = new ReplicaSetBuilder(item);_visitables.add(index >= 0 ? index : _visitables.size(), builder);this.items.add(index >= 0 ? index : items.size(), builder); return (A)this;
}
public A setToReplicaSetItems(int index,ReplicaSet item){
ReplicaSetBuilder builder = new ReplicaSetBuilder(item);
if (index < 0 || index >= _visitables.size()) { _visitables.add(builder); } else { _visitables.set(index, builder);}
if (index < 0 || index >= items.size()) { items.add(builder); } else { items.set(index, builder);}
return (A)this;
}
public A addToReplicaSetItems(ReplicaSet... items){
for (ReplicaSet item : items) {ReplicaSetBuilder builder = new ReplicaSetBuilder(item);_visitables.add(builder);this.items.add(builder);} return (A)this;
}
public A addAllToReplicaSetItems(Collection items){
for (ReplicaSet item : items) {ReplicaSetBuilder builder = new ReplicaSetBuilder(item);_visitables.add(builder);this.items.add(builder);} return (A)this;
}
public A removeFromReplicaSetItems(ReplicaSet... items){
for (ReplicaSet item : items) {ReplicaSetBuilder builder = new ReplicaSetBuilder(item);_visitables.remove(builder);this.items.remove(builder);} return (A)this;
}
public A removeAllFromReplicaSetItems(Collection items){
for (ReplicaSet item : items) {ReplicaSetBuilder builder = new ReplicaSetBuilder(item);_visitables.remove(builder);this.items.remove(builder);} return (A)this;
}
public BaseKubernetesListFluent.ReplicaSetItemsNested addNewReplicaSetItem(){
return new ReplicaSetItemsNestedImpl();
}
public BaseKubernetesListFluent.ReplicaSetItemsNested addNewReplicaSetItemLike(ReplicaSet item){
return new ReplicaSetItemsNestedImpl(-1, item);
}
public BaseKubernetesListFluent.ReplicaSetItemsNested setNewReplicaSetItemLike(int index,ReplicaSet item){
return new ReplicaSetItemsNestedImpl(index, item);
}
public A addToClusterRoleBindingItems(int index,ClusterRoleBinding item){
ClusterRoleBindingBuilder builder = new ClusterRoleBindingBuilder(item);_visitables.add(index >= 0 ? index : _visitables.size(), builder);this.items.add(index >= 0 ? index : items.size(), builder); return (A)this;
}
public A setToClusterRoleBindingItems(int index,ClusterRoleBinding item){
ClusterRoleBindingBuilder builder = new ClusterRoleBindingBuilder(item);
if (index < 0 || index >= _visitables.size()) { _visitables.add(builder); } else { _visitables.set(index, builder);}
if (index < 0 || index >= items.size()) { items.add(builder); } else { items.set(index, builder);}
return (A)this;
}
public A addToClusterRoleBindingItems(ClusterRoleBinding... items){
for (ClusterRoleBinding item : items) {ClusterRoleBindingBuilder builder = new ClusterRoleBindingBuilder(item);_visitables.add(builder);this.items.add(builder);} return (A)this;
}
public A addAllToClusterRoleBindingItems(Collection items){
for (ClusterRoleBinding item : items) {ClusterRoleBindingBuilder builder = new ClusterRoleBindingBuilder(item);_visitables.add(builder);this.items.add(builder);} return (A)this;
}
public A removeFromClusterRoleBindingItems(ClusterRoleBinding... items){
for (ClusterRoleBinding item : items) {ClusterRoleBindingBuilder builder = new ClusterRoleBindingBuilder(item);_visitables.remove(builder);this.items.remove(builder);} return (A)this;
}
public A removeAllFromClusterRoleBindingItems(Collection items){
for (ClusterRoleBinding item : items) {ClusterRoleBindingBuilder builder = new ClusterRoleBindingBuilder(item);_visitables.remove(builder);this.items.remove(builder);} return (A)this;
}
public BaseKubernetesListFluent.ClusterRoleBindingItemsNested addNewClusterRoleBindingItem(){
return new ClusterRoleBindingItemsNestedImpl();
}
public BaseKubernetesListFluent.ClusterRoleBindingItemsNested addNewClusterRoleBindingItemLike(ClusterRoleBinding item){
return new ClusterRoleBindingItemsNestedImpl(-1, item);
}
public BaseKubernetesListFluent.ClusterRoleBindingItemsNested setNewClusterRoleBindingItemLike(int index,ClusterRoleBinding item){
return new ClusterRoleBindingItemsNestedImpl(index, item);
}
public A addToJenkinsItems(int index,Jenkins item){
JenkinsBuilder builder = new JenkinsBuilder(item);_visitables.add(index >= 0 ? index : _visitables.size(), builder);this.items.add(index >= 0 ? index : items.size(), builder); return (A)this;
}
public A setToJenkinsItems(int index,Jenkins item){
JenkinsBuilder builder = new JenkinsBuilder(item);
if (index < 0 || index >= _visitables.size()) { _visitables.add(builder); } else { _visitables.set(index, builder);}
if (index < 0 || index >= items.size()) { items.add(builder); } else { items.set(index, builder);}
return (A)this;
}
public A addToJenkinsItems(Jenkins... items){
for (Jenkins item : items) {JenkinsBuilder builder = new JenkinsBuilder(item);_visitables.add(builder);this.items.add(builder);} return (A)this;
}
public A addAllToJenkinsItems(Collection items){
for (Jenkins item : items) {JenkinsBuilder builder = new JenkinsBuilder(item);_visitables.add(builder);this.items.add(builder);} return (A)this;
}
public A removeFromJenkinsItems(Jenkins... items){
for (Jenkins item : items) {JenkinsBuilder builder = new JenkinsBuilder(item);_visitables.remove(builder);this.items.remove(builder);} return (A)this;
}
public A removeAllFromJenkinsItems(Collection items){
for (Jenkins item : items) {JenkinsBuilder builder = new JenkinsBuilder(item);_visitables.remove(builder);this.items.remove(builder);} return (A)this;
}
public BaseKubernetesListFluent.JenkinsItemsNested addNewJenkinsItem(){
return new JenkinsItemsNestedImpl();
}
public BaseKubernetesListFluent.JenkinsItemsNested addNewJenkinsItemLike(Jenkins item){
return new JenkinsItemsNestedImpl(-1, item);
}
public BaseKubernetesListFluent.JenkinsItemsNested setNewJenkinsItemLike(int index,Jenkins item){
return new JenkinsItemsNestedImpl(index, item);
}
public A addToDaemonSetItems(int index,DaemonSet item){
DaemonSetBuilder builder = new DaemonSetBuilder(item);_visitables.add(index >= 0 ? index : _visitables.size(), builder);this.items.add(index >= 0 ? index : items.size(), builder); return (A)this;
}
public A setToDaemonSetItems(int index,DaemonSet item){
DaemonSetBuilder builder = new DaemonSetBuilder(item);
if (index < 0 || index >= _visitables.size()) { _visitables.add(builder); } else { _visitables.set(index, builder);}
if (index < 0 || index >= items.size()) { items.add(builder); } else { items.set(index, builder);}
return (A)this;
}
public A addToDaemonSetItems(DaemonSet... items){
for (DaemonSet item : items) {DaemonSetBuilder builder = new DaemonSetBuilder(item);_visitables.add(builder);this.items.add(builder);} return (A)this;
}
public A addAllToDaemonSetItems(Collection items){
for (DaemonSet item : items) {DaemonSetBuilder builder = new DaemonSetBuilder(item);_visitables.add(builder);this.items.add(builder);} return (A)this;
}
public A removeFromDaemonSetItems(DaemonSet... items){
for (DaemonSet item : items) {DaemonSetBuilder builder = new DaemonSetBuilder(item);_visitables.remove(builder);this.items.remove(builder);} return (A)this;
}
public A removeAllFromDaemonSetItems(Collection items){
for (DaemonSet item : items) {DaemonSetBuilder builder = new DaemonSetBuilder(item);_visitables.remove(builder);this.items.remove(builder);} return (A)this;
}
public BaseKubernetesListFluent.DaemonSetItemsNested addNewDaemonSetItem(){
return new DaemonSetItemsNestedImpl();
}
public BaseKubernetesListFluent.DaemonSetItemsNested addNewDaemonSetItemLike(DaemonSet item){
return new DaemonSetItemsNestedImpl(-1, item);
}
public BaseKubernetesListFluent.DaemonSetItemsNested setNewDaemonSetItemLike(int index,DaemonSet item){
return new DaemonSetItemsNestedImpl(index, item);
}
public A addToPodDisruptionBudgetItems(int index,PodDisruptionBudget item){
PodDisruptionBudgetBuilder builder = new PodDisruptionBudgetBuilder(item);_visitables.add(index >= 0 ? index : _visitables.size(), builder);this.items.add(index >= 0 ? index : items.size(), builder); return (A)this;
}
public A setToPodDisruptionBudgetItems(int index,PodDisruptionBudget item){
PodDisruptionBudgetBuilder builder = new PodDisruptionBudgetBuilder(item);
if (index < 0 || index >= _visitables.size()) { _visitables.add(builder); } else { _visitables.set(index, builder);}
if (index < 0 || index >= items.size()) { items.add(builder); } else { items.set(index, builder);}
return (A)this;
}
public A addToPodDisruptionBudgetItems(PodDisruptionBudget... items){
for (PodDisruptionBudget item : items) {PodDisruptionBudgetBuilder builder = new PodDisruptionBudgetBuilder(item);_visitables.add(builder);this.items.add(builder);} return (A)this;
}
public A addAllToPodDisruptionBudgetItems(Collection items){
for (PodDisruptionBudget item : items) {PodDisruptionBudgetBuilder builder = new PodDisruptionBudgetBuilder(item);_visitables.add(builder);this.items.add(builder);} return (A)this;
}
public A removeFromPodDisruptionBudgetItems(PodDisruptionBudget... items){
for (PodDisruptionBudget item : items) {PodDisruptionBudgetBuilder builder = new PodDisruptionBudgetBuilder(item);_visitables.remove(builder);this.items.remove(builder);} return (A)this;
}
public A removeAllFromPodDisruptionBudgetItems(Collection items){
for (PodDisruptionBudget item : items) {PodDisruptionBudgetBuilder builder = new PodDisruptionBudgetBuilder(item);_visitables.remove(builder);this.items.remove(builder);} return (A)this;
}
public BaseKubernetesListFluent.PodDisruptionBudgetItemsNested addNewPodDisruptionBudgetItem(){
return new PodDisruptionBudgetItemsNestedImpl();
}
public BaseKubernetesListFluent.PodDisruptionBudgetItemsNested addNewPodDisruptionBudgetItemLike(PodDisruptionBudget item){
return new PodDisruptionBudgetItemsNestedImpl(-1, item);
}
public BaseKubernetesListFluent.PodDisruptionBudgetItemsNested setNewPodDisruptionBudgetItemLike(int index,PodDisruptionBudget item){
return new PodDisruptionBudgetItemsNestedImpl(index, item);
}
public A addToImageStreamItems(int index,ImageStream item){
ImageStreamBuilder builder = new ImageStreamBuilder(item);_visitables.add(index >= 0 ? index : _visitables.size(), builder);this.items.add(index >= 0 ? index : items.size(), builder); return (A)this;
}
public A setToImageStreamItems(int index,ImageStream item){
ImageStreamBuilder builder = new ImageStreamBuilder(item);
if (index < 0 || index >= _visitables.size()) { _visitables.add(builder); } else { _visitables.set(index, builder);}
if (index < 0 || index >= items.size()) { items.add(builder); } else { items.set(index, builder);}
return (A)this;
}
public A addToImageStreamItems(ImageStream... items){
for (ImageStream item : items) {ImageStreamBuilder builder = new ImageStreamBuilder(item);_visitables.add(builder);this.items.add(builder);} return (A)this;
}
public A addAllToImageStreamItems(Collection items){
for (ImageStream item : items) {ImageStreamBuilder builder = new ImageStreamBuilder(item);_visitables.add(builder);this.items.add(builder);} return (A)this;
}
public A removeFromImageStreamItems(ImageStream... items){
for (ImageStream item : items) {ImageStreamBuilder builder = new ImageStreamBuilder(item);_visitables.remove(builder);this.items.remove(builder);} return (A)this;
}
public A removeAllFromImageStreamItems(Collection items){
for (ImageStream item : items) {ImageStreamBuilder builder = new ImageStreamBuilder(item);_visitables.remove(builder);this.items.remove(builder);} return (A)this;
}
public BaseKubernetesListFluent.ImageStreamItemsNested addNewImageStreamItem(){
return new ImageStreamItemsNestedImpl();
}
public BaseKubernetesListFluent.ImageStreamItemsNested addNewImageStreamItemLike(ImageStream item){
return new ImageStreamItemsNestedImpl(-1, item);
}
public BaseKubernetesListFluent.ImageStreamItemsNested setNewImageStreamItemLike(int index,ImageStream item){
return new ImageStreamItemsNestedImpl(index, item);
}
public A addToRoleBindingRestrictionItems(int index,RoleBindingRestriction item){
RoleBindingRestrictionBuilder builder = new RoleBindingRestrictionBuilder(item);_visitables.add(index >= 0 ? index : _visitables.size(), builder);this.items.add(index >= 0 ? index : items.size(), builder); return (A)this;
}
public A setToRoleBindingRestrictionItems(int index,RoleBindingRestriction item){
RoleBindingRestrictionBuilder builder = new RoleBindingRestrictionBuilder(item);
if (index < 0 || index >= _visitables.size()) { _visitables.add(builder); } else { _visitables.set(index, builder);}
if (index < 0 || index >= items.size()) { items.add(builder); } else { items.set(index, builder);}
return (A)this;
}
public A addToRoleBindingRestrictionItems(RoleBindingRestriction... items){
for (RoleBindingRestriction item : items) {RoleBindingRestrictionBuilder builder = new RoleBindingRestrictionBuilder(item);_visitables.add(builder);this.items.add(builder);} return (A)this;
}
public A addAllToRoleBindingRestrictionItems(Collection items){
for (RoleBindingRestriction item : items) {RoleBindingRestrictionBuilder builder = new RoleBindingRestrictionBuilder(item);_visitables.add(builder);this.items.add(builder);} return (A)this;
}
public A removeFromRoleBindingRestrictionItems(RoleBindingRestriction... items){
for (RoleBindingRestriction item : items) {RoleBindingRestrictionBuilder builder = new RoleBindingRestrictionBuilder(item);_visitables.remove(builder);this.items.remove(builder);} return (A)this;
}
public A removeAllFromRoleBindingRestrictionItems(Collection items){
for (RoleBindingRestriction item : items) {RoleBindingRestrictionBuilder builder = new RoleBindingRestrictionBuilder(item);_visitables.remove(builder);this.items.remove(builder);} return (A)this;
}
public BaseKubernetesListFluent.RoleBindingRestrictionItemsNested addNewRoleBindingRestrictionItem(){
return new RoleBindingRestrictionItemsNestedImpl();
}
public BaseKubernetesListFluent.RoleBindingRestrictionItemsNested addNewRoleBindingRestrictionItemLike(RoleBindingRestriction item){
return new RoleBindingRestrictionItemsNestedImpl(-1, item);
}
public BaseKubernetesListFluent.RoleBindingRestrictionItemsNested setNewRoleBindingRestrictionItemLike(int index,RoleBindingRestriction item){
return new RoleBindingRestrictionItemsNestedImpl(index, item);
}
public A addToBindingItems(int index,Binding item){
BindingBuilder builder = new BindingBuilder(item);_visitables.add(index >= 0 ? index : _visitables.size(), builder);this.items.add(index >= 0 ? index : items.size(), builder); return (A)this;
}
public A setToBindingItems(int index,Binding item){
BindingBuilder builder = new BindingBuilder(item);
if (index < 0 || index >= _visitables.size()) { _visitables.add(builder); } else { _visitables.set(index, builder);}
if (index < 0 || index >= items.size()) { items.add(builder); } else { items.set(index, builder);}
return (A)this;
}
public A addToBindingItems(Binding... items){
for (Binding item : items) {BindingBuilder builder = new BindingBuilder(item);_visitables.add(builder);this.items.add(builder);} return (A)this;
}
public A addAllToBindingItems(Collection items){
for (Binding item : items) {BindingBuilder builder = new BindingBuilder(item);_visitables.add(builder);this.items.add(builder);} return (A)this;
}
public A removeFromBindingItems(Binding... items){
for (Binding item : items) {BindingBuilder builder = new BindingBuilder(item);_visitables.remove(builder);this.items.remove(builder);} return (A)this;
}
public A removeAllFromBindingItems(Collection items){
for (Binding item : items) {BindingBuilder builder = new BindingBuilder(item);_visitables.remove(builder);this.items.remove(builder);} return (A)this;
}
public BaseKubernetesListFluent.BindingItemsNested addNewBindingItem(){
return new BindingItemsNestedImpl();
}
public BaseKubernetesListFluent.BindingItemsNested addNewBindingItemLike(Binding item){
return new BindingItemsNestedImpl(-1, item);
}
public BaseKubernetesListFluent.BindingItemsNested setNewBindingItemLike(int index,Binding item){
return new BindingItemsNestedImpl(index, item);
}
public A addToLocalSubjectAccessReviewItems(int index,io.alauda.kubernetes.api.model.authorization.LocalSubjectAccessReview item){
io.alauda.kubernetes.api.model.authorization.LocalSubjectAccessReviewBuilder builder = new io.alauda.kubernetes.api.model.authorization.LocalSubjectAccessReviewBuilder(item);_visitables.add(index >= 0 ? index : _visitables.size(), builder);this.items.add(index >= 0 ? index : items.size(), builder); return (A)this;
}
public A setToLocalSubjectAccessReviewItems(int index,io.alauda.kubernetes.api.model.authorization.LocalSubjectAccessReview item){
io.alauda.kubernetes.api.model.authorization.LocalSubjectAccessReviewBuilder builder = new io.alauda.kubernetes.api.model.authorization.LocalSubjectAccessReviewBuilder(item);
if (index < 0 || index >= _visitables.size()) { _visitables.add(builder); } else { _visitables.set(index, builder);}
if (index < 0 || index >= items.size()) { items.add(builder); } else { items.set(index, builder);}
return (A)this;
}
public A addToLocalSubjectAccessReviewItems(io.alauda.kubernetes.api.model.authorization.LocalSubjectAccessReview... items){
for (io.alauda.kubernetes.api.model.authorization.LocalSubjectAccessReview item : items) {io.alauda.kubernetes.api.model.authorization.LocalSubjectAccessReviewBuilder builder = new io.alauda.kubernetes.api.model.authorization.LocalSubjectAccessReviewBuilder(item);_visitables.add(builder);this.items.add(builder);} return (A)this;
}
public A addAllToAuthorizationLocalSubjectAccessReviewItems(Collection items){
for (io.alauda.kubernetes.api.model.authorization.LocalSubjectAccessReview item : items) {io.alauda.kubernetes.api.model.authorization.LocalSubjectAccessReviewBuilder builder = new io.alauda.kubernetes.api.model.authorization.LocalSubjectAccessReviewBuilder(item);_visitables.add(builder);this.items.add(builder);} return (A)this;
}
public A removeFromLocalSubjectAccessReviewItems(io.alauda.kubernetes.api.model.authorization.LocalSubjectAccessReview... items){
for (io.alauda.kubernetes.api.model.authorization.LocalSubjectAccessReview item : items) {io.alauda.kubernetes.api.model.authorization.LocalSubjectAccessReviewBuilder builder = new io.alauda.kubernetes.api.model.authorization.LocalSubjectAccessReviewBuilder(item);_visitables.remove(builder);this.items.remove(builder);} return (A)this;
}
public A removeAllFromAuthorizationLocalSubjectAccessReviewItems(Collection items){
for (io.alauda.kubernetes.api.model.authorization.LocalSubjectAccessReview item : items) {io.alauda.kubernetes.api.model.authorization.LocalSubjectAccessReviewBuilder builder = new io.alauda.kubernetes.api.model.authorization.LocalSubjectAccessReviewBuilder(item);_visitables.remove(builder);this.items.remove(builder);} return (A)this;
}
public BaseKubernetesListFluent.AuthorizationLocalSubjectAccessReviewItemsNested addNewAuthorizationLocalSubjectAccessReviewItem(){
return new AuthorizationLocalSubjectAccessReviewItemsNestedImpl();
}
public BaseKubernetesListFluent.AuthorizationLocalSubjectAccessReviewItemsNested addNewLocalSubjectAccessReviewItemLike(io.alauda.kubernetes.api.model.authorization.LocalSubjectAccessReview item){
return new AuthorizationLocalSubjectAccessReviewItemsNestedImpl(-1, item);
}
public BaseKubernetesListFluent.AuthorizationLocalSubjectAccessReviewItemsNested setNewLocalSubjectAccessReviewItemLike(int index,io.alauda.kubernetes.api.model.authorization.LocalSubjectAccessReview item){
return new AuthorizationLocalSubjectAccessReviewItemsNestedImpl(index, item);
}
public A addToStatefulSetItems(int index,StatefulSet item){
StatefulSetBuilder builder = new StatefulSetBuilder(item);_visitables.add(index >= 0 ? index : _visitables.size(), builder);this.items.add(index >= 0 ? index : items.size(), builder); return (A)this;
}
public A setToStatefulSetItems(int index,StatefulSet item){
StatefulSetBuilder builder = new StatefulSetBuilder(item);
if (index < 0 || index >= _visitables.size()) { _visitables.add(builder); } else { _visitables.set(index, builder);}
if (index < 0 || index >= items.size()) { items.add(builder); } else { items.set(index, builder);}
return (A)this;
}
public A addToStatefulSetItems(StatefulSet... items){
for (StatefulSet item : items) {StatefulSetBuilder builder = new StatefulSetBuilder(item);_visitables.add(builder);this.items.add(builder);} return (A)this;
}
public A addAllToStatefulSetItems(Collection items){
for (StatefulSet item : items) {StatefulSetBuilder builder = new StatefulSetBuilder(item);_visitables.add(builder);this.items.add(builder);} return (A)this;
}
public A removeFromStatefulSetItems(StatefulSet... items){
for (StatefulSet item : items) {StatefulSetBuilder builder = new StatefulSetBuilder(item);_visitables.remove(builder);this.items.remove(builder);} return (A)this;
}
public A removeAllFromStatefulSetItems(Collection items){
for (StatefulSet item : items) {StatefulSetBuilder builder = new StatefulSetBuilder(item);_visitables.remove(builder);this.items.remove(builder);} return (A)this;
}
public BaseKubernetesListFluent.StatefulSetItemsNested addNewStatefulSetItem(){
return new StatefulSetItemsNestedImpl();
}
public BaseKubernetesListFluent.StatefulSetItemsNested addNewStatefulSetItemLike(StatefulSet item){
return new StatefulSetItemsNestedImpl(-1, item);
}
public BaseKubernetesListFluent.StatefulSetItemsNested setNewStatefulSetItemLike(int index,StatefulSet item){
return new StatefulSetItemsNestedImpl(index, item);
}
public A addToPipelineTemplateTaskInstanceItems(int index,PipelineTemplateTaskInstance item){
PipelineTemplateTaskInstanceBuilder builder = new PipelineTemplateTaskInstanceBuilder(item);_visitables.add(index >= 0 ? index : _visitables.size(), builder);this.items.add(index >= 0 ? index : items.size(), builder); return (A)this;
}
public A setToPipelineTemplateTaskInstanceItems(int index,PipelineTemplateTaskInstance item){
PipelineTemplateTaskInstanceBuilder builder = new PipelineTemplateTaskInstanceBuilder(item);
if (index < 0 || index >= _visitables.size()) { _visitables.add(builder); } else { _visitables.set(index, builder);}
if (index < 0 || index >= items.size()) { items.add(builder); } else { items.set(index, builder);}
return (A)this;
}
public A addToPipelineTemplateTaskInstanceItems(PipelineTemplateTaskInstance... items){
for (PipelineTemplateTaskInstance item : items) {PipelineTemplateTaskInstanceBuilder builder = new PipelineTemplateTaskInstanceBuilder(item);_visitables.add(builder);this.items.add(builder);} return (A)this;
}
public A addAllToPipelineTemplateTaskInstanceItems(Collection items){
for (PipelineTemplateTaskInstance item : items) {PipelineTemplateTaskInstanceBuilder builder = new PipelineTemplateTaskInstanceBuilder(item);_visitables.add(builder);this.items.add(builder);} return (A)this;
}
public A removeFromPipelineTemplateTaskInstanceItems(PipelineTemplateTaskInstance... items){
for (PipelineTemplateTaskInstance item : items) {PipelineTemplateTaskInstanceBuilder builder = new PipelineTemplateTaskInstanceBuilder(item);_visitables.remove(builder);this.items.remove(builder);} return (A)this;
}
public A removeAllFromPipelineTemplateTaskInstanceItems(Collection items){
for (PipelineTemplateTaskInstance item : items) {PipelineTemplateTaskInstanceBuilder builder = new PipelineTemplateTaskInstanceBuilder(item);_visitables.remove(builder);this.items.remove(builder);} return (A)this;
}
public BaseKubernetesListFluent.PipelineTemplateTaskInstanceItemsNested addNewPipelineTemplateTaskInstanceItem(){
return new PipelineTemplateTaskInstanceItemsNestedImpl();
}
public BaseKubernetesListFluent.PipelineTemplateTaskInstanceItemsNested addNewPipelineTemplateTaskInstanceItemLike(PipelineTemplateTaskInstance item){
return new PipelineTemplateTaskInstanceItemsNestedImpl(-1, item);
}
public BaseKubernetesListFluent.PipelineTemplateTaskInstanceItemsNested setNewPipelineTemplateTaskInstanceItemLike(int index,PipelineTemplateTaskInstance item){
return new PipelineTemplateTaskInstanceItemsNestedImpl(index, item);
}
public A addToOAuthClientItems(int index,OAuthClient item){
OAuthClientBuilder builder = new OAuthClientBuilder(item);_visitables.add(index >= 0 ? index : _visitables.size(), builder);this.items.add(index >= 0 ? index : items.size(), builder); return (A)this;
}
public A setToOAuthClientItems(int index,OAuthClient item){
OAuthClientBuilder builder = new OAuthClientBuilder(item);
if (index < 0 || index >= _visitables.size()) { _visitables.add(builder); } else { _visitables.set(index, builder);}
if (index < 0 || index >= items.size()) { items.add(builder); } else { items.set(index, builder);}
return (A)this;
}
public A addToOAuthClientItems(OAuthClient... items){
for (OAuthClient item : items) {OAuthClientBuilder builder = new OAuthClientBuilder(item);_visitables.add(builder);this.items.add(builder);} return (A)this;
}
public A addAllToOAuthClientItems(Collection items){
for (OAuthClient item : items) {OAuthClientBuilder builder = new OAuthClientBuilder(item);_visitables.add(builder);this.items.add(builder);} return (A)this;
}
public A removeFromOAuthClientItems(OAuthClient... items){
for (OAuthClient item : items) {OAuthClientBuilder builder = new OAuthClientBuilder(item);_visitables.remove(builder);this.items.remove(builder);} return (A)this;
}
public A removeAllFromOAuthClientItems(Collection items){
for (OAuthClient item : items) {OAuthClientBuilder builder = new OAuthClientBuilder(item);_visitables.remove(builder);this.items.remove(builder);} return (A)this;
}
public BaseKubernetesListFluent.OAuthClientItemsNested addNewOAuthClientItem(){
return new OAuthClientItemsNestedImpl();
}
public BaseKubernetesListFluent.OAuthClientItemsNested addNewOAuthClientItemLike(OAuthClient item){
return new OAuthClientItemsNestedImpl(-1, item);
}
public BaseKubernetesListFluent.OAuthClientItemsNested setNewOAuthClientItemLike(int index,OAuthClient item){
return new OAuthClientItemsNestedImpl(index, item);
}
public A addToTemplateItems(int index,Template item){
TemplateBuilder builder = new TemplateBuilder(item);_visitables.add(index >= 0 ? index : _visitables.size(), builder);this.items.add(index >= 0 ? index : items.size(), builder); return (A)this;
}
public A setToTemplateItems(int index,Template item){
TemplateBuilder builder = new TemplateBuilder(item);
if (index < 0 || index >= _visitables.size()) { _visitables.add(builder); } else { _visitables.set(index, builder);}
if (index < 0 || index >= items.size()) { items.add(builder); } else { items.set(index, builder);}
return (A)this;
}
public A addToTemplateItems(Template... items){
for (Template item : items) {TemplateBuilder builder = new TemplateBuilder(item);_visitables.add(builder);this.items.add(builder);} return (A)this;
}
public A addAllToTemplateItems(Collection items){
for (Template item : items) {TemplateBuilder builder = new TemplateBuilder(item);_visitables.add(builder);this.items.add(builder);} return (A)this;
}
public A removeFromTemplateItems(Template... items){
for (Template item : items) {TemplateBuilder builder = new TemplateBuilder(item);_visitables.remove(builder);this.items.remove(builder);} return (A)this;
}
public A removeAllFromTemplateItems(Collection items){
for (Template item : items) {TemplateBuilder builder = new TemplateBuilder(item);_visitables.remove(builder);this.items.remove(builder);} return (A)this;
}
public BaseKubernetesListFluent.TemplateItemsNested addNewTemplateItem(){
return new TemplateItemsNestedImpl();
}
public BaseKubernetesListFluent.TemplateItemsNested addNewTemplateItemLike(Template item){
return new TemplateItemsNestedImpl(-1, item);
}
public BaseKubernetesListFluent.TemplateItemsNested setNewTemplateItemLike(int index,Template item){
return new TemplateItemsNestedImpl(index, item);
}
public A addToBuildConfigItems(int index,BuildConfig item){
BuildConfigBuilder builder = new BuildConfigBuilder(item);_visitables.add(index >= 0 ? index : _visitables.size(), builder);this.items.add(index >= 0 ? index : items.size(), builder); return (A)this;
}
public A setToBuildConfigItems(int index,BuildConfig item){
BuildConfigBuilder builder = new BuildConfigBuilder(item);
if (index < 0 || index >= _visitables.size()) { _visitables.add(builder); } else { _visitables.set(index, builder);}
if (index < 0 || index >= items.size()) { items.add(builder); } else { items.set(index, builder);}
return (A)this;
}
public A addToBuildConfigItems(BuildConfig... items){
for (BuildConfig item : items) {BuildConfigBuilder builder = new BuildConfigBuilder(item);_visitables.add(builder);this.items.add(builder);} return (A)this;
}
public A addAllToBuildConfigItems(Collection items){
for (BuildConfig item : items) {BuildConfigBuilder builder = new BuildConfigBuilder(item);_visitables.add(builder);this.items.add(builder);} return (A)this;
}
public A removeFromBuildConfigItems(BuildConfig... items){
for (BuildConfig item : items) {BuildConfigBuilder builder = new BuildConfigBuilder(item);_visitables.remove(builder);this.items.remove(builder);} return (A)this;
}
public A removeAllFromBuildConfigItems(Collection items){
for (BuildConfig item : items) {BuildConfigBuilder builder = new BuildConfigBuilder(item);_visitables.remove(builder);this.items.remove(builder);} return (A)this;
}
public BaseKubernetesListFluent.BuildConfigItemsNested addNewBuildConfigItem(){
return new BuildConfigItemsNestedImpl();
}
public BaseKubernetesListFluent.BuildConfigItemsNested addNewBuildConfigItemLike(BuildConfig item){
return new BuildConfigItemsNestedImpl(-1, item);
}
public BaseKubernetesListFluent.BuildConfigItemsNested setNewBuildConfigItemLike(int index,BuildConfig item){
return new BuildConfigItemsNestedImpl(index, item);
}
public A addToPodSecurityPolicyItems(int index,PodSecurityPolicy item){
PodSecurityPolicyBuilder builder = new PodSecurityPolicyBuilder(item);_visitables.add(index >= 0 ? index : _visitables.size(), builder);this.items.add(index >= 0 ? index : items.size(), builder); return (A)this;
}
public A setToPodSecurityPolicyItems(int index,PodSecurityPolicy item){
PodSecurityPolicyBuilder builder = new PodSecurityPolicyBuilder(item);
if (index < 0 || index >= _visitables.size()) { _visitables.add(builder); } else { _visitables.set(index, builder);}
if (index < 0 || index >= items.size()) { items.add(builder); } else { items.set(index, builder);}
return (A)this;
}
public A addToPodSecurityPolicyItems(PodSecurityPolicy... items){
for (PodSecurityPolicy item : items) {PodSecurityPolicyBuilder builder = new PodSecurityPolicyBuilder(item);_visitables.add(builder);this.items.add(builder);} return (A)this;
}
public A addAllToPodSecurityPolicyItems(Collection items){
for (PodSecurityPolicy item : items) {PodSecurityPolicyBuilder builder = new PodSecurityPolicyBuilder(item);_visitables.add(builder);this.items.add(builder);} return (A)this;
}
public A removeFromPodSecurityPolicyItems(PodSecurityPolicy... items){
for (PodSecurityPolicy item : items) {PodSecurityPolicyBuilder builder = new PodSecurityPolicyBuilder(item);_visitables.remove(builder);this.items.remove(builder);} return (A)this;
}
public A removeAllFromPodSecurityPolicyItems(Collection items){
for (PodSecurityPolicy item : items) {PodSecurityPolicyBuilder builder = new PodSecurityPolicyBuilder(item);_visitables.remove(builder);this.items.remove(builder);} return (A)this;
}
public BaseKubernetesListFluent.PodSecurityPolicyItemsNested addNewPodSecurityPolicyItem(){
return new PodSecurityPolicyItemsNestedImpl();
}
public BaseKubernetesListFluent.PodSecurityPolicyItemsNested addNewPodSecurityPolicyItemLike(PodSecurityPolicy item){
return new PodSecurityPolicyItemsNestedImpl(-1, item);
}
public BaseKubernetesListFluent.PodSecurityPolicyItemsNested setNewPodSecurityPolicyItemLike(int index,PodSecurityPolicy item){
return new PodSecurityPolicyItemsNestedImpl(index, item);
}
public A addToPipelineItems(int index,Pipeline item){
PipelineBuilder builder = new PipelineBuilder(item);_visitables.add(index >= 0 ? index : _visitables.size(), builder);this.items.add(index >= 0 ? index : items.size(), builder); return (A)this;
}
public A setToPipelineItems(int index,Pipeline item){
PipelineBuilder builder = new PipelineBuilder(item);
if (index < 0 || index >= _visitables.size()) { _visitables.add(builder); } else { _visitables.set(index, builder);}
if (index < 0 || index >= items.size()) { items.add(builder); } else { items.set(index, builder);}
return (A)this;
}
public A addToPipelineItems(Pipeline... items){
for (Pipeline item : items) {PipelineBuilder builder = new PipelineBuilder(item);_visitables.add(builder);this.items.add(builder);} return (A)this;
}
public A addAllToPipelineItems(Collection items){
for (Pipeline item : items) {PipelineBuilder builder = new PipelineBuilder(item);_visitables.add(builder);this.items.add(builder);} return (A)this;
}
public A removeFromPipelineItems(Pipeline... items){
for (Pipeline item : items) {PipelineBuilder builder = new PipelineBuilder(item);_visitables.remove(builder);this.items.remove(builder);} return (A)this;
}
public A removeAllFromPipelineItems(Collection items){
for (Pipeline item : items) {PipelineBuilder builder = new PipelineBuilder(item);_visitables.remove(builder);this.items.remove(builder);} return (A)this;
}
public BaseKubernetesListFluent.PipelineItemsNested addNewPipelineItem(){
return new PipelineItemsNestedImpl();
}
public BaseKubernetesListFluent.PipelineItemsNested addNewPipelineItemLike(Pipeline item){
return new PipelineItemsNestedImpl(-1, item);
}
public BaseKubernetesListFluent.PipelineItemsNested setNewPipelineItemLike(int index,Pipeline item){
return new PipelineItemsNestedImpl(index, item);
}
public A addToRoleItems(int index,Role item){
RoleBuilder builder = new RoleBuilder(item);_visitables.add(index >= 0 ? index : _visitables.size(), builder);this.items.add(index >= 0 ? index : items.size(), builder); return (A)this;
}
public A setToRoleItems(int index,Role item){
RoleBuilder builder = new RoleBuilder(item);
if (index < 0 || index >= _visitables.size()) { _visitables.add(builder); } else { _visitables.set(index, builder);}
if (index < 0 || index >= items.size()) { items.add(builder); } else { items.set(index, builder);}
return (A)this;
}
public A addToRoleItems(Role... items){
for (Role item : items) {RoleBuilder builder = new RoleBuilder(item);_visitables.add(builder);this.items.add(builder);} return (A)this;
}
public A addAllToRoleItems(Collection items){
for (Role item : items) {RoleBuilder builder = new RoleBuilder(item);_visitables.add(builder);this.items.add(builder);} return (A)this;
}
public A removeFromRoleItems(Role... items){
for (Role item : items) {RoleBuilder builder = new RoleBuilder(item);_visitables.remove(builder);this.items.remove(builder);} return (A)this;
}
public A removeAllFromRoleItems(Collection items){
for (Role item : items) {RoleBuilder builder = new RoleBuilder(item);_visitables.remove(builder);this.items.remove(builder);} return (A)this;
}
public BaseKubernetesListFluent.RoleItemsNested addNewRoleItem(){
return new RoleItemsNestedImpl();
}
public BaseKubernetesListFluent.RoleItemsNested addNewRoleItemLike(Role item){
return new RoleItemsNestedImpl(-1, item);
}
public BaseKubernetesListFluent.RoleItemsNested setNewRoleItemLike(int index,Role item){
return new RoleItemsNestedImpl(index, item);
}
public A addToCronJobItems(int index,CronJob item){
CronJobBuilder builder = new CronJobBuilder(item);_visitables.add(index >= 0 ? index : _visitables.size(), builder);this.items.add(index >= 0 ? index : items.size(), builder); return (A)this;
}
public A setToCronJobItems(int index,CronJob item){
CronJobBuilder builder = new CronJobBuilder(item);
if (index < 0 || index >= _visitables.size()) { _visitables.add(builder); } else { _visitables.set(index, builder);}
if (index < 0 || index >= items.size()) { items.add(builder); } else { items.set(index, builder);}
return (A)this;
}
public A addToCronJobItems(CronJob... items){
for (CronJob item : items) {CronJobBuilder builder = new CronJobBuilder(item);_visitables.add(builder);this.items.add(builder);} return (A)this;
}
public A addAllToCronJobItems(Collection items){
for (CronJob item : items) {CronJobBuilder builder = new CronJobBuilder(item);_visitables.add(builder);this.items.add(builder);} return (A)this;
}
public A removeFromCronJobItems(CronJob... items){
for (CronJob item : items) {CronJobBuilder builder = new CronJobBuilder(item);_visitables.remove(builder);this.items.remove(builder);} return (A)this;
}
public A removeAllFromCronJobItems(Collection items){
for (CronJob item : items) {CronJobBuilder builder = new CronJobBuilder(item);_visitables.remove(builder);this.items.remove(builder);} return (A)this;
}
public BaseKubernetesListFluent.CronJobItemsNested addNewCronJobItem(){
return new CronJobItemsNestedImpl();
}
public BaseKubernetesListFluent.CronJobItemsNested addNewCronJobItemLike(CronJob item){
return new CronJobItemsNestedImpl(-1, item);
}
public BaseKubernetesListFluent.CronJobItemsNested setNewCronJobItemLike(int index,CronJob item){
return new CronJobItemsNestedImpl(index, item);
}
public A addToUserItems(int index,User item){
UserBuilder builder = new UserBuilder(item);_visitables.add(index >= 0 ? index : _visitables.size(), builder);this.items.add(index >= 0 ? index : items.size(), builder); return (A)this;
}
public A setToUserItems(int index,User item){
UserBuilder builder = new UserBuilder(item);
if (index < 0 || index >= _visitables.size()) { _visitables.add(builder); } else { _visitables.set(index, builder);}
if (index < 0 || index >= items.size()) { items.add(builder); } else { items.set(index, builder);}
return (A)this;
}
public A addToUserItems(User... items){
for (User item : items) {UserBuilder builder = new UserBuilder(item);_visitables.add(builder);this.items.add(builder);} return (A)this;
}
public A addAllToUserItems(Collection items){
for (User item : items) {UserBuilder builder = new UserBuilder(item);_visitables.add(builder);this.items.add(builder);} return (A)this;
}
public A removeFromUserItems(User... items){
for (User item : items) {UserBuilder builder = new UserBuilder(item);_visitables.remove(builder);this.items.remove(builder);} return (A)this;
}
public A removeAllFromUserItems(Collection items){
for (User item : items) {UserBuilder builder = new UserBuilder(item);_visitables.remove(builder);this.items.remove(builder);} return (A)this;
}
public BaseKubernetesListFluent.UserItemsNested addNewUserItem(){
return new UserItemsNestedImpl();
}
public BaseKubernetesListFluent.UserItemsNested addNewUserItemLike(User item){
return new UserItemsNestedImpl(-1, item);
}
public BaseKubernetesListFluent.UserItemsNested setNewUserItemLike(int index,User item){
return new UserItemsNestedImpl(index, item);
}
public A addToSubjectAccessReviewItems(int index,io.alauda.kubernetes.api.model.authorization.SubjectAccessReview item){
io.alauda.kubernetes.api.model.authorization.SubjectAccessReviewBuilder builder = new io.alauda.kubernetes.api.model.authorization.SubjectAccessReviewBuilder(item);_visitables.add(index >= 0 ? index : _visitables.size(), builder);this.items.add(index >= 0 ? index : items.size(), builder); return (A)this;
}
public A setToSubjectAccessReviewItems(int index,io.alauda.kubernetes.api.model.authorization.SubjectAccessReview item){
io.alauda.kubernetes.api.model.authorization.SubjectAccessReviewBuilder builder = new io.alauda.kubernetes.api.model.authorization.SubjectAccessReviewBuilder(item);
if (index < 0 || index >= _visitables.size()) { _visitables.add(builder); } else { _visitables.set(index, builder);}
if (index < 0 || index >= items.size()) { items.add(builder); } else { items.set(index, builder);}
return (A)this;
}
public A addToSubjectAccessReviewItems(io.alauda.kubernetes.api.model.authorization.SubjectAccessReview... items){
for (io.alauda.kubernetes.api.model.authorization.SubjectAccessReview item : items) {io.alauda.kubernetes.api.model.authorization.SubjectAccessReviewBuilder builder = new io.alauda.kubernetes.api.model.authorization.SubjectAccessReviewBuilder(item);_visitables.add(builder);this.items.add(builder);} return (A)this;
}
public A addAllToAuthorizationSubjectAccessReviewItems(Collection items){
for (io.alauda.kubernetes.api.model.authorization.SubjectAccessReview item : items) {io.alauda.kubernetes.api.model.authorization.SubjectAccessReviewBuilder builder = new io.alauda.kubernetes.api.model.authorization.SubjectAccessReviewBuilder(item);_visitables.add(builder);this.items.add(builder);} return (A)this;
}
public A removeFromSubjectAccessReviewItems(io.alauda.kubernetes.api.model.authorization.SubjectAccessReview... items){
for (io.alauda.kubernetes.api.model.authorization.SubjectAccessReview item : items) {io.alauda.kubernetes.api.model.authorization.SubjectAccessReviewBuilder builder = new io.alauda.kubernetes.api.model.authorization.SubjectAccessReviewBuilder(item);_visitables.remove(builder);this.items.remove(builder);} return (A)this;
}
public A removeAllFromAuthorizationSubjectAccessReviewItems(Collection items){
for (io.alauda.kubernetes.api.model.authorization.SubjectAccessReview item : items) {io.alauda.kubernetes.api.model.authorization.SubjectAccessReviewBuilder builder = new io.alauda.kubernetes.api.model.authorization.SubjectAccessReviewBuilder(item);_visitables.remove(builder);this.items.remove(builder);} return (A)this;
}
public BaseKubernetesListFluent.AuthorizationSubjectAccessReviewItemsNested addNewAuthorizationSubjectAccessReviewItem(){
return new AuthorizationSubjectAccessReviewItemsNestedImpl();
}
public BaseKubernetesListFluent.AuthorizationSubjectAccessReviewItemsNested addNewSubjectAccessReviewItemLike(io.alauda.kubernetes.api.model.authorization.SubjectAccessReview item){
return new AuthorizationSubjectAccessReviewItemsNestedImpl(-1, item);
}
public BaseKubernetesListFluent.AuthorizationSubjectAccessReviewItemsNested setNewSubjectAccessReviewItemLike(int index,io.alauda.kubernetes.api.model.authorization.SubjectAccessReview item){
return new AuthorizationSubjectAccessReviewItemsNestedImpl(index, item);
}
public A addToStorageClassItems(int index,StorageClass item){
StorageClassBuilder builder = new StorageClassBuilder(item);_visitables.add(index >= 0 ? index : _visitables.size(), builder);this.items.add(index >= 0 ? index : items.size(), builder); return (A)this;
}
public A setToStorageClassItems(int index,StorageClass item){
StorageClassBuilder builder = new StorageClassBuilder(item);
if (index < 0 || index >= _visitables.size()) { _visitables.add(builder); } else { _visitables.set(index, builder);}
if (index < 0 || index >= items.size()) { items.add(builder); } else { items.set(index, builder);}
return (A)this;
}
public A addToStorageClassItems(StorageClass... items){
for (StorageClass item : items) {StorageClassBuilder builder = new StorageClassBuilder(item);_visitables.add(builder);this.items.add(builder);} return (A)this;
}
public A addAllToStorageClassItems(Collection items){
for (StorageClass item : items) {StorageClassBuilder builder = new StorageClassBuilder(item);_visitables.add(builder);this.items.add(builder);} return (A)this;
}
public A removeFromStorageClassItems(StorageClass... items){
for (StorageClass item : items) {StorageClassBuilder builder = new StorageClassBuilder(item);_visitables.remove(builder);this.items.remove(builder);} return (A)this;
}
public A removeAllFromStorageClassItems(Collection items){
for (StorageClass item : items) {StorageClassBuilder builder = new StorageClassBuilder(item);_visitables.remove(builder);this.items.remove(builder);} return (A)this;
}
public BaseKubernetesListFluent.StorageClassItemsNested addNewStorageClassItem(){
return new StorageClassItemsNestedImpl();
}
public BaseKubernetesListFluent.StorageClassItemsNested addNewStorageClassItemLike(StorageClass item){
return new StorageClassItemsNestedImpl(-1, item);
}
public BaseKubernetesListFluent.StorageClassItemsNested setNewStorageClassItemLike(int index,StorageClass item){
return new StorageClassItemsNestedImpl(index, item);
}
public A addToPipelineConfigTemplateItems(int index,PipelineConfigTemplate item){
PipelineConfigTemplateBuilder builder = new PipelineConfigTemplateBuilder(item);_visitables.add(index >= 0 ? index : _visitables.size(), builder);this.items.add(index >= 0 ? index : items.size(), builder); return (A)this;
}
public A setToPipelineConfigTemplateItems(int index,PipelineConfigTemplate item){
PipelineConfigTemplateBuilder builder = new PipelineConfigTemplateBuilder(item);
if (index < 0 || index >= _visitables.size()) { _visitables.add(builder); } else { _visitables.set(index, builder);}
if (index < 0 || index >= items.size()) { items.add(builder); } else { items.set(index, builder);}
return (A)this;
}
public A addToPipelineConfigTemplateItems(PipelineConfigTemplate... items){
for (PipelineConfigTemplate item : items) {PipelineConfigTemplateBuilder builder = new PipelineConfigTemplateBuilder(item);_visitables.add(builder);this.items.add(builder);} return (A)this;
}
public A addAllToPipelineConfigTemplateItems(Collection items){
for (PipelineConfigTemplate item : items) {PipelineConfigTemplateBuilder builder = new PipelineConfigTemplateBuilder(item);_visitables.add(builder);this.items.add(builder);} return (A)this;
}
public A removeFromPipelineConfigTemplateItems(PipelineConfigTemplate... items){
for (PipelineConfigTemplate item : items) {PipelineConfigTemplateBuilder builder = new PipelineConfigTemplateBuilder(item);_visitables.remove(builder);this.items.remove(builder);} return (A)this;
}
public A removeAllFromPipelineConfigTemplateItems(Collection items){
for (PipelineConfigTemplate item : items) {PipelineConfigTemplateBuilder builder = new PipelineConfigTemplateBuilder(item);_visitables.remove(builder);this.items.remove(builder);} return (A)this;
}
public BaseKubernetesListFluent.PipelineConfigTemplateItemsNested addNewPipelineConfigTemplateItem(){
return new PipelineConfigTemplateItemsNestedImpl();
}
public BaseKubernetesListFluent.PipelineConfigTemplateItemsNested addNewPipelineConfigTemplateItemLike(PipelineConfigTemplate item){
return new PipelineConfigTemplateItemsNestedImpl(-1, item);
}
public BaseKubernetesListFluent.PipelineConfigTemplateItemsNested setNewPipelineConfigTemplateItemLike(int index,PipelineConfigTemplate item){
return new PipelineConfigTemplateItemsNestedImpl(index, item);
}
public A addToPipelineConfigItems(int index,PipelineConfig item){
PipelineConfigBuilder builder = new PipelineConfigBuilder(item);_visitables.add(index >= 0 ? index : _visitables.size(), builder);this.items.add(index >= 0 ? index : items.size(), builder); return (A)this;
}
public A setToPipelineConfigItems(int index,PipelineConfig item){
PipelineConfigBuilder builder = new PipelineConfigBuilder(item);
if (index < 0 || index >= _visitables.size()) { _visitables.add(builder); } else { _visitables.set(index, builder);}
if (index < 0 || index >= items.size()) { items.add(builder); } else { items.set(index, builder);}
return (A)this;
}
public A addToPipelineConfigItems(PipelineConfig... items){
for (PipelineConfig item : items) {PipelineConfigBuilder builder = new PipelineConfigBuilder(item);_visitables.add(builder);this.items.add(builder);} return (A)this;
}
public A addAllToPipelineConfigItems(Collection items){
for (PipelineConfig item : items) {PipelineConfigBuilder builder = new PipelineConfigBuilder(item);_visitables.add(builder);this.items.add(builder);} return (A)this;
}
public A removeFromPipelineConfigItems(PipelineConfig... items){
for (PipelineConfig item : items) {PipelineConfigBuilder builder = new PipelineConfigBuilder(item);_visitables.remove(builder);this.items.remove(builder);} return (A)this;
}
public A removeAllFromPipelineConfigItems(Collection items){
for (PipelineConfig item : items) {PipelineConfigBuilder builder = new PipelineConfigBuilder(item);_visitables.remove(builder);this.items.remove(builder);} return (A)this;
}
public BaseKubernetesListFluent.PipelineConfigItemsNested addNewPipelineConfigItem(){
return new PipelineConfigItemsNestedImpl();
}
public BaseKubernetesListFluent.PipelineConfigItemsNested addNewPipelineConfigItemLike(PipelineConfig item){
return new PipelineConfigItemsNestedImpl(-1, item);
}
public BaseKubernetesListFluent.PipelineConfigItemsNested setNewPipelineConfigItemLike(int index,PipelineConfig item){
return new PipelineConfigItemsNestedImpl(index, item);
}
public A addToDeploymentConfigItems(int index,DeploymentConfig item){
DeploymentConfigBuilder builder = new DeploymentConfigBuilder(item);_visitables.add(index >= 0 ? index : _visitables.size(), builder);this.items.add(index >= 0 ? index : items.size(), builder); return (A)this;
}
public A setToDeploymentConfigItems(int index,DeploymentConfig item){
DeploymentConfigBuilder builder = new DeploymentConfigBuilder(item);
if (index < 0 || index >= _visitables.size()) { _visitables.add(builder); } else { _visitables.set(index, builder);}
if (index < 0 || index >= items.size()) { items.add(builder); } else { items.set(index, builder);}
return (A)this;
}
public A addToDeploymentConfigItems(DeploymentConfig... items){
for (DeploymentConfig item : items) {DeploymentConfigBuilder builder = new DeploymentConfigBuilder(item);_visitables.add(builder);this.items.add(builder);} return (A)this;
}
public A addAllToDeploymentConfigItems(Collection items){
for (DeploymentConfig item : items) {DeploymentConfigBuilder builder = new DeploymentConfigBuilder(item);_visitables.add(builder);this.items.add(builder);} return (A)this;
}
public A removeFromDeploymentConfigItems(DeploymentConfig... items){
for (DeploymentConfig item : items) {DeploymentConfigBuilder builder = new DeploymentConfigBuilder(item);_visitables.remove(builder);this.items.remove(builder);} return (A)this;
}
public A removeAllFromDeploymentConfigItems(Collection items){
for (DeploymentConfig item : items) {DeploymentConfigBuilder builder = new DeploymentConfigBuilder(item);_visitables.remove(builder);this.items.remove(builder);} return (A)this;
}
public BaseKubernetesListFluent.DeploymentConfigItemsNested addNewDeploymentConfigItem(){
return new DeploymentConfigItemsNestedImpl();
}
public BaseKubernetesListFluent.DeploymentConfigItemsNested addNewDeploymentConfigItemLike(DeploymentConfig item){
return new DeploymentConfigItemsNestedImpl(-1, item);
}
public BaseKubernetesListFluent.DeploymentConfigItemsNested setNewDeploymentConfigItemLike(int index,DeploymentConfig item){
return new DeploymentConfigItemsNestedImpl(index, item);
}
public A addToOAuthAccessTokenItems(int index,OAuthAccessToken item){
OAuthAccessTokenBuilder builder = new OAuthAccessTokenBuilder(item);_visitables.add(index >= 0 ? index : _visitables.size(), builder);this.items.add(index >= 0 ? index : items.size(), builder); return (A)this;
}
public A setToOAuthAccessTokenItems(int index,OAuthAccessToken item){
OAuthAccessTokenBuilder builder = new OAuthAccessTokenBuilder(item);
if (index < 0 || index >= _visitables.size()) { _visitables.add(builder); } else { _visitables.set(index, builder);}
if (index < 0 || index >= items.size()) { items.add(builder); } else { items.set(index, builder);}
return (A)this;
}
public A addToOAuthAccessTokenItems(OAuthAccessToken... items){
for (OAuthAccessToken item : items) {OAuthAccessTokenBuilder builder = new OAuthAccessTokenBuilder(item);_visitables.add(builder);this.items.add(builder);} return (A)this;
}
public A addAllToOAuthAccessTokenItems(Collection items){
for (OAuthAccessToken item : items) {OAuthAccessTokenBuilder builder = new OAuthAccessTokenBuilder(item);_visitables.add(builder);this.items.add(builder);} return (A)this;
}
public A removeFromOAuthAccessTokenItems(OAuthAccessToken... items){
for (OAuthAccessToken item : items) {OAuthAccessTokenBuilder builder = new OAuthAccessTokenBuilder(item);_visitables.remove(builder);this.items.remove(builder);} return (A)this;
}
public A removeAllFromOAuthAccessTokenItems(Collection items){
for (OAuthAccessToken item : items) {OAuthAccessTokenBuilder builder = new OAuthAccessTokenBuilder(item);_visitables.remove(builder);this.items.remove(builder);} return (A)this;
}
public BaseKubernetesListFluent.OAuthAccessTokenItemsNested addNewOAuthAccessTokenItem(){
return new OAuthAccessTokenItemsNestedImpl();
}
public BaseKubernetesListFluent.OAuthAccessTokenItemsNested addNewOAuthAccessTokenItemLike(OAuthAccessToken item){
return new OAuthAccessTokenItemsNestedImpl(-1, item);
}
public BaseKubernetesListFluent.OAuthAccessTokenItemsNested setNewOAuthAccessTokenItemLike(int index,OAuthAccessToken item){
return new OAuthAccessTokenItemsNestedImpl(index, item);
}
public A addToPersistentVolumeClaimItems(int index,PersistentVolumeClaim item){
PersistentVolumeClaimBuilder builder = new PersistentVolumeClaimBuilder(item);_visitables.add(index >= 0 ? index : _visitables.size(), builder);this.items.add(index >= 0 ? index : items.size(), builder); return (A)this;
}
public A setToPersistentVolumeClaimItems(int index,PersistentVolumeClaim item){
PersistentVolumeClaimBuilder builder = new PersistentVolumeClaimBuilder(item);
if (index < 0 || index >= _visitables.size()) { _visitables.add(builder); } else { _visitables.set(index, builder);}
if (index < 0 || index >= items.size()) { items.add(builder); } else { items.set(index, builder);}
return (A)this;
}
public A addToPersistentVolumeClaimItems(PersistentVolumeClaim... items){
for (PersistentVolumeClaim item : items) {PersistentVolumeClaimBuilder builder = new PersistentVolumeClaimBuilder(item);_visitables.add(builder);this.items.add(builder);} return (A)this;
}
public A addAllToPersistentVolumeClaimItems(Collection items){
for (PersistentVolumeClaim item : items) {PersistentVolumeClaimBuilder builder = new PersistentVolumeClaimBuilder(item);_visitables.add(builder);this.items.add(builder);} return (A)this;
}
public A removeFromPersistentVolumeClaimItems(PersistentVolumeClaim... items){
for (PersistentVolumeClaim item : items) {PersistentVolumeClaimBuilder builder = new PersistentVolumeClaimBuilder(item);_visitables.remove(builder);this.items.remove(builder);} return (A)this;
}
public A removeAllFromPersistentVolumeClaimItems(Collection items){
for (PersistentVolumeClaim item : items) {PersistentVolumeClaimBuilder builder = new PersistentVolumeClaimBuilder(item);_visitables.remove(builder);this.items.remove(builder);} return (A)this;
}
public BaseKubernetesListFluent.PersistentVolumeClaimItemsNested addNewPersistentVolumeClaimItem(){
return new PersistentVolumeClaimItemsNestedImpl();
}
public BaseKubernetesListFluent.PersistentVolumeClaimItemsNested addNewPersistentVolumeClaimItemLike(PersistentVolumeClaim item){
return new PersistentVolumeClaimItemsNestedImpl(-1, item);
}
public BaseKubernetesListFluent.PersistentVolumeClaimItemsNested setNewPersistentVolumeClaimItemLike(int index,PersistentVolumeClaim item){
return new PersistentVolumeClaimItemsNestedImpl(index, item);
}
public A addToNetworkPolicyItems(int index,NetworkPolicy item){
NetworkPolicyBuilder builder = new NetworkPolicyBuilder(item);_visitables.add(index >= 0 ? index : _visitables.size(), builder);this.items.add(index >= 0 ? index : items.size(), builder); return (A)this;
}
public A setToNetworkPolicyItems(int index,NetworkPolicy item){
NetworkPolicyBuilder builder = new NetworkPolicyBuilder(item);
if (index < 0 || index >= _visitables.size()) { _visitables.add(builder); } else { _visitables.set(index, builder);}
if (index < 0 || index >= items.size()) { items.add(builder); } else { items.set(index, builder);}
return (A)this;
}
public A addToNetworkPolicyItems(NetworkPolicy... items){
for (NetworkPolicy item : items) {NetworkPolicyBuilder builder = new NetworkPolicyBuilder(item);_visitables.add(builder);this.items.add(builder);} return (A)this;
}
public A addAllToNetworkPolicyItems(Collection items){
for (NetworkPolicy item : items) {NetworkPolicyBuilder builder = new NetworkPolicyBuilder(item);_visitables.add(builder);this.items.add(builder);} return (A)this;
}
public A removeFromNetworkPolicyItems(NetworkPolicy... items){
for (NetworkPolicy item : items) {NetworkPolicyBuilder builder = new NetworkPolicyBuilder(item);_visitables.remove(builder);this.items.remove(builder);} return (A)this;
}
public A removeAllFromNetworkPolicyItems(Collection items){
for (NetworkPolicy item : items) {NetworkPolicyBuilder builder = new NetworkPolicyBuilder(item);_visitables.remove(builder);this.items.remove(builder);} return (A)this;
}
public BaseKubernetesListFluent.NetworkPolicyItemsNested addNewNetworkPolicyItem(){
return new NetworkPolicyItemsNestedImpl();
}
public BaseKubernetesListFluent.NetworkPolicyItemsNested addNewNetworkPolicyItemLike(NetworkPolicy item){
return new NetworkPolicyItemsNestedImpl(-1, item);
}
public BaseKubernetesListFluent.NetworkPolicyItemsNested setNewNetworkPolicyItemLike(int index,NetworkPolicy item){
return new NetworkPolicyItemsNestedImpl(index, item);
}
public A addToImageItems(int index,Image item){
ImageBuilder builder = new ImageBuilder(item);_visitables.add(index >= 0 ? index : _visitables.size(), builder);this.items.add(index >= 0 ? index : items.size(), builder); return (A)this;
}
public A setToImageItems(int index,Image item){
ImageBuilder builder = new ImageBuilder(item);
if (index < 0 || index >= _visitables.size()) { _visitables.add(builder); } else { _visitables.set(index, builder);}
if (index < 0 || index >= items.size()) { items.add(builder); } else { items.set(index, builder);}
return (A)this;
}
public A addToImageItems(Image... items){
for (Image item : items) {ImageBuilder builder = new ImageBuilder(item);_visitables.add(builder);this.items.add(builder);} return (A)this;
}
public A addAllToImageItems(Collection items){
for (Image item : items) {ImageBuilder builder = new ImageBuilder(item);_visitables.add(builder);this.items.add(builder);} return (A)this;
}
public A removeFromImageItems(Image... items){
for (Image item : items) {ImageBuilder builder = new ImageBuilder(item);_visitables.remove(builder);this.items.remove(builder);} return (A)this;
}
public A removeAllFromImageItems(Collection items){
for (Image item : items) {ImageBuilder builder = new ImageBuilder(item);_visitables.remove(builder);this.items.remove(builder);} return (A)this;
}
public BaseKubernetesListFluent.ImageItemsNested addNewImageItem(){
return new ImageItemsNestedImpl();
}
public BaseKubernetesListFluent.ImageItemsNested addNewImageItemLike(Image item){
return new ImageItemsNestedImpl(-1, item);
}
public BaseKubernetesListFluent.ImageItemsNested setNewImageItemLike(int index,Image item){
return new ImageItemsNestedImpl(index, item);
}
public A addToServiceItems(int index,Service item){
ServiceBuilder builder = new ServiceBuilder(item);_visitables.add(index >= 0 ? index : _visitables.size(), builder);this.items.add(index >= 0 ? index : items.size(), builder); return (A)this;
}
public A setToServiceItems(int index,Service item){
ServiceBuilder builder = new ServiceBuilder(item);
if (index < 0 || index >= _visitables.size()) { _visitables.add(builder); } else { _visitables.set(index, builder);}
if (index < 0 || index >= items.size()) { items.add(builder); } else { items.set(index, builder);}
return (A)this;
}
public A addToServiceItems(Service... items){
for (Service item : items) {ServiceBuilder builder = new ServiceBuilder(item);_visitables.add(builder);this.items.add(builder);} return (A)this;
}
public A addAllToServiceItems(Collection items){
for (Service item : items) {ServiceBuilder builder = new ServiceBuilder(item);_visitables.add(builder);this.items.add(builder);} return (A)this;
}
public A removeFromServiceItems(Service... items){
for (Service item : items) {ServiceBuilder builder = new ServiceBuilder(item);_visitables.remove(builder);this.items.remove(builder);} return (A)this;
}
public A removeAllFromServiceItems(Collection items){
for (Service item : items) {ServiceBuilder builder = new ServiceBuilder(item);_visitables.remove(builder);this.items.remove(builder);} return (A)this;
}
public BaseKubernetesListFluent.ServiceItemsNested addNewServiceItem(){
return new ServiceItemsNestedImpl();
}
public BaseKubernetesListFluent.ServiceItemsNested addNewServiceItemLike(Service item){
return new ServiceItemsNestedImpl(-1, item);
}
public BaseKubernetesListFluent.ServiceItemsNested setNewServiceItemLike(int index,Service item){
return new ServiceItemsNestedImpl(index, item);
}
public A addToJobItems(int index,Job item){
JobBuilder builder = new JobBuilder(item);_visitables.add(index >= 0 ? index : _visitables.size(), builder);this.items.add(index >= 0 ? index : items.size(), builder); return (A)this;
}
public A setToJobItems(int index,Job item){
JobBuilder builder = new JobBuilder(item);
if (index < 0 || index >= _visitables.size()) { _visitables.add(builder); } else { _visitables.set(index, builder);}
if (index < 0 || index >= items.size()) { items.add(builder); } else { items.set(index, builder);}
return (A)this;
}
public A addToJobItems(Job... items){
for (Job item : items) {JobBuilder builder = new JobBuilder(item);_visitables.add(builder);this.items.add(builder);} return (A)this;
}
public A addAllToJobItems(Collection items){
for (Job item : items) {JobBuilder builder = new JobBuilder(item);_visitables.add(builder);this.items.add(builder);} return (A)this;
}
public A removeFromJobItems(Job... items){
for (Job item : items) {JobBuilder builder = new JobBuilder(item);_visitables.remove(builder);this.items.remove(builder);} return (A)this;
}
public A removeAllFromJobItems(Collection items){
for (Job item : items) {JobBuilder builder = new JobBuilder(item);_visitables.remove(builder);this.items.remove(builder);} return (A)this;
}
public BaseKubernetesListFluent.JobItemsNested addNewJobItem(){
return new JobItemsNestedImpl();
}
public BaseKubernetesListFluent.JobItemsNested addNewJobItemLike(Job item){
return new JobItemsNestedImpl(-1, item);
}
public BaseKubernetesListFluent.JobItemsNested setNewJobItemLike(int index,Job item){
return new JobItemsNestedImpl(index, item);
}
public A addToDeploymentItems(int index,Deployment item){
DeploymentBuilder builder = new DeploymentBuilder(item);_visitables.add(index >= 0 ? index : _visitables.size(), builder);this.items.add(index >= 0 ? index : items.size(), builder); return (A)this;
}
public A setToDeploymentItems(int index,Deployment item){
DeploymentBuilder builder = new DeploymentBuilder(item);
if (index < 0 || index >= _visitables.size()) { _visitables.add(builder); } else { _visitables.set(index, builder);}
if (index < 0 || index >= items.size()) { items.add(builder); } else { items.set(index, builder);}
return (A)this;
}
public A addToDeploymentItems(Deployment... items){
for (Deployment item : items) {DeploymentBuilder builder = new DeploymentBuilder(item);_visitables.add(builder);this.items.add(builder);} return (A)this;
}
public A addAllToDeploymentItems(Collection items){
for (Deployment item : items) {DeploymentBuilder builder = new DeploymentBuilder(item);_visitables.add(builder);this.items.add(builder);} return (A)this;
}
public A removeFromDeploymentItems(Deployment... items){
for (Deployment item : items) {DeploymentBuilder builder = new DeploymentBuilder(item);_visitables.remove(builder);this.items.remove(builder);} return (A)this;
}
public A removeAllFromDeploymentItems(Collection items){
for (Deployment item : items) {DeploymentBuilder builder = new DeploymentBuilder(item);_visitables.remove(builder);this.items.remove(builder);} return (A)this;
}
public BaseKubernetesListFluent.DeploymentItemsNested addNewDeploymentItem(){
return new DeploymentItemsNestedImpl();
}
public BaseKubernetesListFluent.DeploymentItemsNested addNewDeploymentItemLike(Deployment item){
return new DeploymentItemsNestedImpl(-1, item);
}
public BaseKubernetesListFluent.DeploymentItemsNested setNewDeploymentItemLike(int index,Deployment item){
return new DeploymentItemsNestedImpl(index, item);
}
public A addToClusterPolicyBindingItems(int index,ClusterPolicyBinding item){
ClusterPolicyBindingBuilder builder = new ClusterPolicyBindingBuilder(item);_visitables.add(index >= 0 ? index : _visitables.size(), builder);this.items.add(index >= 0 ? index : items.size(), builder); return (A)this;
}
public A setToClusterPolicyBindingItems(int index,ClusterPolicyBinding item){
ClusterPolicyBindingBuilder builder = new ClusterPolicyBindingBuilder(item);
if (index < 0 || index >= _visitables.size()) { _visitables.add(builder); } else { _visitables.set(index, builder);}
if (index < 0 || index >= items.size()) { items.add(builder); } else { items.set(index, builder);}
return (A)this;
}
public A addToClusterPolicyBindingItems(ClusterPolicyBinding... items){
for (ClusterPolicyBinding item : items) {ClusterPolicyBindingBuilder builder = new ClusterPolicyBindingBuilder(item);_visitables.add(builder);this.items.add(builder);} return (A)this;
}
public A addAllToClusterPolicyBindingItems(Collection items){
for (ClusterPolicyBinding item : items) {ClusterPolicyBindingBuilder builder = new ClusterPolicyBindingBuilder(item);_visitables.add(builder);this.items.add(builder);} return (A)this;
}
public A removeFromClusterPolicyBindingItems(ClusterPolicyBinding... items){
for (ClusterPolicyBinding item : items) {ClusterPolicyBindingBuilder builder = new ClusterPolicyBindingBuilder(item);_visitables.remove(builder);this.items.remove(builder);} return (A)this;
}
public A removeAllFromClusterPolicyBindingItems(Collection items){
for (ClusterPolicyBinding item : items) {ClusterPolicyBindingBuilder builder = new ClusterPolicyBindingBuilder(item);_visitables.remove(builder);this.items.remove(builder);} return (A)this;
}
public BaseKubernetesListFluent.ClusterPolicyBindingItemsNested addNewClusterPolicyBindingItem(){
return new ClusterPolicyBindingItemsNestedImpl();
}
public BaseKubernetesListFluent.ClusterPolicyBindingItemsNested addNewClusterPolicyBindingItemLike(ClusterPolicyBinding item){
return new ClusterPolicyBindingItemsNestedImpl(-1, item);
}
public BaseKubernetesListFluent.ClusterPolicyBindingItemsNested setNewClusterPolicyBindingItemLike(int index,ClusterPolicyBinding item){
return new ClusterPolicyBindingItemsNestedImpl(index, item);
}
public A addToProjectItems(int index,Project item){
ProjectBuilder builder = new ProjectBuilder(item);_visitables.add(index >= 0 ? index : _visitables.size(), builder);this.items.add(index >= 0 ? index : items.size(), builder); return (A)this;
}
public A setToProjectItems(int index,Project item){
ProjectBuilder builder = new ProjectBuilder(item);
if (index < 0 || index >= _visitables.size()) { _visitables.add(builder); } else { _visitables.set(index, builder);}
if (index < 0 || index >= items.size()) { items.add(builder); } else { items.set(index, builder);}
return (A)this;
}
public A addToProjectItems(Project... items){
for (Project item : items) {ProjectBuilder builder = new ProjectBuilder(item);_visitables.add(builder);this.items.add(builder);} return (A)this;
}
public A addAllToProjectItems(Collection items){
for (Project item : items) {ProjectBuilder builder = new ProjectBuilder(item);_visitables.add(builder);this.items.add(builder);} return (A)this;
}
public A removeFromProjectItems(Project... items){
for (Project item : items) {ProjectBuilder builder = new ProjectBuilder(item);_visitables.remove(builder);this.items.remove(builder);} return (A)this;
}
public A removeAllFromProjectItems(Collection items){
for (Project item : items) {ProjectBuilder builder = new ProjectBuilder(item);_visitables.remove(builder);this.items.remove(builder);} return (A)this;
}
public BaseKubernetesListFluent.ProjectItemsNested addNewProjectItem(){
return new ProjectItemsNestedImpl();
}
public BaseKubernetesListFluent.ProjectItemsNested addNewProjectItemLike(Project item){
return new ProjectItemsNestedImpl(-1, item);
}
public BaseKubernetesListFluent.ProjectItemsNested setNewProjectItemLike(int index,Project item){
return new ProjectItemsNestedImpl(index, item);
}
public A addToBuildRequestItems(int index,BuildRequest item){
BuildRequestBuilder builder = new BuildRequestBuilder(item);_visitables.add(index >= 0 ? index : _visitables.size(), builder);this.items.add(index >= 0 ? index : items.size(), builder); return (A)this;
}
public A setToBuildRequestItems(int index,BuildRequest item){
BuildRequestBuilder builder = new BuildRequestBuilder(item);
if (index < 0 || index >= _visitables.size()) { _visitables.add(builder); } else { _visitables.set(index, builder);}
if (index < 0 || index >= items.size()) { items.add(builder); } else { items.set(index, builder);}
return (A)this;
}
public A addToBuildRequestItems(BuildRequest... items){
for (BuildRequest item : items) {BuildRequestBuilder builder = new BuildRequestBuilder(item);_visitables.add(builder);this.items.add(builder);} return (A)this;
}
public A addAllToBuildRequestItems(Collection items){
for (BuildRequest item : items) {BuildRequestBuilder builder = new BuildRequestBuilder(item);_visitables.add(builder);this.items.add(builder);} return (A)this;
}
public A removeFromBuildRequestItems(BuildRequest... items){
for (BuildRequest item : items) {BuildRequestBuilder builder = new BuildRequestBuilder(item);_visitables.remove(builder);this.items.remove(builder);} return (A)this;
}
public A removeAllFromBuildRequestItems(Collection items){
for (BuildRequest item : items) {BuildRequestBuilder builder = new BuildRequestBuilder(item);_visitables.remove(builder);this.items.remove(builder);} return (A)this;
}
public BaseKubernetesListFluent.BuildRequestItemsNested addNewBuildRequestItem(){
return new BuildRequestItemsNestedImpl();
}
public BaseKubernetesListFluent.BuildRequestItemsNested addNewBuildRequestItemLike(BuildRequest item){
return new BuildRequestItemsNestedImpl(-1, item);
}
public BaseKubernetesListFluent.BuildRequestItemsNested setNewBuildRequestItemLike(int index,BuildRequest item){
return new BuildRequestItemsNestedImpl(index, item);
}
public A addToRoleBindingItems(int index,RoleBinding item){
RoleBindingBuilder builder = new RoleBindingBuilder(item);_visitables.add(index >= 0 ? index : _visitables.size(), builder);this.items.add(index >= 0 ? index : items.size(), builder); return (A)this;
}
public A setToRoleBindingItems(int index,RoleBinding item){
RoleBindingBuilder builder = new RoleBindingBuilder(item);
if (index < 0 || index >= _visitables.size()) { _visitables.add(builder); } else { _visitables.set(index, builder);}
if (index < 0 || index >= items.size()) { items.add(builder); } else { items.set(index, builder);}
return (A)this;
}
public A addToRoleBindingItems(RoleBinding... items){
for (RoleBinding item : items) {RoleBindingBuilder builder = new RoleBindingBuilder(item);_visitables.add(builder);this.items.add(builder);} return (A)this;
}
public A addAllToRoleBindingItems(Collection items){
for (RoleBinding item : items) {RoleBindingBuilder builder = new RoleBindingBuilder(item);_visitables.add(builder);this.items.add(builder);} return (A)this;
}
public A removeFromRoleBindingItems(RoleBinding... items){
for (RoleBinding item : items) {RoleBindingBuilder builder = new RoleBindingBuilder(item);_visitables.remove(builder);this.items.remove(builder);} return (A)this;
}
public A removeAllFromRoleBindingItems(Collection items){
for (RoleBinding item : items) {RoleBindingBuilder builder = new RoleBindingBuilder(item);_visitables.remove(builder);this.items.remove(builder);} return (A)this;
}
public BaseKubernetesListFluent.RoleBindingItemsNested addNewRoleBindingItem(){
return new RoleBindingItemsNestedImpl();
}
public BaseKubernetesListFluent.RoleBindingItemsNested addNewRoleBindingItemLike(RoleBinding item){
return new RoleBindingItemsNestedImpl(-1, item);
}
public BaseKubernetesListFluent.RoleBindingItemsNested setNewRoleBindingItemLike(int index,RoleBinding item){
return new RoleBindingItemsNestedImpl(index, item);
}
public A addToPersistentVolumeItems(int index,PersistentVolume item){
PersistentVolumeBuilder builder = new PersistentVolumeBuilder(item);_visitables.add(index >= 0 ? index : _visitables.size(), builder);this.items.add(index >= 0 ? index : items.size(), builder); return (A)this;
}
public A setToPersistentVolumeItems(int index,PersistentVolume item){
PersistentVolumeBuilder builder = new PersistentVolumeBuilder(item);
if (index < 0 || index >= _visitables.size()) { _visitables.add(builder); } else { _visitables.set(index, builder);}
if (index < 0 || index >= items.size()) { items.add(builder); } else { items.set(index, builder);}
return (A)this;
}
public A addToPersistentVolumeItems(PersistentVolume... items){
for (PersistentVolume item : items) {PersistentVolumeBuilder builder = new PersistentVolumeBuilder(item);_visitables.add(builder);this.items.add(builder);} return (A)this;
}
public A addAllToPersistentVolumeItems(Collection items){
for (PersistentVolume item : items) {PersistentVolumeBuilder builder = new PersistentVolumeBuilder(item);_visitables.add(builder);this.items.add(builder);} return (A)this;
}
public A removeFromPersistentVolumeItems(PersistentVolume... items){
for (PersistentVolume item : items) {PersistentVolumeBuilder builder = new PersistentVolumeBuilder(item);_visitables.remove(builder);this.items.remove(builder);} return (A)this;
}
public A removeAllFromPersistentVolumeItems(Collection items){
for (PersistentVolume item : items) {PersistentVolumeBuilder builder = new PersistentVolumeBuilder(item);_visitables.remove(builder);this.items.remove(builder);} return (A)this;
}
public BaseKubernetesListFluent.PersistentVolumeItemsNested addNewPersistentVolumeItem(){
return new PersistentVolumeItemsNestedImpl();
}
public BaseKubernetesListFluent.PersistentVolumeItemsNested addNewPersistentVolumeItemLike(PersistentVolume item){
return new PersistentVolumeItemsNestedImpl(-1, item);
}
public BaseKubernetesListFluent.PersistentVolumeItemsNested setNewPersistentVolumeItemLike(int index,PersistentVolume item){
return new PersistentVolumeItemsNestedImpl(index, item);
}
public String getKind(){
return this.kind;
}
public A withKind(String kind){
this.kind=kind; return (A) this;
}
public Boolean hasKind(){
return this.kind!=null;
}
/**
* This method has been deprecated, please use method buildMetadata instead.
*/
@Deprecated public ListMeta getMetadata(){
return this.metadata!=null?this.metadata.build():null;
}
public ListMeta buildMetadata(){
return this.metadata!=null?this.metadata.build():null;
}
public A withMetadata(ListMeta metadata){
_visitables.remove(this.metadata);
if (metadata!=null){ this.metadata= new ListMetaBuilder(metadata); _visitables.add(this.metadata);} return (A) this;
}
public Boolean hasMetadata(){
return this.metadata!=null;
}
public BaseKubernetesListFluent.MetadataNested withNewMetadata(){
return new MetadataNestedImpl();
}
public BaseKubernetesListFluent.MetadataNested withNewMetadataLike(ListMeta item){
return new MetadataNestedImpl(item);
}
public BaseKubernetesListFluent.MetadataNested editMetadata(){
return withNewMetadataLike(getMetadata());
}
public BaseKubernetesListFluent.MetadataNested editOrNewMetadata(){
return withNewMetadataLike(getMetadata() != null ? getMetadata(): new ListMetaBuilder().build());
}
public BaseKubernetesListFluent.MetadataNested editOrNewMetadataLike(ListMeta item){
return withNewMetadataLike(getMetadata() != null ? getMetadata(): item);
}
public A withNewMetadata(String resourceVersion,String selfLink){
return (A)withMetadata(new ListMeta(resourceVersion, selfLink));
}
public boolean equals(Object o){
if (this == o) return true;
if (o == null || getClass() != o.getClass()) return false;
if (!super.equals(o)) return false;
BaseKubernetesListFluentImpl that = (BaseKubernetesListFluentImpl) o;
if (apiVersion != null ? !apiVersion.equals(that.apiVersion) :that.apiVersion != null) return false;
if (items != null ? !items.equals(that.items) :that.items != null) return false;
if (kind != null ? !kind.equals(that.kind) :that.kind != null) return false;
if (metadata != null ? !metadata.equals(that.metadata) :that.metadata != null) return false;
return true;
}
public class IngressItemsNestedImpl extends IngressFluentImpl> implements BaseKubernetesListFluent.IngressItemsNested,io.alauda.kubernetes.api.builder.Nested{
private final IngressBuilder builder;
private final int index;
IngressItemsNestedImpl(int index,Ingress item){
this.index = index;
this.builder = new IngressBuilder(this, item);
}
IngressItemsNestedImpl(){
this.index = -1;
this.builder = new IngressBuilder(this);
}
public N and(){
return (N) BaseKubernetesListFluentImpl.this.setToIngressItems(index, builder.build());
}
public N endIngressItem(){
return and();
}
}
public class RouteItemsNestedImpl extends RouteFluentImpl> implements BaseKubernetesListFluent.RouteItemsNested,io.alauda.kubernetes.api.builder.Nested{
private final RouteBuilder builder;
private final int index;
RouteItemsNestedImpl(int index,Route item){
this.index = index;
this.builder = new RouteBuilder(this, item);
}
RouteItemsNestedImpl(){
this.index = -1;
this.builder = new RouteBuilder(this);
}
public N and(){
return (N) BaseKubernetesListFluentImpl.this.setToRouteItems(index, builder.build());
}
public N endRouteItem(){
return and();
}
}
public class PolicyBindingItemsNestedImpl extends PolicyBindingFluentImpl> implements BaseKubernetesListFluent.PolicyBindingItemsNested,io.alauda.kubernetes.api.builder.Nested{
private final PolicyBindingBuilder builder;
private final int index;
PolicyBindingItemsNestedImpl(int index,PolicyBinding item){
this.index = index;
this.builder = new PolicyBindingBuilder(this, item);
}
PolicyBindingItemsNestedImpl(){
this.index = -1;
this.builder = new PolicyBindingBuilder(this);
}
public N and(){
return (N) BaseKubernetesListFluentImpl.this.setToPolicyBindingItems(index, builder.build());
}
public N endPolicyBindingItem(){
return and();
}
}
public class ResourceQuotaItemsNestedImpl extends ResourceQuotaFluentImpl> implements BaseKubernetesListFluent.ResourceQuotaItemsNested,io.alauda.kubernetes.api.builder.Nested{
private final ResourceQuotaBuilder builder;
private final int index;
ResourceQuotaItemsNestedImpl(int index,ResourceQuota item){
this.index = index;
this.builder = new ResourceQuotaBuilder(this, item);
}
ResourceQuotaItemsNestedImpl(){
this.index = -1;
this.builder = new ResourceQuotaBuilder(this);
}
public N and(){
return (N) BaseKubernetesListFluentImpl.this.setToResourceQuotaItems(index, builder.build());
}
public N endResourceQuotaItem(){
return and();
}
}
public class ServiceAccountItemsNestedImpl extends ServiceAccountFluentImpl> implements BaseKubernetesListFluent.ServiceAccountItemsNested,io.alauda.kubernetes.api.builder.Nested{
private final ServiceAccountBuilder builder;
private final int index;
ServiceAccountItemsNestedImpl(int index,ServiceAccount item){
this.index = index;
this.builder = new ServiceAccountBuilder(this, item);
}
ServiceAccountItemsNestedImpl(){
this.index = -1;
this.builder = new ServiceAccountBuilder(this);
}
public N and(){
return (N) BaseKubernetesListFluentImpl.this.setToServiceAccountItems(index, builder.build());
}
public N endServiceAccountItem(){
return and();
}
}
public class ConfigMapItemsNestedImpl extends ConfigMapFluentImpl> implements BaseKubernetesListFluent.ConfigMapItemsNested,io.alauda.kubernetes.api.builder.Nested{
private final ConfigMapBuilder builder;
private final int index;
ConfigMapItemsNestedImpl(int index,ConfigMap item){
this.index = index;
this.builder = new ConfigMapBuilder(this, item);
}
ConfigMapItemsNestedImpl(){
this.index = -1;
this.builder = new ConfigMapBuilder(this);
}
public N and(){
return (N) BaseKubernetesListFluentImpl.this.setToConfigMapItems(index, builder.build());
}
public N endConfigMapItem(){
return and();
}
}
public class OAuthClientAuthorizationItemsNestedImpl extends OAuthClientAuthorizationFluentImpl> implements BaseKubernetesListFluent.OAuthClientAuthorizationItemsNested,io.alauda.kubernetes.api.builder.Nested{
private final OAuthClientAuthorizationBuilder builder;
private final int index;
OAuthClientAuthorizationItemsNestedImpl(int index,OAuthClientAuthorization item){
this.index = index;
this.builder = new OAuthClientAuthorizationBuilder(this, item);
}
OAuthClientAuthorizationItemsNestedImpl(){
this.index = -1;
this.builder = new OAuthClientAuthorizationBuilder(this);
}
public N and(){
return (N) BaseKubernetesListFluentImpl.this.setToOAuthClientAuthorizationItems(index, builder.build());
}
public N endOAuthClientAuthorizationItem(){
return and();
}
}
public class PolicyItemsNestedImpl extends PolicyFluentImpl> implements BaseKubernetesListFluent.PolicyItemsNested,io.alauda.kubernetes.api.builder.Nested{
private final PolicyBuilder builder;
private final int index;
PolicyItemsNestedImpl(int index,Policy item){
this.index = index;
this.builder = new PolicyBuilder(this, item);
}
PolicyItemsNestedImpl(){
this.index = -1;
this.builder = new PolicyBuilder(this);
}
public N and(){
return (N) BaseKubernetesListFluentImpl.this.setToPolicyItems(index, builder.build());
}
public N endPolicyItem(){
return and();
}
}
public class OAuthAuthorizeTokenItemsNestedImpl extends OAuthAuthorizeTokenFluentImpl> implements BaseKubernetesListFluent.OAuthAuthorizeTokenItemsNested,io.alauda.kubernetes.api.builder.Nested