annotations.io.fabric8.kubernetes.api.model.KubeSchemaFluent Maven / Gradle / Ivy
The newest version!
package io.fabric8.kubernetes.api.model;
import io.fabric8.openshift.api.model.OAuthClient;
import java.util.Map;
import io.fabric8.openshift.api.model.template.TemplateList;
import io.fabric8.openshift.api.model.OAuthAuthorizeToken;
import io.fabric8.openshift.api.model.BuildList;
import io.fabric8.openshift.api.model.TagEvent;
import io.fabric8.openshift.api.model.BuildRequest;
import io.fabric8.openshift.api.model.BuildConfigList;
import io.fabric8.openshift.api.model.ImageList;
import io.fabric8.openshift.api.model.ImageStreamList;
import io.fabric8.kubernetes.api.model.resource.Quantity;
import io.fabric8.kubernetes.api.model.config.Config;
import io.fabric8.openshift.api.model.OAuthAccessTokenList;
import io.fabric8.openshift.api.model.template.Template;
import io.fabric8.openshift.api.model.OAuthAuthorizeTokenList;
import io.fabric8.openshift.api.model.RouteList;
import io.fabric8.kubernetes.api.watch.WatchEvent;
import java.util.HashMap;
import io.fabric8.openshift.api.model.OAuthClientAuthorizationList;
import io.fabric8.openshift.api.model.OAuthAccessToken;
import io.fabric8.openshift.api.model.OAuthClientList;
import io.fabric8.kubernetes.api.model.errors.StatusError;
import io.fabric8.openshift.api.model.OAuthClientAuthorization;
import io.fabric8.openshift.api.model.DeploymentConfigList;
import io.fabric8.openshift.api.model.ImageStreamListBuilder;
import io.fabric8.openshift.api.model.BuildRequestFluent;
import io.fabric8.common.Fluent;
import io.fabric8.common.Visitable;
import io.fabric8.openshift.api.model.ImageStreamListFluent;
import io.fabric8.openshift.api.model.OAuthAuthorizeTokenListFluent;
import io.fabric8.openshift.api.model.BuildConfigListFluent;
import io.fabric8.openshift.api.model.template.TemplateBuilder;
import io.fabric8.kubernetes.api.model.resource.QuantityBuilder;
import io.fabric8.openshift.api.model.OAuthClientBuilder;
import io.fabric8.openshift.api.model.OAuthAccessTokenBuilder;
import io.fabric8.openshift.api.model.OAuthAccessTokenListFluent;
import io.fabric8.openshift.api.model.DeploymentConfigListBuilder;
import io.fabric8.openshift.api.model.OAuthAuthorizeTokenListBuilder;
import io.fabric8.openshift.api.model.OAuthClientListFluent;
import io.fabric8.openshift.api.model.OAuthClientAuthorizationBuilder;
import io.fabric8.openshift.api.model.BuildRequestBuilder;
import io.fabric8.openshift.api.model.RouteListFluent;
import io.fabric8.common.BaseFluent;
import io.fabric8.openshift.api.model.BuildListFluent;
import io.fabric8.openshift.api.model.BuildConfigListBuilder;
import io.fabric8.openshift.api.model.template.TemplateFluent;
import io.fabric8.openshift.api.model.OAuthAccessTokenFluent;
import io.fabric8.openshift.api.model.ImageListBuilder;
import io.fabric8.common.Nested;
import io.fabric8.openshift.api.model.OAuthAuthorizeTokenFluent;
import io.fabric8.openshift.api.model.BuildListBuilder;
import io.fabric8.kubernetes.api.model.resource.QuantityFluent;
import io.fabric8.openshift.api.model.OAuthAuthorizeTokenBuilder;
import io.fabric8.openshift.api.model.OAuthClientAuthorizationListFluent;
import io.fabric8.openshift.api.model.ImageListFluent;
import io.fabric8.openshift.api.model.TagEventBuilder;
import io.fabric8.openshift.api.model.OAuthClientListBuilder;
import io.fabric8.openshift.api.model.OAuthClientAuthorizationListBuilder;
import io.fabric8.openshift.api.model.DeploymentConfigListFluent;
import io.fabric8.common.VisitableBuilder;
import io.fabric8.openshift.api.model.OAuthClientFluent;
import io.fabric8.openshift.api.model.OAuthAccessTokenListBuilder;
import io.fabric8.openshift.api.model.OAuthClientAuthorizationFluent;
import io.fabric8.openshift.api.model.TagEventFluent;
import io.fabric8.openshift.api.model.RouteListBuilder;
public class KubeSchemaFluent> extends BaseFluent implements Fluent{
VisitableBuilder BaseKubernetesList; VisitableBuilder BuildConfigList; VisitableBuilder BuildList; VisitableBuilder BuildRequest; Config Config; VisitableBuilder ContainerStatus; VisitableBuilder DeploymentConfigList; VisitableBuilder Endpoints; VisitableBuilder EndpointsList; VisitableBuilder EnvVar; VisitableBuilder EventList; VisitableBuilder ImageList; VisitableBuilder ImageStreamList; VisitableBuilder Namespace; VisitableBuilder NamespaceList; VisitableBuilder Node; VisitableBuilder NodeList; VisitableBuilder OAuthAccessToken; VisitableBuilder OAuthAccessTokenList; VisitableBuilder OAuthAuthorizeToken; VisitableBuilder OAuthAuthorizeTokenList; VisitableBuilder OAuthClient; VisitableBuilder OAuthClientAuthorization; VisitableBuilder OAuthClientAuthorizationList; VisitableBuilder OAuthClientList; VisitableBuilder ObjectMeta; VisitableBuilder PersistentVolume; VisitableBuilder PersistentVolumeClaim; VisitableBuilder PersistentVolumeClaimList; VisitableBuilder PersistentVolumeList; VisitableBuilder PodList; VisitableBuilder Quantity; VisitableBuilder ReplicationControllerList; VisitableBuilder ResourceQuota; VisitableBuilder ResourceQuotaList; VisitableBuilder RouteList; VisitableBuilder Secret; VisitableBuilder SecretList; VisitableBuilder ServiceAccount; VisitableBuilder ServiceAccountList; VisitableBuilder ServiceList; StatusError StatusError; VisitableBuilder TagEvent; VisitableBuilder Template; TemplateList TemplateList; WatchEvent WatchEvent; Map additionalProperties = new HashMap();
public BaseKubernetesList getBaseKubernetesList(){
return this.BaseKubernetesList!=null?this.BaseKubernetesList.build():null;
}
public T withBaseKubernetesList( BaseKubernetesList BaseKubernetesList){
if (BaseKubernetesList!=null){ this.BaseKubernetesList= new BaseKubernetesListBuilder(BaseKubernetesList); _visitables.add(this.BaseKubernetesList);} return (T) this;
}
public BaseKubernetesListNested withNewBaseKubernetesList(){
return new BaseKubernetesListNested();
}
public BaseKubernetesListNested withNewBaseKubernetesListLike( BaseKubernetesList item){
return new BaseKubernetesListNested(item);
}
public BaseKubernetesListNested editBaseKubernetesList(){
return withNewBaseKubernetesListLike(getBaseKubernetesList());
}
public BuildConfigList getBuildConfigList(){
return this.BuildConfigList!=null?this.BuildConfigList.build():null;
}
public T withBuildConfigList( BuildConfigList BuildConfigList){
if (BuildConfigList!=null){ this.BuildConfigList= new BuildConfigListBuilder(BuildConfigList); _visitables.add(this.BuildConfigList);} return (T) this;
}
public BuildConfigListNested withNewBuildConfigList(){
return new BuildConfigListNested();
}
public BuildConfigListNested withNewBuildConfigListLike( BuildConfigList item){
return new BuildConfigListNested(item);
}
public BuildConfigListNested editBuildConfigList(){
return withNewBuildConfigListLike(getBuildConfigList());
}
public BuildList getBuildList(){
return this.BuildList!=null?this.BuildList.build():null;
}
public T withBuildList( BuildList BuildList){
if (BuildList!=null){ this.BuildList= new BuildListBuilder(BuildList); _visitables.add(this.BuildList);} return (T) this;
}
public BuildListNested withNewBuildList(){
return new BuildListNested();
}
public BuildListNested withNewBuildListLike( BuildList item){
return new BuildListNested(item);
}
public BuildListNested editBuildList(){
return withNewBuildListLike(getBuildList());
}
public BuildRequest getBuildRequest(){
return this.BuildRequest!=null?this.BuildRequest.build():null;
}
public T withBuildRequest( BuildRequest BuildRequest){
if (BuildRequest!=null){ this.BuildRequest= new BuildRequestBuilder(BuildRequest); _visitables.add(this.BuildRequest);} return (T) this;
}
public BuildRequestNested withNewBuildRequest(){
return new BuildRequestNested();
}
public BuildRequestNested withNewBuildRequestLike( BuildRequest item){
return new BuildRequestNested(item);
}
public BuildRequestNested editBuildRequest(){
return withNewBuildRequestLike(getBuildRequest());
}
public Config getConfig(){
return this.Config;
}
public T withConfig( Config Config){
this.Config=Config; return (T) this;
}
public ContainerStatus getContainerStatus(){
return this.ContainerStatus!=null?this.ContainerStatus.build():null;
}
public T withContainerStatus( ContainerStatus ContainerStatus){
if (ContainerStatus!=null){ this.ContainerStatus= new ContainerStatusBuilder(ContainerStatus); _visitables.add(this.ContainerStatus);} return (T) this;
}
public ContainerStatusNested withNewContainerStatus(){
return new ContainerStatusNested();
}
public ContainerStatusNested withNewContainerStatusLike( ContainerStatus item){
return new ContainerStatusNested(item);
}
public ContainerStatusNested editContainerStatus(){
return withNewContainerStatusLike(getContainerStatus());
}
public DeploymentConfigList getDeploymentConfigList(){
return this.DeploymentConfigList!=null?this.DeploymentConfigList.build():null;
}
public T withDeploymentConfigList( DeploymentConfigList DeploymentConfigList){
if (DeploymentConfigList!=null){ this.DeploymentConfigList= new DeploymentConfigListBuilder(DeploymentConfigList); _visitables.add(this.DeploymentConfigList);} return (T) this;
}
public DeploymentConfigListNested withNewDeploymentConfigList(){
return new DeploymentConfigListNested();
}
public DeploymentConfigListNested withNewDeploymentConfigListLike( DeploymentConfigList item){
return new DeploymentConfigListNested(item);
}
public DeploymentConfigListNested editDeploymentConfigList(){
return withNewDeploymentConfigListLike(getDeploymentConfigList());
}
public Endpoints getEndpoints(){
return this.Endpoints!=null?this.Endpoints.build():null;
}
public T withEndpoints( Endpoints Endpoints){
if (Endpoints!=null){ this.Endpoints= new EndpointsBuilder(Endpoints); _visitables.add(this.Endpoints);} return (T) this;
}
public EndpointsNested withNewEndpoints(){
return new EndpointsNested();
}
public EndpointsNested withNewEndpointsLike( Endpoints item){
return new EndpointsNested(item);
}
public EndpointsNested editEndpoints(){
return withNewEndpointsLike(getEndpoints());
}
public EndpointsList getEndpointsList(){
return this.EndpointsList!=null?this.EndpointsList.build():null;
}
public T withEndpointsList( EndpointsList EndpointsList){
if (EndpointsList!=null){ this.EndpointsList= new EndpointsListBuilder(EndpointsList); _visitables.add(this.EndpointsList);} return (T) this;
}
public EndpointsListNested withNewEndpointsList(){
return new EndpointsListNested();
}
public EndpointsListNested withNewEndpointsListLike( EndpointsList item){
return new EndpointsListNested(item);
}
public EndpointsListNested editEndpointsList(){
return withNewEndpointsListLike(getEndpointsList());
}
public EnvVar getEnvVar(){
return this.EnvVar!=null?this.EnvVar.build():null;
}
public T withEnvVar( EnvVar EnvVar){
if (EnvVar!=null){ this.EnvVar= new EnvVarBuilder(EnvVar); _visitables.add(this.EnvVar);} return (T) this;
}
public EnvVarNested withNewEnvVar(){
return new EnvVarNested();
}
public EnvVarNested withNewEnvVarLike( EnvVar item){
return new EnvVarNested(item);
}
public EnvVarNested editEnvVar(){
return withNewEnvVarLike(getEnvVar());
}
public EventList getEventList(){
return this.EventList!=null?this.EventList.build():null;
}
public T withEventList( EventList EventList){
if (EventList!=null){ this.EventList= new EventListBuilder(EventList); _visitables.add(this.EventList);} return (T) this;
}
public EventListNested withNewEventList(){
return new EventListNested();
}
public EventListNested withNewEventListLike( EventList item){
return new EventListNested(item);
}
public EventListNested editEventList(){
return withNewEventListLike(getEventList());
}
public ImageList getImageList(){
return this.ImageList!=null?this.ImageList.build():null;
}
public T withImageList( ImageList ImageList){
if (ImageList!=null){ this.ImageList= new ImageListBuilder(ImageList); _visitables.add(this.ImageList);} return (T) this;
}
public ImageListNested withNewImageList(){
return new ImageListNested();
}
public ImageListNested withNewImageListLike( ImageList item){
return new ImageListNested(item);
}
public ImageListNested editImageList(){
return withNewImageListLike(getImageList());
}
public ImageStreamList getImageStreamList(){
return this.ImageStreamList!=null?this.ImageStreamList.build():null;
}
public T withImageStreamList( ImageStreamList ImageStreamList){
if (ImageStreamList!=null){ this.ImageStreamList= new ImageStreamListBuilder(ImageStreamList); _visitables.add(this.ImageStreamList);} return (T) this;
}
public ImageStreamListNested withNewImageStreamList(){
return new ImageStreamListNested();
}
public ImageStreamListNested withNewImageStreamListLike( ImageStreamList item){
return new ImageStreamListNested(item);
}
public ImageStreamListNested editImageStreamList(){
return withNewImageStreamListLike(getImageStreamList());
}
public Namespace getNamespace(){
return this.Namespace!=null?this.Namespace.build():null;
}
public T withNamespace( Namespace Namespace){
if (Namespace!=null){ this.Namespace= new NamespaceBuilder(Namespace); _visitables.add(this.Namespace);} return (T) this;
}
public NamespaceNested withNewNamespace(){
return new NamespaceNested();
}
public NamespaceNested withNewNamespaceLike( Namespace item){
return new NamespaceNested(item);
}
public NamespaceNested editNamespace(){
return withNewNamespaceLike(getNamespace());
}
public NamespaceList getNamespaceList(){
return this.NamespaceList!=null?this.NamespaceList.build():null;
}
public T withNamespaceList( NamespaceList NamespaceList){
if (NamespaceList!=null){ this.NamespaceList= new NamespaceListBuilder(NamespaceList); _visitables.add(this.NamespaceList);} return (T) this;
}
public NamespaceListNested withNewNamespaceList(){
return new NamespaceListNested();
}
public NamespaceListNested withNewNamespaceListLike( NamespaceList item){
return new NamespaceListNested(item);
}
public NamespaceListNested editNamespaceList(){
return withNewNamespaceListLike(getNamespaceList());
}
public Node getNode(){
return this.Node!=null?this.Node.build():null;
}
public T withNode( Node Node){
if (Node!=null){ this.Node= new NodeBuilder(Node); _visitables.add(this.Node);} return (T) this;
}
public NodeNested withNewNode(){
return new NodeNested();
}
public NodeNested withNewNodeLike( Node item){
return new NodeNested(item);
}
public NodeNested editNode(){
return withNewNodeLike(getNode());
}
public NodeList getNodeList(){
return this.NodeList!=null?this.NodeList.build():null;
}
public T withNodeList( NodeList NodeList){
if (NodeList!=null){ this.NodeList= new NodeListBuilder(NodeList); _visitables.add(this.NodeList);} return (T) this;
}
public NodeListNested withNewNodeList(){
return new NodeListNested();
}
public NodeListNested withNewNodeListLike( NodeList item){
return new NodeListNested(item);
}
public NodeListNested editNodeList(){
return withNewNodeListLike(getNodeList());
}
public OAuthAccessToken getOAuthAccessToken(){
return this.OAuthAccessToken!=null?this.OAuthAccessToken.build():null;
}
public T withOAuthAccessToken( OAuthAccessToken OAuthAccessToken){
if (OAuthAccessToken!=null){ this.OAuthAccessToken= new OAuthAccessTokenBuilder(OAuthAccessToken); _visitables.add(this.OAuthAccessToken);} return (T) this;
}
public OAuthAccessTokenNested withNewOAuthAccessToken(){
return new OAuthAccessTokenNested();
}
public OAuthAccessTokenNested withNewOAuthAccessTokenLike( OAuthAccessToken item){
return new OAuthAccessTokenNested(item);
}
public OAuthAccessTokenNested editOAuthAccessToken(){
return withNewOAuthAccessTokenLike(getOAuthAccessToken());
}
public OAuthAccessTokenList getOAuthAccessTokenList(){
return this.OAuthAccessTokenList!=null?this.OAuthAccessTokenList.build():null;
}
public T withOAuthAccessTokenList( OAuthAccessTokenList OAuthAccessTokenList){
if (OAuthAccessTokenList!=null){ this.OAuthAccessTokenList= new OAuthAccessTokenListBuilder(OAuthAccessTokenList); _visitables.add(this.OAuthAccessTokenList);} return (T) this;
}
public OAuthAccessTokenListNested withNewOAuthAccessTokenList(){
return new OAuthAccessTokenListNested();
}
public OAuthAccessTokenListNested withNewOAuthAccessTokenListLike( OAuthAccessTokenList item){
return new OAuthAccessTokenListNested(item);
}
public OAuthAccessTokenListNested editOAuthAccessTokenList(){
return withNewOAuthAccessTokenListLike(getOAuthAccessTokenList());
}
public OAuthAuthorizeToken getOAuthAuthorizeToken(){
return this.OAuthAuthorizeToken!=null?this.OAuthAuthorizeToken.build():null;
}
public T withOAuthAuthorizeToken( OAuthAuthorizeToken OAuthAuthorizeToken){
if (OAuthAuthorizeToken!=null){ this.OAuthAuthorizeToken= new OAuthAuthorizeTokenBuilder(OAuthAuthorizeToken); _visitables.add(this.OAuthAuthorizeToken);} return (T) this;
}
public OAuthAuthorizeTokenNested withNewOAuthAuthorizeToken(){
return new OAuthAuthorizeTokenNested();
}
public OAuthAuthorizeTokenNested withNewOAuthAuthorizeTokenLike( OAuthAuthorizeToken item){
return new OAuthAuthorizeTokenNested(item);
}
public OAuthAuthorizeTokenNested editOAuthAuthorizeToken(){
return withNewOAuthAuthorizeTokenLike(getOAuthAuthorizeToken());
}
public OAuthAuthorizeTokenList getOAuthAuthorizeTokenList(){
return this.OAuthAuthorizeTokenList!=null?this.OAuthAuthorizeTokenList.build():null;
}
public T withOAuthAuthorizeTokenList( OAuthAuthorizeTokenList OAuthAuthorizeTokenList){
if (OAuthAuthorizeTokenList!=null){ this.OAuthAuthorizeTokenList= new OAuthAuthorizeTokenListBuilder(OAuthAuthorizeTokenList); _visitables.add(this.OAuthAuthorizeTokenList);} return (T) this;
}
public OAuthAuthorizeTokenListNested withNewOAuthAuthorizeTokenList(){
return new OAuthAuthorizeTokenListNested();
}
public OAuthAuthorizeTokenListNested withNewOAuthAuthorizeTokenListLike( OAuthAuthorizeTokenList item){
return new OAuthAuthorizeTokenListNested(item);
}
public OAuthAuthorizeTokenListNested editOAuthAuthorizeTokenList(){
return withNewOAuthAuthorizeTokenListLike(getOAuthAuthorizeTokenList());
}
public OAuthClient getOAuthClient(){
return this.OAuthClient!=null?this.OAuthClient.build():null;
}
public T withOAuthClient( OAuthClient OAuthClient){
if (OAuthClient!=null){ this.OAuthClient= new OAuthClientBuilder(OAuthClient); _visitables.add(this.OAuthClient);} return (T) this;
}
public OAuthClientNested withNewOAuthClient(){
return new OAuthClientNested();
}
public OAuthClientNested withNewOAuthClientLike( OAuthClient item){
return new OAuthClientNested(item);
}
public OAuthClientNested editOAuthClient(){
return withNewOAuthClientLike(getOAuthClient());
}
public OAuthClientAuthorization getOAuthClientAuthorization(){
return this.OAuthClientAuthorization!=null?this.OAuthClientAuthorization.build():null;
}
public T withOAuthClientAuthorization( OAuthClientAuthorization OAuthClientAuthorization){
if (OAuthClientAuthorization!=null){ this.OAuthClientAuthorization= new OAuthClientAuthorizationBuilder(OAuthClientAuthorization); _visitables.add(this.OAuthClientAuthorization);} return (T) this;
}
public OAuthClientAuthorizationNested withNewOAuthClientAuthorization(){
return new OAuthClientAuthorizationNested();
}
public OAuthClientAuthorizationNested withNewOAuthClientAuthorizationLike( OAuthClientAuthorization item){
return new OAuthClientAuthorizationNested(item);
}
public OAuthClientAuthorizationNested editOAuthClientAuthorization(){
return withNewOAuthClientAuthorizationLike(getOAuthClientAuthorization());
}
public OAuthClientAuthorizationList getOAuthClientAuthorizationList(){
return this.OAuthClientAuthorizationList!=null?this.OAuthClientAuthorizationList.build():null;
}
public T withOAuthClientAuthorizationList( OAuthClientAuthorizationList OAuthClientAuthorizationList){
if (OAuthClientAuthorizationList!=null){ this.OAuthClientAuthorizationList= new OAuthClientAuthorizationListBuilder(OAuthClientAuthorizationList); _visitables.add(this.OAuthClientAuthorizationList);} return (T) this;
}
public OAuthClientAuthorizationListNested withNewOAuthClientAuthorizationList(){
return new OAuthClientAuthorizationListNested();
}
public OAuthClientAuthorizationListNested withNewOAuthClientAuthorizationListLike( OAuthClientAuthorizationList item){
return new OAuthClientAuthorizationListNested(item);
}
public OAuthClientAuthorizationListNested editOAuthClientAuthorizationList(){
return withNewOAuthClientAuthorizationListLike(getOAuthClientAuthorizationList());
}
public OAuthClientList getOAuthClientList(){
return this.OAuthClientList!=null?this.OAuthClientList.build():null;
}
public T withOAuthClientList( OAuthClientList OAuthClientList){
if (OAuthClientList!=null){ this.OAuthClientList= new OAuthClientListBuilder(OAuthClientList); _visitables.add(this.OAuthClientList);} return (T) this;
}
public OAuthClientListNested withNewOAuthClientList(){
return new OAuthClientListNested();
}
public OAuthClientListNested withNewOAuthClientListLike( OAuthClientList item){
return new OAuthClientListNested(item);
}
public OAuthClientListNested editOAuthClientList(){
return withNewOAuthClientListLike(getOAuthClientList());
}
public ObjectMeta getObjectMeta(){
return this.ObjectMeta!=null?this.ObjectMeta.build():null;
}
public T withObjectMeta( ObjectMeta ObjectMeta){
if (ObjectMeta!=null){ this.ObjectMeta= new ObjectMetaBuilder(ObjectMeta); _visitables.add(this.ObjectMeta);} return (T) this;
}
public ObjectMetaNested withNewObjectMeta(){
return new ObjectMetaNested();
}
public ObjectMetaNested withNewObjectMetaLike( ObjectMeta item){
return new ObjectMetaNested(item);
}
public ObjectMetaNested editObjectMeta(){
return withNewObjectMetaLike(getObjectMeta());
}
public PersistentVolume getPersistentVolume(){
return this.PersistentVolume!=null?this.PersistentVolume.build():null;
}
public T withPersistentVolume( PersistentVolume PersistentVolume){
if (PersistentVolume!=null){ this.PersistentVolume= new PersistentVolumeBuilder(PersistentVolume); _visitables.add(this.PersistentVolume);} return (T) this;
}
public PersistentVolumeNested withNewPersistentVolume(){
return new PersistentVolumeNested();
}
public PersistentVolumeNested withNewPersistentVolumeLike( PersistentVolume item){
return new PersistentVolumeNested(item);
}
public PersistentVolumeNested editPersistentVolume(){
return withNewPersistentVolumeLike(getPersistentVolume());
}
public PersistentVolumeClaim getPersistentVolumeClaim(){
return this.PersistentVolumeClaim!=null?this.PersistentVolumeClaim.build():null;
}
public T withPersistentVolumeClaim( PersistentVolumeClaim PersistentVolumeClaim){
if (PersistentVolumeClaim!=null){ this.PersistentVolumeClaim= new PersistentVolumeClaimBuilder(PersistentVolumeClaim); _visitables.add(this.PersistentVolumeClaim);} return (T) this;
}
public PersistentVolumeClaimNested withNewPersistentVolumeClaim(){
return new PersistentVolumeClaimNested();
}
public PersistentVolumeClaimNested withNewPersistentVolumeClaimLike( PersistentVolumeClaim item){
return new PersistentVolumeClaimNested(item);
}
public PersistentVolumeClaimNested editPersistentVolumeClaim(){
return withNewPersistentVolumeClaimLike(getPersistentVolumeClaim());
}
public PersistentVolumeClaimList getPersistentVolumeClaimList(){
return this.PersistentVolumeClaimList!=null?this.PersistentVolumeClaimList.build():null;
}
public T withPersistentVolumeClaimList( PersistentVolumeClaimList PersistentVolumeClaimList){
if (PersistentVolumeClaimList!=null){ this.PersistentVolumeClaimList= new PersistentVolumeClaimListBuilder(PersistentVolumeClaimList); _visitables.add(this.PersistentVolumeClaimList);} return (T) this;
}
public PersistentVolumeClaimListNested withNewPersistentVolumeClaimList(){
return new PersistentVolumeClaimListNested();
}
public PersistentVolumeClaimListNested withNewPersistentVolumeClaimListLike( PersistentVolumeClaimList item){
return new PersistentVolumeClaimListNested(item);
}
public PersistentVolumeClaimListNested editPersistentVolumeClaimList(){
return withNewPersistentVolumeClaimListLike(getPersistentVolumeClaimList());
}
public PersistentVolumeList getPersistentVolumeList(){
return this.PersistentVolumeList!=null?this.PersistentVolumeList.build():null;
}
public T withPersistentVolumeList( PersistentVolumeList PersistentVolumeList){
if (PersistentVolumeList!=null){ this.PersistentVolumeList= new PersistentVolumeListBuilder(PersistentVolumeList); _visitables.add(this.PersistentVolumeList);} return (T) this;
}
public PersistentVolumeListNested withNewPersistentVolumeList(){
return new PersistentVolumeListNested();
}
public PersistentVolumeListNested withNewPersistentVolumeListLike( PersistentVolumeList item){
return new PersistentVolumeListNested(item);
}
public PersistentVolumeListNested editPersistentVolumeList(){
return withNewPersistentVolumeListLike(getPersistentVolumeList());
}
public PodList getPodList(){
return this.PodList!=null?this.PodList.build():null;
}
public T withPodList( PodList PodList){
if (PodList!=null){ this.PodList= new PodListBuilder(PodList); _visitables.add(this.PodList);} return (T) this;
}
public PodListNested withNewPodList(){
return new PodListNested();
}
public PodListNested withNewPodListLike( PodList item){
return new PodListNested(item);
}
public PodListNested editPodList(){
return withNewPodListLike(getPodList());
}
public Quantity getQuantity(){
return this.Quantity!=null?this.Quantity.build():null;
}
public T withQuantity( Quantity Quantity){
if (Quantity!=null){ this.Quantity= new QuantityBuilder(Quantity); _visitables.add(this.Quantity);} return (T) this;
}
public QuantityNested withNewQuantity(){
return new QuantityNested();
}
public QuantityNested withNewQuantityLike( Quantity item){
return new QuantityNested(item);
}
public QuantityNested editQuantity(){
return withNewQuantityLike(getQuantity());
}
public T withNewQuantity( String amount, String format){
return withQuantity(new Quantity(amount, format));
}
public T withNewQuantity( String amount){
return withQuantity(new Quantity(amount));
}
public ReplicationControllerList getReplicationControllerList(){
return this.ReplicationControllerList!=null?this.ReplicationControllerList.build():null;
}
public T withReplicationControllerList( ReplicationControllerList ReplicationControllerList){
if (ReplicationControllerList!=null){ this.ReplicationControllerList= new ReplicationControllerListBuilder(ReplicationControllerList); _visitables.add(this.ReplicationControllerList);} return (T) this;
}
public ReplicationControllerListNested withNewReplicationControllerList(){
return new ReplicationControllerListNested();
}
public ReplicationControllerListNested withNewReplicationControllerListLike( ReplicationControllerList item){
return new ReplicationControllerListNested(item);
}
public ReplicationControllerListNested editReplicationControllerList(){
return withNewReplicationControllerListLike(getReplicationControllerList());
}
public ResourceQuota getResourceQuota(){
return this.ResourceQuota!=null?this.ResourceQuota.build():null;
}
public T withResourceQuota( ResourceQuota ResourceQuota){
if (ResourceQuota!=null){ this.ResourceQuota= new ResourceQuotaBuilder(ResourceQuota); _visitables.add(this.ResourceQuota);} return (T) this;
}
public ResourceQuotaNested withNewResourceQuota(){
return new ResourceQuotaNested();
}
public ResourceQuotaNested withNewResourceQuotaLike( ResourceQuota item){
return new ResourceQuotaNested(item);
}
public ResourceQuotaNested editResourceQuota(){
return withNewResourceQuotaLike(getResourceQuota());
}
public ResourceQuotaList getResourceQuotaList(){
return this.ResourceQuotaList!=null?this.ResourceQuotaList.build():null;
}
public T withResourceQuotaList( ResourceQuotaList ResourceQuotaList){
if (ResourceQuotaList!=null){ this.ResourceQuotaList= new ResourceQuotaListBuilder(ResourceQuotaList); _visitables.add(this.ResourceQuotaList);} return (T) this;
}
public ResourceQuotaListNested withNewResourceQuotaList(){
return new ResourceQuotaListNested();
}
public ResourceQuotaListNested withNewResourceQuotaListLike( ResourceQuotaList item){
return new ResourceQuotaListNested(item);
}
public ResourceQuotaListNested editResourceQuotaList(){
return withNewResourceQuotaListLike(getResourceQuotaList());
}
public RouteList getRouteList(){
return this.RouteList!=null?this.RouteList.build():null;
}
public T withRouteList( RouteList RouteList){
if (RouteList!=null){ this.RouteList= new RouteListBuilder(RouteList); _visitables.add(this.RouteList);} return (T) this;
}
public RouteListNested withNewRouteList(){
return new RouteListNested();
}
public RouteListNested withNewRouteListLike( RouteList item){
return new RouteListNested(item);
}
public RouteListNested editRouteList(){
return withNewRouteListLike(getRouteList());
}
public Secret getSecret(){
return this.Secret!=null?this.Secret.build():null;
}
public T withSecret( Secret Secret){
if (Secret!=null){ this.Secret= new SecretBuilder(Secret); _visitables.add(this.Secret);} return (T) this;
}
public SecretNested withNewSecret(){
return new SecretNested();
}
public SecretNested withNewSecretLike( Secret item){
return new SecretNested(item);
}
public SecretNested editSecret(){
return withNewSecretLike(getSecret());
}
public SecretList getSecretList(){
return this.SecretList!=null?this.SecretList.build():null;
}
public T withSecretList( SecretList SecretList){
if (SecretList!=null){ this.SecretList= new SecretListBuilder(SecretList); _visitables.add(this.SecretList);} return (T) this;
}
public SecretListNested withNewSecretList(){
return new SecretListNested();
}
public SecretListNested withNewSecretListLike( SecretList item){
return new SecretListNested(item);
}
public SecretListNested editSecretList(){
return withNewSecretListLike(getSecretList());
}
public ServiceAccount getServiceAccount(){
return this.ServiceAccount!=null?this.ServiceAccount.build():null;
}
public T withServiceAccount( ServiceAccount ServiceAccount){
if (ServiceAccount!=null){ this.ServiceAccount= new ServiceAccountBuilder(ServiceAccount); _visitables.add(this.ServiceAccount);} return (T) this;
}
public ServiceAccountNested withNewServiceAccount(){
return new ServiceAccountNested();
}
public ServiceAccountNested withNewServiceAccountLike( ServiceAccount item){
return new ServiceAccountNested(item);
}
public ServiceAccountNested editServiceAccount(){
return withNewServiceAccountLike(getServiceAccount());
}
public ServiceAccountList getServiceAccountList(){
return this.ServiceAccountList!=null?this.ServiceAccountList.build():null;
}
public T withServiceAccountList( ServiceAccountList ServiceAccountList){
if (ServiceAccountList!=null){ this.ServiceAccountList= new ServiceAccountListBuilder(ServiceAccountList); _visitables.add(this.ServiceAccountList);} return (T) this;
}
public ServiceAccountListNested withNewServiceAccountList(){
return new ServiceAccountListNested();
}
public ServiceAccountListNested withNewServiceAccountListLike( ServiceAccountList item){
return new ServiceAccountListNested(item);
}
public ServiceAccountListNested editServiceAccountList(){
return withNewServiceAccountListLike(getServiceAccountList());
}
public ServiceList getServiceList(){
return this.ServiceList!=null?this.ServiceList.build():null;
}
public T withServiceList( ServiceList ServiceList){
if (ServiceList!=null){ this.ServiceList= new ServiceListBuilder(ServiceList); _visitables.add(this.ServiceList);} return (T) this;
}
public ServiceListNested withNewServiceList(){
return new ServiceListNested();
}
public ServiceListNested withNewServiceListLike( ServiceList item){
return new ServiceListNested(item);
}
public ServiceListNested editServiceList(){
return withNewServiceListLike(getServiceList());
}
public StatusError getStatusError(){
return this.StatusError;
}
public T withStatusError( StatusError StatusError){
this.StatusError=StatusError; return (T) this;
}
public TagEvent getTagEvent(){
return this.TagEvent!=null?this.TagEvent.build():null;
}
public T withTagEvent( TagEvent TagEvent){
if (TagEvent!=null){ this.TagEvent= new TagEventBuilder(TagEvent); _visitables.add(this.TagEvent);} return (T) this;
}
public TagEventNested withNewTagEvent(){
return new TagEventNested();
}
public TagEventNested withNewTagEventLike( TagEvent item){
return new TagEventNested(item);
}
public TagEventNested