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

annotations.me.snowdrop.servicecatalog.api.model.ServicecatalogSchemaFluentImpl Maven / Gradle / Ivy

The newest version!
package me.snowdrop.servicecatalog.api.model;

import com.fasterxml.jackson.annotation.JsonProperty;
import io.fabric8.kubernetes.api.builder.BaseFluent;
import java.lang.Boolean;
import javax.validation.Valid;
import java.lang.Object;
import io.fabric8.kubernetes.api.builder.Nested;
import java.lang.Deprecated;

public class ServicecatalogSchemaFluentImpl> extends io.fabric8.kubernetes.api.builder.BaseFluent implements ServicecatalogSchemaFluent{

    private ClusterServiceBrokerBuilder clusterServiceBroker;
    private ClusterServiceBrokerListBuilder clusterServiceBrokerList;
    private ClusterServiceClassBuilder clusterServiceClass;
    private ClusterServiceClassListBuilder clusterServiceClassList;
    private ClusterServicePlanBuilder clusterServicePlan;
    private ClusterServicePlanListBuilder clusterServicePlanList;
    private ServiceBindingBuilder serviceBinding;
    private ServiceBindingListBuilder serviceBindingList;
    private ServiceBrokerBuilder serviceBroker;
    private ServiceBrokerListBuilder serviceBrokerList;
    private ServiceInstanceBuilder serviceInstance;
    private ServiceInstanceListBuilder serviceInstanceList;

    public ServicecatalogSchemaFluentImpl(){
    }
    public ServicecatalogSchemaFluentImpl(ServicecatalogSchema instance){
            this.withClusterServiceBroker(instance.getClusterServiceBroker()); 
            this.withClusterServiceBrokerList(instance.getClusterServiceBrokerList()); 
            this.withClusterServiceClass(instance.getClusterServiceClass()); 
            this.withClusterServiceClassList(instance.getClusterServiceClassList()); 
            this.withClusterServicePlan(instance.getClusterServicePlan()); 
            this.withClusterServicePlanList(instance.getClusterServicePlanList()); 
            this.withServiceBinding(instance.getServiceBinding()); 
            this.withServiceBindingList(instance.getServiceBindingList()); 
            this.withServiceBroker(instance.getServiceBroker()); 
            this.withServiceBrokerList(instance.getServiceBrokerList()); 
            this.withServiceInstance(instance.getServiceInstance()); 
            this.withServiceInstanceList(instance.getServiceInstanceList()); 
    }

    
/**
 * This method has been deprecated, please use method buildClusterServiceBroker instead.
 * @return The buildable object.
 */
@Deprecated public ClusterServiceBroker getClusterServiceBroker(){
            return this.clusterServiceBroker!=null?this.clusterServiceBroker.build():null;
    }

    public ClusterServiceBroker buildClusterServiceBroker(){
            return this.clusterServiceBroker!=null?this.clusterServiceBroker.build():null;
    }

    public A withClusterServiceBroker(ClusterServiceBroker clusterServiceBroker){
            _visitables.get("clusterServiceBroker").remove(this.clusterServiceBroker);
            if (clusterServiceBroker!=null){ this.clusterServiceBroker= new ClusterServiceBrokerBuilder(clusterServiceBroker); _visitables.get("clusterServiceBroker").add(this.clusterServiceBroker);} return (A) this;
    }

    public Boolean hasClusterServiceBroker(){
            return this.clusterServiceBroker != null;
    }

    public ServicecatalogSchemaFluent.ClusterServiceBrokerNested withNewClusterServiceBroker(){
            return new ClusterServiceBrokerNestedImpl();
    }

    public ServicecatalogSchemaFluent.ClusterServiceBrokerNested withNewClusterServiceBrokerLike(ClusterServiceBroker item){
            return new ClusterServiceBrokerNestedImpl(item);
    }

    public ServicecatalogSchemaFluent.ClusterServiceBrokerNested editClusterServiceBroker(){
            return withNewClusterServiceBrokerLike(getClusterServiceBroker());
    }

    public ServicecatalogSchemaFluent.ClusterServiceBrokerNested editOrNewClusterServiceBroker(){
            return withNewClusterServiceBrokerLike(getClusterServiceBroker() != null ? getClusterServiceBroker(): new ClusterServiceBrokerBuilder().build());
    }

    public ServicecatalogSchemaFluent.ClusterServiceBrokerNested editOrNewClusterServiceBrokerLike(ClusterServiceBroker item){
            return withNewClusterServiceBrokerLike(getClusterServiceBroker() != null ? getClusterServiceBroker(): item);
    }

    
/**
 * This method has been deprecated, please use method buildClusterServiceBrokerList instead.
 * @return The buildable object.
 */
@Deprecated public ClusterServiceBrokerList getClusterServiceBrokerList(){
            return this.clusterServiceBrokerList!=null?this.clusterServiceBrokerList.build():null;
    }

    public ClusterServiceBrokerList buildClusterServiceBrokerList(){
            return this.clusterServiceBrokerList!=null?this.clusterServiceBrokerList.build():null;
    }

    public A withClusterServiceBrokerList(ClusterServiceBrokerList clusterServiceBrokerList){
            _visitables.get("clusterServiceBrokerList").remove(this.clusterServiceBrokerList);
            if (clusterServiceBrokerList!=null){ this.clusterServiceBrokerList= new ClusterServiceBrokerListBuilder(clusterServiceBrokerList); _visitables.get("clusterServiceBrokerList").add(this.clusterServiceBrokerList);} return (A) this;
    }

    public Boolean hasClusterServiceBrokerList(){
            return this.clusterServiceBrokerList != null;
    }

    public ServicecatalogSchemaFluent.ClusterServiceBrokerListNested withNewClusterServiceBrokerList(){
            return new ClusterServiceBrokerListNestedImpl();
    }

    public ServicecatalogSchemaFluent.ClusterServiceBrokerListNested withNewClusterServiceBrokerListLike(ClusterServiceBrokerList item){
            return new ClusterServiceBrokerListNestedImpl(item);
    }

    public ServicecatalogSchemaFluent.ClusterServiceBrokerListNested editClusterServiceBrokerList(){
            return withNewClusterServiceBrokerListLike(getClusterServiceBrokerList());
    }

    public ServicecatalogSchemaFluent.ClusterServiceBrokerListNested editOrNewClusterServiceBrokerList(){
            return withNewClusterServiceBrokerListLike(getClusterServiceBrokerList() != null ? getClusterServiceBrokerList(): new ClusterServiceBrokerListBuilder().build());
    }

    public ServicecatalogSchemaFluent.ClusterServiceBrokerListNested editOrNewClusterServiceBrokerListLike(ClusterServiceBrokerList item){
            return withNewClusterServiceBrokerListLike(getClusterServiceBrokerList() != null ? getClusterServiceBrokerList(): item);
    }

    
/**
 * This method has been deprecated, please use method buildClusterServiceClass instead.
 * @return The buildable object.
 */
@Deprecated public ClusterServiceClass getClusterServiceClass(){
            return this.clusterServiceClass!=null?this.clusterServiceClass.build():null;
    }

    public ClusterServiceClass buildClusterServiceClass(){
            return this.clusterServiceClass!=null?this.clusterServiceClass.build():null;
    }

    public A withClusterServiceClass(ClusterServiceClass clusterServiceClass){
            _visitables.get("clusterServiceClass").remove(this.clusterServiceClass);
            if (clusterServiceClass!=null){ this.clusterServiceClass= new ClusterServiceClassBuilder(clusterServiceClass); _visitables.get("clusterServiceClass").add(this.clusterServiceClass);} return (A) this;
    }

    public Boolean hasClusterServiceClass(){
            return this.clusterServiceClass != null;
    }

    public ServicecatalogSchemaFluent.ClusterServiceClassNested withNewClusterServiceClass(){
            return new ClusterServiceClassNestedImpl();
    }

    public ServicecatalogSchemaFluent.ClusterServiceClassNested withNewClusterServiceClassLike(ClusterServiceClass item){
            return new ClusterServiceClassNestedImpl(item);
    }

    public ServicecatalogSchemaFluent.ClusterServiceClassNested editClusterServiceClass(){
            return withNewClusterServiceClassLike(getClusterServiceClass());
    }

    public ServicecatalogSchemaFluent.ClusterServiceClassNested editOrNewClusterServiceClass(){
            return withNewClusterServiceClassLike(getClusterServiceClass() != null ? getClusterServiceClass(): new ClusterServiceClassBuilder().build());
    }

    public ServicecatalogSchemaFluent.ClusterServiceClassNested editOrNewClusterServiceClassLike(ClusterServiceClass item){
            return withNewClusterServiceClassLike(getClusterServiceClass() != null ? getClusterServiceClass(): item);
    }

    
/**
 * This method has been deprecated, please use method buildClusterServiceClassList instead.
 * @return The buildable object.
 */
@Deprecated public ClusterServiceClassList getClusterServiceClassList(){
            return this.clusterServiceClassList!=null?this.clusterServiceClassList.build():null;
    }

    public ClusterServiceClassList buildClusterServiceClassList(){
            return this.clusterServiceClassList!=null?this.clusterServiceClassList.build():null;
    }

    public A withClusterServiceClassList(ClusterServiceClassList clusterServiceClassList){
            _visitables.get("clusterServiceClassList").remove(this.clusterServiceClassList);
            if (clusterServiceClassList!=null){ this.clusterServiceClassList= new ClusterServiceClassListBuilder(clusterServiceClassList); _visitables.get("clusterServiceClassList").add(this.clusterServiceClassList);} return (A) this;
    }

    public Boolean hasClusterServiceClassList(){
            return this.clusterServiceClassList != null;
    }

    public ServicecatalogSchemaFluent.ClusterServiceClassListNested withNewClusterServiceClassList(){
            return new ClusterServiceClassListNestedImpl();
    }

    public ServicecatalogSchemaFluent.ClusterServiceClassListNested withNewClusterServiceClassListLike(ClusterServiceClassList item){
            return new ClusterServiceClassListNestedImpl(item);
    }

    public ServicecatalogSchemaFluent.ClusterServiceClassListNested editClusterServiceClassList(){
            return withNewClusterServiceClassListLike(getClusterServiceClassList());
    }

    public ServicecatalogSchemaFluent.ClusterServiceClassListNested editOrNewClusterServiceClassList(){
            return withNewClusterServiceClassListLike(getClusterServiceClassList() != null ? getClusterServiceClassList(): new ClusterServiceClassListBuilder().build());
    }

    public ServicecatalogSchemaFluent.ClusterServiceClassListNested editOrNewClusterServiceClassListLike(ClusterServiceClassList item){
            return withNewClusterServiceClassListLike(getClusterServiceClassList() != null ? getClusterServiceClassList(): item);
    }

    
/**
 * This method has been deprecated, please use method buildClusterServicePlan instead.
 * @return The buildable object.
 */
@Deprecated public ClusterServicePlan getClusterServicePlan(){
            return this.clusterServicePlan!=null?this.clusterServicePlan.build():null;
    }

    public ClusterServicePlan buildClusterServicePlan(){
            return this.clusterServicePlan!=null?this.clusterServicePlan.build():null;
    }

    public A withClusterServicePlan(ClusterServicePlan clusterServicePlan){
            _visitables.get("clusterServicePlan").remove(this.clusterServicePlan);
            if (clusterServicePlan!=null){ this.clusterServicePlan= new ClusterServicePlanBuilder(clusterServicePlan); _visitables.get("clusterServicePlan").add(this.clusterServicePlan);} return (A) this;
    }

    public Boolean hasClusterServicePlan(){
            return this.clusterServicePlan != null;
    }

    public ServicecatalogSchemaFluent.ClusterServicePlanNested withNewClusterServicePlan(){
            return new ClusterServicePlanNestedImpl();
    }

    public ServicecatalogSchemaFluent.ClusterServicePlanNested withNewClusterServicePlanLike(ClusterServicePlan item){
            return new ClusterServicePlanNestedImpl(item);
    }

    public ServicecatalogSchemaFluent.ClusterServicePlanNested editClusterServicePlan(){
            return withNewClusterServicePlanLike(getClusterServicePlan());
    }

    public ServicecatalogSchemaFluent.ClusterServicePlanNested editOrNewClusterServicePlan(){
            return withNewClusterServicePlanLike(getClusterServicePlan() != null ? getClusterServicePlan(): new ClusterServicePlanBuilder().build());
    }

    public ServicecatalogSchemaFluent.ClusterServicePlanNested editOrNewClusterServicePlanLike(ClusterServicePlan item){
            return withNewClusterServicePlanLike(getClusterServicePlan() != null ? getClusterServicePlan(): item);
    }

    
/**
 * This method has been deprecated, please use method buildClusterServicePlanList instead.
 * @return The buildable object.
 */
@Deprecated public ClusterServicePlanList getClusterServicePlanList(){
            return this.clusterServicePlanList!=null?this.clusterServicePlanList.build():null;
    }

    public ClusterServicePlanList buildClusterServicePlanList(){
            return this.clusterServicePlanList!=null?this.clusterServicePlanList.build():null;
    }

    public A withClusterServicePlanList(ClusterServicePlanList clusterServicePlanList){
            _visitables.get("clusterServicePlanList").remove(this.clusterServicePlanList);
            if (clusterServicePlanList!=null){ this.clusterServicePlanList= new ClusterServicePlanListBuilder(clusterServicePlanList); _visitables.get("clusterServicePlanList").add(this.clusterServicePlanList);} return (A) this;
    }

    public Boolean hasClusterServicePlanList(){
            return this.clusterServicePlanList != null;
    }

    public ServicecatalogSchemaFluent.ClusterServicePlanListNested withNewClusterServicePlanList(){
            return new ClusterServicePlanListNestedImpl();
    }

    public ServicecatalogSchemaFluent.ClusterServicePlanListNested withNewClusterServicePlanListLike(ClusterServicePlanList item){
            return new ClusterServicePlanListNestedImpl(item);
    }

    public ServicecatalogSchemaFluent.ClusterServicePlanListNested editClusterServicePlanList(){
            return withNewClusterServicePlanListLike(getClusterServicePlanList());
    }

    public ServicecatalogSchemaFluent.ClusterServicePlanListNested editOrNewClusterServicePlanList(){
            return withNewClusterServicePlanListLike(getClusterServicePlanList() != null ? getClusterServicePlanList(): new ClusterServicePlanListBuilder().build());
    }

    public ServicecatalogSchemaFluent.ClusterServicePlanListNested editOrNewClusterServicePlanListLike(ClusterServicePlanList item){
            return withNewClusterServicePlanListLike(getClusterServicePlanList() != null ? getClusterServicePlanList(): item);
    }

    
/**
 * This method has been deprecated, please use method buildServiceBinding instead.
 * @return The buildable object.
 */
@Deprecated public ServiceBinding getServiceBinding(){
            return this.serviceBinding!=null?this.serviceBinding.build():null;
    }

    public ServiceBinding buildServiceBinding(){
            return this.serviceBinding!=null?this.serviceBinding.build():null;
    }

    public A withServiceBinding(ServiceBinding serviceBinding){
            _visitables.get("serviceBinding").remove(this.serviceBinding);
            if (serviceBinding!=null){ this.serviceBinding= new ServiceBindingBuilder(serviceBinding); _visitables.get("serviceBinding").add(this.serviceBinding);} return (A) this;
    }

    public Boolean hasServiceBinding(){
            return this.serviceBinding != null;
    }

    public ServicecatalogSchemaFluent.ServiceBindingNested withNewServiceBinding(){
            return new ServiceBindingNestedImpl();
    }

    public ServicecatalogSchemaFluent.ServiceBindingNested withNewServiceBindingLike(ServiceBinding item){
            return new ServiceBindingNestedImpl(item);
    }

    public ServicecatalogSchemaFluent.ServiceBindingNested editServiceBinding(){
            return withNewServiceBindingLike(getServiceBinding());
    }

    public ServicecatalogSchemaFluent.ServiceBindingNested editOrNewServiceBinding(){
            return withNewServiceBindingLike(getServiceBinding() != null ? getServiceBinding(): new ServiceBindingBuilder().build());
    }

    public ServicecatalogSchemaFluent.ServiceBindingNested editOrNewServiceBindingLike(ServiceBinding item){
            return withNewServiceBindingLike(getServiceBinding() != null ? getServiceBinding(): item);
    }

    
/**
 * This method has been deprecated, please use method buildServiceBindingList instead.
 * @return The buildable object.
 */
@Deprecated public ServiceBindingList getServiceBindingList(){
            return this.serviceBindingList!=null?this.serviceBindingList.build():null;
    }

    public ServiceBindingList buildServiceBindingList(){
            return this.serviceBindingList!=null?this.serviceBindingList.build():null;
    }

    public A withServiceBindingList(ServiceBindingList serviceBindingList){
            _visitables.get("serviceBindingList").remove(this.serviceBindingList);
            if (serviceBindingList!=null){ this.serviceBindingList= new ServiceBindingListBuilder(serviceBindingList); _visitables.get("serviceBindingList").add(this.serviceBindingList);} return (A) this;
    }

    public Boolean hasServiceBindingList(){
            return this.serviceBindingList != null;
    }

    public ServicecatalogSchemaFluent.ServiceBindingListNested withNewServiceBindingList(){
            return new ServiceBindingListNestedImpl();
    }

    public ServicecatalogSchemaFluent.ServiceBindingListNested withNewServiceBindingListLike(ServiceBindingList item){
            return new ServiceBindingListNestedImpl(item);
    }

    public ServicecatalogSchemaFluent.ServiceBindingListNested editServiceBindingList(){
            return withNewServiceBindingListLike(getServiceBindingList());
    }

    public ServicecatalogSchemaFluent.ServiceBindingListNested editOrNewServiceBindingList(){
            return withNewServiceBindingListLike(getServiceBindingList() != null ? getServiceBindingList(): new ServiceBindingListBuilder().build());
    }

    public ServicecatalogSchemaFluent.ServiceBindingListNested editOrNewServiceBindingListLike(ServiceBindingList item){
            return withNewServiceBindingListLike(getServiceBindingList() != null ? getServiceBindingList(): item);
    }

    
/**
 * This method has been deprecated, please use method buildServiceBroker instead.
 * @return The buildable object.
 */
@Deprecated public ServiceBroker getServiceBroker(){
            return this.serviceBroker!=null?this.serviceBroker.build():null;
    }

    public ServiceBroker buildServiceBroker(){
            return this.serviceBroker!=null?this.serviceBroker.build():null;
    }

    public A withServiceBroker(ServiceBroker serviceBroker){
            _visitables.get("serviceBroker").remove(this.serviceBroker);
            if (serviceBroker!=null){ this.serviceBroker= new ServiceBrokerBuilder(serviceBroker); _visitables.get("serviceBroker").add(this.serviceBroker);} return (A) this;
    }

    public Boolean hasServiceBroker(){
            return this.serviceBroker != null;
    }

    public ServicecatalogSchemaFluent.ServiceBrokerNested withNewServiceBroker(){
            return new ServiceBrokerNestedImpl();
    }

    public ServicecatalogSchemaFluent.ServiceBrokerNested withNewServiceBrokerLike(ServiceBroker item){
            return new ServiceBrokerNestedImpl(item);
    }

    public ServicecatalogSchemaFluent.ServiceBrokerNested editServiceBroker(){
            return withNewServiceBrokerLike(getServiceBroker());
    }

    public ServicecatalogSchemaFluent.ServiceBrokerNested editOrNewServiceBroker(){
            return withNewServiceBrokerLike(getServiceBroker() != null ? getServiceBroker(): new ServiceBrokerBuilder().build());
    }

    public ServicecatalogSchemaFluent.ServiceBrokerNested editOrNewServiceBrokerLike(ServiceBroker item){
            return withNewServiceBrokerLike(getServiceBroker() != null ? getServiceBroker(): item);
    }

    
/**
 * This method has been deprecated, please use method buildServiceBrokerList instead.
 * @return The buildable object.
 */
@Deprecated public ServiceBrokerList getServiceBrokerList(){
            return this.serviceBrokerList!=null?this.serviceBrokerList.build():null;
    }

    public ServiceBrokerList buildServiceBrokerList(){
            return this.serviceBrokerList!=null?this.serviceBrokerList.build():null;
    }

    public A withServiceBrokerList(ServiceBrokerList serviceBrokerList){
            _visitables.get("serviceBrokerList").remove(this.serviceBrokerList);
            if (serviceBrokerList!=null){ this.serviceBrokerList= new ServiceBrokerListBuilder(serviceBrokerList); _visitables.get("serviceBrokerList").add(this.serviceBrokerList);} return (A) this;
    }

    public Boolean hasServiceBrokerList(){
            return this.serviceBrokerList != null;
    }

    public ServicecatalogSchemaFluent.ServiceBrokerListNested withNewServiceBrokerList(){
            return new ServiceBrokerListNestedImpl();
    }

    public ServicecatalogSchemaFluent.ServiceBrokerListNested withNewServiceBrokerListLike(ServiceBrokerList item){
            return new ServiceBrokerListNestedImpl(item);
    }

    public ServicecatalogSchemaFluent.ServiceBrokerListNested editServiceBrokerList(){
            return withNewServiceBrokerListLike(getServiceBrokerList());
    }

    public ServicecatalogSchemaFluent.ServiceBrokerListNested editOrNewServiceBrokerList(){
            return withNewServiceBrokerListLike(getServiceBrokerList() != null ? getServiceBrokerList(): new ServiceBrokerListBuilder().build());
    }

    public ServicecatalogSchemaFluent.ServiceBrokerListNested editOrNewServiceBrokerListLike(ServiceBrokerList item){
            return withNewServiceBrokerListLike(getServiceBrokerList() != null ? getServiceBrokerList(): item);
    }

    
/**
 * This method has been deprecated, please use method buildServiceInstance instead.
 * @return The buildable object.
 */
@Deprecated public ServiceInstance getServiceInstance(){
            return this.serviceInstance!=null?this.serviceInstance.build():null;
    }

    public ServiceInstance buildServiceInstance(){
            return this.serviceInstance!=null?this.serviceInstance.build():null;
    }

    public A withServiceInstance(ServiceInstance serviceInstance){
            _visitables.get("serviceInstance").remove(this.serviceInstance);
            if (serviceInstance!=null){ this.serviceInstance= new ServiceInstanceBuilder(serviceInstance); _visitables.get("serviceInstance").add(this.serviceInstance);} return (A) this;
    }

    public Boolean hasServiceInstance(){
            return this.serviceInstance != null;
    }

    public ServicecatalogSchemaFluent.ServiceInstanceNested withNewServiceInstance(){
            return new ServiceInstanceNestedImpl();
    }

    public ServicecatalogSchemaFluent.ServiceInstanceNested withNewServiceInstanceLike(ServiceInstance item){
            return new ServiceInstanceNestedImpl(item);
    }

    public ServicecatalogSchemaFluent.ServiceInstanceNested editServiceInstance(){
            return withNewServiceInstanceLike(getServiceInstance());
    }

    public ServicecatalogSchemaFluent.ServiceInstanceNested editOrNewServiceInstance(){
            return withNewServiceInstanceLike(getServiceInstance() != null ? getServiceInstance(): new ServiceInstanceBuilder().build());
    }

    public ServicecatalogSchemaFluent.ServiceInstanceNested editOrNewServiceInstanceLike(ServiceInstance item){
            return withNewServiceInstanceLike(getServiceInstance() != null ? getServiceInstance(): item);
    }

    
/**
 * This method has been deprecated, please use method buildServiceInstanceList instead.
 * @return The buildable object.
 */
@Deprecated public ServiceInstanceList getServiceInstanceList(){
            return this.serviceInstanceList!=null?this.serviceInstanceList.build():null;
    }

    public ServiceInstanceList buildServiceInstanceList(){
            return this.serviceInstanceList!=null?this.serviceInstanceList.build():null;
    }

    public A withServiceInstanceList(ServiceInstanceList serviceInstanceList){
            _visitables.get("serviceInstanceList").remove(this.serviceInstanceList);
            if (serviceInstanceList!=null){ this.serviceInstanceList= new ServiceInstanceListBuilder(serviceInstanceList); _visitables.get("serviceInstanceList").add(this.serviceInstanceList);} return (A) this;
    }

    public Boolean hasServiceInstanceList(){
            return this.serviceInstanceList != null;
    }

    public ServicecatalogSchemaFluent.ServiceInstanceListNested withNewServiceInstanceList(){
            return new ServiceInstanceListNestedImpl();
    }

    public ServicecatalogSchemaFluent.ServiceInstanceListNested withNewServiceInstanceListLike(ServiceInstanceList item){
            return new ServiceInstanceListNestedImpl(item);
    }

    public ServicecatalogSchemaFluent.ServiceInstanceListNested editServiceInstanceList(){
            return withNewServiceInstanceListLike(getServiceInstanceList());
    }

    public ServicecatalogSchemaFluent.ServiceInstanceListNested editOrNewServiceInstanceList(){
            return withNewServiceInstanceListLike(getServiceInstanceList() != null ? getServiceInstanceList(): new ServiceInstanceListBuilder().build());
    }

    public ServicecatalogSchemaFluent.ServiceInstanceListNested editOrNewServiceInstanceListLike(ServiceInstanceList item){
            return withNewServiceInstanceListLike(getServiceInstanceList() != null ? getServiceInstanceList(): item);
    }

    public boolean equals(Object o){
            if (this == o) return true;
            if (o == null || getClass() != o.getClass()) return false;
            if (!super.equals(o)) return false;
            ServicecatalogSchemaFluentImpl that = (ServicecatalogSchemaFluentImpl) o;
            if (clusterServiceBroker != null ? !clusterServiceBroker.equals(that.clusterServiceBroker) :that.clusterServiceBroker != null) return false;
            if (clusterServiceBrokerList != null ? !clusterServiceBrokerList.equals(that.clusterServiceBrokerList) :that.clusterServiceBrokerList != null) return false;
            if (clusterServiceClass != null ? !clusterServiceClass.equals(that.clusterServiceClass) :that.clusterServiceClass != null) return false;
            if (clusterServiceClassList != null ? !clusterServiceClassList.equals(that.clusterServiceClassList) :that.clusterServiceClassList != null) return false;
            if (clusterServicePlan != null ? !clusterServicePlan.equals(that.clusterServicePlan) :that.clusterServicePlan != null) return false;
            if (clusterServicePlanList != null ? !clusterServicePlanList.equals(that.clusterServicePlanList) :that.clusterServicePlanList != null) return false;
            if (serviceBinding != null ? !serviceBinding.equals(that.serviceBinding) :that.serviceBinding != null) return false;
            if (serviceBindingList != null ? !serviceBindingList.equals(that.serviceBindingList) :that.serviceBindingList != null) return false;
            if (serviceBroker != null ? !serviceBroker.equals(that.serviceBroker) :that.serviceBroker != null) return false;
            if (serviceBrokerList != null ? !serviceBrokerList.equals(that.serviceBrokerList) :that.serviceBrokerList != null) return false;
            if (serviceInstance != null ? !serviceInstance.equals(that.serviceInstance) :that.serviceInstance != null) return false;
            if (serviceInstanceList != null ? !serviceInstanceList.equals(that.serviceInstanceList) :that.serviceInstanceList != null) return false;
            return true;
    }


    public class ClusterServiceBrokerNestedImpl extends ClusterServiceBrokerFluentImpl> implements ServicecatalogSchemaFluent.ClusterServiceBrokerNested,io.fabric8.kubernetes.api.builder.Nested{

            private final ClusterServiceBrokerBuilder builder;
    
            ClusterServiceBrokerNestedImpl(ClusterServiceBroker item){
                    this.builder = new ClusterServiceBrokerBuilder(this, item);
            }
            ClusterServiceBrokerNestedImpl(){
                    this.builder = new ClusterServiceBrokerBuilder(this);
            }
    
    public N and(){
            return (N) ServicecatalogSchemaFluentImpl.this.withClusterServiceBroker(builder.build());
    }
    public N endClusterServiceBroker(){
            return and();
    }

}
    public class ClusterServiceBrokerListNestedImpl extends ClusterServiceBrokerListFluentImpl> implements ServicecatalogSchemaFluent.ClusterServiceBrokerListNested,io.fabric8.kubernetes.api.builder.Nested{

            private final ClusterServiceBrokerListBuilder builder;
    
            ClusterServiceBrokerListNestedImpl(ClusterServiceBrokerList item){
                    this.builder = new ClusterServiceBrokerListBuilder(this, item);
            }
            ClusterServiceBrokerListNestedImpl(){
                    this.builder = new ClusterServiceBrokerListBuilder(this);
            }
    
    public N and(){
            return (N) ServicecatalogSchemaFluentImpl.this.withClusterServiceBrokerList(builder.build());
    }
    public N endClusterServiceBrokerList(){
            return and();
    }

}
    public class ClusterServiceClassNestedImpl extends ClusterServiceClassFluentImpl> implements ServicecatalogSchemaFluent.ClusterServiceClassNested,io.fabric8.kubernetes.api.builder.Nested{

            private final ClusterServiceClassBuilder builder;
    
            ClusterServiceClassNestedImpl(ClusterServiceClass item){
                    this.builder = new ClusterServiceClassBuilder(this, item);
            }
            ClusterServiceClassNestedImpl(){
                    this.builder = new ClusterServiceClassBuilder(this);
            }
    
    public N and(){
            return (N) ServicecatalogSchemaFluentImpl.this.withClusterServiceClass(builder.build());
    }
    public N endClusterServiceClass(){
            return and();
    }

}
    public class ClusterServiceClassListNestedImpl extends ClusterServiceClassListFluentImpl> implements ServicecatalogSchemaFluent.ClusterServiceClassListNested,io.fabric8.kubernetes.api.builder.Nested{

            private final ClusterServiceClassListBuilder builder;
    
            ClusterServiceClassListNestedImpl(ClusterServiceClassList item){
                    this.builder = new ClusterServiceClassListBuilder(this, item);
            }
            ClusterServiceClassListNestedImpl(){
                    this.builder = new ClusterServiceClassListBuilder(this);
            }
    
    public N and(){
            return (N) ServicecatalogSchemaFluentImpl.this.withClusterServiceClassList(builder.build());
    }
    public N endClusterServiceClassList(){
            return and();
    }

}
    public class ClusterServicePlanNestedImpl extends ClusterServicePlanFluentImpl> implements ServicecatalogSchemaFluent.ClusterServicePlanNested,io.fabric8.kubernetes.api.builder.Nested{

            private final ClusterServicePlanBuilder builder;
    
            ClusterServicePlanNestedImpl(ClusterServicePlan item){
                    this.builder = new ClusterServicePlanBuilder(this, item);
            }
            ClusterServicePlanNestedImpl(){
                    this.builder = new ClusterServicePlanBuilder(this);
            }
    
    public N and(){
            return (N) ServicecatalogSchemaFluentImpl.this.withClusterServicePlan(builder.build());
    }
    public N endClusterServicePlan(){
            return and();
    }

}
    public class ClusterServicePlanListNestedImpl extends ClusterServicePlanListFluentImpl> implements ServicecatalogSchemaFluent.ClusterServicePlanListNested,io.fabric8.kubernetes.api.builder.Nested{

            private final ClusterServicePlanListBuilder builder;
    
            ClusterServicePlanListNestedImpl(ClusterServicePlanList item){
                    this.builder = new ClusterServicePlanListBuilder(this, item);
            }
            ClusterServicePlanListNestedImpl(){
                    this.builder = new ClusterServicePlanListBuilder(this);
            }
    
    public N and(){
            return (N) ServicecatalogSchemaFluentImpl.this.withClusterServicePlanList(builder.build());
    }
    public N endClusterServicePlanList(){
            return and();
    }

}
    public class ServiceBindingNestedImpl extends ServiceBindingFluentImpl> implements ServicecatalogSchemaFluent.ServiceBindingNested,io.fabric8.kubernetes.api.builder.Nested{

            private final ServiceBindingBuilder builder;
    
            ServiceBindingNestedImpl(ServiceBinding item){
                    this.builder = new ServiceBindingBuilder(this, item);
            }
            ServiceBindingNestedImpl(){
                    this.builder = new ServiceBindingBuilder(this);
            }
    
    public N and(){
            return (N) ServicecatalogSchemaFluentImpl.this.withServiceBinding(builder.build());
    }
    public N endServiceBinding(){
            return and();
    }

}
    public class ServiceBindingListNestedImpl extends ServiceBindingListFluentImpl> implements ServicecatalogSchemaFluent.ServiceBindingListNested,io.fabric8.kubernetes.api.builder.Nested{

            private final ServiceBindingListBuilder builder;
    
            ServiceBindingListNestedImpl(ServiceBindingList item){
                    this.builder = new ServiceBindingListBuilder(this, item);
            }
            ServiceBindingListNestedImpl(){
                    this.builder = new ServiceBindingListBuilder(this);
            }
    
    public N and(){
            return (N) ServicecatalogSchemaFluentImpl.this.withServiceBindingList(builder.build());
    }
    public N endServiceBindingList(){
            return and();
    }

}
    public class ServiceBrokerNestedImpl extends ServiceBrokerFluentImpl> implements ServicecatalogSchemaFluent.ServiceBrokerNested,io.fabric8.kubernetes.api.builder.Nested{

            private final ServiceBrokerBuilder builder;
    
            ServiceBrokerNestedImpl(ServiceBroker item){
                    this.builder = new ServiceBrokerBuilder(this, item);
            }
            ServiceBrokerNestedImpl(){
                    this.builder = new ServiceBrokerBuilder(this);
            }
    
    public N and(){
            return (N) ServicecatalogSchemaFluentImpl.this.withServiceBroker(builder.build());
    }
    public N endServiceBroker(){
            return and();
    }

}
    public class ServiceBrokerListNestedImpl extends ServiceBrokerListFluentImpl> implements ServicecatalogSchemaFluent.ServiceBrokerListNested,io.fabric8.kubernetes.api.builder.Nested{

            private final ServiceBrokerListBuilder builder;
    
            ServiceBrokerListNestedImpl(ServiceBrokerList item){
                    this.builder = new ServiceBrokerListBuilder(this, item);
            }
            ServiceBrokerListNestedImpl(){
                    this.builder = new ServiceBrokerListBuilder(this);
            }
    
    public N and(){
            return (N) ServicecatalogSchemaFluentImpl.this.withServiceBrokerList(builder.build());
    }
    public N endServiceBrokerList(){
            return and();
    }

}
    public class ServiceInstanceNestedImpl extends ServiceInstanceFluentImpl> implements ServicecatalogSchemaFluent.ServiceInstanceNested,io.fabric8.kubernetes.api.builder.Nested{

            private final ServiceInstanceBuilder builder;
    
            ServiceInstanceNestedImpl(ServiceInstance item){
                    this.builder = new ServiceInstanceBuilder(this, item);
            }
            ServiceInstanceNestedImpl(){
                    this.builder = new ServiceInstanceBuilder(this);
            }
    
    public N and(){
            return (N) ServicecatalogSchemaFluentImpl.this.withServiceInstance(builder.build());
    }
    public N endServiceInstance(){
            return and();
    }

}
    public class ServiceInstanceListNestedImpl extends ServiceInstanceListFluentImpl> implements ServicecatalogSchemaFluent.ServiceInstanceListNested,io.fabric8.kubernetes.api.builder.Nested{

            private final ServiceInstanceListBuilder builder;
    
            ServiceInstanceListNestedImpl(ServiceInstanceList item){
                    this.builder = new ServiceInstanceListBuilder(this, item);
            }
            ServiceInstanceListNestedImpl(){
                    this.builder = new ServiceInstanceListBuilder(this);
            }
    
    public N and(){
            return (N) ServicecatalogSchemaFluentImpl.this.withServiceInstanceList(builder.build());
    }
    public N endServiceInstanceList(){
            return and();
    }

}


}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy