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

annotations.io.fabric8.kubernetes.api.model.KubeSchemaFluent Maven / Gradle / Ivy

package io.fabric8.kubernetes.api.model;

import io.fabric8.openshift.api.model.ImageStreamList;
import io.fabric8.openshift.api.model.ImageList;
import io.fabric8.kubernetes.api.model.resource.Quantity;
import java.util.Map;
import io.fabric8.openshift.api.model.template.Template;
import io.fabric8.openshift.api.model.BuildList;
import io.fabric8.openshift.api.model.RouteList;
import io.fabric8.openshift.api.model.TagEvent;
import java.util.HashMap;
import io.fabric8.kubernetes.api.model.errors.StatusError;
import io.fabric8.openshift.api.model.BuildConfigList;
import io.fabric8.openshift.api.model.DeploymentConfigList;
import io.fabric8.openshift.api.model.ImageListBuilder;
import io.fabric8.common.Nested;
import io.fabric8.openshift.api.model.BuildListBuilder;
import io.fabric8.common.Fluent;
import io.fabric8.kubernetes.api.model.resource.QuantityFluent;
import io.fabric8.openshift.api.model.BuildConfigListFluent;
import io.fabric8.openshift.api.model.template.TemplateBuilder;
import io.fabric8.openshift.api.model.ImageListFluent;
import io.fabric8.openshift.api.model.TagEventBuilder;
import io.fabric8.kubernetes.api.model.errors.StatusErrorFluent;
import io.fabric8.kubernetes.api.model.resource.QuantityBuilder;
import io.fabric8.openshift.api.model.DeploymentConfigListFluent;
import io.fabric8.openshift.api.model.DeploymentConfigListBuilder;
import io.fabric8.openshift.api.model.TagEventFluent;
import io.fabric8.openshift.api.model.RouteListFluent;
import io.fabric8.kubernetes.api.model.errors.StatusErrorBuilder;
import io.fabric8.openshift.api.model.BuildListFluent;
import io.fabric8.openshift.api.model.BuildConfigListBuilder;
import io.fabric8.openshift.api.model.RouteListBuilder;
import io.fabric8.openshift.api.model.template.TemplateFluent;

public class KubeSchemaFluent> implements Fluent{

    private BaseKubernetesList BaseKubernetesList ;
    private BuildConfigList BuildConfigList ;
    private BuildList BuildList ;
    private ContainerStatus ContainerStatus ;
    private DeploymentConfigList DeploymentConfigList ;
    private Endpoints Endpoints ;
    private EndpointsList EndpointsList ;
    private EnvVar EnvVar ;
    private ImageList ImageList ;
    private ImageStreamList ImageStreamList ;
    private Node Node ;
    private NodeList NodeList ;
    private PodList PodList ;
    private Quantity Quantity ;
    private ReplicationControllerList ReplicationControllerList ;
    private RouteList RouteList ;
    private ServiceList ServiceList ;
    private StatusError StatusError ;
    private TagEvent TagEvent ;
    private Template Template ;
    private Map additionalProperties  = new HashMap();

    public BaseKubernetesList getBaseKubernetesList(){
    return this.BaseKubernetesList;
    }
    public T withBaseKubernetesList(BaseKubernetesList BaseKubernetesList){
    this.BaseKubernetesList=BaseKubernetesList; return (T) this;
    }
    public BuildConfigList getBuildConfigList(){
    return this.BuildConfigList;
    }
    public T withBuildConfigList(BuildConfigList BuildConfigList){
    this.BuildConfigList=BuildConfigList; return (T) this;
    }
    public BuildList getBuildList(){
    return this.BuildList;
    }
    public T withBuildList(BuildList BuildList){
    this.BuildList=BuildList; return (T) this;
    }
    public ContainerStatus getContainerStatus(){
    return this.ContainerStatus;
    }
    public T withContainerStatus(ContainerStatus ContainerStatus){
    this.ContainerStatus=ContainerStatus; return (T) this;
    }
    public DeploymentConfigList getDeploymentConfigList(){
    return this.DeploymentConfigList;
    }
    public T withDeploymentConfigList(DeploymentConfigList DeploymentConfigList){
    this.DeploymentConfigList=DeploymentConfigList; return (T) this;
    }
    public Endpoints getEndpoints(){
    return this.Endpoints;
    }
    public T withEndpoints(Endpoints Endpoints){
    this.Endpoints=Endpoints; return (T) this;
    }
    public EndpointsList getEndpointsList(){
    return this.EndpointsList;
    }
    public T withEndpointsList(EndpointsList EndpointsList){
    this.EndpointsList=EndpointsList; return (T) this;
    }
    public EnvVar getEnvVar(){
    return this.EnvVar;
    }
    public T withEnvVar(EnvVar EnvVar){
    this.EnvVar=EnvVar; return (T) this;
    }
    public ImageList getImageList(){
    return this.ImageList;
    }
    public T withImageList(ImageList ImageList){
    this.ImageList=ImageList; return (T) this;
    }
    public ImageStreamList getImageStreamList(){
    return this.ImageStreamList;
    }
    public T withImageStreamList(ImageStreamList ImageStreamList){
    this.ImageStreamList=ImageStreamList; return (T) this;
    }
    public Node getNode(){
    return this.Node;
    }
    public T withNode(Node Node){
    this.Node=Node; return (T) this;
    }
    public NodeList getNodeList(){
    return this.NodeList;
    }
    public T withNodeList(NodeList NodeList){
    this.NodeList=NodeList; return (T) this;
    }
    public PodList getPodList(){
    return this.PodList;
    }
    public T withPodList(PodList PodList){
    this.PodList=PodList; return (T) this;
    }
    public Quantity getQuantity(){
    return this.Quantity;
    }
    public T withQuantity(Quantity Quantity){
    this.Quantity=Quantity; return (T) this;
    }
    public ReplicationControllerList getReplicationControllerList(){
    return this.ReplicationControllerList;
    }
    public T withReplicationControllerList(ReplicationControllerList ReplicationControllerList){
    this.ReplicationControllerList=ReplicationControllerList; return (T) this;
    }
    public RouteList getRouteList(){
    return this.RouteList;
    }
    public T withRouteList(RouteList RouteList){
    this.RouteList=RouteList; return (T) this;
    }
    public ServiceList getServiceList(){
    return this.ServiceList;
    }
    public T withServiceList(ServiceList ServiceList){
    this.ServiceList=ServiceList; return (T) this;
    }
    public StatusError getStatusError(){
    return this.StatusError;
    }
    public T withStatusError(StatusError StatusError){
    this.StatusError=StatusError; return (T) this;
    }
    public TagEvent getTagEvent(){
    return this.TagEvent;
    }
    public T withTagEvent(TagEvent TagEvent){
    this.TagEvent=TagEvent; return (T) this;
    }
    public Template getTemplate(){
    return this.Template;
    }
    public T withTemplate(Template Template){
    this.Template=Template; return (T) this;
    }
    public Map getAdditionalProperties(){
    return this.additionalProperties;
    }
    public T withAdditionalProperties(Map additionalProperties){
    this.additionalProperties.clear();if (additionalProperties != null) {this.additionalProperties.putAll(additionalProperties);} return (T) this;
    }
    public BaseKubernetesListNested withNewBaseKubernetesList(){
    return new BaseKubernetesListNested();
    }
    public BuildConfigListNested withNewBuildConfigList(){
    return new BuildConfigListNested();
    }
    public BuildListNested withNewBuildList(){
    return new BuildListNested();
    }
    public ContainerStatusNested withNewContainerStatus(){
    return new ContainerStatusNested();
    }
    public DeploymentConfigListNested withNewDeploymentConfigList(){
    return new DeploymentConfigListNested();
    }
    public EndpointsNested withNewEndpoints(){
    return new EndpointsNested();
    }
    public EndpointsListNested withNewEndpointsList(){
    return new EndpointsListNested();
    }
    public EnvVarNested withNewEnvVar(){
    return new EnvVarNested();
    }
    public T withNewEnvVar(String name, String value){
    return withEnvVar(new EnvVar(name, value));
    }
    public ImageListNested withNewImageList(){
    return new ImageListNested();
    }
    public NodeNested withNewNode(){
    return new NodeNested();
    }
    public NodeListNested withNewNodeList(){
    return new NodeListNested();
    }
    public PodListNested withNewPodList(){
    return new PodListNested();
    }
    public QuantityNested withNewQuantity(){
    return new QuantityNested();
    }
    public T withNewQuantity(String amount, String format){
    return withQuantity(new Quantity(amount, format));
    }
    public T withNewQuantity(String amount){
    return withQuantity(new Quantity(amount));
    }
    public ReplicationControllerListNested withNewReplicationControllerList(){
    return new ReplicationControllerListNested();
    }
    public RouteListNested withNewRouteList(){
    return new RouteListNested();
    }
    public ServiceListNested withNewServiceList(){
    return new ServiceListNested();
    }
    public StatusErrorNested withNewStatusError(){
    return new StatusErrorNested();
    }
    public TagEventNested withNewTagEvent(){
    return new TagEventNested();
    }
    public T withNewTagEvent(String created, String dockerImageReference, String image){
    return withTagEvent(new TagEvent(created, dockerImageReference, image));
    }
    public TemplateNested withNewTemplate(){
    return new TemplateNested();
    }
    public T addToAdditionalProperties(String key, Object value){
    if(key != null && value != null) {this.additionalProperties.put(key, value);} return (T)this;
    }

    public class BaseKubernetesListNested extends BaseKubernetesListFluent> implements Nested{

        private final BaseKubernetesListBuilder builder = new BaseKubernetesListBuilder(this);
    
            public N endBaseKubernetesList(){
            return and();
        }
            public N and(){
            return (N) KubeSchemaFluent.this.withBaseKubernetesList(builder.build());
        }
    
}
    public class BuildConfigListNested extends BuildConfigListFluent> implements Nested{

        private final BuildConfigListBuilder builder = new BuildConfigListBuilder(this);
    
            public N endBuildConfigList(){
            return and();
        }
            public N and(){
            return (N) KubeSchemaFluent.this.withBuildConfigList(builder.build());
        }
    
}
    public class BuildListNested extends BuildListFluent> implements Nested{

        private final BuildListBuilder builder = new BuildListBuilder(this);
    
            public N endBuildList(){
            return and();
        }
            public N and(){
            return (N) KubeSchemaFluent.this.withBuildList(builder.build());
        }
    
}
    public class ContainerStatusNested extends ContainerStatusFluent> implements Nested{

        private final ContainerStatusBuilder builder = new ContainerStatusBuilder(this);
    
            public N endContainerStatus(){
            return and();
        }
            public N and(){
            return (N) KubeSchemaFluent.this.withContainerStatus(builder.build());
        }
    
}
    public class DeploymentConfigListNested extends DeploymentConfigListFluent> implements Nested{

        private final DeploymentConfigListBuilder builder = new DeploymentConfigListBuilder(this);
    
            public N endDeploymentConfigList(){
            return and();
        }
            public N and(){
            return (N) KubeSchemaFluent.this.withDeploymentConfigList(builder.build());
        }
    
}
    public class EndpointsNested extends EndpointsFluent> implements Nested{

        private final EndpointsBuilder builder = new EndpointsBuilder(this);
    
            public N endEndpoints(){
            return and();
        }
            public N and(){
            return (N) KubeSchemaFluent.this.withEndpoints(builder.build());
        }
    
}
    public class EndpointsListNested extends EndpointsListFluent> implements Nested{

        private final EndpointsListBuilder builder = new EndpointsListBuilder(this);
    
            public N and(){
            return (N) KubeSchemaFluent.this.withEndpointsList(builder.build());
        }
            public N endEndpointsList(){
            return and();
        }
    
}
    public class EnvVarNested extends EnvVarFluent> implements Nested{

        private final EnvVarBuilder builder = new EnvVarBuilder(this);
    
            public N endEnvVar(){
            return and();
        }
            public N and(){
            return (N) KubeSchemaFluent.this.withEnvVar(builder.build());
        }
    
}
    public class ImageListNested extends ImageListFluent> implements Nested{

        private final ImageListBuilder builder = new ImageListBuilder(this);
    
            public N and(){
            return (N) KubeSchemaFluent.this.withImageList(builder.build());
        }
            public N endImageList(){
            return and();
        }
    
}
    public class NodeNested extends NodeFluent> implements Nested{

        private final NodeBuilder builder = new NodeBuilder(this);
    
            public N and(){
            return (N) KubeSchemaFluent.this.withNode(builder.build());
        }
            public N endNode(){
            return and();
        }
    
}
    public class NodeListNested extends NodeListFluent> implements Nested{

        private final NodeListBuilder builder = new NodeListBuilder(this);
    
            public N endNodeList(){
            return and();
        }
            public N and(){
            return (N) KubeSchemaFluent.this.withNodeList(builder.build());
        }
    
}
    public class PodListNested extends PodListFluent> implements Nested{

        private final PodListBuilder builder = new PodListBuilder(this);
    
            public N endPodList(){
            return and();
        }
            public N and(){
            return (N) KubeSchemaFluent.this.withPodList(builder.build());
        }
    
}
    public class QuantityNested extends QuantityFluent> implements Nested{

        private final QuantityBuilder builder = new QuantityBuilder(this);
    
            public N and(){
            return (N) KubeSchemaFluent.this.withQuantity(builder.build());
        }
            public N endQuantity(){
            return and();
        }
    
}
    public class ReplicationControllerListNested extends ReplicationControllerListFluent> implements Nested{

        private final ReplicationControllerListBuilder builder = new ReplicationControllerListBuilder(this);
    
            public N and(){
            return (N) KubeSchemaFluent.this.withReplicationControllerList(builder.build());
        }
            public N endReplicationControllerList(){
            return and();
        }
    
}
    public class RouteListNested extends RouteListFluent> implements Nested{

        private final RouteListBuilder builder = new RouteListBuilder(this);
    
            public N endRouteList(){
            return and();
        }
            public N and(){
            return (N) KubeSchemaFluent.this.withRouteList(builder.build());
        }
    
}
    public class ServiceListNested extends ServiceListFluent> implements Nested{

        private final ServiceListBuilder builder = new ServiceListBuilder(this);
    
            public N endServiceList(){
            return and();
        }
            public N and(){
            return (N) KubeSchemaFluent.this.withServiceList(builder.build());
        }
    
}
    public class StatusErrorNested extends StatusErrorFluent> implements Nested{

        private final StatusErrorBuilder builder = new StatusErrorBuilder(this);
    
            public N and(){
            return (N) KubeSchemaFluent.this.withStatusError(builder.build());
        }
            public N endStatusError(){
            return and();
        }
    
}
    public class TagEventNested extends TagEventFluent> implements Nested{

        private final TagEventBuilder builder = new TagEventBuilder(this);
    
            public N endTagEvent(){
            return and();
        }
            public N and(){
            return (N) KubeSchemaFluent.this.withTagEvent(builder.build());
        }
    
}
    public class TemplateNested extends TemplateFluent> implements Nested{

        private final TemplateBuilder builder = new TemplateBuilder(this);
    
            public N endTemplate(){
            return and();
        }
            public N and(){
            return (N) KubeSchemaFluent.this.withTemplate(builder.build());
        }
    
}


}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy