public HadoopStepConfig withArgs(String... args) {
        if (this.args == null) {
            setArgs(new com.amazonaws.internal.SdkInternalList<String>(args.length));
        }
        for (String ele : args) {
            this.args.add(ele);
        }
        return this;
    }
<p>
The list of command line arguments to pass to the JAR file's main function for execution.
</p>
<p>
<b>NOTE:</b> This method appends the values to the existing list (if any). Use
{@link #setArgs(java.util.Collection)} or {@link #withArgs(java.util.Collection)} if you want to override the
existing values.
</p>

@param args
       The list of command line arguments to pass to the JAR file's main function for execution.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-emr/src/main/java/com/amazonaws/services/elasticmapreduce/model/HadoopStepConfig.java