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