code: public void setLayers(java.util.Collection<String> layers) {
          if (layers == null) {
              this.layers = null;
              return;
          }
  
          this.layers = new com.amazonaws.internal.SdkInternalList<String>(layers);
      }
docs: <p>
  A list of <a href="https://docs.aws.amazon.com/lambda/latest/dg/configuration-layers.html">function layers</a> to
  add to the function's execution environment. Specify each layer by its ARN, including the version.
  </p>
  
  @param layers
  A list of <a href="https://docs.aws.amazon.com/lambda/latest/dg/configuration-layers.html">function
  layers</a> to add to the function's execution environment. Specify each layer by its ARN, including the
  version.