Class UserCodeConfig

java.lang.Object
com.hazelcast.usercode.UserCodeConfig
All Implemented Interfaces:
Serializable

public final class UserCodeConfig extends Object implements Serializable
See Also:
  • Constructor Details

    • UserCodeConfig

      public UserCodeConfig()
    • UserCodeConfig

      public UserCodeConfig(String imageName, String name)
  • Method Details

    • getModuleName

      public String getModuleName()
      Gets module name of the transformation function in the provided user code resource or container image.
      Returns:
      module name
    • setModuleName

      public UserCodeConfig setModuleName(String moduleName)
      Sets module name of the transformation function in the provided user code resource or container image. The module name is used to invoke user code transformation.
      Parameters:
      moduleName - name of the transformation function.
      Returns:
      The instance of the config.
    • getImageName

      public String getImageName()
      Gets name of the image that contains the user code.
      Since:
      5.4
    • setImageName

      public UserCodeConfig setImageName(String imageName)
      Sets name of the image that contains the user code.
      Parameters:
      imageName - Name of the container image.
      Returns:
      The instance of the config.
    • getName

      public String getName()
      Gets pipeline stage name of the user code mapping.
      Since:
      5.4
    • setName

      public UserCodeConfig setName(String name)
      Sets pipeline stage name of the user code mapping. It can be useful on debugging or diagnosing purposes.
      Returns:
      The instance of the config.
      Since:
      5.4
    • toString

      public String toString()
      Overrides:
      toString in class Object
    • clone

      public UserCodeConfig clone()
      Overrides:
      clone in class Object