The minimum functionality your AWS Lambda function needs to support in Java is to have a class that implements a method with the following signature:
outputType handler-name(inputType input) {
...
}
If your signature looks something like this, no third-party libraries are necessary. You could have a Lambda handler that looks like this and it would work fine.
package LambdaExample;
public class Hello {
public String lambdaHandler(String name) {
return String.format("Hello %s!", name);
}
}
In non-trivial usage, you'll likely see handler signatures that look something more like this:
outputType handler-name(inputType input, Context context) {
...
}
The Context object can be used to retrieve information about your Lambda handler, as well as a logger you can use to log information about your handler to Cloudwatch.
The Context type is defined in com.amazonaws.services.lambda.runtime.Context, which is provided by aws-lambda-java-core, part of a set of libraries that AWS publish for working with Lambda using Java/JVM languages. aws-lambda-java-core is separate from the AWS SDK for Java.
What you're running into seems to be a case of using very specific resources. Your image shows code for building a custom Alexa skill and deploying it to Lambda. If you are building an Alexa skill, then you will need to also include the alexa-skills-kit SDK, which is what provides the Speechlet interface you see. The Alexa Skills Kit SDK is also separate from the AWS SDK for Java.
Assuming your project uses Maven for project management/dependencies, adding the following to the <dependencies> section should enable you to work with Lambda and Alexa:
<dependency>
<groupId>com.amazon.alexa</groupId>
<artifactId>alexa-skills-kit</artifactId>
<version>1.2</version>
<scope>compile</scope>
</dependency>
<dependency>
<groupId>com.amazonaws</groupId>
<artifactId>aws-lambda-java-core</artifactId>
<version>1.1.0</version>
</dependency>
<dependency>
<groupId>com.amazonaws</groupId>
<artifactId>aws-lambda-java-events</artifactId>
<version>1.3.0</version>
</dependency>
<dependency>
<groupId>com.amazonaws</groupId>
<artifactId>aws-lambda-java-log4j</artifactId>
<version>1.0.0</version>
</dependency>