Package io.quarkus.amazon.lambda.runtime
Record Class AmazonLambdaRecorder.RequestHandlerDefinition
java.lang.Object
java.lang.Record
io.quarkus.amazon.lambda.runtime.AmazonLambdaRecorder.RequestHandlerDefinition
- Enclosing class:
AmazonLambdaRecorder
-
Constructor Summary
ConstructorsConstructorDescriptionRequestHandlerDefinition(Class<? extends com.amazonaws.services.lambda.runtime.RequestHandler<?, ?>> handlerClass, Class<?> handleRequestMethodHostClass, Class<?> inputType, Class<?> outputType) Creates an instance of aRequestHandlerDefinitionrecord class. -
Method Summary
Modifier and TypeMethodDescriptionfinal booleanIndicates whether some other object is "equal to" this one.Class<? extends com.amazonaws.services.lambda.runtime.RequestHandler<?, ?>> Returns the value of thehandlerClassrecord component.Class<?> Returns the value of thehandleRequestMethodHostClassrecord component.final inthashCode()Returns a hash code value for this object.Class<?> Returns the value of theinputTyperecord component.Class<?> Returns the value of theoutputTyperecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
RequestHandlerDefinition
public RequestHandlerDefinition(Class<? extends com.amazonaws.services.lambda.runtime.RequestHandler<?, ?>> handlerClass, Class<?> handleRequestMethodHostClass, Class<?> inputType, Class<?> outputType) Creates an instance of aRequestHandlerDefinitionrecord class.- Parameters:
handlerClass- the value for thehandlerClassrecord componenthandleRequestMethodHostClass- the value for thehandleRequestMethodHostClassrecord componentinputType- the value for theinputTyperecord componentoutputType- the value for theoutputTyperecord component
-
-
Method Details
-
toString
Returns a string representation of this record class. The representation contains the name of the class, followed by the name and value of each of the record components. -
hashCode
public final int hashCode()Returns a hash code value for this object. The value is derived from the hash code of each of the record components. -
equals
Indicates whether some other object is "equal to" this one. The objects are equal if the other object is of the same class and if all the record components are equal. All components in this record class are compared withObjects::equals(Object,Object). -
handlerClass
Returns the value of thehandlerClassrecord component.- Returns:
- the value of the
handlerClassrecord component
-
handleRequestMethodHostClass
Returns the value of thehandleRequestMethodHostClassrecord component.- Returns:
- the value of the
handleRequestMethodHostClassrecord component
-
inputType
Returns the value of theinputTyperecord component.- Returns:
- the value of the
inputTyperecord component
-
outputType
Returns the value of theoutputTyperecord component.- Returns:
- the value of the
outputTyperecord component
-