io.fabric8.openshift.api.model.miscellaneous.metal3.v1alpha1.CustomDeployBuilder Maven / Gradle / Ivy
The newest version!
package io.fabric8.openshift.api.model.miscellaneous.metal3.v1alpha1;
import io.fabric8.kubernetes.api.builder.VisitableBuilder;
public class CustomDeployBuilder extends CustomDeployFluent implements VisitableBuilder{
public CustomDeployBuilder() {
this(new CustomDeploy());
}
public CustomDeployBuilder(CustomDeployFluent> fluent) {
this(fluent, new CustomDeploy());
}
public CustomDeployBuilder(CustomDeployFluent> fluent,CustomDeploy instance) {
this.fluent = fluent;
fluent.copyInstance(instance);
}
public CustomDeployBuilder(CustomDeploy instance) {
this.fluent = this;
this.copyInstance(instance);
}
CustomDeployFluent> fluent;
public CustomDeploy build() {
CustomDeploy buildable = new CustomDeploy(fluent.getMethod());
buildable.setAdditionalProperties(fluent.getAdditionalProperties());
return buildable;
}
}