io.kubernetes.client.openapi.models.V1AggregationRuleBuilder Maven / Gradle / Ivy
package io.kubernetes.client.openapi.models;
import io.kubernetes.client.fluent.VisitableBuilder;
public class V1AggregationRuleBuilder extends V1AggregationRuleFluent implements VisitableBuilder{
public V1AggregationRuleBuilder() {
this(new V1AggregationRule());
}
public V1AggregationRuleBuilder(V1AggregationRuleFluent> fluent) {
this(fluent, new V1AggregationRule());
}
public V1AggregationRuleBuilder(V1AggregationRuleFluent> fluent,V1AggregationRule instance) {
this.fluent = fluent;
fluent.copyInstance(instance);
}
public V1AggregationRuleBuilder(V1AggregationRule instance) {
this.fluent = this;
this.copyInstance(instance);
}
V1AggregationRuleFluent> fluent;
public V1AggregationRule build() {
V1AggregationRule buildable = new V1AggregationRule();
buildable.setClusterRoleSelectors(fluent.buildClusterRoleSelectors());
return buildable;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy