io.fabric8.openshift.api.model.machine.v1alpha1.SubnetParamBuilder Maven / Gradle / Ivy
package io.fabric8.openshift.api.model.machine.v1alpha1;
import io.fabric8.kubernetes.api.builder.VisitableBuilder;
public class SubnetParamBuilder extends SubnetParamFluent implements VisitableBuilder{
public SubnetParamBuilder() {
this(new SubnetParam());
}
public SubnetParamBuilder(SubnetParamFluent> fluent) {
this(fluent, new SubnetParam());
}
public SubnetParamBuilder(SubnetParamFluent> fluent,SubnetParam instance) {
this.fluent = fluent;
fluent.copyInstance(instance);
}
public SubnetParamBuilder(SubnetParam instance) {
this.fluent = this;
this.copyInstance(instance);
}
SubnetParamFluent> fluent;
public SubnetParam build() {
SubnetParam buildable = new SubnetParam(fluent.buildFilter(),fluent.getPortSecurity(),fluent.getPortTags(),fluent.getUuid());
buildable.setAdditionalProperties(fluent.getAdditionalProperties());
return buildable;
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy