io.fabric8.openclustermanagement.api.model.OpenClusterManagementDiscoverySchemaFluent Maven / Gradle / Ivy
package io.fabric8.openclustermanagement.api.model;
import io.fabric8.openclustermanagement.api.model.discovery.v1alpha1.DiscoveryConfigSpecFluent;
import io.fabric8.openclustermanagement.api.model.discovery.v1alpha1.FilterFluent;
import io.fabric8.openclustermanagement.api.model.discovery.v1alpha1.DiscoveryConfigStatusBuilder;
import io.fabric8.openclustermanagement.api.model.discovery.v1alpha1.DiscoveredClusterListFluent;
import java.lang.String;
import io.fabric8.openclustermanagement.api.model.discovery.v1alpha1.DiscoveredClusterList;
import io.fabric8.openclustermanagement.api.model.discovery.v1alpha1.DiscoveredClusterSpecBuilder;
import io.fabric8.openclustermanagement.api.model.discovery.v1alpha1.DiscoveredClusterStatusFluent;
import io.fabric8.kubernetes.api.builder.BaseFluent;
import io.fabric8.openclustermanagement.api.model.discovery.v1alpha1.DiscoveryConfigFluent;
import io.fabric8.openclustermanagement.api.model.discovery.v1alpha1.DiscoveryConfigListBuilder;
import io.fabric8.openclustermanagement.api.model.discovery.v1alpha1.DiscoveredClusterBuilder;
import io.fabric8.openclustermanagement.api.model.discovery.v1alpha1.DiscoveryConfigBuilder;
import io.fabric8.openclustermanagement.api.model.discovery.v1alpha1.DiscoveryConfigSpec;
import java.lang.Object;
import io.fabric8.openclustermanagement.api.model.discovery.v1alpha1.DiscoveredClusterListBuilder;
import io.fabric8.openclustermanagement.api.model.discovery.v1alpha1.DiscoveryConfigList;
import io.fabric8.openclustermanagement.api.model.discovery.v1alpha1.DiscoveryConfigStatus;
import java.lang.SuppressWarnings;
import io.fabric8.kubernetes.api.builder.Nested;
import io.fabric8.openclustermanagement.api.model.discovery.v1alpha1.FilterBuilder;
import io.fabric8.openclustermanagement.api.model.discovery.v1alpha1.DiscoveredCluster;
import io.fabric8.openclustermanagement.api.model.discovery.v1alpha1.DiscoveredClusterSpecFluent;
import io.fabric8.openclustermanagement.api.model.discovery.v1alpha1.DiscoveredClusterSpec;
import io.fabric8.openclustermanagement.api.model.discovery.v1alpha1.DiscoveryConfigListFluent;
import io.fabric8.openclustermanagement.api.model.discovery.v1alpha1.DiscoveryConfigSpecBuilder;
import io.fabric8.openclustermanagement.api.model.discovery.v1alpha1.DiscoveryConfigStatusFluent;
import io.fabric8.openclustermanagement.api.model.discovery.v1alpha1.DiscoveredClusterStatus;
import io.fabric8.openclustermanagement.api.model.discovery.v1alpha1.Filter;
import io.fabric8.openclustermanagement.api.model.discovery.v1alpha1.DiscoveredClusterFluent;
import io.fabric8.openclustermanagement.api.model.discovery.v1alpha1.DiscoveredClusterStatusBuilder;
import io.fabric8.openclustermanagement.api.model.discovery.v1alpha1.DiscoveryConfig;
/**
* Generated
*/
@SuppressWarnings("unchecked")
public class OpenClusterManagementDiscoverySchemaFluent> extends BaseFluent{
public OpenClusterManagementDiscoverySchemaFluent() {
}
public OpenClusterManagementDiscoverySchemaFluent(OpenClusterManagementDiscoverySchema instance) {
this.copyInstance(instance);
}
private DiscoveredClusterBuilder githubComOpenClusterManagementDiscoveryApiV1alpha1DiscoveredCluster;
private DiscoveredClusterListBuilder githubComOpenClusterManagementDiscoveryApiV1alpha1DiscoveredClusterList;
private DiscoveredClusterSpecBuilder githubComOpenClusterManagementDiscoveryApiV1alpha1DiscoveredClusterSpec;
private DiscoveredClusterStatusBuilder githubComOpenClusterManagementDiscoveryApiV1alpha1DiscoveredClusterStatus;
private DiscoveryConfigBuilder githubComOpenClusterManagementDiscoveryApiV1alpha1DiscoveryConfig;
private DiscoveryConfigListBuilder githubComOpenClusterManagementDiscoveryApiV1alpha1DiscoveryConfigList;
private DiscoveryConfigSpecBuilder githubComOpenClusterManagementDiscoveryApiV1alpha1DiscoveryConfigSpec;
private DiscoveryConfigStatusBuilder githubComOpenClusterManagementDiscoveryApiV1alpha1DiscoveryConfigStatus;
private FilterBuilder githubComOpenClusterManagementDiscoveryApiV1alpha1Filter;
protected void copyInstance(OpenClusterManagementDiscoverySchema instance) {
instance = (instance != null ? instance : new OpenClusterManagementDiscoverySchema());
if (instance != null) {
this.withGithubComOpenClusterManagementDiscoveryApiV1alpha1DiscoveredCluster(instance.getGithubComOpenClusterManagementDiscoveryApiV1alpha1DiscoveredCluster());
this.withGithubComOpenClusterManagementDiscoveryApiV1alpha1DiscoveredClusterList(instance.getGithubComOpenClusterManagementDiscoveryApiV1alpha1DiscoveredClusterList());
this.withGithubComOpenClusterManagementDiscoveryApiV1alpha1DiscoveredClusterSpec(instance.getGithubComOpenClusterManagementDiscoveryApiV1alpha1DiscoveredClusterSpec());
this.withGithubComOpenClusterManagementDiscoveryApiV1alpha1DiscoveredClusterStatus(instance.getGithubComOpenClusterManagementDiscoveryApiV1alpha1DiscoveredClusterStatus());
this.withGithubComOpenClusterManagementDiscoveryApiV1alpha1DiscoveryConfig(instance.getGithubComOpenClusterManagementDiscoveryApiV1alpha1DiscoveryConfig());
this.withGithubComOpenClusterManagementDiscoveryApiV1alpha1DiscoveryConfigList(instance.getGithubComOpenClusterManagementDiscoveryApiV1alpha1DiscoveryConfigList());
this.withGithubComOpenClusterManagementDiscoveryApiV1alpha1DiscoveryConfigSpec(instance.getGithubComOpenClusterManagementDiscoveryApiV1alpha1DiscoveryConfigSpec());
this.withGithubComOpenClusterManagementDiscoveryApiV1alpha1DiscoveryConfigStatus(instance.getGithubComOpenClusterManagementDiscoveryApiV1alpha1DiscoveryConfigStatus());
this.withGithubComOpenClusterManagementDiscoveryApiV1alpha1Filter(instance.getGithubComOpenClusterManagementDiscoveryApiV1alpha1Filter());
}
}
public DiscoveredCluster buildGithubComOpenClusterManagementDiscoveryApiV1alpha1DiscoveredCluster() {
return this.githubComOpenClusterManagementDiscoveryApiV1alpha1DiscoveredCluster != null ? this.githubComOpenClusterManagementDiscoveryApiV1alpha1DiscoveredCluster.build() : null;
}
public A withGithubComOpenClusterManagementDiscoveryApiV1alpha1DiscoveredCluster(DiscoveredCluster githubComOpenClusterManagementDiscoveryApiV1alpha1DiscoveredCluster) {
this._visitables.remove("githubComOpenClusterManagementDiscoveryApiV1alpha1DiscoveredCluster");
if (githubComOpenClusterManagementDiscoveryApiV1alpha1DiscoveredCluster != null) {
this.githubComOpenClusterManagementDiscoveryApiV1alpha1DiscoveredCluster = new DiscoveredClusterBuilder(githubComOpenClusterManagementDiscoveryApiV1alpha1DiscoveredCluster);
this._visitables.get("githubComOpenClusterManagementDiscoveryApiV1alpha1DiscoveredCluster").add(this.githubComOpenClusterManagementDiscoveryApiV1alpha1DiscoveredCluster);
} else {
this.githubComOpenClusterManagementDiscoveryApiV1alpha1DiscoveredCluster = null;
this._visitables.get("githubComOpenClusterManagementDiscoveryApiV1alpha1DiscoveredCluster").remove(this.githubComOpenClusterManagementDiscoveryApiV1alpha1DiscoveredCluster);
}
return (A) this;
}
public boolean hasGithubComOpenClusterManagementDiscoveryApiV1alpha1DiscoveredCluster() {
return this.githubComOpenClusterManagementDiscoveryApiV1alpha1DiscoveredCluster != null;
}
public GithubComOpenClusterManagementDiscoveryApiV1alpha1DiscoveredClusterNested withNewGithubComOpenClusterManagementDiscoveryApiV1alpha1DiscoveredCluster() {
return new GithubComOpenClusterManagementDiscoveryApiV1alpha1DiscoveredClusterNested(null);
}
public GithubComOpenClusterManagementDiscoveryApiV1alpha1DiscoveredClusterNested withNewGithubComOpenClusterManagementDiscoveryApiV1alpha1DiscoveredClusterLike(DiscoveredCluster item) {
return new GithubComOpenClusterManagementDiscoveryApiV1alpha1DiscoveredClusterNested(item);
}
public GithubComOpenClusterManagementDiscoveryApiV1alpha1DiscoveredClusterNested editGithubComOpenClusterManagementDiscoveryApiV1alpha1DiscoveredCluster() {
return withNewGithubComOpenClusterManagementDiscoveryApiV1alpha1DiscoveredClusterLike(java.util.Optional.ofNullable(buildGithubComOpenClusterManagementDiscoveryApiV1alpha1DiscoveredCluster()).orElse(null));
}
public GithubComOpenClusterManagementDiscoveryApiV1alpha1DiscoveredClusterNested editOrNewGithubComOpenClusterManagementDiscoveryApiV1alpha1DiscoveredCluster() {
return withNewGithubComOpenClusterManagementDiscoveryApiV1alpha1DiscoveredClusterLike(java.util.Optional.ofNullable(buildGithubComOpenClusterManagementDiscoveryApiV1alpha1DiscoveredCluster()).orElse(new DiscoveredClusterBuilder().build()));
}
public GithubComOpenClusterManagementDiscoveryApiV1alpha1DiscoveredClusterNested editOrNewGithubComOpenClusterManagementDiscoveryApiV1alpha1DiscoveredClusterLike(DiscoveredCluster item) {
return withNewGithubComOpenClusterManagementDiscoveryApiV1alpha1DiscoveredClusterLike(java.util.Optional.ofNullable(buildGithubComOpenClusterManagementDiscoveryApiV1alpha1DiscoveredCluster()).orElse(item));
}
public DiscoveredClusterList buildGithubComOpenClusterManagementDiscoveryApiV1alpha1DiscoveredClusterList() {
return this.githubComOpenClusterManagementDiscoveryApiV1alpha1DiscoveredClusterList != null ? this.githubComOpenClusterManagementDiscoveryApiV1alpha1DiscoveredClusterList.build() : null;
}
public A withGithubComOpenClusterManagementDiscoveryApiV1alpha1DiscoveredClusterList(DiscoveredClusterList githubComOpenClusterManagementDiscoveryApiV1alpha1DiscoveredClusterList) {
this._visitables.remove("githubComOpenClusterManagementDiscoveryApiV1alpha1DiscoveredClusterList");
if (githubComOpenClusterManagementDiscoveryApiV1alpha1DiscoveredClusterList != null) {
this.githubComOpenClusterManagementDiscoveryApiV1alpha1DiscoveredClusterList = new DiscoveredClusterListBuilder(githubComOpenClusterManagementDiscoveryApiV1alpha1DiscoveredClusterList);
this._visitables.get("githubComOpenClusterManagementDiscoveryApiV1alpha1DiscoveredClusterList").add(this.githubComOpenClusterManagementDiscoveryApiV1alpha1DiscoveredClusterList);
} else {
this.githubComOpenClusterManagementDiscoveryApiV1alpha1DiscoveredClusterList = null;
this._visitables.get("githubComOpenClusterManagementDiscoveryApiV1alpha1DiscoveredClusterList").remove(this.githubComOpenClusterManagementDiscoveryApiV1alpha1DiscoveredClusterList);
}
return (A) this;
}
public boolean hasGithubComOpenClusterManagementDiscoveryApiV1alpha1DiscoveredClusterList() {
return this.githubComOpenClusterManagementDiscoveryApiV1alpha1DiscoveredClusterList != null;
}
public GithubComOpenClusterManagementDiscoveryApiV1alpha1DiscoveredClusterListNested withNewGithubComOpenClusterManagementDiscoveryApiV1alpha1DiscoveredClusterList() {
return new GithubComOpenClusterManagementDiscoveryApiV1alpha1DiscoveredClusterListNested(null);
}
public GithubComOpenClusterManagementDiscoveryApiV1alpha1DiscoveredClusterListNested withNewGithubComOpenClusterManagementDiscoveryApiV1alpha1DiscoveredClusterListLike(DiscoveredClusterList item) {
return new GithubComOpenClusterManagementDiscoveryApiV1alpha1DiscoveredClusterListNested(item);
}
public GithubComOpenClusterManagementDiscoveryApiV1alpha1DiscoveredClusterListNested editGithubComOpenClusterManagementDiscoveryApiV1alpha1DiscoveredClusterList() {
return withNewGithubComOpenClusterManagementDiscoveryApiV1alpha1DiscoveredClusterListLike(java.util.Optional.ofNullable(buildGithubComOpenClusterManagementDiscoveryApiV1alpha1DiscoveredClusterList()).orElse(null));
}
public GithubComOpenClusterManagementDiscoveryApiV1alpha1DiscoveredClusterListNested editOrNewGithubComOpenClusterManagementDiscoveryApiV1alpha1DiscoveredClusterList() {
return withNewGithubComOpenClusterManagementDiscoveryApiV1alpha1DiscoveredClusterListLike(java.util.Optional.ofNullable(buildGithubComOpenClusterManagementDiscoveryApiV1alpha1DiscoveredClusterList()).orElse(new DiscoveredClusterListBuilder().build()));
}
public GithubComOpenClusterManagementDiscoveryApiV1alpha1DiscoveredClusterListNested editOrNewGithubComOpenClusterManagementDiscoveryApiV1alpha1DiscoveredClusterListLike(DiscoveredClusterList item) {
return withNewGithubComOpenClusterManagementDiscoveryApiV1alpha1DiscoveredClusterListLike(java.util.Optional.ofNullable(buildGithubComOpenClusterManagementDiscoveryApiV1alpha1DiscoveredClusterList()).orElse(item));
}
public DiscoveredClusterSpec buildGithubComOpenClusterManagementDiscoveryApiV1alpha1DiscoveredClusterSpec() {
return this.githubComOpenClusterManagementDiscoveryApiV1alpha1DiscoveredClusterSpec != null ? this.githubComOpenClusterManagementDiscoveryApiV1alpha1DiscoveredClusterSpec.build() : null;
}
public A withGithubComOpenClusterManagementDiscoveryApiV1alpha1DiscoveredClusterSpec(DiscoveredClusterSpec githubComOpenClusterManagementDiscoveryApiV1alpha1DiscoveredClusterSpec) {
this._visitables.remove("githubComOpenClusterManagementDiscoveryApiV1alpha1DiscoveredClusterSpec");
if (githubComOpenClusterManagementDiscoveryApiV1alpha1DiscoveredClusterSpec != null) {
this.githubComOpenClusterManagementDiscoveryApiV1alpha1DiscoveredClusterSpec = new DiscoveredClusterSpecBuilder(githubComOpenClusterManagementDiscoveryApiV1alpha1DiscoveredClusterSpec);
this._visitables.get("githubComOpenClusterManagementDiscoveryApiV1alpha1DiscoveredClusterSpec").add(this.githubComOpenClusterManagementDiscoveryApiV1alpha1DiscoveredClusterSpec);
} else {
this.githubComOpenClusterManagementDiscoveryApiV1alpha1DiscoveredClusterSpec = null;
this._visitables.get("githubComOpenClusterManagementDiscoveryApiV1alpha1DiscoveredClusterSpec").remove(this.githubComOpenClusterManagementDiscoveryApiV1alpha1DiscoveredClusterSpec);
}
return (A) this;
}
public boolean hasGithubComOpenClusterManagementDiscoveryApiV1alpha1DiscoveredClusterSpec() {
return this.githubComOpenClusterManagementDiscoveryApiV1alpha1DiscoveredClusterSpec != null;
}
public GithubComOpenClusterManagementDiscoveryApiV1alpha1DiscoveredClusterSpecNested withNewGithubComOpenClusterManagementDiscoveryApiV1alpha1DiscoveredClusterSpec() {
return new GithubComOpenClusterManagementDiscoveryApiV1alpha1DiscoveredClusterSpecNested(null);
}
public GithubComOpenClusterManagementDiscoveryApiV1alpha1DiscoveredClusterSpecNested withNewGithubComOpenClusterManagementDiscoveryApiV1alpha1DiscoveredClusterSpecLike(DiscoveredClusterSpec item) {
return new GithubComOpenClusterManagementDiscoveryApiV1alpha1DiscoveredClusterSpecNested(item);
}
public GithubComOpenClusterManagementDiscoveryApiV1alpha1DiscoveredClusterSpecNested editGithubComOpenClusterManagementDiscoveryApiV1alpha1DiscoveredClusterSpec() {
return withNewGithubComOpenClusterManagementDiscoveryApiV1alpha1DiscoveredClusterSpecLike(java.util.Optional.ofNullable(buildGithubComOpenClusterManagementDiscoveryApiV1alpha1DiscoveredClusterSpec()).orElse(null));
}
public GithubComOpenClusterManagementDiscoveryApiV1alpha1DiscoveredClusterSpecNested editOrNewGithubComOpenClusterManagementDiscoveryApiV1alpha1DiscoveredClusterSpec() {
return withNewGithubComOpenClusterManagementDiscoveryApiV1alpha1DiscoveredClusterSpecLike(java.util.Optional.ofNullable(buildGithubComOpenClusterManagementDiscoveryApiV1alpha1DiscoveredClusterSpec()).orElse(new DiscoveredClusterSpecBuilder().build()));
}
public GithubComOpenClusterManagementDiscoveryApiV1alpha1DiscoveredClusterSpecNested editOrNewGithubComOpenClusterManagementDiscoveryApiV1alpha1DiscoveredClusterSpecLike(DiscoveredClusterSpec item) {
return withNewGithubComOpenClusterManagementDiscoveryApiV1alpha1DiscoveredClusterSpecLike(java.util.Optional.ofNullable(buildGithubComOpenClusterManagementDiscoveryApiV1alpha1DiscoveredClusterSpec()).orElse(item));
}
public DiscoveredClusterStatus buildGithubComOpenClusterManagementDiscoveryApiV1alpha1DiscoveredClusterStatus() {
return this.githubComOpenClusterManagementDiscoveryApiV1alpha1DiscoveredClusterStatus != null ? this.githubComOpenClusterManagementDiscoveryApiV1alpha1DiscoveredClusterStatus.build() : null;
}
public A withGithubComOpenClusterManagementDiscoveryApiV1alpha1DiscoveredClusterStatus(DiscoveredClusterStatus githubComOpenClusterManagementDiscoveryApiV1alpha1DiscoveredClusterStatus) {
this._visitables.remove("githubComOpenClusterManagementDiscoveryApiV1alpha1DiscoveredClusterStatus");
if (githubComOpenClusterManagementDiscoveryApiV1alpha1DiscoveredClusterStatus != null) {
this.githubComOpenClusterManagementDiscoveryApiV1alpha1DiscoveredClusterStatus = new DiscoveredClusterStatusBuilder(githubComOpenClusterManagementDiscoveryApiV1alpha1DiscoveredClusterStatus);
this._visitables.get("githubComOpenClusterManagementDiscoveryApiV1alpha1DiscoveredClusterStatus").add(this.githubComOpenClusterManagementDiscoveryApiV1alpha1DiscoveredClusterStatus);
} else {
this.githubComOpenClusterManagementDiscoveryApiV1alpha1DiscoveredClusterStatus = null;
this._visitables.get("githubComOpenClusterManagementDiscoveryApiV1alpha1DiscoveredClusterStatus").remove(this.githubComOpenClusterManagementDiscoveryApiV1alpha1DiscoveredClusterStatus);
}
return (A) this;
}
public boolean hasGithubComOpenClusterManagementDiscoveryApiV1alpha1DiscoveredClusterStatus() {
return this.githubComOpenClusterManagementDiscoveryApiV1alpha1DiscoveredClusterStatus != null;
}
public GithubComOpenClusterManagementDiscoveryApiV1alpha1DiscoveredClusterStatusNested withNewGithubComOpenClusterManagementDiscoveryApiV1alpha1DiscoveredClusterStatus() {
return new GithubComOpenClusterManagementDiscoveryApiV1alpha1DiscoveredClusterStatusNested(null);
}
public GithubComOpenClusterManagementDiscoveryApiV1alpha1DiscoveredClusterStatusNested withNewGithubComOpenClusterManagementDiscoveryApiV1alpha1DiscoveredClusterStatusLike(DiscoveredClusterStatus item) {
return new GithubComOpenClusterManagementDiscoveryApiV1alpha1DiscoveredClusterStatusNested(item);
}
public GithubComOpenClusterManagementDiscoveryApiV1alpha1DiscoveredClusterStatusNested editGithubComOpenClusterManagementDiscoveryApiV1alpha1DiscoveredClusterStatus() {
return withNewGithubComOpenClusterManagementDiscoveryApiV1alpha1DiscoveredClusterStatusLike(java.util.Optional.ofNullable(buildGithubComOpenClusterManagementDiscoveryApiV1alpha1DiscoveredClusterStatus()).orElse(null));
}
public GithubComOpenClusterManagementDiscoveryApiV1alpha1DiscoveredClusterStatusNested editOrNewGithubComOpenClusterManagementDiscoveryApiV1alpha1DiscoveredClusterStatus() {
return withNewGithubComOpenClusterManagementDiscoveryApiV1alpha1DiscoveredClusterStatusLike(java.util.Optional.ofNullable(buildGithubComOpenClusterManagementDiscoveryApiV1alpha1DiscoveredClusterStatus()).orElse(new DiscoveredClusterStatusBuilder().build()));
}
public GithubComOpenClusterManagementDiscoveryApiV1alpha1DiscoveredClusterStatusNested editOrNewGithubComOpenClusterManagementDiscoveryApiV1alpha1DiscoveredClusterStatusLike(DiscoveredClusterStatus item) {
return withNewGithubComOpenClusterManagementDiscoveryApiV1alpha1DiscoveredClusterStatusLike(java.util.Optional.ofNullable(buildGithubComOpenClusterManagementDiscoveryApiV1alpha1DiscoveredClusterStatus()).orElse(item));
}
public DiscoveryConfig buildGithubComOpenClusterManagementDiscoveryApiV1alpha1DiscoveryConfig() {
return this.githubComOpenClusterManagementDiscoveryApiV1alpha1DiscoveryConfig != null ? this.githubComOpenClusterManagementDiscoveryApiV1alpha1DiscoveryConfig.build() : null;
}
public A withGithubComOpenClusterManagementDiscoveryApiV1alpha1DiscoveryConfig(DiscoveryConfig githubComOpenClusterManagementDiscoveryApiV1alpha1DiscoveryConfig) {
this._visitables.remove("githubComOpenClusterManagementDiscoveryApiV1alpha1DiscoveryConfig");
if (githubComOpenClusterManagementDiscoveryApiV1alpha1DiscoveryConfig != null) {
this.githubComOpenClusterManagementDiscoveryApiV1alpha1DiscoveryConfig = new DiscoveryConfigBuilder(githubComOpenClusterManagementDiscoveryApiV1alpha1DiscoveryConfig);
this._visitables.get("githubComOpenClusterManagementDiscoveryApiV1alpha1DiscoveryConfig").add(this.githubComOpenClusterManagementDiscoveryApiV1alpha1DiscoveryConfig);
} else {
this.githubComOpenClusterManagementDiscoveryApiV1alpha1DiscoveryConfig = null;
this._visitables.get("githubComOpenClusterManagementDiscoveryApiV1alpha1DiscoveryConfig").remove(this.githubComOpenClusterManagementDiscoveryApiV1alpha1DiscoveryConfig);
}
return (A) this;
}
public boolean hasGithubComOpenClusterManagementDiscoveryApiV1alpha1DiscoveryConfig() {
return this.githubComOpenClusterManagementDiscoveryApiV1alpha1DiscoveryConfig != null;
}
public GithubComOpenClusterManagementDiscoveryApiV1alpha1DiscoveryConfigNested withNewGithubComOpenClusterManagementDiscoveryApiV1alpha1DiscoveryConfig() {
return new GithubComOpenClusterManagementDiscoveryApiV1alpha1DiscoveryConfigNested(null);
}
public GithubComOpenClusterManagementDiscoveryApiV1alpha1DiscoveryConfigNested withNewGithubComOpenClusterManagementDiscoveryApiV1alpha1DiscoveryConfigLike(DiscoveryConfig item) {
return new GithubComOpenClusterManagementDiscoveryApiV1alpha1DiscoveryConfigNested(item);
}
public GithubComOpenClusterManagementDiscoveryApiV1alpha1DiscoveryConfigNested editGithubComOpenClusterManagementDiscoveryApiV1alpha1DiscoveryConfig() {
return withNewGithubComOpenClusterManagementDiscoveryApiV1alpha1DiscoveryConfigLike(java.util.Optional.ofNullable(buildGithubComOpenClusterManagementDiscoveryApiV1alpha1DiscoveryConfig()).orElse(null));
}
public GithubComOpenClusterManagementDiscoveryApiV1alpha1DiscoveryConfigNested editOrNewGithubComOpenClusterManagementDiscoveryApiV1alpha1DiscoveryConfig() {
return withNewGithubComOpenClusterManagementDiscoveryApiV1alpha1DiscoveryConfigLike(java.util.Optional.ofNullable(buildGithubComOpenClusterManagementDiscoveryApiV1alpha1DiscoveryConfig()).orElse(new DiscoveryConfigBuilder().build()));
}
public GithubComOpenClusterManagementDiscoveryApiV1alpha1DiscoveryConfigNested editOrNewGithubComOpenClusterManagementDiscoveryApiV1alpha1DiscoveryConfigLike(DiscoveryConfig item) {
return withNewGithubComOpenClusterManagementDiscoveryApiV1alpha1DiscoveryConfigLike(java.util.Optional.ofNullable(buildGithubComOpenClusterManagementDiscoveryApiV1alpha1DiscoveryConfig()).orElse(item));
}
public DiscoveryConfigList buildGithubComOpenClusterManagementDiscoveryApiV1alpha1DiscoveryConfigList() {
return this.githubComOpenClusterManagementDiscoveryApiV1alpha1DiscoveryConfigList != null ? this.githubComOpenClusterManagementDiscoveryApiV1alpha1DiscoveryConfigList.build() : null;
}
public A withGithubComOpenClusterManagementDiscoveryApiV1alpha1DiscoveryConfigList(DiscoveryConfigList githubComOpenClusterManagementDiscoveryApiV1alpha1DiscoveryConfigList) {
this._visitables.remove("githubComOpenClusterManagementDiscoveryApiV1alpha1DiscoveryConfigList");
if (githubComOpenClusterManagementDiscoveryApiV1alpha1DiscoveryConfigList != null) {
this.githubComOpenClusterManagementDiscoveryApiV1alpha1DiscoveryConfigList = new DiscoveryConfigListBuilder(githubComOpenClusterManagementDiscoveryApiV1alpha1DiscoveryConfigList);
this._visitables.get("githubComOpenClusterManagementDiscoveryApiV1alpha1DiscoveryConfigList").add(this.githubComOpenClusterManagementDiscoveryApiV1alpha1DiscoveryConfigList);
} else {
this.githubComOpenClusterManagementDiscoveryApiV1alpha1DiscoveryConfigList = null;
this._visitables.get("githubComOpenClusterManagementDiscoveryApiV1alpha1DiscoveryConfigList").remove(this.githubComOpenClusterManagementDiscoveryApiV1alpha1DiscoveryConfigList);
}
return (A) this;
}
public boolean hasGithubComOpenClusterManagementDiscoveryApiV1alpha1DiscoveryConfigList() {
return this.githubComOpenClusterManagementDiscoveryApiV1alpha1DiscoveryConfigList != null;
}
public GithubComOpenClusterManagementDiscoveryApiV1alpha1DiscoveryConfigListNested withNewGithubComOpenClusterManagementDiscoveryApiV1alpha1DiscoveryConfigList() {
return new GithubComOpenClusterManagementDiscoveryApiV1alpha1DiscoveryConfigListNested(null);
}
public GithubComOpenClusterManagementDiscoveryApiV1alpha1DiscoveryConfigListNested withNewGithubComOpenClusterManagementDiscoveryApiV1alpha1DiscoveryConfigListLike(DiscoveryConfigList item) {
return new GithubComOpenClusterManagementDiscoveryApiV1alpha1DiscoveryConfigListNested(item);
}
public GithubComOpenClusterManagementDiscoveryApiV1alpha1DiscoveryConfigListNested editGithubComOpenClusterManagementDiscoveryApiV1alpha1DiscoveryConfigList() {
return withNewGithubComOpenClusterManagementDiscoveryApiV1alpha1DiscoveryConfigListLike(java.util.Optional.ofNullable(buildGithubComOpenClusterManagementDiscoveryApiV1alpha1DiscoveryConfigList()).orElse(null));
}
public GithubComOpenClusterManagementDiscoveryApiV1alpha1DiscoveryConfigListNested editOrNewGithubComOpenClusterManagementDiscoveryApiV1alpha1DiscoveryConfigList() {
return withNewGithubComOpenClusterManagementDiscoveryApiV1alpha1DiscoveryConfigListLike(java.util.Optional.ofNullable(buildGithubComOpenClusterManagementDiscoveryApiV1alpha1DiscoveryConfigList()).orElse(new DiscoveryConfigListBuilder().build()));
}
public GithubComOpenClusterManagementDiscoveryApiV1alpha1DiscoveryConfigListNested editOrNewGithubComOpenClusterManagementDiscoveryApiV1alpha1DiscoveryConfigListLike(DiscoveryConfigList item) {
return withNewGithubComOpenClusterManagementDiscoveryApiV1alpha1DiscoveryConfigListLike(java.util.Optional.ofNullable(buildGithubComOpenClusterManagementDiscoveryApiV1alpha1DiscoveryConfigList()).orElse(item));
}
public DiscoveryConfigSpec buildGithubComOpenClusterManagementDiscoveryApiV1alpha1DiscoveryConfigSpec() {
return this.githubComOpenClusterManagementDiscoveryApiV1alpha1DiscoveryConfigSpec != null ? this.githubComOpenClusterManagementDiscoveryApiV1alpha1DiscoveryConfigSpec.build() : null;
}
public A withGithubComOpenClusterManagementDiscoveryApiV1alpha1DiscoveryConfigSpec(DiscoveryConfigSpec githubComOpenClusterManagementDiscoveryApiV1alpha1DiscoveryConfigSpec) {
this._visitables.remove("githubComOpenClusterManagementDiscoveryApiV1alpha1DiscoveryConfigSpec");
if (githubComOpenClusterManagementDiscoveryApiV1alpha1DiscoveryConfigSpec != null) {
this.githubComOpenClusterManagementDiscoveryApiV1alpha1DiscoveryConfigSpec = new DiscoveryConfigSpecBuilder(githubComOpenClusterManagementDiscoveryApiV1alpha1DiscoveryConfigSpec);
this._visitables.get("githubComOpenClusterManagementDiscoveryApiV1alpha1DiscoveryConfigSpec").add(this.githubComOpenClusterManagementDiscoveryApiV1alpha1DiscoveryConfigSpec);
} else {
this.githubComOpenClusterManagementDiscoveryApiV1alpha1DiscoveryConfigSpec = null;
this._visitables.get("githubComOpenClusterManagementDiscoveryApiV1alpha1DiscoveryConfigSpec").remove(this.githubComOpenClusterManagementDiscoveryApiV1alpha1DiscoveryConfigSpec);
}
return (A) this;
}
public boolean hasGithubComOpenClusterManagementDiscoveryApiV1alpha1DiscoveryConfigSpec() {
return this.githubComOpenClusterManagementDiscoveryApiV1alpha1DiscoveryConfigSpec != null;
}
public GithubComOpenClusterManagementDiscoveryApiV1alpha1DiscoveryConfigSpecNested withNewGithubComOpenClusterManagementDiscoveryApiV1alpha1DiscoveryConfigSpec() {
return new GithubComOpenClusterManagementDiscoveryApiV1alpha1DiscoveryConfigSpecNested(null);
}
public GithubComOpenClusterManagementDiscoveryApiV1alpha1DiscoveryConfigSpecNested withNewGithubComOpenClusterManagementDiscoveryApiV1alpha1DiscoveryConfigSpecLike(DiscoveryConfigSpec item) {
return new GithubComOpenClusterManagementDiscoveryApiV1alpha1DiscoveryConfigSpecNested(item);
}
public GithubComOpenClusterManagementDiscoveryApiV1alpha1DiscoveryConfigSpecNested editGithubComOpenClusterManagementDiscoveryApiV1alpha1DiscoveryConfigSpec() {
return withNewGithubComOpenClusterManagementDiscoveryApiV1alpha1DiscoveryConfigSpecLike(java.util.Optional.ofNullable(buildGithubComOpenClusterManagementDiscoveryApiV1alpha1DiscoveryConfigSpec()).orElse(null));
}
public GithubComOpenClusterManagementDiscoveryApiV1alpha1DiscoveryConfigSpecNested editOrNewGithubComOpenClusterManagementDiscoveryApiV1alpha1DiscoveryConfigSpec() {
return withNewGithubComOpenClusterManagementDiscoveryApiV1alpha1DiscoveryConfigSpecLike(java.util.Optional.ofNullable(buildGithubComOpenClusterManagementDiscoveryApiV1alpha1DiscoveryConfigSpec()).orElse(new DiscoveryConfigSpecBuilder().build()));
}
public GithubComOpenClusterManagementDiscoveryApiV1alpha1DiscoveryConfigSpecNested editOrNewGithubComOpenClusterManagementDiscoveryApiV1alpha1DiscoveryConfigSpecLike(DiscoveryConfigSpec item) {
return withNewGithubComOpenClusterManagementDiscoveryApiV1alpha1DiscoveryConfigSpecLike(java.util.Optional.ofNullable(buildGithubComOpenClusterManagementDiscoveryApiV1alpha1DiscoveryConfigSpec()).orElse(item));
}
public DiscoveryConfigStatus buildGithubComOpenClusterManagementDiscoveryApiV1alpha1DiscoveryConfigStatus() {
return this.githubComOpenClusterManagementDiscoveryApiV1alpha1DiscoveryConfigStatus != null ? this.githubComOpenClusterManagementDiscoveryApiV1alpha1DiscoveryConfigStatus.build() : null;
}
public A withGithubComOpenClusterManagementDiscoveryApiV1alpha1DiscoveryConfigStatus(DiscoveryConfigStatus githubComOpenClusterManagementDiscoveryApiV1alpha1DiscoveryConfigStatus) {
this._visitables.remove("githubComOpenClusterManagementDiscoveryApiV1alpha1DiscoveryConfigStatus");
if (githubComOpenClusterManagementDiscoveryApiV1alpha1DiscoveryConfigStatus != null) {
this.githubComOpenClusterManagementDiscoveryApiV1alpha1DiscoveryConfigStatus = new DiscoveryConfigStatusBuilder(githubComOpenClusterManagementDiscoveryApiV1alpha1DiscoveryConfigStatus);
this._visitables.get("githubComOpenClusterManagementDiscoveryApiV1alpha1DiscoveryConfigStatus").add(this.githubComOpenClusterManagementDiscoveryApiV1alpha1DiscoveryConfigStatus);
} else {
this.githubComOpenClusterManagementDiscoveryApiV1alpha1DiscoveryConfigStatus = null;
this._visitables.get("githubComOpenClusterManagementDiscoveryApiV1alpha1DiscoveryConfigStatus").remove(this.githubComOpenClusterManagementDiscoveryApiV1alpha1DiscoveryConfigStatus);
}
return (A) this;
}
public boolean hasGithubComOpenClusterManagementDiscoveryApiV1alpha1DiscoveryConfigStatus() {
return this.githubComOpenClusterManagementDiscoveryApiV1alpha1DiscoveryConfigStatus != null;
}
public GithubComOpenClusterManagementDiscoveryApiV1alpha1DiscoveryConfigStatusNested withNewGithubComOpenClusterManagementDiscoveryApiV1alpha1DiscoveryConfigStatus() {
return new GithubComOpenClusterManagementDiscoveryApiV1alpha1DiscoveryConfigStatusNested(null);
}
public GithubComOpenClusterManagementDiscoveryApiV1alpha1DiscoveryConfigStatusNested withNewGithubComOpenClusterManagementDiscoveryApiV1alpha1DiscoveryConfigStatusLike(DiscoveryConfigStatus item) {
return new GithubComOpenClusterManagementDiscoveryApiV1alpha1DiscoveryConfigStatusNested(item);
}
public GithubComOpenClusterManagementDiscoveryApiV1alpha1DiscoveryConfigStatusNested editGithubComOpenClusterManagementDiscoveryApiV1alpha1DiscoveryConfigStatus() {
return withNewGithubComOpenClusterManagementDiscoveryApiV1alpha1DiscoveryConfigStatusLike(java.util.Optional.ofNullable(buildGithubComOpenClusterManagementDiscoveryApiV1alpha1DiscoveryConfigStatus()).orElse(null));
}
public GithubComOpenClusterManagementDiscoveryApiV1alpha1DiscoveryConfigStatusNested editOrNewGithubComOpenClusterManagementDiscoveryApiV1alpha1DiscoveryConfigStatus() {
return withNewGithubComOpenClusterManagementDiscoveryApiV1alpha1DiscoveryConfigStatusLike(java.util.Optional.ofNullable(buildGithubComOpenClusterManagementDiscoveryApiV1alpha1DiscoveryConfigStatus()).orElse(new DiscoveryConfigStatusBuilder().build()));
}
public GithubComOpenClusterManagementDiscoveryApiV1alpha1DiscoveryConfigStatusNested editOrNewGithubComOpenClusterManagementDiscoveryApiV1alpha1DiscoveryConfigStatusLike(DiscoveryConfigStatus item) {
return withNewGithubComOpenClusterManagementDiscoveryApiV1alpha1DiscoveryConfigStatusLike(java.util.Optional.ofNullable(buildGithubComOpenClusterManagementDiscoveryApiV1alpha1DiscoveryConfigStatus()).orElse(item));
}
public Filter buildGithubComOpenClusterManagementDiscoveryApiV1alpha1Filter() {
return this.githubComOpenClusterManagementDiscoveryApiV1alpha1Filter != null ? this.githubComOpenClusterManagementDiscoveryApiV1alpha1Filter.build() : null;
}
public A withGithubComOpenClusterManagementDiscoveryApiV1alpha1Filter(Filter githubComOpenClusterManagementDiscoveryApiV1alpha1Filter) {
this._visitables.remove("githubComOpenClusterManagementDiscoveryApiV1alpha1Filter");
if (githubComOpenClusterManagementDiscoveryApiV1alpha1Filter != null) {
this.githubComOpenClusterManagementDiscoveryApiV1alpha1Filter = new FilterBuilder(githubComOpenClusterManagementDiscoveryApiV1alpha1Filter);
this._visitables.get("githubComOpenClusterManagementDiscoveryApiV1alpha1Filter").add(this.githubComOpenClusterManagementDiscoveryApiV1alpha1Filter);
} else {
this.githubComOpenClusterManagementDiscoveryApiV1alpha1Filter = null;
this._visitables.get("githubComOpenClusterManagementDiscoveryApiV1alpha1Filter").remove(this.githubComOpenClusterManagementDiscoveryApiV1alpha1Filter);
}
return (A) this;
}
public boolean hasGithubComOpenClusterManagementDiscoveryApiV1alpha1Filter() {
return this.githubComOpenClusterManagementDiscoveryApiV1alpha1Filter != null;
}
public GithubComOpenClusterManagementDiscoveryApiV1alpha1FilterNested withNewGithubComOpenClusterManagementDiscoveryApiV1alpha1Filter() {
return new GithubComOpenClusterManagementDiscoveryApiV1alpha1FilterNested(null);
}
public GithubComOpenClusterManagementDiscoveryApiV1alpha1FilterNested withNewGithubComOpenClusterManagementDiscoveryApiV1alpha1FilterLike(Filter item) {
return new GithubComOpenClusterManagementDiscoveryApiV1alpha1FilterNested(item);
}
public GithubComOpenClusterManagementDiscoveryApiV1alpha1FilterNested editGithubComOpenClusterManagementDiscoveryApiV1alpha1Filter() {
return withNewGithubComOpenClusterManagementDiscoveryApiV1alpha1FilterLike(java.util.Optional.ofNullable(buildGithubComOpenClusterManagementDiscoveryApiV1alpha1Filter()).orElse(null));
}
public GithubComOpenClusterManagementDiscoveryApiV1alpha1FilterNested editOrNewGithubComOpenClusterManagementDiscoveryApiV1alpha1Filter() {
return withNewGithubComOpenClusterManagementDiscoveryApiV1alpha1FilterLike(java.util.Optional.ofNullable(buildGithubComOpenClusterManagementDiscoveryApiV1alpha1Filter()).orElse(new FilterBuilder().build()));
}
public GithubComOpenClusterManagementDiscoveryApiV1alpha1FilterNested editOrNewGithubComOpenClusterManagementDiscoveryApiV1alpha1FilterLike(Filter item) {
return withNewGithubComOpenClusterManagementDiscoveryApiV1alpha1FilterLike(java.util.Optional.ofNullable(buildGithubComOpenClusterManagementDiscoveryApiV1alpha1Filter()).orElse(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;
OpenClusterManagementDiscoverySchemaFluent that = (OpenClusterManagementDiscoverySchemaFluent) o;
if (!java.util.Objects.equals(githubComOpenClusterManagementDiscoveryApiV1alpha1DiscoveredCluster, that.githubComOpenClusterManagementDiscoveryApiV1alpha1DiscoveredCluster)) return false;
if (!java.util.Objects.equals(githubComOpenClusterManagementDiscoveryApiV1alpha1DiscoveredClusterList, that.githubComOpenClusterManagementDiscoveryApiV1alpha1DiscoveredClusterList)) return false;
if (!java.util.Objects.equals(githubComOpenClusterManagementDiscoveryApiV1alpha1DiscoveredClusterSpec, that.githubComOpenClusterManagementDiscoveryApiV1alpha1DiscoveredClusterSpec)) return false;
if (!java.util.Objects.equals(githubComOpenClusterManagementDiscoveryApiV1alpha1DiscoveredClusterStatus, that.githubComOpenClusterManagementDiscoveryApiV1alpha1DiscoveredClusterStatus)) return false;
if (!java.util.Objects.equals(githubComOpenClusterManagementDiscoveryApiV1alpha1DiscoveryConfig, that.githubComOpenClusterManagementDiscoveryApiV1alpha1DiscoveryConfig)) return false;
if (!java.util.Objects.equals(githubComOpenClusterManagementDiscoveryApiV1alpha1DiscoveryConfigList, that.githubComOpenClusterManagementDiscoveryApiV1alpha1DiscoveryConfigList)) return false;
if (!java.util.Objects.equals(githubComOpenClusterManagementDiscoveryApiV1alpha1DiscoveryConfigSpec, that.githubComOpenClusterManagementDiscoveryApiV1alpha1DiscoveryConfigSpec)) return false;
if (!java.util.Objects.equals(githubComOpenClusterManagementDiscoveryApiV1alpha1DiscoveryConfigStatus, that.githubComOpenClusterManagementDiscoveryApiV1alpha1DiscoveryConfigStatus)) return false;
if (!java.util.Objects.equals(githubComOpenClusterManagementDiscoveryApiV1alpha1Filter, that.githubComOpenClusterManagementDiscoveryApiV1alpha1Filter)) return false;
return true;
}
public int hashCode() {
return java.util.Objects.hash(githubComOpenClusterManagementDiscoveryApiV1alpha1DiscoveredCluster, githubComOpenClusterManagementDiscoveryApiV1alpha1DiscoveredClusterList, githubComOpenClusterManagementDiscoveryApiV1alpha1DiscoveredClusterSpec, githubComOpenClusterManagementDiscoveryApiV1alpha1DiscoveredClusterStatus, githubComOpenClusterManagementDiscoveryApiV1alpha1DiscoveryConfig, githubComOpenClusterManagementDiscoveryApiV1alpha1DiscoveryConfigList, githubComOpenClusterManagementDiscoveryApiV1alpha1DiscoveryConfigSpec, githubComOpenClusterManagementDiscoveryApiV1alpha1DiscoveryConfigStatus, githubComOpenClusterManagementDiscoveryApiV1alpha1Filter, super.hashCode());
}
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append("{");
if (githubComOpenClusterManagementDiscoveryApiV1alpha1DiscoveredCluster != null) { sb.append("githubComOpenClusterManagementDiscoveryApiV1alpha1DiscoveredCluster:"); sb.append(githubComOpenClusterManagementDiscoveryApiV1alpha1DiscoveredCluster + ","); }
if (githubComOpenClusterManagementDiscoveryApiV1alpha1DiscoveredClusterList != null) { sb.append("githubComOpenClusterManagementDiscoveryApiV1alpha1DiscoveredClusterList:"); sb.append(githubComOpenClusterManagementDiscoveryApiV1alpha1DiscoveredClusterList + ","); }
if (githubComOpenClusterManagementDiscoveryApiV1alpha1DiscoveredClusterSpec != null) { sb.append("githubComOpenClusterManagementDiscoveryApiV1alpha1DiscoveredClusterSpec:"); sb.append(githubComOpenClusterManagementDiscoveryApiV1alpha1DiscoveredClusterSpec + ","); }
if (githubComOpenClusterManagementDiscoveryApiV1alpha1DiscoveredClusterStatus != null) { sb.append("githubComOpenClusterManagementDiscoveryApiV1alpha1DiscoveredClusterStatus:"); sb.append(githubComOpenClusterManagementDiscoveryApiV1alpha1DiscoveredClusterStatus + ","); }
if (githubComOpenClusterManagementDiscoveryApiV1alpha1DiscoveryConfig != null) { sb.append("githubComOpenClusterManagementDiscoveryApiV1alpha1DiscoveryConfig:"); sb.append(githubComOpenClusterManagementDiscoveryApiV1alpha1DiscoveryConfig + ","); }
if (githubComOpenClusterManagementDiscoveryApiV1alpha1DiscoveryConfigList != null) { sb.append("githubComOpenClusterManagementDiscoveryApiV1alpha1DiscoveryConfigList:"); sb.append(githubComOpenClusterManagementDiscoveryApiV1alpha1DiscoveryConfigList + ","); }
if (githubComOpenClusterManagementDiscoveryApiV1alpha1DiscoveryConfigSpec != null) { sb.append("githubComOpenClusterManagementDiscoveryApiV1alpha1DiscoveryConfigSpec:"); sb.append(githubComOpenClusterManagementDiscoveryApiV1alpha1DiscoveryConfigSpec + ","); }
if (githubComOpenClusterManagementDiscoveryApiV1alpha1DiscoveryConfigStatus != null) { sb.append("githubComOpenClusterManagementDiscoveryApiV1alpha1DiscoveryConfigStatus:"); sb.append(githubComOpenClusterManagementDiscoveryApiV1alpha1DiscoveryConfigStatus + ","); }
if (githubComOpenClusterManagementDiscoveryApiV1alpha1Filter != null) { sb.append("githubComOpenClusterManagementDiscoveryApiV1alpha1Filter:"); sb.append(githubComOpenClusterManagementDiscoveryApiV1alpha1Filter); }
sb.append("}");
return sb.toString();
}
public class GithubComOpenClusterManagementDiscoveryApiV1alpha1DiscoveredClusterNested extends DiscoveredClusterFluent> implements Nested{
GithubComOpenClusterManagementDiscoveryApiV1alpha1DiscoveredClusterNested(DiscoveredCluster item) {
this.builder = new DiscoveredClusterBuilder(this, item);
}
DiscoveredClusterBuilder builder;
public N and() {
return (N) OpenClusterManagementDiscoverySchemaFluent.this.withGithubComOpenClusterManagementDiscoveryApiV1alpha1DiscoveredCluster(builder.build());
}
public N endGithubComOpenClusterManagementDiscoveryApiV1alpha1DiscoveredCluster() {
return and();
}
}
public class GithubComOpenClusterManagementDiscoveryApiV1alpha1DiscoveredClusterListNested extends DiscoveredClusterListFluent> implements Nested{
GithubComOpenClusterManagementDiscoveryApiV1alpha1DiscoveredClusterListNested(DiscoveredClusterList item) {
this.builder = new DiscoveredClusterListBuilder(this, item);
}
DiscoveredClusterListBuilder builder;
public N and() {
return (N) OpenClusterManagementDiscoverySchemaFluent.this.withGithubComOpenClusterManagementDiscoveryApiV1alpha1DiscoveredClusterList(builder.build());
}
public N endGithubComOpenClusterManagementDiscoveryApiV1alpha1DiscoveredClusterList() {
return and();
}
}
public class GithubComOpenClusterManagementDiscoveryApiV1alpha1DiscoveredClusterSpecNested extends DiscoveredClusterSpecFluent> implements Nested{
GithubComOpenClusterManagementDiscoveryApiV1alpha1DiscoveredClusterSpecNested(DiscoveredClusterSpec item) {
this.builder = new DiscoveredClusterSpecBuilder(this, item);
}
DiscoveredClusterSpecBuilder builder;
public N and() {
return (N) OpenClusterManagementDiscoverySchemaFluent.this.withGithubComOpenClusterManagementDiscoveryApiV1alpha1DiscoveredClusterSpec(builder.build());
}
public N endGithubComOpenClusterManagementDiscoveryApiV1alpha1DiscoveredClusterSpec() {
return and();
}
}
public class GithubComOpenClusterManagementDiscoveryApiV1alpha1DiscoveredClusterStatusNested extends DiscoveredClusterStatusFluent> implements Nested{
GithubComOpenClusterManagementDiscoveryApiV1alpha1DiscoveredClusterStatusNested(DiscoveredClusterStatus item) {
this.builder = new DiscoveredClusterStatusBuilder(this, item);
}
DiscoveredClusterStatusBuilder builder;
public N and() {
return (N) OpenClusterManagementDiscoverySchemaFluent.this.withGithubComOpenClusterManagementDiscoveryApiV1alpha1DiscoveredClusterStatus(builder.build());
}
public N endGithubComOpenClusterManagementDiscoveryApiV1alpha1DiscoveredClusterStatus() {
return and();
}
}
public class GithubComOpenClusterManagementDiscoveryApiV1alpha1DiscoveryConfigNested extends DiscoveryConfigFluent> implements Nested{
GithubComOpenClusterManagementDiscoveryApiV1alpha1DiscoveryConfigNested(DiscoveryConfig item) {
this.builder = new DiscoveryConfigBuilder(this, item);
}
DiscoveryConfigBuilder builder;
public N and() {
return (N) OpenClusterManagementDiscoverySchemaFluent.this.withGithubComOpenClusterManagementDiscoveryApiV1alpha1DiscoveryConfig(builder.build());
}
public N endGithubComOpenClusterManagementDiscoveryApiV1alpha1DiscoveryConfig() {
return and();
}
}
public class GithubComOpenClusterManagementDiscoveryApiV1alpha1DiscoveryConfigListNested extends DiscoveryConfigListFluent> implements Nested{
GithubComOpenClusterManagementDiscoveryApiV1alpha1DiscoveryConfigListNested(DiscoveryConfigList item) {
this.builder = new DiscoveryConfigListBuilder(this, item);
}
DiscoveryConfigListBuilder builder;
public N and() {
return (N) OpenClusterManagementDiscoverySchemaFluent.this.withGithubComOpenClusterManagementDiscoveryApiV1alpha1DiscoveryConfigList(builder.build());
}
public N endGithubComOpenClusterManagementDiscoveryApiV1alpha1DiscoveryConfigList() {
return and();
}
}
public class GithubComOpenClusterManagementDiscoveryApiV1alpha1DiscoveryConfigSpecNested extends DiscoveryConfigSpecFluent> implements Nested{
GithubComOpenClusterManagementDiscoveryApiV1alpha1DiscoveryConfigSpecNested(DiscoveryConfigSpec item) {
this.builder = new DiscoveryConfigSpecBuilder(this, item);
}
DiscoveryConfigSpecBuilder builder;
public N and() {
return (N) OpenClusterManagementDiscoverySchemaFluent.this.withGithubComOpenClusterManagementDiscoveryApiV1alpha1DiscoveryConfigSpec(builder.build());
}
public N endGithubComOpenClusterManagementDiscoveryApiV1alpha1DiscoveryConfigSpec() {
return and();
}
}
public class GithubComOpenClusterManagementDiscoveryApiV1alpha1DiscoveryConfigStatusNested extends DiscoveryConfigStatusFluent> implements Nested{
GithubComOpenClusterManagementDiscoveryApiV1alpha1DiscoveryConfigStatusNested(DiscoveryConfigStatus item) {
this.builder = new DiscoveryConfigStatusBuilder(this, item);
}
DiscoveryConfigStatusBuilder builder;
public N and() {
return (N) OpenClusterManagementDiscoverySchemaFluent.this.withGithubComOpenClusterManagementDiscoveryApiV1alpha1DiscoveryConfigStatus(builder.build());
}
public N endGithubComOpenClusterManagementDiscoveryApiV1alpha1DiscoveryConfigStatus() {
return and();
}
}
public class GithubComOpenClusterManagementDiscoveryApiV1alpha1FilterNested extends FilterFluent> implements Nested{
GithubComOpenClusterManagementDiscoveryApiV1alpha1FilterNested(Filter item) {
this.builder = new FilterBuilder(this, item);
}
FilterBuilder builder;
public N and() {
return (N) OpenClusterManagementDiscoverySchemaFluent.this.withGithubComOpenClusterManagementDiscoveryApiV1alpha1Filter(builder.build());
}
public N endGithubComOpenClusterManagementDiscoveryApiV1alpha1Filter() {
return and();
}
}
}