io.kubernetes.client.openapi.models.V1RuleWithOperationsBuilder Maven / Gradle / Ivy
package io.kubernetes.client.openapi.models;
import io.kubernetes.client.fluent.VisitableBuilder;
public class V1RuleWithOperationsBuilder extends V1RuleWithOperationsFluent implements VisitableBuilder{
public V1RuleWithOperationsBuilder() {
this(new V1RuleWithOperations());
}
public V1RuleWithOperationsBuilder(V1RuleWithOperationsFluent> fluent) {
this(fluent, new V1RuleWithOperations());
}
public V1RuleWithOperationsBuilder(V1RuleWithOperationsFluent> fluent,V1RuleWithOperations instance) {
this.fluent = fluent;
fluent.copyInstance(instance);
}
public V1RuleWithOperationsBuilder(V1RuleWithOperations instance) {
this.fluent = this;
this.copyInstance(instance);
}
V1RuleWithOperationsFluent> fluent;
public V1RuleWithOperations build() {
V1RuleWithOperations buildable = new V1RuleWithOperations();
buildable.setApiGroups(fluent.getApiGroups());
buildable.setApiVersions(fluent.getApiVersions());
buildable.setOperations(fluent.getOperations());
buildable.setResources(fluent.getResources());
buildable.setScope(fluent.getScope());
return buildable;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy