io.dekorate.servicebinding.model.SecretKeyRefBuilder Maven / Gradle / Ivy
package io.dekorate.servicebinding.model;
import io.fabric8.kubernetes.api.builder.VisitableBuilder;
import java.lang.Boolean;
public class SecretKeyRefBuilder extends SecretKeyRefFluentImpl implements VisitableBuilder{
public SecretKeyRefBuilder() {
this(false);
}
public SecretKeyRefBuilder(Boolean validationEnabled) {
this.fluent = this; this.validationEnabled=validationEnabled;
}
public SecretKeyRefBuilder(SecretKeyRefFluent> fluent) {
this(fluent, false);
}
public SecretKeyRefBuilder(SecretKeyRefFluent> fluent,Boolean validationEnabled) {
this.fluent = fluent; this.validationEnabled=validationEnabled;
}
public SecretKeyRefBuilder(SecretKeyRefFluent> fluent,SecretKeyRef instance) {
this(fluent, instance, false);
}
public SecretKeyRefBuilder(SecretKeyRefFluent> fluent,SecretKeyRef instance,Boolean validationEnabled) {
this.fluent = fluent;
fluent.withKey(instance.getKey());
fluent.withName(instance.getName());
fluent.withOptional(instance.isOptional());
this.validationEnabled = validationEnabled;
}
public SecretKeyRefBuilder(SecretKeyRef instance) {
this(instance,false);
}
public SecretKeyRefBuilder(SecretKeyRef instance,Boolean validationEnabled) {
this.fluent = this;
this.withKey(instance.getKey());
this.withName(instance.getName());
this.withOptional(instance.isOptional());
this.validationEnabled = validationEnabled;
}
SecretKeyRefFluent> fluent;
Boolean validationEnabled;
public SecretKeyRef build() {
SecretKeyRef buildable = new SecretKeyRef(fluent.getKey(),fluent.getName(),fluent.isOptional());
return buildable;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy