io.github.microcks.operator.api.secret.v1alpha1.SecretSourceSpecBuilder Maven / Gradle / Ivy
package io.github.microcks.operator.api.secret.v1alpha1;
import io.fabric8.kubernetes.api.builder.VisitableBuilder;
public class SecretSourceSpecBuilder extends SecretSourceSpecFluent implements VisitableBuilder{
public SecretSourceSpecBuilder() {
this(new SecretSourceSpec());
}
public SecretSourceSpecBuilder(SecretSourceSpecFluent> fluent) {
this(fluent, new SecretSourceSpec());
}
public SecretSourceSpecBuilder(SecretSourceSpecFluent> fluent,SecretSourceSpec instance) {
this.fluent = fluent;
fluent.copyInstance(instance);
}
public SecretSourceSpecBuilder(SecretSourceSpec instance) {
this.fluent = this;
this.copyInstance(instance);
}
SecretSourceSpecFluent> fluent;
public SecretSourceSpec build() {
SecretSourceSpec buildable = new SecretSourceSpec();
buildable.setSecrets(fluent.buildSecrets());
return buildable;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy