io.fabric8.kubernetes.api.model.KubeSchemaFluent Maven / Gradle / Ivy
package io.fabric8.kubernetes.api.model;
import io.fabric8.openshift.api.model.ImageList;
import io.fabric8.kubernetes.api.model.resource.Quantity;
import io.fabric8.openshift.api.model.ImageRepositoryList;
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.DeploymentList;
import io.fabric8.openshift.api.model.TagEvent;
import java.util.HashMap;
import io.fabric8.openshift.api.model.config.Config;
import io.fabric8.openshift.api.model.TagEventList;
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.common.Fluent;
import io.fabric8.openshift.api.model.TagEventListBuilder;
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.TagEventListFluent;
import io.fabric8.openshift.api.model.DeploymentListBuilder;
import io.fabric8.openshift.api.model.DeploymentConfigListBuilder;
import io.fabric8.openshift.api.model.ImageRepositoryListBuilder;
import io.fabric8.openshift.api.model.ImageRepositoryListFluent;
import io.fabric8.openshift.api.model.config.ConfigFluent;
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.template.TemplateFluent;
import io.fabric8.openshift.api.model.DeploymentListFluent;
import io.fabric8.common.Nested;
import io.fabric8.openshift.api.model.ImageListBuilder;
import io.fabric8.openshift.api.model.BuildListBuilder;
import io.fabric8.kubernetes.api.model.resource.QuantityFluent;
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.openshift.api.model.DeploymentConfigListFluent;
import io.fabric8.openshift.api.model.TagEventFluent;
import io.fabric8.openshift.api.model.config.ConfigBuilder;
import io.fabric8.openshift.api.model.RouteListBuilder;
public class KubeSchemaFluent> implements Fluent{
private BuildConfigList BuildConfigList ;
private BuildList BuildList ;
private Config Config ;
private ContainerStatus ContainerStatus ;
private DeploymentConfigList DeploymentConfigList ;
private DeploymentList DeploymentList ;
private Endpoints Endpoints ;
private EndpointsList EndpointsList ;
private EnvVar EnvVar ;
private ImageList ImageList ;
private ImageRepositoryList ImageRepositoryList ;
private KubernetesList KubernetesList ;
private Minion Minion ;
private MinionList MinionList ;
private PodList PodList ;
private Quantity Quantity ;
private ReplicationControllerList ReplicationControllerList ;
private RouteList RouteList ;
private ServiceList ServiceList ;
private StatusError StatusError ;
private TagEvent TagEvent ;
private TagEventList TagEventList ;
private Template Template ;
private Map additionalProperties = new HashMap();
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 Config getConfig(){
return this.Config;
}
public T withConfig(Config Config){
this.Config=Config; 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 DeploymentList getDeploymentList(){
return this.DeploymentList;
}
public T withDeploymentList(DeploymentList DeploymentList){
this.DeploymentList=DeploymentList; 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 ImageRepositoryList getImageRepositoryList(){
return this.ImageRepositoryList;
}
public T withImageRepositoryList(ImageRepositoryList ImageRepositoryList){
this.ImageRepositoryList=ImageRepositoryList; return (T) this;
}
public KubernetesList getKubernetesList(){
return this.KubernetesList;
}
public T withKubernetesList(KubernetesList KubernetesList){
this.KubernetesList=KubernetesList; return (T) this;
}
public Minion getMinion(){
return this.Minion;
}
public T withMinion(Minion Minion){
this.Minion=Minion; return (T) this;
}
public MinionList getMinionList(){
return this.MinionList;
}
public T withMinionList(MinionList MinionList){
this.MinionList=MinionList; 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 TagEventList getTagEventList(){
return this.TagEventList;
}
public T withTagEventList(TagEventList TagEventList){
this.TagEventList=TagEventList; 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 BuildConfigListNested withNewBuildConfigList(){
return new BuildConfigListNested();
}
public BuildListNested withNewBuildList(){
return new BuildListNested();
}
public ConfigNested withNewConfig(){
return new ConfigNested();
}
public ContainerStatusNested withNewContainerStatu(){
return new ContainerStatusNested();
}
public DeploymentConfigListNested withNewDeploymentConfigList(){
return new DeploymentConfigListNested();
}
public DeploymentListNested withNewDeploymentList(){
return new DeploymentListNested();
}
public EndpointsNested withNewEndpoint(){
return new EndpointsNested();
}
public EndpointsListNested withNewEndpointsList(){
return new EndpointsListNested();
}
public EnvVarNested withNewEnvVar(){
return new EnvVarNested();
}
public ImageListNested withNewImageList(){
return new ImageListNested();
}
public ImageRepositoryListNested withNewImageRepositoryList(){
return new ImageRepositoryListNested();
}
public KubernetesListNested withNewKubernetesList(){
return new KubernetesListNested();
}
public MinionNested withNewMinion(){
return new MinionNested();
}
public MinionListNested withNewMinionList(){
return new MinionListNested();
}
public PodListNested withNewPodList(){
return new PodListNested();
}
public QuantityNested withNewQuantity(){
return new QuantityNested();
}
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 TagEventListNested withNewTagEventList(){
return new TagEventListNested();
}
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 BuildConfigListNested extends BuildConfigListFluent> implements Nested{
private final BuildConfigListBuilder builder = new BuildConfigListBuilder(this);
public N and(){
return (N) KubeSchemaFluent.this.withBuildConfigList(builder.build());
}
public N endBuildConfigList(){
return and();
}
}
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 ConfigNested extends ConfigFluent> implements Nested{
private final ConfigBuilder builder = new ConfigBuilder(this);
public N and(){
return (N) KubeSchemaFluent.this.withConfig(builder.build());
}
public N endConfig(){
return and();
}
}
public class ContainerStatusNested extends ContainerStatusFluent> implements Nested{
private final ContainerStatusBuilder builder = new ContainerStatusBuilder(this);
public N and(){
return (N) KubeSchemaFluent.this.withContainerStatus(builder.build());
}
public N endContainerStatu(){
return and();
}
}
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 DeploymentListNested extends DeploymentListFluent> implements Nested{
private final DeploymentListBuilder builder = new DeploymentListBuilder(this);
public N endDeploymentList(){
return and();
}
public N and(){
return (N) KubeSchemaFluent.this.withDeploymentList(builder.build());
}
}
public class EndpointsNested extends EndpointsFluent> implements Nested{
private final EndpointsBuilder builder = new EndpointsBuilder(this);
public N and(){
return (N) KubeSchemaFluent.this.withEndpoints(builder.build());
}
public N endEndpoint(){
return and();
}
}
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 ImageRepositoryListNested extends ImageRepositoryListFluent> implements Nested{
private final ImageRepositoryListBuilder builder = new ImageRepositoryListBuilder(this);
public N and(){
return (N) KubeSchemaFluent.this.withImageRepositoryList(builder.build());
}
public N endImageRepositoryList(){
return and();
}
}
public class KubernetesListNested extends KubernetesListFluent> implements Nested{
private final KubernetesListBuilder builder = new KubernetesListBuilder(this);
public N and(){
return (N) KubeSchemaFluent.this.withKubernetesList(builder.build());
}
public N endKubernetesList(){
return and();
}
}
public class MinionNested extends MinionFluent> implements Nested{
private final MinionBuilder builder = new MinionBuilder(this);
public N and(){
return (N) KubeSchemaFluent.this.withMinion(builder.build());
}
public N endMinion(){
return and();
}
}
public class MinionListNested extends MinionListFluent> implements Nested{
private final MinionListBuilder builder = new MinionListBuilder(this);
public N endMinionList(){
return and();
}
public N and(){
return (N) KubeSchemaFluent.this.withMinionList(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 endQuantity(){
return and();
}
public N and(){
return (N) KubeSchemaFluent.this.withQuantity(builder.build());
}
}
public class ReplicationControllerListNested extends ReplicationControllerListFluent> implements Nested{
private final ReplicationControllerListBuilder builder = new ReplicationControllerListBuilder(this);
public N endReplicationControllerList(){
return and();
}
public N and(){
return (N) KubeSchemaFluent.this.withReplicationControllerList(builder.build());
}
}
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 and(){
return (N) KubeSchemaFluent.this.withServiceList(builder.build());
}
public N endServiceList(){
return and();
}
}
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 and(){
return (N) KubeSchemaFluent.this.withTagEvent(builder.build());
}
public N endTagEvent(){
return and();
}
}
public class TagEventListNested extends TagEventListFluent> implements Nested{
private final TagEventListBuilder builder = new TagEventListBuilder(this);
public N endTagEventList(){
return and();
}
public N and(){
return (N) KubeSchemaFluent.this.withTagEventList(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