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