io.kubernetes.client.openapi.models.V1ConfigMapKeySelectorBuilder Maven / Gradle / Ivy
package io.kubernetes.client.openapi.models;
import io.kubernetes.client.fluent.VisitableBuilder;
public class V1ConfigMapKeySelectorBuilder extends V1ConfigMapKeySelectorFluent implements VisitableBuilder{
public V1ConfigMapKeySelectorBuilder() {
this(new V1ConfigMapKeySelector());
}
public V1ConfigMapKeySelectorBuilder(V1ConfigMapKeySelectorFluent> fluent) {
this(fluent, new V1ConfigMapKeySelector());
}
public V1ConfigMapKeySelectorBuilder(V1ConfigMapKeySelectorFluent> fluent,V1ConfigMapKeySelector instance) {
this.fluent = fluent;
fluent.copyInstance(instance);
}
public V1ConfigMapKeySelectorBuilder(V1ConfigMapKeySelector instance) {
this.fluent = this;
this.copyInstance(instance);
}
V1ConfigMapKeySelectorFluent> fluent;
public V1ConfigMapKeySelector build() {
V1ConfigMapKeySelector buildable = new V1ConfigMapKeySelector();
buildable.setKey(fluent.getKey());
buildable.setName(fluent.getName());
buildable.setOptional(fluent.getOptional());
return buildable;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy