Record Class AmazonLambdaRecorder.RequestHandlerDefinition

java.lang.Object
java.lang.Record
io.quarkus.amazon.lambda.runtime.AmazonLambdaRecorder.RequestHandlerDefinition
Enclosing class:
AmazonLambdaRecorder

public static record AmazonLambdaRecorder.RequestHandlerDefinition(Class<? extends com.amazonaws.services.lambda.runtime.RequestHandler<?,?>> handlerClass, Class<?> handleRequestMethodHostClass, Class<?> inputType, Class<?> outputType) extends Record
  • Constructor Summary

    Constructors
    Constructor
    Description
    RequestHandlerDefinition(Class<? extends com.amazonaws.services.lambda.runtime.RequestHandler<?,?>> handlerClass, Class<?> handleRequestMethodHostClass, Class<?> inputType, Class<?> outputType)
    Creates an instance of a RequestHandlerDefinition record class.
  • Method Summary

    Modifier and Type
    Method
    Description
    final boolean
    Indicates whether some other object is "equal to" this one.
    Class<? extends com.amazonaws.services.lambda.runtime.RequestHandler<?,?>>
    Returns the value of the handlerClass record component.
    Returns the value of the handleRequestMethodHostClass record component.
    final int
    Returns a hash code value for this object.
    Returns the value of the inputType record component.
    Returns the value of the outputType record component.
    final String
    Returns a string representation of this record class.

    Methods inherited from class java.lang.Object

    clone, finalize, getClass, notify, notifyAll, wait, wait, wait
  • Constructor Details

    • RequestHandlerDefinition

      public RequestHandlerDefinition(Class<? extends com.amazonaws.services.lambda.runtime.RequestHandler<?,?>> handlerClass, Class<?> handleRequestMethodHostClass, Class<?> inputType, Class<?> outputType)
      Creates an instance of a RequestHandlerDefinition record class.
      Parameters:
      handlerClass - the value for the handlerClass record component
      handleRequestMethodHostClass - the value for the handleRequestMethodHostClass record component
      inputType - the value for the inputType record component
      outputType - the value for the outputType record component
  • Method Details

    • toString

      public final String 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.
      Specified by:
      toString in class Record
      Returns:
      a string representation of this object
    • 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.
      Specified by:
      hashCode in class Record
      Returns:
      a hash code value for this object
    • equals

      public final boolean equals(Object o)
      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 with Objects::equals(Object,Object).
      Specified by:
      equals in class Record
      Parameters:
      o - the object with which to compare
      Returns:
      true if this object is the same as the o argument; false otherwise.
    • handlerClass

      public Class<? extends com.amazonaws.services.lambda.runtime.RequestHandler<?,?>> handlerClass()
      Returns the value of the handlerClass record component.
      Returns:
      the value of the handlerClass record component
    • handleRequestMethodHostClass

      public Class<?> handleRequestMethodHostClass()
      Returns the value of the handleRequestMethodHostClass record component.
      Returns:
      the value of the handleRequestMethodHostClass record component
    • inputType

      public Class<?> inputType()
      Returns the value of the inputType record component.
      Returns:
      the value of the inputType record component
    • outputType

      public Class<?> outputType()
      Returns the value of the outputType record component.
      Returns:
      the value of the outputType record component