annotations.io.fabric8.knative.api.model.KnativeSchemaFluentImpl Maven / Gradle / Ivy
package io.fabric8.knative.api.model;
import io.fabric8.knative.serving.v1.ConfigurationBuilder;
import com.fasterxml.jackson.annotation.JsonProperty;
import io.fabric8.knative.serving.v1.Configuration;
import io.fabric8.knative.serving.v1.RevisionList;
import io.fabric8.knative.eventing.v1alpha1.TriggerListBuilder;
import io.fabric8.knative.serving.v1.RouteList;
import io.fabric8.knative.eventing.v1alpha1.EventTypeList;
import io.fabric8.kubernetes.api.builder.BaseFluent;
import io.fabric8.knative.eventing.v1alpha1.EventTypeListFluentImpl;
import io.fabric8.knative.eventing.v1alpha1.Subscription;
import java.lang.Boolean;
import io.fabric8.knative.serving.v1.ConfigurationFluentImpl;
import io.fabric8.knative.serving.v1.RevisionListFluentImpl;
import io.fabric8.knative.messaging.v1alpha1.InMemoryChannelListFluentImpl;
import io.fabric8.knative.serving.v1.RevisionFluentImpl;
import io.fabric8.knative.eventing.v1alpha1.SubscriptionBuilder;
import io.fabric8.knative.eventing.v1alpha1.BrokerFluentImpl;
import io.fabric8.knative.eventing.v1alpha1.TriggerBuilder;
import io.fabric8.knative.serving.v1.RouteListFluentImpl;
import io.fabric8.knative.eventing.v1alpha1.TriggerListFluentImpl;
import io.fabric8.knative.messaging.v1alpha1.InMemoryChannelList;
import java.lang.Object;
import io.fabric8.knative.eventing.v1alpha1.BrokerList;
import io.fabric8.knative.serving.v1.ConfigurationListBuilder;
import io.fabric8.knative.serving.v1.RouteListBuilder;
import io.fabric8.knative.serving.v1.RouteBuilder;
import io.fabric8.knative.eventing.v1alpha1.ChannelListFluentImpl;
import io.fabric8.knative.eventing.v1alpha1.BrokerListBuilder;
import io.fabric8.knative.eventing.v1alpha1.ChannelListBuilder;
import java.lang.Deprecated;
import io.fabric8.knative.serving.v1.ConfigurationList;
import io.fabric8.knative.eventing.v1alpha1.ChannelBuilder;
import io.fabric8.knative.eventing.v1alpha1.SubscriptionListFluentImpl;
import io.fabric8.knative.eventing.v1alpha1.SubscriptionFluentImpl;
import io.fabric8.knative.eventing.v1alpha1.BrokerBuilder;
import io.fabric8.knative.eventing.v1alpha1.EventTypeBuilder;
import io.fabric8.knative.eventing.v1alpha1.EventTypeListBuilder;
import io.fabric8.knative.eventing.v1alpha1.TriggerFluentImpl;
import io.fabric8.knative.eventing.v1alpha1.ChannelFluentImpl;
import io.fabric8.knative.eventing.v1alpha1.ClusterChannelProvisionerListBuilder;
import io.fabric8.knative.serving.v1.RevisionBuilder;
import io.fabric8.knative.messaging.v1alpha1.InMemoryChannelListBuilder;
import io.fabric8.knative.eventing.v1alpha1.SubscriptionList;
import io.fabric8.knative.eventing.v1alpha1.EventType;
import io.fabric8.knative.messaging.v1alpha1.InMemoryChannelFluentImpl;
import io.fabric8.knative.eventing.v1alpha1.ClusterChannelProvisionerList;
import io.fabric8.knative.eventing.v1alpha1.EventTypeFluentImpl;
import io.fabric8.knative.eventing.v1alpha1.ClusterChannelProvisionerFluentImpl;
import io.fabric8.knative.eventing.v1alpha1.Trigger;
import io.fabric8.knative.eventing.v1alpha1.ClusterChannelProvisionerListFluentImpl;
import io.fabric8.knative.serving.v1.RevisionListBuilder;
import io.fabric8.knative.eventing.v1alpha1.TriggerList;
import io.fabric8.knative.eventing.v1alpha1.ChannelList;
import io.fabric8.knative.serving.v1.Route;
import io.fabric8.knative.serving.v1.RouteFluentImpl;
import io.fabric8.knative.serving.v1.ServiceListBuilder;
import io.fabric8.knative.messaging.v1alpha1.SequenceListFluentImpl;
import io.fabric8.knative.serving.v1.ServiceList;
import io.fabric8.knative.eventing.v1alpha1.Channel;
import io.fabric8.knative.serving.v1.ServiceListFluentImpl;
import io.fabric8.knative.messaging.v1alpha1.Sequence;
import io.fabric8.knative.messaging.v1alpha1.SequenceListBuilder;
import io.fabric8.knative.serving.v1.ConfigurationListFluentImpl;
import io.fabric8.knative.eventing.v1alpha1.ClusterChannelProvisioner;
import io.fabric8.knative.serving.v1.Revision;
import io.fabric8.knative.eventing.v1alpha1.SubscriptionListBuilder;
import io.fabric8.knative.messaging.v1alpha1.InMemoryChannel;
import io.fabric8.knative.messaging.v1alpha1.SequenceFluentImpl;
import io.fabric8.knative.eventing.v1alpha1.ClusterChannelProvisionerBuilder;
import io.fabric8.knative.messaging.v1alpha1.SequenceBuilder;
import io.fabric8.kubernetes.api.builder.Nested;
import io.fabric8.knative.messaging.v1alpha1.InMemoryChannelBuilder;
import io.fabric8.knative.serving.v1.ServiceBuilder;
import io.fabric8.knative.eventing.v1alpha1.Broker;
import io.fabric8.knative.serving.v1.Service;
import io.fabric8.knative.messaging.v1alpha1.SequenceList;
import io.fabric8.knative.serving.v1.ServiceFluentImpl;
import io.fabric8.knative.eventing.v1alpha1.BrokerListFluentImpl;
public class KnativeSchemaFluentImpl> extends io.fabric8.kubernetes.api.builder.BaseFluent implements KnativeSchemaFluent{
private BrokerBuilder broker;
private BrokerListBuilder brokerList;
private ChannelBuilder channel;
private ChannelListBuilder channelList;
private ClusterChannelProvisionerBuilder clusterChannelProvisioner;
private ClusterChannelProvisionerListBuilder clusterChannelProvisionerList;
private EventTypeBuilder eventType;
private EventTypeListBuilder eventTypeList;
private InMemoryChannelBuilder inMemoryChannel;
private InMemoryChannelListBuilder inMemoryChannelList;
private SequenceBuilder sequence;
private SequenceListBuilder sequenceList;
private SubscriptionBuilder subscription;
private SubscriptionListBuilder subscriptionList;
private TriggerBuilder trigger;
private TriggerListBuilder triggerList;
private ConfigurationBuilder v1Configuration;
private ConfigurationListBuilder v1ConfigurationList;
private RevisionBuilder v1Revision;
private RevisionListBuilder v1RevisionList;
private RouteBuilder v1Route;
private RouteListBuilder v1RouteList;
private ServiceBuilder v1Service;
private ServiceListBuilder v1ServiceList;
private io.fabric8.knative.serving.v1alpha1.ConfigurationBuilder v1alpha1Configuration;
private io.fabric8.knative.serving.v1alpha1.ConfigurationListBuilder v1alpha1ConfigurationList;
private io.fabric8.knative.serving.v1alpha1.RevisionBuilder v1alpha1Revision;
private io.fabric8.knative.serving.v1alpha1.RevisionListBuilder v1alpha1RevisionList;
private io.fabric8.knative.serving.v1alpha1.RouteBuilder v1alpha1Route;
private io.fabric8.knative.serving.v1alpha1.RouteListBuilder v1alpha1RouteList;
private io.fabric8.knative.serving.v1alpha1.ServiceBuilder v1alpha1Service;
private io.fabric8.knative.serving.v1alpha1.ServiceListBuilder v1alpha1ServiceList;
private io.fabric8.knative.serving.v1beta1.ConfigurationBuilder v1beta1Configuration;
private io.fabric8.knative.serving.v1beta1.ConfigurationListBuilder v1beta1ConfigurationList;
private io.fabric8.knative.serving.v1beta1.RevisionBuilder v1beta1Revision;
private io.fabric8.knative.serving.v1beta1.RevisionListBuilder v1beta1RevisionList;
private io.fabric8.knative.serving.v1beta1.RouteBuilder v1beta1Route;
private io.fabric8.knative.serving.v1beta1.RouteListBuilder v1beta1RouteList;
private io.fabric8.knative.serving.v1beta1.ServiceBuilder v1beta1Service;
private io.fabric8.knative.serving.v1beta1.ServiceListBuilder v1beta1ServiceList;
public KnativeSchemaFluentImpl(){
}
public KnativeSchemaFluentImpl(KnativeSchema instance){
this.withBroker(instance.getBroker());
this.withBrokerList(instance.getBrokerList());
this.withChannel(instance.getChannel());
this.withChannelList(instance.getChannelList());
this.withClusterChannelProvisioner(instance.getClusterChannelProvisioner());
this.withClusterChannelProvisionerList(instance.getClusterChannelProvisionerList());
this.withEventType(instance.getEventType());
this.withEventTypeList(instance.getEventTypeList());
this.withInMemoryChannel(instance.getInMemoryChannel());
this.withInMemoryChannelList(instance.getInMemoryChannelList());
this.withSequence(instance.getSequence());
this.withSequenceList(instance.getSequenceList());
this.withSubscription(instance.getSubscription());
this.withSubscriptionList(instance.getSubscriptionList());
this.withTrigger(instance.getTrigger());
this.withTriggerList(instance.getTriggerList());
this.withV1Configuration(instance.getV1Configuration());
this.withV1ConfigurationList(instance.getV1ConfigurationList());
this.withV1Revision(instance.getV1Revision());
this.withV1RevisionList(instance.getV1RevisionList());
this.withV1Route(instance.getV1Route());
this.withV1RouteList(instance.getV1RouteList());
this.withV1Service(instance.getV1Service());
this.withV1ServiceList(instance.getV1ServiceList());
this.withV1alpha1Configuration(instance.getV1alpha1Configuration());
this.withV1alpha1ConfigurationList(instance.getV1alpha1ConfigurationList());
this.withV1alpha1Revision(instance.getV1alpha1Revision());
this.withV1alpha1RevisionList(instance.getV1alpha1RevisionList());
this.withV1alpha1Route(instance.getV1alpha1Route());
this.withV1alpha1RouteList(instance.getV1alpha1RouteList());
this.withV1alpha1Service(instance.getV1alpha1Service());
this.withV1alpha1ServiceList(instance.getV1alpha1ServiceList());
this.withV1beta1Configuration(instance.getV1beta1Configuration());
this.withV1beta1ConfigurationList(instance.getV1beta1ConfigurationList());
this.withV1beta1Revision(instance.getV1beta1Revision());
this.withV1beta1RevisionList(instance.getV1beta1RevisionList());
this.withV1beta1Route(instance.getV1beta1Route());
this.withV1beta1RouteList(instance.getV1beta1RouteList());
this.withV1beta1Service(instance.getV1beta1Service());
this.withV1beta1ServiceList(instance.getV1beta1ServiceList());
}
/**
* This method has been deprecated, please use method buildBroker instead.
* @return The buildable object.
*/
@Deprecated public Broker getBroker(){
return this.broker!=null?this.broker.build():null;
}
public Broker buildBroker(){
return this.broker!=null?this.broker.build():null;
}
public A withBroker(Broker broker){
_visitables.get("broker").remove(this.broker);
if (broker!=null){ this.broker= new BrokerBuilder(broker); _visitables.get("broker").add(this.broker);} return (A) this;
}
public Boolean hasBroker(){
return this.broker != null;
}
public KnativeSchemaFluent.BrokerNested withNewBroker(){
return new BrokerNestedImpl();
}
public KnativeSchemaFluent.BrokerNested withNewBrokerLike(Broker item){
return new BrokerNestedImpl(item);
}
public KnativeSchemaFluent.BrokerNested editBroker(){
return withNewBrokerLike(getBroker());
}
public KnativeSchemaFluent.BrokerNested editOrNewBroker(){
return withNewBrokerLike(getBroker() != null ? getBroker(): new BrokerBuilder().build());
}
public KnativeSchemaFluent.BrokerNested editOrNewBrokerLike(Broker item){
return withNewBrokerLike(getBroker() != null ? getBroker(): item);
}
/**
* This method has been deprecated, please use method buildBrokerList instead.
* @return The buildable object.
*/
@Deprecated public BrokerList getBrokerList(){
return this.brokerList!=null?this.brokerList.build():null;
}
public BrokerList buildBrokerList(){
return this.brokerList!=null?this.brokerList.build():null;
}
public A withBrokerList(BrokerList brokerList){
_visitables.get("brokerList").remove(this.brokerList);
if (brokerList!=null){ this.brokerList= new BrokerListBuilder(brokerList); _visitables.get("brokerList").add(this.brokerList);} return (A) this;
}
public Boolean hasBrokerList(){
return this.brokerList != null;
}
public KnativeSchemaFluent.BrokerListNested withNewBrokerList(){
return new BrokerListNestedImpl();
}
public KnativeSchemaFluent.BrokerListNested withNewBrokerListLike(BrokerList item){
return new BrokerListNestedImpl(item);
}
public KnativeSchemaFluent.BrokerListNested editBrokerList(){
return withNewBrokerListLike(getBrokerList());
}
public KnativeSchemaFluent.BrokerListNested editOrNewBrokerList(){
return withNewBrokerListLike(getBrokerList() != null ? getBrokerList(): new BrokerListBuilder().build());
}
public KnativeSchemaFluent.BrokerListNested editOrNewBrokerListLike(BrokerList item){
return withNewBrokerListLike(getBrokerList() != null ? getBrokerList(): item);
}
/**
* This method has been deprecated, please use method buildChannel instead.
* @return The buildable object.
*/
@Deprecated public Channel getChannel(){
return this.channel!=null?this.channel.build():null;
}
public Channel buildChannel(){
return this.channel!=null?this.channel.build():null;
}
public A withChannel(Channel channel){
_visitables.get("channel").remove(this.channel);
if (channel!=null){ this.channel= new ChannelBuilder(channel); _visitables.get("channel").add(this.channel);} return (A) this;
}
public Boolean hasChannel(){
return this.channel != null;
}
public KnativeSchemaFluent.ChannelNested withNewChannel(){
return new ChannelNestedImpl();
}
public KnativeSchemaFluent.ChannelNested withNewChannelLike(Channel item){
return new ChannelNestedImpl(item);
}
public KnativeSchemaFluent.ChannelNested editChannel(){
return withNewChannelLike(getChannel());
}
public KnativeSchemaFluent.ChannelNested editOrNewChannel(){
return withNewChannelLike(getChannel() != null ? getChannel(): new ChannelBuilder().build());
}
public KnativeSchemaFluent.ChannelNested editOrNewChannelLike(Channel item){
return withNewChannelLike(getChannel() != null ? getChannel(): item);
}
/**
* This method has been deprecated, please use method buildChannelList instead.
* @return The buildable object.
*/
@Deprecated public ChannelList getChannelList(){
return this.channelList!=null?this.channelList.build():null;
}
public ChannelList buildChannelList(){
return this.channelList!=null?this.channelList.build():null;
}
public A withChannelList(ChannelList channelList){
_visitables.get("channelList").remove(this.channelList);
if (channelList!=null){ this.channelList= new ChannelListBuilder(channelList); _visitables.get("channelList").add(this.channelList);} return (A) this;
}
public Boolean hasChannelList(){
return this.channelList != null;
}
public KnativeSchemaFluent.ChannelListNested withNewChannelList(){
return new ChannelListNestedImpl();
}
public KnativeSchemaFluent.ChannelListNested withNewChannelListLike(ChannelList item){
return new ChannelListNestedImpl(item);
}
public KnativeSchemaFluent.ChannelListNested editChannelList(){
return withNewChannelListLike(getChannelList());
}
public KnativeSchemaFluent.ChannelListNested editOrNewChannelList(){
return withNewChannelListLike(getChannelList() != null ? getChannelList(): new ChannelListBuilder().build());
}
public KnativeSchemaFluent.ChannelListNested editOrNewChannelListLike(ChannelList item){
return withNewChannelListLike(getChannelList() != null ? getChannelList(): item);
}
/**
* This method has been deprecated, please use method buildClusterChannelProvisioner instead.
* @return The buildable object.
*/
@Deprecated public ClusterChannelProvisioner getClusterChannelProvisioner(){
return this.clusterChannelProvisioner!=null?this.clusterChannelProvisioner.build():null;
}
public ClusterChannelProvisioner buildClusterChannelProvisioner(){
return this.clusterChannelProvisioner!=null?this.clusterChannelProvisioner.build():null;
}
public A withClusterChannelProvisioner(ClusterChannelProvisioner clusterChannelProvisioner){
_visitables.get("clusterChannelProvisioner").remove(this.clusterChannelProvisioner);
if (clusterChannelProvisioner!=null){ this.clusterChannelProvisioner= new ClusterChannelProvisionerBuilder(clusterChannelProvisioner); _visitables.get("clusterChannelProvisioner").add(this.clusterChannelProvisioner);} return (A) this;
}
public Boolean hasClusterChannelProvisioner(){
return this.clusterChannelProvisioner != null;
}
public KnativeSchemaFluent.ClusterChannelProvisionerNested withNewClusterChannelProvisioner(){
return new ClusterChannelProvisionerNestedImpl();
}
public KnativeSchemaFluent.ClusterChannelProvisionerNested withNewClusterChannelProvisionerLike(ClusterChannelProvisioner item){
return new ClusterChannelProvisionerNestedImpl(item);
}
public KnativeSchemaFluent.ClusterChannelProvisionerNested editClusterChannelProvisioner(){
return withNewClusterChannelProvisionerLike(getClusterChannelProvisioner());
}
public KnativeSchemaFluent.ClusterChannelProvisionerNested editOrNewClusterChannelProvisioner(){
return withNewClusterChannelProvisionerLike(getClusterChannelProvisioner() != null ? getClusterChannelProvisioner(): new ClusterChannelProvisionerBuilder().build());
}
public KnativeSchemaFluent.ClusterChannelProvisionerNested editOrNewClusterChannelProvisionerLike(ClusterChannelProvisioner item){
return withNewClusterChannelProvisionerLike(getClusterChannelProvisioner() != null ? getClusterChannelProvisioner(): item);
}
/**
* This method has been deprecated, please use method buildClusterChannelProvisionerList instead.
* @return The buildable object.
*/
@Deprecated public ClusterChannelProvisionerList getClusterChannelProvisionerList(){
return this.clusterChannelProvisionerList!=null?this.clusterChannelProvisionerList.build():null;
}
public ClusterChannelProvisionerList buildClusterChannelProvisionerList(){
return this.clusterChannelProvisionerList!=null?this.clusterChannelProvisionerList.build():null;
}
public A withClusterChannelProvisionerList(ClusterChannelProvisionerList clusterChannelProvisionerList){
_visitables.get("clusterChannelProvisionerList").remove(this.clusterChannelProvisionerList);
if (clusterChannelProvisionerList!=null){ this.clusterChannelProvisionerList= new ClusterChannelProvisionerListBuilder(clusterChannelProvisionerList); _visitables.get("clusterChannelProvisionerList").add(this.clusterChannelProvisionerList);} return (A) this;
}
public Boolean hasClusterChannelProvisionerList(){
return this.clusterChannelProvisionerList != null;
}
public KnativeSchemaFluent.ClusterChannelProvisionerListNested withNewClusterChannelProvisionerList(){
return new ClusterChannelProvisionerListNestedImpl();
}
public KnativeSchemaFluent.ClusterChannelProvisionerListNested withNewClusterChannelProvisionerListLike(ClusterChannelProvisionerList item){
return new ClusterChannelProvisionerListNestedImpl(item);
}
public KnativeSchemaFluent.ClusterChannelProvisionerListNested editClusterChannelProvisionerList(){
return withNewClusterChannelProvisionerListLike(getClusterChannelProvisionerList());
}
public KnativeSchemaFluent.ClusterChannelProvisionerListNested editOrNewClusterChannelProvisionerList(){
return withNewClusterChannelProvisionerListLike(getClusterChannelProvisionerList() != null ? getClusterChannelProvisionerList(): new ClusterChannelProvisionerListBuilder().build());
}
public KnativeSchemaFluent.ClusterChannelProvisionerListNested editOrNewClusterChannelProvisionerListLike(ClusterChannelProvisionerList item){
return withNewClusterChannelProvisionerListLike(getClusterChannelProvisionerList() != null ? getClusterChannelProvisionerList(): item);
}
/**
* This method has been deprecated, please use method buildEventType instead.
* @return The buildable object.
*/
@Deprecated public EventType getEventType(){
return this.eventType!=null?this.eventType.build():null;
}
public EventType buildEventType(){
return this.eventType!=null?this.eventType.build():null;
}
public A withEventType(EventType eventType){
_visitables.get("eventType").remove(this.eventType);
if (eventType!=null){ this.eventType= new EventTypeBuilder(eventType); _visitables.get("eventType").add(this.eventType);} return (A) this;
}
public Boolean hasEventType(){
return this.eventType != null;
}
public KnativeSchemaFluent.EventTypeNested withNewEventType(){
return new EventTypeNestedImpl();
}
public KnativeSchemaFluent.EventTypeNested withNewEventTypeLike(EventType item){
return new EventTypeNestedImpl(item);
}
public KnativeSchemaFluent.EventTypeNested editEventType(){
return withNewEventTypeLike(getEventType());
}
public KnativeSchemaFluent.EventTypeNested editOrNewEventType(){
return withNewEventTypeLike(getEventType() != null ? getEventType(): new EventTypeBuilder().build());
}
public KnativeSchemaFluent.EventTypeNested editOrNewEventTypeLike(EventType item){
return withNewEventTypeLike(getEventType() != null ? getEventType(): item);
}
/**
* This method has been deprecated, please use method buildEventTypeList instead.
* @return The buildable object.
*/
@Deprecated public EventTypeList getEventTypeList(){
return this.eventTypeList!=null?this.eventTypeList.build():null;
}
public EventTypeList buildEventTypeList(){
return this.eventTypeList!=null?this.eventTypeList.build():null;
}
public A withEventTypeList(EventTypeList eventTypeList){
_visitables.get("eventTypeList").remove(this.eventTypeList);
if (eventTypeList!=null){ this.eventTypeList= new EventTypeListBuilder(eventTypeList); _visitables.get("eventTypeList").add(this.eventTypeList);} return (A) this;
}
public Boolean hasEventTypeList(){
return this.eventTypeList != null;
}
public KnativeSchemaFluent.EventTypeListNested withNewEventTypeList(){
return new EventTypeListNestedImpl();
}
public KnativeSchemaFluent.EventTypeListNested withNewEventTypeListLike(EventTypeList item){
return new EventTypeListNestedImpl(item);
}
public KnativeSchemaFluent.EventTypeListNested editEventTypeList(){
return withNewEventTypeListLike(getEventTypeList());
}
public KnativeSchemaFluent.EventTypeListNested editOrNewEventTypeList(){
return withNewEventTypeListLike(getEventTypeList() != null ? getEventTypeList(): new EventTypeListBuilder().build());
}
public KnativeSchemaFluent.EventTypeListNested editOrNewEventTypeListLike(EventTypeList item){
return withNewEventTypeListLike(getEventTypeList() != null ? getEventTypeList(): item);
}
/**
* This method has been deprecated, please use method buildInMemoryChannel instead.
* @return The buildable object.
*/
@Deprecated public InMemoryChannel getInMemoryChannel(){
return this.inMemoryChannel!=null?this.inMemoryChannel.build():null;
}
public InMemoryChannel buildInMemoryChannel(){
return this.inMemoryChannel!=null?this.inMemoryChannel.build():null;
}
public A withInMemoryChannel(InMemoryChannel inMemoryChannel){
_visitables.get("inMemoryChannel").remove(this.inMemoryChannel);
if (inMemoryChannel!=null){ this.inMemoryChannel= new InMemoryChannelBuilder(inMemoryChannel); _visitables.get("inMemoryChannel").add(this.inMemoryChannel);} return (A) this;
}
public Boolean hasInMemoryChannel(){
return this.inMemoryChannel != null;
}
public KnativeSchemaFluent.InMemoryChannelNested withNewInMemoryChannel(){
return new InMemoryChannelNestedImpl();
}
public KnativeSchemaFluent.InMemoryChannelNested withNewInMemoryChannelLike(InMemoryChannel item){
return new InMemoryChannelNestedImpl(item);
}
public KnativeSchemaFluent.InMemoryChannelNested editInMemoryChannel(){
return withNewInMemoryChannelLike(getInMemoryChannel());
}
public KnativeSchemaFluent.InMemoryChannelNested editOrNewInMemoryChannel(){
return withNewInMemoryChannelLike(getInMemoryChannel() != null ? getInMemoryChannel(): new InMemoryChannelBuilder().build());
}
public KnativeSchemaFluent.InMemoryChannelNested editOrNewInMemoryChannelLike(InMemoryChannel item){
return withNewInMemoryChannelLike(getInMemoryChannel() != null ? getInMemoryChannel(): item);
}
/**
* This method has been deprecated, please use method buildInMemoryChannelList instead.
* @return The buildable object.
*/
@Deprecated public InMemoryChannelList getInMemoryChannelList(){
return this.inMemoryChannelList!=null?this.inMemoryChannelList.build():null;
}
public InMemoryChannelList buildInMemoryChannelList(){
return this.inMemoryChannelList!=null?this.inMemoryChannelList.build():null;
}
public A withInMemoryChannelList(InMemoryChannelList inMemoryChannelList){
_visitables.get("inMemoryChannelList").remove(this.inMemoryChannelList);
if (inMemoryChannelList!=null){ this.inMemoryChannelList= new InMemoryChannelListBuilder(inMemoryChannelList); _visitables.get("inMemoryChannelList").add(this.inMemoryChannelList);} return (A) this;
}
public Boolean hasInMemoryChannelList(){
return this.inMemoryChannelList != null;
}
public KnativeSchemaFluent.InMemoryChannelListNested withNewInMemoryChannelList(){
return new InMemoryChannelListNestedImpl();
}
public KnativeSchemaFluent.InMemoryChannelListNested withNewInMemoryChannelListLike(InMemoryChannelList item){
return new InMemoryChannelListNestedImpl(item);
}
public KnativeSchemaFluent.InMemoryChannelListNested editInMemoryChannelList(){
return withNewInMemoryChannelListLike(getInMemoryChannelList());
}
public KnativeSchemaFluent.InMemoryChannelListNested editOrNewInMemoryChannelList(){
return withNewInMemoryChannelListLike(getInMemoryChannelList() != null ? getInMemoryChannelList(): new InMemoryChannelListBuilder().build());
}
public KnativeSchemaFluent.InMemoryChannelListNested editOrNewInMemoryChannelListLike(InMemoryChannelList item){
return withNewInMemoryChannelListLike(getInMemoryChannelList() != null ? getInMemoryChannelList(): item);
}
/**
* This method has been deprecated, please use method buildSequence instead.
* @return The buildable object.
*/
@Deprecated public Sequence getSequence(){
return this.sequence!=null?this.sequence.build():null;
}
public Sequence buildSequence(){
return this.sequence!=null?this.sequence.build():null;
}
public A withSequence(Sequence sequence){
_visitables.get("sequence").remove(this.sequence);
if (sequence!=null){ this.sequence= new SequenceBuilder(sequence); _visitables.get("sequence").add(this.sequence);} return (A) this;
}
public Boolean hasSequence(){
return this.sequence != null;
}
public KnativeSchemaFluent.SequenceNested withNewSequence(){
return new SequenceNestedImpl();
}
public KnativeSchemaFluent.SequenceNested withNewSequenceLike(Sequence item){
return new SequenceNestedImpl(item);
}
public KnativeSchemaFluent.SequenceNested editSequence(){
return withNewSequenceLike(getSequence());
}
public KnativeSchemaFluent.SequenceNested editOrNewSequence(){
return withNewSequenceLike(getSequence() != null ? getSequence(): new SequenceBuilder().build());
}
public KnativeSchemaFluent.SequenceNested editOrNewSequenceLike(Sequence item){
return withNewSequenceLike(getSequence() != null ? getSequence(): item);
}
/**
* This method has been deprecated, please use method buildSequenceList instead.
* @return The buildable object.
*/
@Deprecated public SequenceList getSequenceList(){
return this.sequenceList!=null?this.sequenceList.build():null;
}
public SequenceList buildSequenceList(){
return this.sequenceList!=null?this.sequenceList.build():null;
}
public A withSequenceList(SequenceList sequenceList){
_visitables.get("sequenceList").remove(this.sequenceList);
if (sequenceList!=null){ this.sequenceList= new SequenceListBuilder(sequenceList); _visitables.get("sequenceList").add(this.sequenceList);} return (A) this;
}
public Boolean hasSequenceList(){
return this.sequenceList != null;
}
public KnativeSchemaFluent.SequenceListNested withNewSequenceList(){
return new SequenceListNestedImpl();
}
public KnativeSchemaFluent.SequenceListNested withNewSequenceListLike(SequenceList item){
return new SequenceListNestedImpl(item);
}
public KnativeSchemaFluent.SequenceListNested editSequenceList(){
return withNewSequenceListLike(getSequenceList());
}
public KnativeSchemaFluent.SequenceListNested editOrNewSequenceList(){
return withNewSequenceListLike(getSequenceList() != null ? getSequenceList(): new SequenceListBuilder().build());
}
public KnativeSchemaFluent.SequenceListNested editOrNewSequenceListLike(SequenceList item){
return withNewSequenceListLike(getSequenceList() != null ? getSequenceList(): item);
}
/**
* This method has been deprecated, please use method buildSubscription instead.
* @return The buildable object.
*/
@Deprecated public Subscription getSubscription(){
return this.subscription!=null?this.subscription.build():null;
}
public Subscription buildSubscription(){
return this.subscription!=null?this.subscription.build():null;
}
public A withSubscription(Subscription subscription){
_visitables.get("subscription").remove(this.subscription);
if (subscription!=null){ this.subscription= new SubscriptionBuilder(subscription); _visitables.get("subscription").add(this.subscription);} return (A) this;
}
public Boolean hasSubscription(){
return this.subscription != null;
}
public KnativeSchemaFluent.SubscriptionNested withNewSubscription(){
return new SubscriptionNestedImpl();
}
public KnativeSchemaFluent.SubscriptionNested withNewSubscriptionLike(Subscription item){
return new SubscriptionNestedImpl(item);
}
public KnativeSchemaFluent.SubscriptionNested editSubscription(){
return withNewSubscriptionLike(getSubscription());
}
public KnativeSchemaFluent.SubscriptionNested editOrNewSubscription(){
return withNewSubscriptionLike(getSubscription() != null ? getSubscription(): new SubscriptionBuilder().build());
}
public KnativeSchemaFluent.SubscriptionNested editOrNewSubscriptionLike(Subscription item){
return withNewSubscriptionLike(getSubscription() != null ? getSubscription(): item);
}
/**
* This method has been deprecated, please use method buildSubscriptionList instead.
* @return The buildable object.
*/
@Deprecated public SubscriptionList getSubscriptionList(){
return this.subscriptionList!=null?this.subscriptionList.build():null;
}
public SubscriptionList buildSubscriptionList(){
return this.subscriptionList!=null?this.subscriptionList.build():null;
}
public A withSubscriptionList(SubscriptionList subscriptionList){
_visitables.get("subscriptionList").remove(this.subscriptionList);
if (subscriptionList!=null){ this.subscriptionList= new SubscriptionListBuilder(subscriptionList); _visitables.get("subscriptionList").add(this.subscriptionList);} return (A) this;
}
public Boolean hasSubscriptionList(){
return this.subscriptionList != null;
}
public KnativeSchemaFluent.SubscriptionListNested withNewSubscriptionList(){
return new SubscriptionListNestedImpl();
}
public KnativeSchemaFluent.SubscriptionListNested withNewSubscriptionListLike(SubscriptionList item){
return new SubscriptionListNestedImpl(item);
}
public KnativeSchemaFluent.SubscriptionListNested editSubscriptionList(){
return withNewSubscriptionListLike(getSubscriptionList());
}
public KnativeSchemaFluent.SubscriptionListNested editOrNewSubscriptionList(){
return withNewSubscriptionListLike(getSubscriptionList() != null ? getSubscriptionList(): new SubscriptionListBuilder().build());
}
public KnativeSchemaFluent.SubscriptionListNested editOrNewSubscriptionListLike(SubscriptionList item){
return withNewSubscriptionListLike(getSubscriptionList() != null ? getSubscriptionList(): item);
}
/**
* This method has been deprecated, please use method buildTrigger instead.
* @return The buildable object.
*/
@Deprecated public Trigger getTrigger(){
return this.trigger!=null?this.trigger.build():null;
}
public Trigger buildTrigger(){
return this.trigger!=null?this.trigger.build():null;
}
public A withTrigger(Trigger trigger){
_visitables.get("trigger").remove(this.trigger);
if (trigger!=null){ this.trigger= new TriggerBuilder(trigger); _visitables.get("trigger").add(this.trigger);} return (A) this;
}
public Boolean hasTrigger(){
return this.trigger != null;
}
public KnativeSchemaFluent.TriggerNested withNewTrigger(){
return new TriggerNestedImpl();
}
public KnativeSchemaFluent.TriggerNested withNewTriggerLike(Trigger item){
return new TriggerNestedImpl(item);
}
public KnativeSchemaFluent.TriggerNested editTrigger(){
return withNewTriggerLike(getTrigger());
}
public KnativeSchemaFluent.TriggerNested editOrNewTrigger(){
return withNewTriggerLike(getTrigger() != null ? getTrigger(): new TriggerBuilder().build());
}
public KnativeSchemaFluent.TriggerNested editOrNewTriggerLike(Trigger item){
return withNewTriggerLike(getTrigger() != null ? getTrigger(): item);
}
/**
* This method has been deprecated, please use method buildTriggerList instead.
* @return The buildable object.
*/
@Deprecated public TriggerList getTriggerList(){
return this.triggerList!=null?this.triggerList.build():null;
}
public TriggerList buildTriggerList(){
return this.triggerList!=null?this.triggerList.build():null;
}
public A withTriggerList(TriggerList triggerList){
_visitables.get("triggerList").remove(this.triggerList);
if (triggerList!=null){ this.triggerList= new TriggerListBuilder(triggerList); _visitables.get("triggerList").add(this.triggerList);} return (A) this;
}
public Boolean hasTriggerList(){
return this.triggerList != null;
}
public KnativeSchemaFluent.TriggerListNested withNewTriggerList(){
return new TriggerListNestedImpl();
}
public KnativeSchemaFluent.TriggerListNested withNewTriggerListLike(TriggerList item){
return new TriggerListNestedImpl(item);
}
public KnativeSchemaFluent.TriggerListNested editTriggerList(){
return withNewTriggerListLike(getTriggerList());
}
public KnativeSchemaFluent.TriggerListNested editOrNewTriggerList(){
return withNewTriggerListLike(getTriggerList() != null ? getTriggerList(): new TriggerListBuilder().build());
}
public KnativeSchemaFluent.TriggerListNested editOrNewTriggerListLike(TriggerList item){
return withNewTriggerListLike(getTriggerList() != null ? getTriggerList(): item);
}
/**
* This method has been deprecated, please use method buildV1Configuration instead.
* @return The buildable object.
*/
@Deprecated public Configuration getV1Configuration(){
return this.v1Configuration!=null?this.v1Configuration.build():null;
}
public Configuration buildV1Configuration(){
return this.v1Configuration!=null?this.v1Configuration.build():null;
}
public A withV1Configuration(Configuration v1Configuration){
_visitables.get("v1Configuration").remove(this.v1Configuration);
if (v1Configuration!=null){ this.v1Configuration= new ConfigurationBuilder(v1Configuration); _visitables.get("v1Configuration").add(this.v1Configuration);} return (A) this;
}
public Boolean hasV1Configuration(){
return this.v1Configuration != null;
}
public KnativeSchemaFluent.V1ConfigurationNested withNewV1Configuration(){
return new V1ConfigurationNestedImpl();
}
public KnativeSchemaFluent.V1ConfigurationNested withNewV1ConfigurationLike(Configuration item){
return new V1ConfigurationNestedImpl(item);
}
public KnativeSchemaFluent.V1ConfigurationNested editV1Configuration(){
return withNewV1ConfigurationLike(getV1Configuration());
}
public KnativeSchemaFluent.V1ConfigurationNested editOrNewV1Configuration(){
return withNewV1ConfigurationLike(getV1Configuration() != null ? getV1Configuration(): new ConfigurationBuilder().build());
}
public KnativeSchemaFluent.V1ConfigurationNested editOrNewV1ConfigurationLike(Configuration item){
return withNewV1ConfigurationLike(getV1Configuration() != null ? getV1Configuration(): item);
}
/**
* This method has been deprecated, please use method buildV1ConfigurationList instead.
* @return The buildable object.
*/
@Deprecated public ConfigurationList getV1ConfigurationList(){
return this.v1ConfigurationList!=null?this.v1ConfigurationList.build():null;
}
public ConfigurationList buildV1ConfigurationList(){
return this.v1ConfigurationList!=null?this.v1ConfigurationList.build():null;
}
public A withV1ConfigurationList(ConfigurationList v1ConfigurationList){
_visitables.get("v1ConfigurationList").remove(this.v1ConfigurationList);
if (v1ConfigurationList!=null){ this.v1ConfigurationList= new ConfigurationListBuilder(v1ConfigurationList); _visitables.get("v1ConfigurationList").add(this.v1ConfigurationList);} return (A) this;
}
public Boolean hasV1ConfigurationList(){
return this.v1ConfigurationList != null;
}
public KnativeSchemaFluent.V1ConfigurationListNested withNewV1ConfigurationList(){
return new V1ConfigurationListNestedImpl();
}
public KnativeSchemaFluent.V1ConfigurationListNested withNewV1ConfigurationListLike(ConfigurationList item){
return new V1ConfigurationListNestedImpl(item);
}
public KnativeSchemaFluent.V1ConfigurationListNested editV1ConfigurationList(){
return withNewV1ConfigurationListLike(getV1ConfigurationList());
}
public KnativeSchemaFluent.V1ConfigurationListNested editOrNewV1ConfigurationList(){
return withNewV1ConfigurationListLike(getV1ConfigurationList() != null ? getV1ConfigurationList(): new ConfigurationListBuilder().build());
}
public KnativeSchemaFluent.V1ConfigurationListNested editOrNewV1ConfigurationListLike(ConfigurationList item){
return withNewV1ConfigurationListLike(getV1ConfigurationList() != null ? getV1ConfigurationList(): item);
}
/**
* This method has been deprecated, please use method buildV1Revision instead.
* @return The buildable object.
*/
@Deprecated public Revision getV1Revision(){
return this.v1Revision!=null?this.v1Revision.build():null;
}
public Revision buildV1Revision(){
return this.v1Revision!=null?this.v1Revision.build():null;
}
public A withV1Revision(Revision v1Revision){
_visitables.get("v1Revision").remove(this.v1Revision);
if (v1Revision!=null){ this.v1Revision= new RevisionBuilder(v1Revision); _visitables.get("v1Revision").add(this.v1Revision);} return (A) this;
}
public Boolean hasV1Revision(){
return this.v1Revision != null;
}
public KnativeSchemaFluent.V1RevisionNested withNewV1Revision(){
return new V1RevisionNestedImpl();
}
public KnativeSchemaFluent.V1RevisionNested withNewV1RevisionLike(Revision item){
return new V1RevisionNestedImpl(item);
}
public KnativeSchemaFluent.V1RevisionNested editV1Revision(){
return withNewV1RevisionLike(getV1Revision());
}
public KnativeSchemaFluent.V1RevisionNested editOrNewV1Revision(){
return withNewV1RevisionLike(getV1Revision() != null ? getV1Revision(): new RevisionBuilder().build());
}
public KnativeSchemaFluent.V1RevisionNested editOrNewV1RevisionLike(Revision item){
return withNewV1RevisionLike(getV1Revision() != null ? getV1Revision(): item);
}
/**
* This method has been deprecated, please use method buildV1RevisionList instead.
* @return The buildable object.
*/
@Deprecated public RevisionList getV1RevisionList(){
return this.v1RevisionList!=null?this.v1RevisionList.build():null;
}
public RevisionList buildV1RevisionList(){
return this.v1RevisionList!=null?this.v1RevisionList.build():null;
}
public A withV1RevisionList(RevisionList v1RevisionList){
_visitables.get("v1RevisionList").remove(this.v1RevisionList);
if (v1RevisionList!=null){ this.v1RevisionList= new RevisionListBuilder(v1RevisionList); _visitables.get("v1RevisionList").add(this.v1RevisionList);} return (A) this;
}
public Boolean hasV1RevisionList(){
return this.v1RevisionList != null;
}
public KnativeSchemaFluent.V1RevisionListNested withNewV1RevisionList(){
return new V1RevisionListNestedImpl();
}
public KnativeSchemaFluent.V1RevisionListNested withNewV1RevisionListLike(RevisionList item){
return new V1RevisionListNestedImpl(item);
}
public KnativeSchemaFluent.V1RevisionListNested editV1RevisionList(){
return withNewV1RevisionListLike(getV1RevisionList());
}
public KnativeSchemaFluent.V1RevisionListNested editOrNewV1RevisionList(){
return withNewV1RevisionListLike(getV1RevisionList() != null ? getV1RevisionList(): new RevisionListBuilder().build());
}
public KnativeSchemaFluent.V1RevisionListNested editOrNewV1RevisionListLike(RevisionList item){
return withNewV1RevisionListLike(getV1RevisionList() != null ? getV1RevisionList(): item);
}
/**
* This method has been deprecated, please use method buildV1Route instead.
* @return The buildable object.
*/
@Deprecated public Route getV1Route(){
return this.v1Route!=null?this.v1Route.build():null;
}
public Route buildV1Route(){
return this.v1Route!=null?this.v1Route.build():null;
}
public A withV1Route(Route v1Route){
_visitables.get("v1Route").remove(this.v1Route);
if (v1Route!=null){ this.v1Route= new RouteBuilder(v1Route); _visitables.get("v1Route").add(this.v1Route);} return (A) this;
}
public Boolean hasV1Route(){
return this.v1Route != null;
}
public KnativeSchemaFluent.V1RouteNested withNewV1Route(){
return new V1RouteNestedImpl();
}
public KnativeSchemaFluent.V1RouteNested withNewV1RouteLike(Route item){
return new V1RouteNestedImpl(item);
}
public KnativeSchemaFluent.V1RouteNested editV1Route(){
return withNewV1RouteLike(getV1Route());
}
public KnativeSchemaFluent.V1RouteNested editOrNewV1Route(){
return withNewV1RouteLike(getV1Route() != null ? getV1Route(): new RouteBuilder().build());
}
public KnativeSchemaFluent.V1RouteNested editOrNewV1RouteLike(Route item){
return withNewV1RouteLike(getV1Route() != null ? getV1Route(): item);
}
/**
* This method has been deprecated, please use method buildV1RouteList instead.
* @return The buildable object.
*/
@Deprecated public RouteList getV1RouteList(){
return this.v1RouteList!=null?this.v1RouteList.build():null;
}
public RouteList buildV1RouteList(){
return this.v1RouteList!=null?this.v1RouteList.build():null;
}
public A withV1RouteList(RouteList v1RouteList){
_visitables.get("v1RouteList").remove(this.v1RouteList);
if (v1RouteList!=null){ this.v1RouteList= new RouteListBuilder(v1RouteList); _visitables.get("v1RouteList").add(this.v1RouteList);} return (A) this;
}
public Boolean hasV1RouteList(){
return this.v1RouteList != null;
}
public KnativeSchemaFluent.V1RouteListNested withNewV1RouteList(){
return new V1RouteListNestedImpl();
}
public KnativeSchemaFluent.V1RouteListNested withNewV1RouteListLike(RouteList item){
return new V1RouteListNestedImpl(item);
}
public KnativeSchemaFluent.V1RouteListNested editV1RouteList(){
return withNewV1RouteListLike(getV1RouteList());
}
public KnativeSchemaFluent.V1RouteListNested editOrNewV1RouteList(){
return withNewV1RouteListLike(getV1RouteList() != null ? getV1RouteList(): new RouteListBuilder().build());
}
public KnativeSchemaFluent.V1RouteListNested editOrNewV1RouteListLike(RouteList item){
return withNewV1RouteListLike(getV1RouteList() != null ? getV1RouteList(): item);
}
/**
* This method has been deprecated, please use method buildV1Service instead.
* @return The buildable object.
*/
@Deprecated public Service getV1Service(){
return this.v1Service!=null?this.v1Service.build():null;
}
public Service buildV1Service(){
return this.v1Service!=null?this.v1Service.build():null;
}
public A withV1Service(Service v1Service){
_visitables.get("v1Service").remove(this.v1Service);
if (v1Service!=null){ this.v1Service= new ServiceBuilder(v1Service); _visitables.get("v1Service").add(this.v1Service);} return (A) this;
}
public Boolean hasV1Service(){
return this.v1Service != null;
}
public KnativeSchemaFluent.V1ServiceNested withNewV1Service(){
return new V1ServiceNestedImpl();
}
public KnativeSchemaFluent.V1ServiceNested withNewV1ServiceLike(Service item){
return new V1ServiceNestedImpl(item);
}
public KnativeSchemaFluent.V1ServiceNested editV1Service(){
return withNewV1ServiceLike(getV1Service());
}
public KnativeSchemaFluent.V1ServiceNested editOrNewV1Service(){
return withNewV1ServiceLike(getV1Service() != null ? getV1Service(): new ServiceBuilder().build());
}
public KnativeSchemaFluent.V1ServiceNested editOrNewV1ServiceLike(Service item){
return withNewV1ServiceLike(getV1Service() != null ? getV1Service(): item);
}
/**
* This method has been deprecated, please use method buildV1ServiceList instead.
* @return The buildable object.
*/
@Deprecated public ServiceList getV1ServiceList(){
return this.v1ServiceList!=null?this.v1ServiceList.build():null;
}
public ServiceList buildV1ServiceList(){
return this.v1ServiceList!=null?this.v1ServiceList.build():null;
}
public A withV1ServiceList(ServiceList v1ServiceList){
_visitables.get("v1ServiceList").remove(this.v1ServiceList);
if (v1ServiceList!=null){ this.v1ServiceList= new ServiceListBuilder(v1ServiceList); _visitables.get("v1ServiceList").add(this.v1ServiceList);} return (A) this;
}
public Boolean hasV1ServiceList(){
return this.v1ServiceList != null;
}
public KnativeSchemaFluent.V1ServiceListNested withNewV1ServiceList(){
return new V1ServiceListNestedImpl();
}
public KnativeSchemaFluent.V1ServiceListNested withNewV1ServiceListLike(ServiceList item){
return new V1ServiceListNestedImpl(item);
}
public KnativeSchemaFluent.V1ServiceListNested editV1ServiceList(){
return withNewV1ServiceListLike(getV1ServiceList());
}
public KnativeSchemaFluent.V1ServiceListNested editOrNewV1ServiceList(){
return withNewV1ServiceListLike(getV1ServiceList() != null ? getV1ServiceList(): new ServiceListBuilder().build());
}
public KnativeSchemaFluent.V1ServiceListNested editOrNewV1ServiceListLike(ServiceList item){
return withNewV1ServiceListLike(getV1ServiceList() != null ? getV1ServiceList(): item);
}
/**
* This method has been deprecated, please use method buildV1alpha1Configuration instead.
* @return The buildable object.
*/
@Deprecated public io.fabric8.knative.serving.v1alpha1.Configuration getV1alpha1Configuration(){
return this.v1alpha1Configuration!=null?this.v1alpha1Configuration.build():null;
}
public io.fabric8.knative.serving.v1alpha1.Configuration buildV1alpha1Configuration(){
return this.v1alpha1Configuration!=null?this.v1alpha1Configuration.build():null;
}
public A withV1alpha1Configuration(io.fabric8.knative.serving.v1alpha1.Configuration v1alpha1Configuration){
_visitables.get("v1alpha1Configuration").remove(this.v1alpha1Configuration);
if (v1alpha1Configuration!=null){ this.v1alpha1Configuration= new io.fabric8.knative.serving.v1alpha1.ConfigurationBuilder(v1alpha1Configuration); _visitables.get("v1alpha1Configuration").add(this.v1alpha1Configuration);} return (A) this;
}
public Boolean hasV1alpha1Configuration(){
return this.v1alpha1Configuration != null;
}
public KnativeSchemaFluent.V1alpha1V1alpha1ConfigurationNested withNewV1alpha1V1alpha1Configuration(){
return new V1alpha1V1alpha1ConfigurationNestedImpl();
}
public KnativeSchemaFluent.V1alpha1V1alpha1ConfigurationNested withNewV1alpha1ConfigurationLike(io.fabric8.knative.serving.v1alpha1.Configuration item){
return new V1alpha1V1alpha1ConfigurationNestedImpl(item);
}
public KnativeSchemaFluent.V1alpha1V1alpha1ConfigurationNested editV1alpha1V1alpha1Configuration(){
return withNewV1alpha1ConfigurationLike(getV1alpha1Configuration());
}
public KnativeSchemaFluent.V1alpha1V1alpha1ConfigurationNested editOrNewV1alpha1Configuration(){
return withNewV1alpha1ConfigurationLike(getV1alpha1Configuration() != null ? getV1alpha1Configuration(): new io.fabric8.knative.serving.v1alpha1.ConfigurationBuilder().build());
}
public KnativeSchemaFluent.V1alpha1V1alpha1ConfigurationNested editOrNewV1alpha1ConfigurationLike(io.fabric8.knative.serving.v1alpha1.Configuration item){
return withNewV1alpha1ConfigurationLike(getV1alpha1Configuration() != null ? getV1alpha1Configuration(): item);
}
/**
* This method has been deprecated, please use method buildV1alpha1ConfigurationList instead.
* @return The buildable object.
*/
@Deprecated public io.fabric8.knative.serving.v1alpha1.ConfigurationList getV1alpha1ConfigurationList(){
return this.v1alpha1ConfigurationList!=null?this.v1alpha1ConfigurationList.build():null;
}
public io.fabric8.knative.serving.v1alpha1.ConfigurationList buildV1alpha1ConfigurationList(){
return this.v1alpha1ConfigurationList!=null?this.v1alpha1ConfigurationList.build():null;
}
public A withV1alpha1ConfigurationList(io.fabric8.knative.serving.v1alpha1.ConfigurationList v1alpha1ConfigurationList){
_visitables.get("v1alpha1ConfigurationList").remove(this.v1alpha1ConfigurationList);
if (v1alpha1ConfigurationList!=null){ this.v1alpha1ConfigurationList= new io.fabric8.knative.serving.v1alpha1.ConfigurationListBuilder(v1alpha1ConfigurationList); _visitables.get("v1alpha1ConfigurationList").add(this.v1alpha1ConfigurationList);} return (A) this;
}
public Boolean hasV1alpha1ConfigurationList(){
return this.v1alpha1ConfigurationList != null;
}
public KnativeSchemaFluent.V1alpha1V1alpha1ConfigurationListNested withNewV1alpha1V1alpha1ConfigurationList(){
return new V1alpha1V1alpha1ConfigurationListNestedImpl();
}
public KnativeSchemaFluent.V1alpha1V1alpha1ConfigurationListNested withNewV1alpha1ConfigurationListLike(io.fabric8.knative.serving.v1alpha1.ConfigurationList item){
return new V1alpha1V1alpha1ConfigurationListNestedImpl(item);
}
public KnativeSchemaFluent.V1alpha1V1alpha1ConfigurationListNested editV1alpha1V1alpha1ConfigurationList(){
return withNewV1alpha1ConfigurationListLike(getV1alpha1ConfigurationList());
}
public KnativeSchemaFluent.V1alpha1V1alpha1ConfigurationListNested editOrNewV1alpha1ConfigurationList(){
return withNewV1alpha1ConfigurationListLike(getV1alpha1ConfigurationList() != null ? getV1alpha1ConfigurationList(): new io.fabric8.knative.serving.v1alpha1.ConfigurationListBuilder().build());
}
public KnativeSchemaFluent.V1alpha1V1alpha1ConfigurationListNested editOrNewV1alpha1ConfigurationListLike(io.fabric8.knative.serving.v1alpha1.ConfigurationList item){
return withNewV1alpha1ConfigurationListLike(getV1alpha1ConfigurationList() != null ? getV1alpha1ConfigurationList(): item);
}
/**
* This method has been deprecated, please use method buildV1alpha1Revision instead.
* @return The buildable object.
*/
@Deprecated public io.fabric8.knative.serving.v1alpha1.Revision getV1alpha1Revision(){
return this.v1alpha1Revision!=null?this.v1alpha1Revision.build():null;
}
public io.fabric8.knative.serving.v1alpha1.Revision buildV1alpha1Revision(){
return this.v1alpha1Revision!=null?this.v1alpha1Revision.build():null;
}
public A withV1alpha1Revision(io.fabric8.knative.serving.v1alpha1.Revision v1alpha1Revision){
_visitables.get("v1alpha1Revision").remove(this.v1alpha1Revision);
if (v1alpha1Revision!=null){ this.v1alpha1Revision= new io.fabric8.knative.serving.v1alpha1.RevisionBuilder(v1alpha1Revision); _visitables.get("v1alpha1Revision").add(this.v1alpha1Revision);} return (A) this;
}
public Boolean hasV1alpha1Revision(){
return this.v1alpha1Revision != null;
}
public KnativeSchemaFluent.V1alpha1V1alpha1RevisionNested withNewV1alpha1V1alpha1Revision(){
return new V1alpha1V1alpha1RevisionNestedImpl();
}
public KnativeSchemaFluent.V1alpha1V1alpha1RevisionNested withNewV1alpha1RevisionLike(io.fabric8.knative.serving.v1alpha1.Revision item){
return new V1alpha1V1alpha1RevisionNestedImpl(item);
}
public KnativeSchemaFluent.V1alpha1V1alpha1RevisionNested editV1alpha1V1alpha1Revision(){
return withNewV1alpha1RevisionLike(getV1alpha1Revision());
}
public KnativeSchemaFluent.V1alpha1V1alpha1RevisionNested editOrNewV1alpha1Revision(){
return withNewV1alpha1RevisionLike(getV1alpha1Revision() != null ? getV1alpha1Revision(): new io.fabric8.knative.serving.v1alpha1.RevisionBuilder().build());
}
public KnativeSchemaFluent.V1alpha1V1alpha1RevisionNested editOrNewV1alpha1RevisionLike(io.fabric8.knative.serving.v1alpha1.Revision item){
return withNewV1alpha1RevisionLike(getV1alpha1Revision() != null ? getV1alpha1Revision(): item);
}
/**
* This method has been deprecated, please use method buildV1alpha1RevisionList instead.
* @return The buildable object.
*/
@Deprecated public io.fabric8.knative.serving.v1alpha1.RevisionList getV1alpha1RevisionList(){
return this.v1alpha1RevisionList!=null?this.v1alpha1RevisionList.build():null;
}
public io.fabric8.knative.serving.v1alpha1.RevisionList buildV1alpha1RevisionList(){
return this.v1alpha1RevisionList!=null?this.v1alpha1RevisionList.build():null;
}
public A withV1alpha1RevisionList(io.fabric8.knative.serving.v1alpha1.RevisionList v1alpha1RevisionList){
_visitables.get("v1alpha1RevisionList").remove(this.v1alpha1RevisionList);
if (v1alpha1RevisionList!=null){ this.v1alpha1RevisionList= new io.fabric8.knative.serving.v1alpha1.RevisionListBuilder(v1alpha1RevisionList); _visitables.get("v1alpha1RevisionList").add(this.v1alpha1RevisionList);} return (A) this;
}
public Boolean hasV1alpha1RevisionList(){
return this.v1alpha1RevisionList != null;
}
public KnativeSchemaFluent.V1alpha1V1alpha1RevisionListNested withNewV1alpha1V1alpha1RevisionList(){
return new V1alpha1V1alpha1RevisionListNestedImpl();
}
public KnativeSchemaFluent.V1alpha1V1alpha1RevisionListNested withNewV1alpha1RevisionListLike(io.fabric8.knative.serving.v1alpha1.RevisionList item){
return new V1alpha1V1alpha1RevisionListNestedImpl(item);
}
public KnativeSchemaFluent.V1alpha1V1alpha1RevisionListNested editV1alpha1V1alpha1RevisionList(){
return withNewV1alpha1RevisionListLike(getV1alpha1RevisionList());
}
public KnativeSchemaFluent.V1alpha1V1alpha1RevisionListNested editOrNewV1alpha1RevisionList(){
return withNewV1alpha1RevisionListLike(getV1alpha1RevisionList() != null ? getV1alpha1RevisionList(): new io.fabric8.knative.serving.v1alpha1.RevisionListBuilder().build());
}
public KnativeSchemaFluent.V1alpha1V1alpha1RevisionListNested editOrNewV1alpha1RevisionListLike(io.fabric8.knative.serving.v1alpha1.RevisionList item){
return withNewV1alpha1RevisionListLike(getV1alpha1RevisionList() != null ? getV1alpha1RevisionList(): item);
}
/**
* This method has been deprecated, please use method buildV1alpha1Route instead.
* @return The buildable object.
*/
@Deprecated public io.fabric8.knative.serving.v1alpha1.Route getV1alpha1Route(){
return this.v1alpha1Route!=null?this.v1alpha1Route.build():null;
}
public io.fabric8.knative.serving.v1alpha1.Route buildV1alpha1Route(){
return this.v1alpha1Route!=null?this.v1alpha1Route.build():null;
}
public A withV1alpha1Route(io.fabric8.knative.serving.v1alpha1.Route v1alpha1Route){
_visitables.get("v1alpha1Route").remove(this.v1alpha1Route);
if (v1alpha1Route!=null){ this.v1alpha1Route= new io.fabric8.knative.serving.v1alpha1.RouteBuilder(v1alpha1Route); _visitables.get("v1alpha1Route").add(this.v1alpha1Route);} return (A) this;
}
public Boolean hasV1alpha1Route(){
return this.v1alpha1Route != null;
}
public KnativeSchemaFluent.V1alpha1V1alpha1RouteNested withNewV1alpha1V1alpha1Route(){
return new V1alpha1V1alpha1RouteNestedImpl();
}
public KnativeSchemaFluent.V1alpha1V1alpha1RouteNested withNewV1alpha1RouteLike(io.fabric8.knative.serving.v1alpha1.Route item){
return new V1alpha1V1alpha1RouteNestedImpl(item);
}
public KnativeSchemaFluent.V1alpha1V1alpha1RouteNested editV1alpha1V1alpha1Route(){
return withNewV1alpha1RouteLike(getV1alpha1Route());
}
public KnativeSchemaFluent.V1alpha1V1alpha1RouteNested editOrNewV1alpha1Route(){
return withNewV1alpha1RouteLike(getV1alpha1Route() != null ? getV1alpha1Route(): new io.fabric8.knative.serving.v1alpha1.RouteBuilder().build());
}
public KnativeSchemaFluent.V1alpha1V1alpha1RouteNested editOrNewV1alpha1RouteLike(io.fabric8.knative.serving.v1alpha1.Route item){
return withNewV1alpha1RouteLike(getV1alpha1Route() != null ? getV1alpha1Route(): item);
}
/**
* This method has been deprecated, please use method buildV1alpha1RouteList instead.
* @return The buildable object.
*/
@Deprecated public io.fabric8.knative.serving.v1alpha1.RouteList getV1alpha1RouteList(){
return this.v1alpha1RouteList!=null?this.v1alpha1RouteList.build():null;
}
public io.fabric8.knative.serving.v1alpha1.RouteList buildV1alpha1RouteList(){
return this.v1alpha1RouteList!=null?this.v1alpha1RouteList.build():null;
}
public A withV1alpha1RouteList(io.fabric8.knative.serving.v1alpha1.RouteList v1alpha1RouteList){
_visitables.get("v1alpha1RouteList").remove(this.v1alpha1RouteList);
if (v1alpha1RouteList!=null){ this.v1alpha1RouteList= new io.fabric8.knative.serving.v1alpha1.RouteListBuilder(v1alpha1RouteList); _visitables.get("v1alpha1RouteList").add(this.v1alpha1RouteList);} return (A) this;
}
public Boolean hasV1alpha1RouteList(){
return this.v1alpha1RouteList != null;
}
public KnativeSchemaFluent.V1alpha1V1alpha1RouteListNested withNewV1alpha1V1alpha1RouteList(){
return new V1alpha1V1alpha1RouteListNestedImpl();
}
public KnativeSchemaFluent.V1alpha1V1alpha1RouteListNested withNewV1alpha1RouteListLike(io.fabric8.knative.serving.v1alpha1.RouteList item){
return new V1alpha1V1alpha1RouteListNestedImpl(item);
}
public KnativeSchemaFluent.V1alpha1V1alpha1RouteListNested editV1alpha1V1alpha1RouteList(){
return withNewV1alpha1RouteListLike(getV1alpha1RouteList());
}
public KnativeSchemaFluent.V1alpha1V1alpha1RouteListNested editOrNewV1alpha1RouteList(){
return withNewV1alpha1RouteListLike(getV1alpha1RouteList() != null ? getV1alpha1RouteList(): new io.fabric8.knative.serving.v1alpha1.RouteListBuilder().build());
}
public KnativeSchemaFluent.V1alpha1V1alpha1RouteListNested editOrNewV1alpha1RouteListLike(io.fabric8.knative.serving.v1alpha1.RouteList item){
return withNewV1alpha1RouteListLike(getV1alpha1RouteList() != null ? getV1alpha1RouteList(): item);
}
/**
* This method has been deprecated, please use method buildV1alpha1Service instead.
* @return The buildable object.
*/
@Deprecated public io.fabric8.knative.serving.v1alpha1.Service getV1alpha1Service(){
return this.v1alpha1Service!=null?this.v1alpha1Service.build():null;
}
public io.fabric8.knative.serving.v1alpha1.Service buildV1alpha1Service(){
return this.v1alpha1Service!=null?this.v1alpha1Service.build():null;
}
public A withV1alpha1Service(io.fabric8.knative.serving.v1alpha1.Service v1alpha1Service){
_visitables.get("v1alpha1Service").remove(this.v1alpha1Service);
if (v1alpha1Service!=null){ this.v1alpha1Service= new io.fabric8.knative.serving.v1alpha1.ServiceBuilder(v1alpha1Service); _visitables.get("v1alpha1Service").add(this.v1alpha1Service);} return (A) this;
}
public Boolean hasV1alpha1Service(){
return this.v1alpha1Service != null;
}
public KnativeSchemaFluent.V1alpha1V1alpha1ServiceNested withNewV1alpha1V1alpha1Service(){
return new V1alpha1V1alpha1ServiceNestedImpl();
}
public KnativeSchemaFluent.V1alpha1V1alpha1ServiceNested withNewV1alpha1ServiceLike(io.fabric8.knative.serving.v1alpha1.Service item){
return new V1alpha1V1alpha1ServiceNestedImpl(item);
}
public KnativeSchemaFluent.V1alpha1V1alpha1ServiceNested editV1alpha1V1alpha1Service(){
return withNewV1alpha1ServiceLike(getV1alpha1Service());
}
public KnativeSchemaFluent.V1alpha1V1alpha1ServiceNested editOrNewV1alpha1Service(){
return withNewV1alpha1ServiceLike(getV1alpha1Service() != null ? getV1alpha1Service(): new io.fabric8.knative.serving.v1alpha1.ServiceBuilder().build());
}
public KnativeSchemaFluent.V1alpha1V1alpha1ServiceNested editOrNewV1alpha1ServiceLike(io.fabric8.knative.serving.v1alpha1.Service item){
return withNewV1alpha1ServiceLike(getV1alpha1Service() != null ? getV1alpha1Service(): item);
}
/**
* This method has been deprecated, please use method buildV1alpha1ServiceList instead.
* @return The buildable object.
*/
@Deprecated public io.fabric8.knative.serving.v1alpha1.ServiceList getV1alpha1ServiceList(){
return this.v1alpha1ServiceList!=null?this.v1alpha1ServiceList.build():null;
}
public io.fabric8.knative.serving.v1alpha1.ServiceList buildV1alpha1ServiceList(){
return this.v1alpha1ServiceList!=null?this.v1alpha1ServiceList.build():null;
}
public A withV1alpha1ServiceList(io.fabric8.knative.serving.v1alpha1.ServiceList v1alpha1ServiceList){
_visitables.get("v1alpha1ServiceList").remove(this.v1alpha1ServiceList);
if (v1alpha1ServiceList!=null){ this.v1alpha1ServiceList= new io.fabric8.knative.serving.v1alpha1.ServiceListBuilder(v1alpha1ServiceList); _visitables.get("v1alpha1ServiceList").add(this.v1alpha1ServiceList);} return (A) this;
}
public Boolean hasV1alpha1ServiceList(){
return this.v1alpha1ServiceList != null;
}
public KnativeSchemaFluent.V1alpha1V1alpha1ServiceListNested withNewV1alpha1V1alpha1ServiceList(){
return new V1alpha1V1alpha1ServiceListNestedImpl();
}
public KnativeSchemaFluent.V1alpha1V1alpha1ServiceListNested withNewV1alpha1ServiceListLike(io.fabric8.knative.serving.v1alpha1.ServiceList item){
return new V1alpha1V1alpha1ServiceListNestedImpl(item);
}
public KnativeSchemaFluent.V1alpha1V1alpha1ServiceListNested editV1alpha1V1alpha1ServiceList(){
return withNewV1alpha1ServiceListLike(getV1alpha1ServiceList());
}
public KnativeSchemaFluent.V1alpha1V1alpha1ServiceListNested editOrNewV1alpha1ServiceList(){
return withNewV1alpha1ServiceListLike(getV1alpha1ServiceList() != null ? getV1alpha1ServiceList(): new io.fabric8.knative.serving.v1alpha1.ServiceListBuilder().build());
}
public KnativeSchemaFluent.V1alpha1V1alpha1ServiceListNested editOrNewV1alpha1ServiceListLike(io.fabric8.knative.serving.v1alpha1.ServiceList item){
return withNewV1alpha1ServiceListLike(getV1alpha1ServiceList() != null ? getV1alpha1ServiceList(): item);
}
/**
* This method has been deprecated, please use method buildV1beta1Configuration instead.
* @return The buildable object.
*/
@Deprecated public io.fabric8.knative.serving.v1beta1.Configuration getV1beta1Configuration(){
return this.v1beta1Configuration!=null?this.v1beta1Configuration.build():null;
}
public io.fabric8.knative.serving.v1beta1.Configuration buildV1beta1Configuration(){
return this.v1beta1Configuration!=null?this.v1beta1Configuration.build():null;
}
public A withV1beta1Configuration(io.fabric8.knative.serving.v1beta1.Configuration v1beta1Configuration){
_visitables.get("v1beta1Configuration").remove(this.v1beta1Configuration);
if (v1beta1Configuration!=null){ this.v1beta1Configuration= new io.fabric8.knative.serving.v1beta1.ConfigurationBuilder(v1beta1Configuration); _visitables.get("v1beta1Configuration").add(this.v1beta1Configuration);} return (A) this;
}
public Boolean hasV1beta1Configuration(){
return this.v1beta1Configuration != null;
}
public KnativeSchemaFluent.V1beta1V1beta1ConfigurationNested withNewV1beta1V1beta1Configuration(){
return new V1beta1V1beta1ConfigurationNestedImpl();
}
public KnativeSchemaFluent.V1beta1V1beta1ConfigurationNested withNewV1beta1ConfigurationLike(io.fabric8.knative.serving.v1beta1.Configuration item){
return new V1beta1V1beta1ConfigurationNestedImpl(item);
}
public KnativeSchemaFluent.V1beta1V1beta1ConfigurationNested editV1beta1V1beta1Configuration(){
return withNewV1beta1ConfigurationLike(getV1beta1Configuration());
}
public KnativeSchemaFluent.V1beta1V1beta1ConfigurationNested editOrNewV1beta1Configuration(){
return withNewV1beta1ConfigurationLike(getV1beta1Configuration() != null ? getV1beta1Configuration(): new io.fabric8.knative.serving.v1beta1.ConfigurationBuilder().build());
}
public KnativeSchemaFluent.V1beta1V1beta1ConfigurationNested editOrNewV1beta1ConfigurationLike(io.fabric8.knative.serving.v1beta1.Configuration item){
return withNewV1beta1ConfigurationLike(getV1beta1Configuration() != null ? getV1beta1Configuration(): item);
}
/**
* This method has been deprecated, please use method buildV1beta1ConfigurationList instead.
* @return The buildable object.
*/
@Deprecated public io.fabric8.knative.serving.v1beta1.ConfigurationList getV1beta1ConfigurationList(){
return this.v1beta1ConfigurationList!=null?this.v1beta1ConfigurationList.build():null;
}
public io.fabric8.knative.serving.v1beta1.ConfigurationList buildV1beta1ConfigurationList(){
return this.v1beta1ConfigurationList!=null?this.v1beta1ConfigurationList.build():null;
}
public A withV1beta1ConfigurationList(io.fabric8.knative.serving.v1beta1.ConfigurationList v1beta1ConfigurationList){
_visitables.get("v1beta1ConfigurationList").remove(this.v1beta1ConfigurationList);
if (v1beta1ConfigurationList!=null){ this.v1beta1ConfigurationList= new io.fabric8.knative.serving.v1beta1.ConfigurationListBuilder(v1beta1ConfigurationList); _visitables.get("v1beta1ConfigurationList").add(this.v1beta1ConfigurationList);} return (A) this;
}
public Boolean hasV1beta1ConfigurationList(){
return this.v1beta1ConfigurationList != null;
}
public KnativeSchemaFluent.V1beta1V1beta1ConfigurationListNested withNewV1beta1V1beta1ConfigurationList(){
return new V1beta1V1beta1ConfigurationListNestedImpl();
}
public KnativeSchemaFluent.V1beta1V1beta1ConfigurationListNested withNewV1beta1ConfigurationListLike(io.fabric8.knative.serving.v1beta1.ConfigurationList item){
return new V1beta1V1beta1ConfigurationListNestedImpl(item);
}
public KnativeSchemaFluent.V1beta1V1beta1ConfigurationListNested editV1beta1V1beta1ConfigurationList(){
return withNewV1beta1ConfigurationListLike(getV1beta1ConfigurationList());
}
public KnativeSchemaFluent.V1beta1V1beta1ConfigurationListNested editOrNewV1beta1ConfigurationList(){
return withNewV1beta1ConfigurationListLike(getV1beta1ConfigurationList() != null ? getV1beta1ConfigurationList(): new io.fabric8.knative.serving.v1beta1.ConfigurationListBuilder().build());
}
public KnativeSchemaFluent.V1beta1V1beta1ConfigurationListNested editOrNewV1beta1ConfigurationListLike(io.fabric8.knative.serving.v1beta1.ConfigurationList item){
return withNewV1beta1ConfigurationListLike(getV1beta1ConfigurationList() != null ? getV1beta1ConfigurationList(): item);
}
/**
* This method has been deprecated, please use method buildV1beta1Revision instead.
* @return The buildable object.
*/
@Deprecated public io.fabric8.knative.serving.v1beta1.Revision getV1beta1Revision(){
return this.v1beta1Revision!=null?this.v1beta1Revision.build():null;
}
public io.fabric8.knative.serving.v1beta1.Revision buildV1beta1Revision(){
return this.v1beta1Revision!=null?this.v1beta1Revision.build():null;
}
public A withV1beta1Revision(io.fabric8.knative.serving.v1beta1.Revision v1beta1Revision){
_visitables.get("v1beta1Revision").remove(this.v1beta1Revision);
if (v1beta1Revision!=null){ this.v1beta1Revision= new io.fabric8.knative.serving.v1beta1.RevisionBuilder(v1beta1Revision); _visitables.get("v1beta1Revision").add(this.v1beta1Revision);} return (A) this;
}
public Boolean hasV1beta1Revision(){
return this.v1beta1Revision != null;
}
public KnativeSchemaFluent.V1beta1V1beta1RevisionNested withNewV1beta1V1beta1Revision(){
return new V1beta1V1beta1RevisionNestedImpl();
}
public KnativeSchemaFluent.V1beta1V1beta1RevisionNested withNewV1beta1RevisionLike(io.fabric8.knative.serving.v1beta1.Revision item){
return new V1beta1V1beta1RevisionNestedImpl(item);
}
public KnativeSchemaFluent.V1beta1V1beta1RevisionNested editV1beta1V1beta1Revision(){
return withNewV1beta1RevisionLike(getV1beta1Revision());
}
public KnativeSchemaFluent.V1beta1V1beta1RevisionNested editOrNewV1beta1Revision(){
return withNewV1beta1RevisionLike(getV1beta1Revision() != null ? getV1beta1Revision(): new io.fabric8.knative.serving.v1beta1.RevisionBuilder().build());
}
public KnativeSchemaFluent.V1beta1V1beta1RevisionNested editOrNewV1beta1RevisionLike(io.fabric8.knative.serving.v1beta1.Revision item){
return withNewV1beta1RevisionLike(getV1beta1Revision() != null ? getV1beta1Revision(): item);
}
/**
* This method has been deprecated, please use method buildV1beta1RevisionList instead.
* @return The buildable object.
*/
@Deprecated public io.fabric8.knative.serving.v1beta1.RevisionList getV1beta1RevisionList(){
return this.v1beta1RevisionList!=null?this.v1beta1RevisionList.build():null;
}
public io.fabric8.knative.serving.v1beta1.RevisionList buildV1beta1RevisionList(){
return this.v1beta1RevisionList!=null?this.v1beta1RevisionList.build():null;
}
public A withV1beta1RevisionList(io.fabric8.knative.serving.v1beta1.RevisionList v1beta1RevisionList){
_visitables.get("v1beta1RevisionList").remove(this.v1beta1RevisionList);
if (v1beta1RevisionList!=null){ this.v1beta1RevisionList= new io.fabric8.knative.serving.v1beta1.RevisionListBuilder(v1beta1RevisionList); _visitables.get("v1beta1RevisionList").add(this.v1beta1RevisionList);} return (A) this;
}
public Boolean hasV1beta1RevisionList(){
return this.v1beta1RevisionList != null;
}
public KnativeSchemaFluent.V1beta1V1beta1RevisionListNested withNewV1beta1V1beta1RevisionList(){
return new V1beta1V1beta1RevisionListNestedImpl();
}
public KnativeSchemaFluent.V1beta1V1beta1RevisionListNested withNewV1beta1RevisionListLike(io.fabric8.knative.serving.v1beta1.RevisionList item){
return new V1beta1V1beta1RevisionListNestedImpl(item);
}
public KnativeSchemaFluent.V1beta1V1beta1RevisionListNested editV1beta1V1beta1RevisionList(){
return withNewV1beta1RevisionListLike(getV1beta1RevisionList());
}
public KnativeSchemaFluent.V1beta1V1beta1RevisionListNested editOrNewV1beta1RevisionList(){
return withNewV1beta1RevisionListLike(getV1beta1RevisionList() != null ? getV1beta1RevisionList(): new io.fabric8.knative.serving.v1beta1.RevisionListBuilder().build());
}
public KnativeSchemaFluent.V1beta1V1beta1RevisionListNested editOrNewV1beta1RevisionListLike(io.fabric8.knative.serving.v1beta1.RevisionList item){
return withNewV1beta1RevisionListLike(getV1beta1RevisionList() != null ? getV1beta1RevisionList(): item);
}
/**
* This method has been deprecated, please use method buildV1beta1Route instead.
* @return The buildable object.
*/
@Deprecated public io.fabric8.knative.serving.v1beta1.Route getV1beta1Route(){
return this.v1beta1Route!=null?this.v1beta1Route.build():null;
}
public io.fabric8.knative.serving.v1beta1.Route buildV1beta1Route(){
return this.v1beta1Route!=null?this.v1beta1Route.build():null;
}
public A withV1beta1Route(io.fabric8.knative.serving.v1beta1.Route v1beta1Route){
_visitables.get("v1beta1Route").remove(this.v1beta1Route);
if (v1beta1Route!=null){ this.v1beta1Route= new io.fabric8.knative.serving.v1beta1.RouteBuilder(v1beta1Route); _visitables.get("v1beta1Route").add(this.v1beta1Route);} return (A) this;
}
public Boolean hasV1beta1Route(){
return this.v1beta1Route != null;
}
public KnativeSchemaFluent.V1beta1V1beta1RouteNested withNewV1beta1V1beta1Route(){
return new V1beta1V1beta1RouteNestedImpl();
}
public KnativeSchemaFluent.V1beta1V1beta1RouteNested withNewV1beta1RouteLike(io.fabric8.knative.serving.v1beta1.Route item){
return new V1beta1V1beta1RouteNestedImpl(item);
}
public KnativeSchemaFluent.V1beta1V1beta1RouteNested editV1beta1V1beta1Route(){
return withNewV1beta1RouteLike(getV1beta1Route());
}
public KnativeSchemaFluent.V1beta1V1beta1RouteNested editOrNewV1beta1Route(){
return withNewV1beta1RouteLike(getV1beta1Route() != null ? getV1beta1Route(): new io.fabric8.knative.serving.v1beta1.RouteBuilder().build());
}
public KnativeSchemaFluent.V1beta1V1beta1RouteNested editOrNewV1beta1RouteLike(io.fabric8.knative.serving.v1beta1.Route item){
return withNewV1beta1RouteLike(getV1beta1Route() != null ? getV1beta1Route(): item);
}
/**
* This method has been deprecated, please use method buildV1beta1RouteList instead.
* @return The buildable object.
*/
@Deprecated public io.fabric8.knative.serving.v1beta1.RouteList getV1beta1RouteList(){
return this.v1beta1RouteList!=null?this.v1beta1RouteList.build():null;
}
public io.fabric8.knative.serving.v1beta1.RouteList buildV1beta1RouteList(){
return this.v1beta1RouteList!=null?this.v1beta1RouteList.build():null;
}
public A withV1beta1RouteList(io.fabric8.knative.serving.v1beta1.RouteList v1beta1RouteList){
_visitables.get("v1beta1RouteList").remove(this.v1beta1RouteList);
if (v1beta1RouteList!=null){ this.v1beta1RouteList= new io.fabric8.knative.serving.v1beta1.RouteListBuilder(v1beta1RouteList); _visitables.get("v1beta1RouteList").add(this.v1beta1RouteList);} return (A) this;
}
public Boolean hasV1beta1RouteList(){
return this.v1beta1RouteList != null;
}
public KnativeSchemaFluent.V1beta1V1beta1RouteListNested withNewV1beta1V1beta1RouteList(){
return new V1beta1V1beta1RouteListNestedImpl();
}
public KnativeSchemaFluent.V1beta1V1beta1RouteListNested withNewV1beta1RouteListLike(io.fabric8.knative.serving.v1beta1.RouteList item){
return new V1beta1V1beta1RouteListNestedImpl(item);
}
public KnativeSchemaFluent.V1beta1V1beta1RouteListNested editV1beta1V1beta1RouteList(){
return withNewV1beta1RouteListLike(getV1beta1RouteList());
}
public KnativeSchemaFluent.V1beta1V1beta1RouteListNested editOrNewV1beta1RouteList(){
return withNewV1beta1RouteListLike(getV1beta1RouteList() != null ? getV1beta1RouteList(): new io.fabric8.knative.serving.v1beta1.RouteListBuilder().build());
}
public KnativeSchemaFluent.V1beta1V1beta1RouteListNested editOrNewV1beta1RouteListLike(io.fabric8.knative.serving.v1beta1.RouteList item){
return withNewV1beta1RouteListLike(getV1beta1RouteList() != null ? getV1beta1RouteList(): item);
}
/**
* This method has been deprecated, please use method buildV1beta1Service instead.
* @return The buildable object.
*/
@Deprecated public io.fabric8.knative.serving.v1beta1.Service getV1beta1Service(){
return this.v1beta1Service!=null?this.v1beta1Service.build():null;
}
public io.fabric8.knative.serving.v1beta1.Service buildV1beta1Service(){
return this.v1beta1Service!=null?this.v1beta1Service.build():null;
}
public A withV1beta1Service(io.fabric8.knative.serving.v1beta1.Service v1beta1Service){
_visitables.get("v1beta1Service").remove(this.v1beta1Service);
if (v1beta1Service!=null){ this.v1beta1Service= new io.fabric8.knative.serving.v1beta1.ServiceBuilder(v1beta1Service); _visitables.get("v1beta1Service").add(this.v1beta1Service);} return (A) this;
}
public Boolean hasV1beta1Service(){
return this.v1beta1Service != null;
}
public KnativeSchemaFluent.V1beta1V1beta1ServiceNested withNewV1beta1V1beta1Service(){
return new V1beta1V1beta1ServiceNestedImpl();
}
public KnativeSchemaFluent.V1beta1V1beta1ServiceNested withNewV1beta1ServiceLike(io.fabric8.knative.serving.v1beta1.Service item){
return new V1beta1V1beta1ServiceNestedImpl(item);
}
public KnativeSchemaFluent.V1beta1V1beta1ServiceNested editV1beta1V1beta1Service(){
return withNewV1beta1ServiceLike(getV1beta1Service());
}
public KnativeSchemaFluent.V1beta1V1beta1ServiceNested editOrNewV1beta1Service(){
return withNewV1beta1ServiceLike(getV1beta1Service() != null ? getV1beta1Service(): new io.fabric8.knative.serving.v1beta1.ServiceBuilder().build());
}
public KnativeSchemaFluent.V1beta1V1beta1ServiceNested editOrNewV1beta1ServiceLike(io.fabric8.knative.serving.v1beta1.Service item){
return withNewV1beta1ServiceLike(getV1beta1Service() != null ? getV1beta1Service(): item);
}
/**
* This method has been deprecated, please use method buildV1beta1ServiceList instead.
* @return The buildable object.
*/
@Deprecated public io.fabric8.knative.serving.v1beta1.ServiceList getV1beta1ServiceList(){
return this.v1beta1ServiceList!=null?this.v1beta1ServiceList.build():null;
}
public io.fabric8.knative.serving.v1beta1.ServiceList buildV1beta1ServiceList(){
return this.v1beta1ServiceList!=null?this.v1beta1ServiceList.build():null;
}
public A withV1beta1ServiceList(io.fabric8.knative.serving.v1beta1.ServiceList v1beta1ServiceList){
_visitables.get("v1beta1ServiceList").remove(this.v1beta1ServiceList);
if (v1beta1ServiceList!=null){ this.v1beta1ServiceList= new io.fabric8.knative.serving.v1beta1.ServiceListBuilder(v1beta1ServiceList); _visitables.get("v1beta1ServiceList").add(this.v1beta1ServiceList);} return (A) this;
}
public Boolean hasV1beta1ServiceList(){
return this.v1beta1ServiceList != null;
}
public KnativeSchemaFluent.V1beta1V1beta1ServiceListNested withNewV1beta1V1beta1ServiceList(){
return new V1beta1V1beta1ServiceListNestedImpl();
}
public KnativeSchemaFluent.V1beta1V1beta1ServiceListNested withNewV1beta1ServiceListLike(io.fabric8.knative.serving.v1beta1.ServiceList item){
return new V1beta1V1beta1ServiceListNestedImpl(item);
}
public KnativeSchemaFluent.V1beta1V1beta1ServiceListNested editV1beta1V1beta1ServiceList(){
return withNewV1beta1ServiceListLike(getV1beta1ServiceList());
}
public KnativeSchemaFluent.V1beta1V1beta1ServiceListNested editOrNewV1beta1ServiceList(){
return withNewV1beta1ServiceListLike(getV1beta1ServiceList() != null ? getV1beta1ServiceList(): new io.fabric8.knative.serving.v1beta1.ServiceListBuilder().build());
}
public KnativeSchemaFluent.V1beta1V1beta1ServiceListNested editOrNewV1beta1ServiceListLike(io.fabric8.knative.serving.v1beta1.ServiceList item){
return withNewV1beta1ServiceListLike(getV1beta1ServiceList() != null ? getV1beta1ServiceList(): 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;
KnativeSchemaFluentImpl that = (KnativeSchemaFluentImpl) o;
if (broker != null ? !broker.equals(that.broker) :that.broker != null) return false;
if (brokerList != null ? !brokerList.equals(that.brokerList) :that.brokerList != null) return false;
if (channel != null ? !channel.equals(that.channel) :that.channel != null) return false;
if (channelList != null ? !channelList.equals(that.channelList) :that.channelList != null) return false;
if (clusterChannelProvisioner != null ? !clusterChannelProvisioner.equals(that.clusterChannelProvisioner) :that.clusterChannelProvisioner != null) return false;
if (clusterChannelProvisionerList != null ? !clusterChannelProvisionerList.equals(that.clusterChannelProvisionerList) :that.clusterChannelProvisionerList != null) return false;
if (eventType != null ? !eventType.equals(that.eventType) :that.eventType != null) return false;
if (eventTypeList != null ? !eventTypeList.equals(that.eventTypeList) :that.eventTypeList != null) return false;
if (inMemoryChannel != null ? !inMemoryChannel.equals(that.inMemoryChannel) :that.inMemoryChannel != null) return false;
if (inMemoryChannelList != null ? !inMemoryChannelList.equals(that.inMemoryChannelList) :that.inMemoryChannelList != null) return false;
if (sequence != null ? !sequence.equals(that.sequence) :that.sequence != null) return false;
if (sequenceList != null ? !sequenceList.equals(that.sequenceList) :that.sequenceList != null) return false;
if (subscription != null ? !subscription.equals(that.subscription) :that.subscription != null) return false;
if (subscriptionList != null ? !subscriptionList.equals(that.subscriptionList) :that.subscriptionList != null) return false;
if (trigger != null ? !trigger.equals(that.trigger) :that.trigger != null) return false;
if (triggerList != null ? !triggerList.equals(that.triggerList) :that.triggerList != null) return false;
if (v1Configuration != null ? !v1Configuration.equals(that.v1Configuration) :that.v1Configuration != null) return false;
if (v1ConfigurationList != null ? !v1ConfigurationList.equals(that.v1ConfigurationList) :that.v1ConfigurationList != null) return false;
if (v1Revision != null ? !v1Revision.equals(that.v1Revision) :that.v1Revision != null) return false;
if (v1RevisionList != null ? !v1RevisionList.equals(that.v1RevisionList) :that.v1RevisionList != null) return false;
if (v1Route != null ? !v1Route.equals(that.v1Route) :that.v1Route != null) return false;
if (v1RouteList != null ? !v1RouteList.equals(that.v1RouteList) :that.v1RouteList != null) return false;
if (v1Service != null ? !v1Service.equals(that.v1Service) :that.v1Service != null) return false;
if (v1ServiceList != null ? !v1ServiceList.equals(that.v1ServiceList) :that.v1ServiceList != null) return false;
if (v1alpha1Configuration != null ? !v1alpha1Configuration.equals(that.v1alpha1Configuration) :that.v1alpha1Configuration != null) return false;
if (v1alpha1ConfigurationList != null ? !v1alpha1ConfigurationList.equals(that.v1alpha1ConfigurationList) :that.v1alpha1ConfigurationList != null) return false;
if (v1alpha1Revision != null ? !v1alpha1Revision.equals(that.v1alpha1Revision) :that.v1alpha1Revision != null) return false;
if (v1alpha1RevisionList != null ? !v1alpha1RevisionList.equals(that.v1alpha1RevisionList) :that.v1alpha1RevisionList != null) return false;
if (v1alpha1Route != null ? !v1alpha1Route.equals(that.v1alpha1Route) :that.v1alpha1Route != null) return false;
if (v1alpha1RouteList != null ? !v1alpha1RouteList.equals(that.v1alpha1RouteList) :that.v1alpha1RouteList != null) return false;
if (v1alpha1Service != null ? !v1alpha1Service.equals(that.v1alpha1Service) :that.v1alpha1Service != null) return false;
if (v1alpha1ServiceList != null ? !v1alpha1ServiceList.equals(that.v1alpha1ServiceList) :that.v1alpha1ServiceList != null) return false;
if (v1beta1Configuration != null ? !v1beta1Configuration.equals(that.v1beta1Configuration) :that.v1beta1Configuration != null) return false;
if (v1beta1ConfigurationList != null ? !v1beta1ConfigurationList.equals(that.v1beta1ConfigurationList) :that.v1beta1ConfigurationList != null) return false;
if (v1beta1Revision != null ? !v1beta1Revision.equals(that.v1beta1Revision) :that.v1beta1Revision != null) return false;
if (v1beta1RevisionList != null ? !v1beta1RevisionList.equals(that.v1beta1RevisionList) :that.v1beta1RevisionList != null) return false;
if (v1beta1Route != null ? !v1beta1Route.equals(that.v1beta1Route) :that.v1beta1Route != null) return false;
if (v1beta1RouteList != null ? !v1beta1RouteList.equals(that.v1beta1RouteList) :that.v1beta1RouteList != null) return false;
if (v1beta1Service != null ? !v1beta1Service.equals(that.v1beta1Service) :that.v1beta1Service != null) return false;
if (v1beta1ServiceList != null ? !v1beta1ServiceList.equals(that.v1beta1ServiceList) :that.v1beta1ServiceList != null) return false;
return true;
}
public class BrokerNestedImpl extends BrokerFluentImpl> implements KnativeSchemaFluent.BrokerNested,io.fabric8.kubernetes.api.builder.Nested{
private final BrokerBuilder builder;
BrokerNestedImpl(Broker item){
this.builder = new BrokerBuilder(this, item);
}
BrokerNestedImpl(){
this.builder = new BrokerBuilder(this);
}
public N and(){
return (N) KnativeSchemaFluentImpl.this.withBroker(builder.build());
}
public N endBroker(){
return and();
}
}
public class BrokerListNestedImpl extends BrokerListFluentImpl> implements KnativeSchemaFluent.BrokerListNested,io.fabric8.kubernetes.api.builder.Nested{
private final BrokerListBuilder builder;
BrokerListNestedImpl(BrokerList item){
this.builder = new BrokerListBuilder(this, item);
}
BrokerListNestedImpl(){
this.builder = new BrokerListBuilder(this);
}
public N and(){
return (N) KnativeSchemaFluentImpl.this.withBrokerList(builder.build());
}
public N endBrokerList(){
return and();
}
}
public class ChannelNestedImpl extends ChannelFluentImpl> implements KnativeSchemaFluent.ChannelNested,io.fabric8.kubernetes.api.builder.Nested{
private final ChannelBuilder builder;
ChannelNestedImpl(Channel item){
this.builder = new ChannelBuilder(this, item);
}
ChannelNestedImpl(){
this.builder = new ChannelBuilder(this);
}
public N and(){
return (N) KnativeSchemaFluentImpl.this.withChannel(builder.build());
}
public N endChannel(){
return and();
}
}
public class ChannelListNestedImpl extends ChannelListFluentImpl> implements KnativeSchemaFluent.ChannelListNested,io.fabric8.kubernetes.api.builder.Nested{
private final ChannelListBuilder builder;
ChannelListNestedImpl(ChannelList item){
this.builder = new ChannelListBuilder(this, item);
}
ChannelListNestedImpl(){
this.builder = new ChannelListBuilder(this);
}
public N and(){
return (N) KnativeSchemaFluentImpl.this.withChannelList(builder.build());
}
public N endChannelList(){
return and();
}
}
public class ClusterChannelProvisionerNestedImpl extends ClusterChannelProvisionerFluentImpl> implements KnativeSchemaFluent.ClusterChannelProvisionerNested,io.fabric8.kubernetes.api.builder.Nested{
private final ClusterChannelProvisionerBuilder builder;
ClusterChannelProvisionerNestedImpl(ClusterChannelProvisioner item){
this.builder = new ClusterChannelProvisionerBuilder(this, item);
}
ClusterChannelProvisionerNestedImpl(){
this.builder = new ClusterChannelProvisionerBuilder(this);
}
public N and(){
return (N) KnativeSchemaFluentImpl.this.withClusterChannelProvisioner(builder.build());
}
public N endClusterChannelProvisioner(){
return and();
}
}
public class ClusterChannelProvisionerListNestedImpl extends ClusterChannelProvisionerListFluentImpl> implements KnativeSchemaFluent.ClusterChannelProvisionerListNested,io.fabric8.kubernetes.api.builder.Nested{
private final ClusterChannelProvisionerListBuilder builder;
ClusterChannelProvisionerListNestedImpl(ClusterChannelProvisionerList item){
this.builder = new ClusterChannelProvisionerListBuilder(this, item);
}
ClusterChannelProvisionerListNestedImpl(){
this.builder = new ClusterChannelProvisionerListBuilder(this);
}
public N and(){
return (N) KnativeSchemaFluentImpl.this.withClusterChannelProvisionerList(builder.build());
}
public N endClusterChannelProvisionerList(){
return and();
}
}
public class EventTypeNestedImpl extends EventTypeFluentImpl> implements KnativeSchemaFluent.EventTypeNested,io.fabric8.kubernetes.api.builder.Nested{
private final EventTypeBuilder builder;
EventTypeNestedImpl(EventType item){
this.builder = new EventTypeBuilder(this, item);
}
EventTypeNestedImpl(){
this.builder = new EventTypeBuilder(this);
}
public N and(){
return (N) KnativeSchemaFluentImpl.this.withEventType(builder.build());
}
public N endEventType(){
return and();
}
}
public class EventTypeListNestedImpl extends EventTypeListFluentImpl> implements KnativeSchemaFluent.EventTypeListNested,io.fabric8.kubernetes.api.builder.Nested{
private final EventTypeListBuilder builder;
EventTypeListNestedImpl(EventTypeList item){
this.builder = new EventTypeListBuilder(this, item);
}
EventTypeListNestedImpl(){
this.builder = new EventTypeListBuilder(this);
}
public N and(){
return (N) KnativeSchemaFluentImpl.this.withEventTypeList(builder.build());
}
public N endEventTypeList(){
return and();
}
}
public class InMemoryChannelNestedImpl extends InMemoryChannelFluentImpl> implements KnativeSchemaFluent.InMemoryChannelNested,io.fabric8.kubernetes.api.builder.Nested{
private final InMemoryChannelBuilder builder;
InMemoryChannelNestedImpl(InMemoryChannel item){
this.builder = new InMemoryChannelBuilder(this, item);
}
InMemoryChannelNestedImpl(){
this.builder = new InMemoryChannelBuilder(this);
}
public N and(){
return (N) KnativeSchemaFluentImpl.this.withInMemoryChannel(builder.build());
}
public N endInMemoryChannel(){
return and();
}
}
public class InMemoryChannelListNestedImpl extends InMemoryChannelListFluentImpl> implements KnativeSchemaFluent.InMemoryChannelListNested,io.fabric8.kubernetes.api.builder.Nested{
private final InMemoryChannelListBuilder builder;
InMemoryChannelListNestedImpl(InMemoryChannelList item){
this.builder = new InMemoryChannelListBuilder(this, item);
}
InMemoryChannelListNestedImpl(){
this.builder = new InMemoryChannelListBuilder(this);
}
public N and(){
return (N) KnativeSchemaFluentImpl.this.withInMemoryChannelList(builder.build());
}
public N endInMemoryChannelList(){
return and();
}
}
public class SequenceNestedImpl extends SequenceFluentImpl> implements KnativeSchemaFluent.SequenceNested,io.fabric8.kubernetes.api.builder.Nested{
private final SequenceBuilder builder;
SequenceNestedImpl(Sequence item){
this.builder = new SequenceBuilder(this, item);
}
SequenceNestedImpl(){
this.builder = new SequenceBuilder(this);
}
public N and(){
return (N) KnativeSchemaFluentImpl.this.withSequence(builder.build());
}
public N endSequence(){
return and();
}
}
public class SequenceListNestedImpl extends SequenceListFluentImpl> implements KnativeSchemaFluent.SequenceListNested,io.fabric8.kubernetes.api.builder.Nested{
private final SequenceListBuilder builder;
SequenceListNestedImpl(SequenceList item){
this.builder = new SequenceListBuilder(this, item);
}
SequenceListNestedImpl(){
this.builder = new SequenceListBuilder(this);
}
public N and(){
return (N) KnativeSchemaFluentImpl.this.withSequenceList(builder.build());
}
public N endSequenceList(){
return and();
}
}
public class SubscriptionNestedImpl extends SubscriptionFluentImpl> implements KnativeSchemaFluent.SubscriptionNested,io.fabric8.kubernetes.api.builder.Nested{
private final SubscriptionBuilder builder;
SubscriptionNestedImpl(Subscription item){
this.builder = new SubscriptionBuilder(this, item);
}
SubscriptionNestedImpl(){
this.builder = new SubscriptionBuilder(this);
}
public N and(){
return (N) KnativeSchemaFluentImpl.this.withSubscription(builder.build());
}
public N endSubscription(){
return and();
}
}
public class SubscriptionListNestedImpl extends SubscriptionListFluentImpl> implements KnativeSchemaFluent.SubscriptionListNested,io.fabric8.kubernetes.api.builder.Nested{
private final SubscriptionListBuilder builder;
SubscriptionListNestedImpl(SubscriptionList item){
this.builder = new SubscriptionListBuilder(this, item);
}
SubscriptionListNestedImpl(){
this.builder = new SubscriptionListBuilder(this);
}
public N and(){
return (N) KnativeSchemaFluentImpl.this.withSubscriptionList(builder.build());
}
public N endSubscriptionList(){
return and();
}
}
public class TriggerNestedImpl extends TriggerFluentImpl> implements KnativeSchemaFluent.TriggerNested,io.fabric8.kubernetes.api.builder.Nested{
private final TriggerBuilder builder;
TriggerNestedImpl(Trigger item){
this.builder = new TriggerBuilder(this, item);
}
TriggerNestedImpl(){
this.builder = new TriggerBuilder(this);
}
public N and(){
return (N) KnativeSchemaFluentImpl.this.withTrigger(builder.build());
}
public N endTrigger(){
return and();
}
}
public class TriggerListNestedImpl extends TriggerListFluentImpl> implements KnativeSchemaFluent.TriggerListNested,io.fabric8.kubernetes.api.builder.Nested{
private final TriggerListBuilder builder;
TriggerListNestedImpl(TriggerList item){
this.builder = new TriggerListBuilder(this, item);
}
TriggerListNestedImpl(){
this.builder = new TriggerListBuilder(this);
}
public N and(){
return (N) KnativeSchemaFluentImpl.this.withTriggerList(builder.build());
}
public N endTriggerList(){
return and();
}
}
public class V1ConfigurationNestedImpl extends ConfigurationFluentImpl> implements KnativeSchemaFluent.V1ConfigurationNested,io.fabric8.kubernetes.api.builder.Nested{
private final ConfigurationBuilder builder;
V1ConfigurationNestedImpl(Configuration item){
this.builder = new ConfigurationBuilder(this, item);
}
V1ConfigurationNestedImpl(){
this.builder = new ConfigurationBuilder(this);
}
public N and(){
return (N) KnativeSchemaFluentImpl.this.withV1Configuration(builder.build());
}
public N endV1Configuration(){
return and();
}
}
public class V1ConfigurationListNestedImpl extends ConfigurationListFluentImpl> implements KnativeSchemaFluent.V1ConfigurationListNested,io.fabric8.kubernetes.api.builder.Nested{
private final ConfigurationListBuilder builder;
V1ConfigurationListNestedImpl(ConfigurationList item){
this.builder = new ConfigurationListBuilder(this, item);
}
V1ConfigurationListNestedImpl(){
this.builder = new ConfigurationListBuilder(this);
}
public N and(){
return (N) KnativeSchemaFluentImpl.this.withV1ConfigurationList(builder.build());
}
public N endV1ConfigurationList(){
return and();
}
}
public class V1RevisionNestedImpl extends RevisionFluentImpl> implements KnativeSchemaFluent.V1RevisionNested,io.fabric8.kubernetes.api.builder.Nested{
private final RevisionBuilder builder;
V1RevisionNestedImpl(Revision item){
this.builder = new RevisionBuilder(this, item);
}
V1RevisionNestedImpl(){
this.builder = new RevisionBuilder(this);
}
public N and(){
return (N) KnativeSchemaFluentImpl.this.withV1Revision(builder.build());
}
public N endV1Revision(){
return and();
}
}
public class V1RevisionListNestedImpl extends RevisionListFluentImpl> implements KnativeSchemaFluent.V1RevisionListNested,io.fabric8.kubernetes.api.builder.Nested{
private final RevisionListBuilder builder;
V1RevisionListNestedImpl(RevisionList item){
this.builder = new RevisionListBuilder(this, item);
}
V1RevisionListNestedImpl(){
this.builder = new RevisionListBuilder(this);
}
public N and(){
return (N) KnativeSchemaFluentImpl.this.withV1RevisionList(builder.build());
}
public N endV1RevisionList(){
return and();
}
}
public class V1RouteNestedImpl extends RouteFluentImpl> implements KnativeSchemaFluent.V1RouteNested,io.fabric8.kubernetes.api.builder.Nested{
private final RouteBuilder builder;
V1RouteNestedImpl(Route item){
this.builder = new RouteBuilder(this, item);
}
V1RouteNestedImpl(){
this.builder = new RouteBuilder(this);
}
public N and(){
return (N) KnativeSchemaFluentImpl.this.withV1Route(builder.build());
}
public N endV1Route(){
return and();
}
}
public class V1RouteListNestedImpl extends RouteListFluentImpl> implements KnativeSchemaFluent.V1RouteListNested,io.fabric8.kubernetes.api.builder.Nested{
private final RouteListBuilder builder;
V1RouteListNestedImpl(RouteList item){
this.builder = new RouteListBuilder(this, item);
}
V1RouteListNestedImpl(){
this.builder = new RouteListBuilder(this);
}
public N and(){
return (N) KnativeSchemaFluentImpl.this.withV1RouteList(builder.build());
}
public N endV1RouteList(){
return and();
}
}
public class V1ServiceNestedImpl extends ServiceFluentImpl> implements KnativeSchemaFluent.V1ServiceNested,io.fabric8.kubernetes.api.builder.Nested{
private final ServiceBuilder builder;
V1ServiceNestedImpl(Service item){
this.builder = new ServiceBuilder(this, item);
}
V1ServiceNestedImpl(){
this.builder = new ServiceBuilder(this);
}
public N and(){
return (N) KnativeSchemaFluentImpl.this.withV1Service(builder.build());
}
public N endV1Service(){
return and();
}
}
public class V1ServiceListNestedImpl extends ServiceListFluentImpl> implements KnativeSchemaFluent.V1ServiceListNested,io.fabric8.kubernetes.api.builder.Nested{
private final ServiceListBuilder builder;
V1ServiceListNestedImpl(ServiceList item){
this.builder = new ServiceListBuilder(this, item);
}
V1ServiceListNestedImpl(){
this.builder = new ServiceListBuilder(this);
}
public N and(){
return (N) KnativeSchemaFluentImpl.this.withV1ServiceList(builder.build());
}
public N endV1ServiceList(){
return and();
}
}
public class V1alpha1V1alpha1ConfigurationNestedImpl extends io.fabric8.knative.serving.v1alpha1.ConfigurationFluentImpl> implements KnativeSchemaFluent.V1alpha1V1alpha1ConfigurationNested,io.fabric8.kubernetes.api.builder.Nested{
private final io.fabric8.knative.serving.v1alpha1.ConfigurationBuilder builder;
V1alpha1V1alpha1ConfigurationNestedImpl(io.fabric8.knative.serving.v1alpha1.Configuration item){
this.builder = new io.fabric8.knative.serving.v1alpha1.ConfigurationBuilder(this, item);
}
V1alpha1V1alpha1ConfigurationNestedImpl(){
this.builder = new io.fabric8.knative.serving.v1alpha1.ConfigurationBuilder(this);
}
public N and(){
return (N) KnativeSchemaFluentImpl.this.withV1alpha1Configuration(builder.build());
}
public N endV1alpha1V1alpha1Configuration(){
return and();
}
}
public class V1alpha1V1alpha1ConfigurationListNestedImpl extends io.fabric8.knative.serving.v1alpha1.ConfigurationListFluentImpl> implements KnativeSchemaFluent.V1alpha1V1alpha1ConfigurationListNested,io.fabric8.kubernetes.api.builder.Nested{
private final io.fabric8.knative.serving.v1alpha1.ConfigurationListBuilder builder;
V1alpha1V1alpha1ConfigurationListNestedImpl(io.fabric8.knative.serving.v1alpha1.ConfigurationList item){
this.builder = new io.fabric8.knative.serving.v1alpha1.ConfigurationListBuilder(this, item);
}
V1alpha1V1alpha1ConfigurationListNestedImpl(){
this.builder = new io.fabric8.knative.serving.v1alpha1.ConfigurationListBuilder(this);
}
public N and(){
return (N) KnativeSchemaFluentImpl.this.withV1alpha1ConfigurationList(builder.build());
}
public N endV1alpha1V1alpha1ConfigurationList(){
return and();
}
}
public class V1alpha1V1alpha1RevisionNestedImpl extends io.fabric8.knative.serving.v1alpha1.RevisionFluentImpl> implements KnativeSchemaFluent.V1alpha1V1alpha1RevisionNested,io.fabric8.kubernetes.api.builder.Nested{
private final io.fabric8.knative.serving.v1alpha1.RevisionBuilder builder;
V1alpha1V1alpha1RevisionNestedImpl(io.fabric8.knative.serving.v1alpha1.Revision item){
this.builder = new io.fabric8.knative.serving.v1alpha1.RevisionBuilder(this, item);
}
V1alpha1V1alpha1RevisionNestedImpl(){
this.builder = new io.fabric8.knative.serving.v1alpha1.RevisionBuilder(this);
}
public N and(){
return (N) KnativeSchemaFluentImpl.this.withV1alpha1Revision(builder.build());
}
public N endV1alpha1V1alpha1Revision(){
return and();
}
}
public class V1alpha1V1alpha1RevisionListNestedImpl extends io.fabric8.knative.serving.v1alpha1.RevisionListFluentImpl> implements KnativeSchemaFluent.V1alpha1V1alpha1RevisionListNested,io.fabric8.kubernetes.api.builder.Nested{
private final io.fabric8.knative.serving.v1alpha1.RevisionListBuilder builder;
V1alpha1V1alpha1RevisionListNestedImpl(io.fabric8.knative.serving.v1alpha1.RevisionList item){
this.builder = new io.fabric8.knative.serving.v1alpha1.RevisionListBuilder(this, item);
}
V1alpha1V1alpha1RevisionListNestedImpl(){
this.builder = new io.fabric8.knative.serving.v1alpha1.RevisionListBuilder(this);
}
public N and(){
return (N) KnativeSchemaFluentImpl.this.withV1alpha1RevisionList(builder.build());
}
public N endV1alpha1V1alpha1RevisionList(){
return and();
}
}
public class V1alpha1V1alpha1RouteNestedImpl extends io.fabric8.knative.serving.v1alpha1.RouteFluentImpl> implements KnativeSchemaFluent.V1alpha1V1alpha1RouteNested,io.fabric8.kubernetes.api.builder.Nested{
private final io.fabric8.knative.serving.v1alpha1.RouteBuilder builder;
V1alpha1V1alpha1RouteNestedImpl(io.fabric8.knative.serving.v1alpha1.Route item){
this.builder = new io.fabric8.knative.serving.v1alpha1.RouteBuilder(this, item);
}
V1alpha1V1alpha1RouteNestedImpl(){
this.builder = new io.fabric8.knative.serving.v1alpha1.RouteBuilder(this);
}
public N and(){
return (N) KnativeSchemaFluentImpl.this.withV1alpha1Route(builder.build());
}
public N endV1alpha1V1alpha1Route(){
return and();
}
}
public class V1alpha1V1alpha1RouteListNestedImpl extends io.fabric8.knative.serving.v1alpha1.RouteListFluentImpl> implements KnativeSchemaFluent.V1alpha1V1alpha1RouteListNested,io.fabric8.kubernetes.api.builder.Nested{
private final io.fabric8.knative.serving.v1alpha1.RouteListBuilder builder;
V1alpha1V1alpha1RouteListNestedImpl(io.fabric8.knative.serving.v1alpha1.RouteList item){
this.builder = new io.fabric8.knative.serving.v1alpha1.RouteListBuilder(this, item);
}
V1alpha1V1alpha1RouteListNestedImpl(){
this.builder = new io.fabric8.knative.serving.v1alpha1.RouteListBuilder(this);
}
public N and(){
return (N) KnativeSchemaFluentImpl.this.withV1alpha1RouteList(builder.build());
}
public N endV1alpha1V1alpha1RouteList(){
return and();
}
}
public class V1alpha1V1alpha1ServiceNestedImpl extends io.fabric8.knative.serving.v1alpha1.ServiceFluentImpl> implements KnativeSchemaFluent.V1alpha1V1alpha1ServiceNested,io.fabric8.kubernetes.api.builder.Nested{
private final io.fabric8.knative.serving.v1alpha1.ServiceBuilder builder;
V1alpha1V1alpha1ServiceNestedImpl(io.fabric8.knative.serving.v1alpha1.Service item){
this.builder = new io.fabric8.knative.serving.v1alpha1.ServiceBuilder(this, item);
}
V1alpha1V1alpha1ServiceNestedImpl(){
this.builder = new io.fabric8.knative.serving.v1alpha1.ServiceBuilder(this);
}
public N and(){
return (N) KnativeSchemaFluentImpl.this.withV1alpha1Service(builder.build());
}
public N endV1alpha1V1alpha1Service(){
return and();
}
}
public class V1alpha1V1alpha1ServiceListNestedImpl extends io.fabric8.knative.serving.v1alpha1.ServiceListFluentImpl> implements KnativeSchemaFluent.V1alpha1V1alpha1ServiceListNested,io.fabric8.kubernetes.api.builder.Nested{
private final io.fabric8.knative.serving.v1alpha1.ServiceListBuilder builder;
V1alpha1V1alpha1ServiceListNestedImpl(io.fabric8.knative.serving.v1alpha1.ServiceList item){
this.builder = new io.fabric8.knative.serving.v1alpha1.ServiceListBuilder(this, item);
}
V1alpha1V1alpha1ServiceListNestedImpl(){
this.builder = new io.fabric8.knative.serving.v1alpha1.ServiceListBuilder(this);
}
public N and(){
return (N) KnativeSchemaFluentImpl.this.withV1alpha1ServiceList(builder.build());
}
public N endV1alpha1V1alpha1ServiceList(){
return and();
}
}
public class V1beta1V1beta1ConfigurationNestedImpl extends io.fabric8.knative.serving.v1beta1.ConfigurationFluentImpl> implements KnativeSchemaFluent.V1beta1V1beta1ConfigurationNested,io.fabric8.kubernetes.api.builder.Nested{
private final io.fabric8.knative.serving.v1beta1.ConfigurationBuilder builder;
V1beta1V1beta1ConfigurationNestedImpl(io.fabric8.knative.serving.v1beta1.Configuration item){
this.builder = new io.fabric8.knative.serving.v1beta1.ConfigurationBuilder(this, item);
}
V1beta1V1beta1ConfigurationNestedImpl(){
this.builder = new io.fabric8.knative.serving.v1beta1.ConfigurationBuilder(this);
}
public N and(){
return (N) KnativeSchemaFluentImpl.this.withV1beta1Configuration(builder.build());
}
public N endV1beta1V1beta1Configuration(){
return and();
}
}
public class V1beta1V1beta1ConfigurationListNestedImpl extends io.fabric8.knative.serving.v1beta1.ConfigurationListFluentImpl> implements KnativeSchemaFluent.V1beta1V1beta1ConfigurationListNested,io.fabric8.kubernetes.api.builder.Nested{
private final io.fabric8.knative.serving.v1beta1.ConfigurationListBuilder builder;
V1beta1V1beta1ConfigurationListNestedImpl(io.fabric8.knative.serving.v1beta1.ConfigurationList item){
this.builder = new io.fabric8.knative.serving.v1beta1.ConfigurationListBuilder(this, item);
}
V1beta1V1beta1ConfigurationListNestedImpl(){
this.builder = new io.fabric8.knative.serving.v1beta1.ConfigurationListBuilder(this);
}
public N and(){
return (N) KnativeSchemaFluentImpl.this.withV1beta1ConfigurationList(builder.build());
}
public N endV1beta1V1beta1ConfigurationList(){
return and();
}
}
public class V1beta1V1beta1RevisionNestedImpl extends io.fabric8.knative.serving.v1beta1.RevisionFluentImpl> implements KnativeSchemaFluent.V1beta1V1beta1RevisionNested,io.fabric8.kubernetes.api.builder.Nested{
private final io.fabric8.knative.serving.v1beta1.RevisionBuilder builder;
V1beta1V1beta1RevisionNestedImpl(io.fabric8.knative.serving.v1beta1.Revision item){
this.builder = new io.fabric8.knative.serving.v1beta1.RevisionBuilder(this, item);
}
V1beta1V1beta1RevisionNestedImpl(){
this.builder = new io.fabric8.knative.serving.v1beta1.RevisionBuilder(this);
}
public N and(){
return (N) KnativeSchemaFluentImpl.this.withV1beta1Revision(builder.build());
}
public N endV1beta1V1beta1Revision(){
return and();
}
}
public class V1beta1V1beta1RevisionListNestedImpl extends io.fabric8.knative.serving.v1beta1.RevisionListFluentImpl> implements KnativeSchemaFluent.V1beta1V1beta1RevisionListNested,io.fabric8.kubernetes.api.builder.Nested{
private final io.fabric8.knative.serving.v1beta1.RevisionListBuilder builder;
V1beta1V1beta1RevisionListNestedImpl(io.fabric8.knative.serving.v1beta1.RevisionList item){
this.builder = new io.fabric8.knative.serving.v1beta1.RevisionListBuilder(this, item);
}
V1beta1V1beta1RevisionListNestedImpl(){
this.builder = new io.fabric8.knative.serving.v1beta1.RevisionListBuilder(this);
}
public N and(){
return (N) KnativeSchemaFluentImpl.this.withV1beta1RevisionList(builder.build());
}
public N endV1beta1V1beta1RevisionList(){
return and();
}
}
public class V1beta1V1beta1RouteNestedImpl extends io.fabric8.knative.serving.v1beta1.RouteFluentImpl> implements KnativeSchemaFluent.V1beta1V1beta1RouteNested,io.fabric8.kubernetes.api.builder.Nested{
private final io.fabric8.knative.serving.v1beta1.RouteBuilder builder;
V1beta1V1beta1RouteNestedImpl(io.fabric8.knative.serving.v1beta1.Route item){
this.builder = new io.fabric8.knative.serving.v1beta1.RouteBuilder(this, item);
}
V1beta1V1beta1RouteNestedImpl(){
this.builder = new io.fabric8.knative.serving.v1beta1.RouteBuilder(this);
}
public N and(){
return (N) KnativeSchemaFluentImpl.this.withV1beta1Route(builder.build());
}
public N endV1beta1V1beta1Route(){
return and();
}
}
public class V1beta1V1beta1RouteListNestedImpl extends io.fabric8.knative.serving.v1beta1.RouteListFluentImpl> implements KnativeSchemaFluent.V1beta1V1beta1RouteListNested,io.fabric8.kubernetes.api.builder.Nested{
private final io.fabric8.knative.serving.v1beta1.RouteListBuilder builder;
V1beta1V1beta1RouteListNestedImpl(io.fabric8.knative.serving.v1beta1.RouteList item){
this.builder = new io.fabric8.knative.serving.v1beta1.RouteListBuilder(this, item);
}
V1beta1V1beta1RouteListNestedImpl(){
this.builder = new io.fabric8.knative.serving.v1beta1.RouteListBuilder(this);
}
public N and(){
return (N) KnativeSchemaFluentImpl.this.withV1beta1RouteList(builder.build());
}
public N endV1beta1V1beta1RouteList(){
return and();
}
}
public class V1beta1V1beta1ServiceNestedImpl extends io.fabric8.knative.serving.v1beta1.ServiceFluentImpl> implements KnativeSchemaFluent.V1beta1V1beta1ServiceNested,io.fabric8.kubernetes.api.builder.Nested{
private final io.fabric8.knative.serving.v1beta1.ServiceBuilder builder;
V1beta1V1beta1ServiceNestedImpl(io.fabric8.knative.serving.v1beta1.Service item){
this.builder = new io.fabric8.knative.serving.v1beta1.ServiceBuilder(this, item);
}
V1beta1V1beta1ServiceNestedImpl(){
this.builder = new io.fabric8.knative.serving.v1beta1.ServiceBuilder(this);
}
public N and(){
return (N) KnativeSchemaFluentImpl.this.withV1beta1Service(builder.build());
}
public N endV1beta1V1beta1Service(){
return and();
}
}
public class V1beta1V1beta1ServiceListNestedImpl extends io.fabric8.knative.serving.v1beta1.ServiceListFluentImpl> implements KnativeSchemaFluent.V1beta1V1beta1ServiceListNested,io.fabric8.kubernetes.api.builder.Nested{
private final io.fabric8.knative.serving.v1beta1.ServiceListBuilder builder;
V1beta1V1beta1ServiceListNestedImpl(io.fabric8.knative.serving.v1beta1.ServiceList item){
this.builder = new io.fabric8.knative.serving.v1beta1.ServiceListBuilder(this, item);
}
V1beta1V1beta1ServiceListNestedImpl(){
this.builder = new io.fabric8.knative.serving.v1beta1.ServiceListBuilder(this);
}
public N and(){
return (N) KnativeSchemaFluentImpl.this.withV1beta1ServiceList(builder.build());
}
public N endV1beta1V1beta1ServiceList(){
return and();
}
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy