io.quarkus.funqy.lambda.model.FunqyMethod Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of quarkus-funqy-amazon-lambda Show documentation
Show all versions of quarkus-funqy-amazon-lambda Show documentation
Amazon Lambda Binding for Quarkus Funqy framework
The newest version!
package io.quarkus.funqy.lambda.model;
import java.util.Optional;
import com.fasterxml.jackson.databind.JavaType;
import com.fasterxml.jackson.databind.ObjectReader;
import com.fasterxml.jackson.databind.ObjectWriter;
public class FunqyMethod {
private ObjectReader reader;
private ObjectWriter writer;
private JavaType inputType;
private JavaType outputType;
public FunqyMethod setReader(final ObjectReader reader) {
this.reader = reader;
return this;
}
public FunqyMethod setWriter(final ObjectWriter writer) {
this.writer = writer;
return this;
}
public FunqyMethod setInputType(final JavaType inputType) {
this.inputType = inputType;
return this;
}
public FunqyMethod setOutputType(final JavaType outputType) {
this.outputType = outputType;
return this;
}
public Optional getReader() {
return Optional.ofNullable(reader);
}
public Optional getWriter() {
return Optional.ofNullable(writer);
}
public Optional getInputType() {
return Optional.ofNullable(inputType);
}
public Optional getOutputType() {
return Optional.ofNullable(outputType);
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy