io.github.microcks.operator.api.model.SecretReferenceSpecBuilder Maven / Gradle / Ivy
package io.github.microcks.operator.api.model;
import io.fabric8.kubernetes.api.builder.VisitableBuilder;
public class SecretReferenceSpecBuilder extends SecretReferenceSpecFluent implements VisitableBuilder{
public SecretReferenceSpecBuilder() {
this(new SecretReferenceSpec());
}
public SecretReferenceSpecBuilder(SecretReferenceSpecFluent> fluent) {
this(fluent, new SecretReferenceSpec());
}
public SecretReferenceSpecBuilder(SecretReferenceSpecFluent> fluent,SecretReferenceSpec instance) {
this.fluent = fluent;
fluent.copyInstance(instance);
}
public SecretReferenceSpecBuilder(SecretReferenceSpec instance) {
this.fluent = this;
this.copyInstance(instance);
}
SecretReferenceSpecFluent> fluent;
public SecretReferenceSpec build() {
SecretReferenceSpec buildable = new SecretReferenceSpec();
buildable.setName(fluent.getName());
return buildable;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy