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