io.fabric8.openclustermanagement.api.model.cluster.v1beta1.ManagedClusterSetBindingSpecBuilder Maven / Gradle / Ivy
package io.fabric8.openclustermanagement.api.model.cluster.v1beta1;
import io.fabric8.kubernetes.api.builder.VisitableBuilder;
public class ManagedClusterSetBindingSpecBuilder extends ManagedClusterSetBindingSpecFluent implements VisitableBuilder{
public ManagedClusterSetBindingSpecBuilder() {
this(new ManagedClusterSetBindingSpec());
}
public ManagedClusterSetBindingSpecBuilder(ManagedClusterSetBindingSpecFluent> fluent) {
this(fluent, new ManagedClusterSetBindingSpec());
}
public ManagedClusterSetBindingSpecBuilder(ManagedClusterSetBindingSpecFluent> fluent,ManagedClusterSetBindingSpec instance) {
this.fluent = fluent;
fluent.copyInstance(instance);
}
public ManagedClusterSetBindingSpecBuilder(ManagedClusterSetBindingSpec instance) {
this.fluent = this;
this.copyInstance(instance);
}
ManagedClusterSetBindingSpecFluent> fluent;
public ManagedClusterSetBindingSpec build() {
ManagedClusterSetBindingSpec buildable = new ManagedClusterSetBindingSpec(fluent.getClusterSet());
buildable.setAdditionalProperties(fluent.getAdditionalProperties());
return buildable;
}
}