io.github.microcks.operator.api.secret.v1alpha1.SecretSourceBuilder Maven / Gradle / Ivy
package io.github.microcks.operator.api.secret.v1alpha1;
import io.fabric8.kubernetes.api.builder.VisitableBuilder;
public class SecretSourceBuilder extends SecretSourceFluent implements VisitableBuilder{
public SecretSourceBuilder() {
this(new SecretSource());
}
public SecretSourceBuilder(SecretSourceFluent> fluent) {
this(fluent, new SecretSource());
}
public SecretSourceBuilder(SecretSourceFluent> fluent,SecretSource instance) {
this.fluent = fluent;
fluent.copyInstance(instance);
}
public SecretSourceBuilder(SecretSource instance) {
this.fluent = this;
this.copyInstance(instance);
}
SecretSourceFluent> fluent;
public SecretSource build() {
SecretSource buildable = new SecretSource();
buildable.setMetadata(fluent.buildMetadata());
buildable.setSpec(fluent.buildSpec());
buildable.setStatus(fluent.getStatus());
buildable.setKind(fluent.getKind());
buildable.setApiVersion(fluent.getApiVersion());
return buildable;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy