Class LambdaLinuxProcessParams

    • Method Detail

      • isolationMode

        public final LambdaIsolationMode 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

        If the service returns an enum value that is not available in the current SDK version, isolationMode will return LambdaIsolationMode.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from isolationModeAsString().

        Returns:
        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

        See Also:
        LambdaIsolationMode
      • isolationModeAsString

        public final String isolationModeAsString()

        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

        If the service returns an enum value that is not available in the current SDK version, isolationMode will return LambdaIsolationMode.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from isolationModeAsString().

        Returns:
        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

        See Also:
        LambdaIsolationMode
      • containerParams

        public final LambdaContainerParams containerParams()

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

        Returns:
        The parameters for the container in which the Lambda function runs.
      • hashCode

        public final int hashCode()
        Overrides:
        hashCode in class Object
      • equals

        public final boolean equals​(Object obj)
        Overrides:
        equals in class Object
      • toString

        public final String toString()
        Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value.
        Overrides:
        toString in class Object
      • getValueForField

        public final <T> Optional<T> getValueForField​(String fieldName,
                                                      Class<T> clazz)