io.fabric8.kubernetes.api.model.flowcontrol.v1beta2.NonResourcePolicyRuleBuilder Maven / Gradle / Ivy
package io.fabric8.kubernetes.api.model.flowcontrol.v1beta2;
import io.fabric8.kubernetes.api.builder.VisitableBuilder;
public class NonResourcePolicyRuleBuilder extends NonResourcePolicyRuleFluent implements VisitableBuilder{
public NonResourcePolicyRuleBuilder() {
this(new NonResourcePolicyRule());
}
public NonResourcePolicyRuleBuilder(NonResourcePolicyRuleFluent> fluent) {
this(fluent, new NonResourcePolicyRule());
}
public NonResourcePolicyRuleBuilder(NonResourcePolicyRuleFluent> fluent,NonResourcePolicyRule instance) {
this.fluent = fluent;
fluent.copyInstance(instance);
}
public NonResourcePolicyRuleBuilder(NonResourcePolicyRule instance) {
this.fluent = this;
this.copyInstance(instance);
}
NonResourcePolicyRuleFluent> fluent;
public NonResourcePolicyRule build() {
NonResourcePolicyRule buildable = new NonResourcePolicyRule(fluent.getNonResourceURLs(),fluent.getVerbs());
buildable.setAdditionalProperties(fluent.getAdditionalProperties());
return buildable;
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy