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 ScriptBootstrapActionConfig

    • Constructor Detail

      • ScriptBootstrapActionConfig

        public ScriptBootstrapActionConfig()
        Default constructor for ScriptBootstrapActionConfig object. Callers should use the setter or fluent setter (with...) methods to initialize the object after creating it.
      • ScriptBootstrapActionConfig

        public ScriptBootstrapActionConfig(String path,
         List<String> args)
        Constructs a new ScriptBootstrapActionConfig object. Callers should use the setter or fluent setter (with...) methods to initialize any additional object members.
        Parameters:
        path - Location in Amazon S3 of the script to run during a bootstrap action.
        args - A list of command line arguments to pass to the bootstrap action script.
    • Method Detail

      • setPath

        public void setPath(String path)

        Location in Amazon S3 of the script to run during a bootstrap action.

        Parameters:
        path - Location in Amazon S3 of the script to run during a bootstrap action.
      • getPath

        public String getPath()

        Location in Amazon S3 of the script to run during a bootstrap action.

        Returns:
        Location in Amazon S3 of the script to run during a bootstrap action.
      • withPath

        public ScriptBootstrapActionConfig withPath(String path)

        Location in Amazon S3 of the script to run during a bootstrap action.

        Parameters:
        path - Location in Amazon S3 of the script to run during a bootstrap action.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • getArgs

        public List<String> getArgs()

        A list of command line arguments to pass to the bootstrap action script.

        Returns:
        A list of command line arguments to pass to the bootstrap action script.
      • setArgs

        public void setArgs(Collection<String> args)

        A list of command line arguments to pass to the bootstrap action script.

        Parameters:
        args - A list of command line arguments to pass to the bootstrap action script.
      • withArgs

        public ScriptBootstrapActionConfig withArgs(String... args)

        A list of command line arguments to pass to the bootstrap action script.

        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 - A list of command line arguments to pass to the bootstrap action script.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • withArgs

        public ScriptBootstrapActionConfig withArgs(Collection<String> args)

        A list of command line arguments to pass to the bootstrap action script.

        Parameters:
        args - A list of command line arguments to pass to the bootstrap action script.
        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 によって変換されたページ (->オリジナル) /