Interface LambdaLinuxProcessParams.Builder

  • Method Details

    • isolationMode

      LambdaLinuxProcessParams.Builder isolationMode(String isolationMode)

      The isolation mode for the process that contains the Lambda function. The process can run in an isolated runtime environment inside the IoT Greengrass container, or as a regular process outside any container.

      Default: GreengrassContainer

      Parameters:
      isolationMode - The isolation mode for the process that contains the Lambda function. The process can run in an isolated runtime environment inside the IoT Greengrass container, or as a regular process outside any container.

      Default: GreengrassContainer

      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • isolationMode

      The isolation mode for the process that contains the Lambda function. The process can run in an isolated runtime environment inside the IoT Greengrass container, or as a regular process outside any container.

      Default: GreengrassContainer

      Parameters:
      isolationMode - The isolation mode for the process that contains the Lambda function. The process can run in an isolated runtime environment inside the IoT Greengrass container, or as a regular process outside any container.

      Default: GreengrassContainer

      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • containerParams

      LambdaLinuxProcessParams.Builder containerParams(LambdaContainerParams containerParams)

      The parameters for the container in which the Lambda function runs.

      Parameters:
      containerParams - The parameters for the container in which the Lambda function runs.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • containerParams

      default LambdaLinuxProcessParams.Builder containerParams(Consumer<LambdaContainerParams.Builder> containerParams)

      The parameters for the container in which the Lambda function runs.

      This is a convenience method that creates an instance of the LambdaContainerParams.Builder avoiding the need to create one manually via LambdaContainerParams.builder().

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to containerParams(LambdaContainerParams).

      Parameters:
      containerParams - a consumer that will call methods on LambdaContainerParams.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also: