public java.util.List<String> getLayers() {
        return layers;
    }
<p>
The Amazon Web Services Lambda function's <a
href="https://docs.aws.amazon.com/lambda/latest/dg/configuration-layers.html"> layers</a>. A Lambda function can
have up to five layers.
</p>

@return The Amazon Web Services Lambda function's <a
        href="https://docs.aws.amazon.com/lambda/latest/dg/configuration-layers.html"> layers</a>. A Lambda
        function can have up to five layers.
aws-java-sdk-inspector2/src/main/java/com/amazonaws/services/inspector2/model/AwsLambdaFunctionDetails.java