JavaScript is disabled on your browser.
Skip navigation links

AWS SDK for Java 1.x API Reference - 1.12.795

We announced the upcoming end-of-support for AWS SDK for Java (v1). We recommend that you migrate to AWS SDK for Java v2. For dates, additional details, and information on how to migrate, please refer to the linked announcement.
com.amazonaws.services.elasticmapreduce.model

Class HadoopStepConfig

    • Constructor Detail

      • HadoopStepConfig

        public HadoopStepConfig()
    • Method Detail

      • setJar

        public void setJar(String jar)

        The path to the JAR file that runs during the step.

        Parameters:
        jar - The path to the JAR file that runs during the step.
      • getJar

        public String getJar()

        The path to the JAR file that runs during the step.

        Returns:
        The path to the JAR file that runs during the step.
      • withJar

        public HadoopStepConfig withJar(String jar)

        The path to the JAR file that runs during the step.

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

        public Map<String,String> getProperties()

        The 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:
        The 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.
      • setProperties

        public void setProperties(Map<String,String> properties)

        The 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 - The 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.
      • withProperties

        public HadoopStepConfig withProperties(Map<String,String> properties)

        The 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 - The 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.
      • clearPropertiesEntries

        public HadoopStepConfig clearPropertiesEntries()
        Removes all the entries added into Properties.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • setMainClass

        public void setMainClass(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.
      • getMainClass

        public String getMainClass()

        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:
        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.
      • withMainClass

        public HadoopStepConfig withMainClass(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.
      • getArgs

        public List<String> getArgs()

        The list of command line arguments to pass to the JAR file's main function for execution.

        Returns:
        The list of command line arguments to pass to the JAR file's main function for execution.
      • setArgs

        public void setArgs(Collection<String> args)

        The list of command line arguments to pass to the JAR file's main function for execution.

        Parameters:
        args - The list of command line arguments to pass to the JAR file's main function for execution.
      • withArgs

        public HadoopStepConfig withArgs(String... args)

        The list of command line arguments to pass to the JAR file's main function for execution.

        NOTE: This method appends the values to the existing list (if any). Use setArgs(java.util.Collection) or withArgs(java.util.Collection) if you want to override the existing values.

        Parameters:
        args - The list of command line arguments to pass to the JAR file's main function for execution.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • withArgs

        public HadoopStepConfig withArgs(Collection<String> args)

        The list of command line arguments to pass to the JAR file's main function for execution.

        Parameters:
        args - The list of command line arguments to pass to the JAR file's main function for execution.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • toString

        public 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
        Returns:
        A string representation of this object.
        See Also:
        Object.toString()
Skip navigation links

AltStyle によって変換されたページ (->オリジナル) /