Interface HadoopJarStepConfig.Builder

All Superinterfaces:
Buildable, CopyableBuilder<HadoopJarStepConfig.Builder,HadoopJarStepConfig>, SdkBuilder<HadoopJarStepConfig.Builder,HadoopJarStepConfig>, SdkPojo
Enclosing class:
HadoopJarStepConfig

public static interface HadoopJarStepConfig.Builder extends SdkPojo, CopyableBuilder<HadoopJarStepConfig.Builder,HadoopJarStepConfig>
  • Method Details

    • properties

      A list of Java properties that are set when the step runs. You can use these properties to pass key-value pairs to your main function.

      Parameters:
      properties - A list of Java properties that are set when the step runs. You can use these properties to pass key-value pairs to your main function.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • properties

      HadoopJarStepConfig.Builder properties(KeyValue... properties)

      A list of Java properties that are set when the step runs. You can use these properties to pass key-value pairs to your main function.

      Parameters:
      properties - A list of Java properties that are set when the step runs. You can use these properties to pass key-value pairs to your main function.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • properties

      A list of Java properties that are set when the step runs. You can use these properties to pass key-value pairs to your main function.

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

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to properties(List<KeyValue>).

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

      A path to a JAR file run during the step.

      Parameters:
      jar - A path to a JAR file run during the step.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • mainClass

      HadoopJarStepConfig.Builder mainClass(String mainClass)

      The name of the main class in the specified Java file. If not specified, the JAR file should specify a Main-Class in its manifest file.

      Parameters:
      mainClass - The name of the main class in the specified Java file. If not specified, the JAR file should specify a Main-Class in its manifest file.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • args

      A list of command line arguments passed to the JAR file's main function when executed.

      Parameters:
      args - A list of command line arguments passed to the JAR file's main function when executed.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • args

      A list of command line arguments passed to the JAR file's main function when executed.

      Parameters:
      args - A list of command line arguments passed to the JAR file's main function when executed.
      Returns:
      Returns a reference to this object so that method calls can be chained together.