com.amazonaws.services.elasticmapreduce.model
Class HadoopJarStepConfig

java.lang.Object
  extended by com.amazonaws.services.elasticmapreduce.model.HadoopJarStepConfig

public class HadoopJarStepConfig
extends Object


Constructor Summary
HadoopJarStepConfig()
           
 
Method Summary
 List<String> getArgs()
          A list of arguments for the job flow's steps.
 String getJar()
          

 String getMainClass()
          The name of the main class in the specified Java file.
 List<KeyValue> getProperties()
          A list of KeyValue instances.
 void setArgs(Collection<String> args)
          A list of arguments for the job flow's steps.
 void setJar(String jar)
          

 void setMainClass(String mainClass)
          The name of the main class in the specified Java file.
 void setProperties(Collection<KeyValue> properties)
          A list of KeyValue instances.
 String toString()
           
 HadoopJarStepConfig withArgs(Collection<String> args)
          A list of arguments for the job flow's steps.
 HadoopJarStepConfig withArgs(String... args)
          A list of arguments for the job flow's steps.
 HadoopJarStepConfig withJar(String jar)
          

 HadoopJarStepConfig withMainClass(String mainClass)
          The name of the main class in the specified Java file.
 HadoopJarStepConfig withProperties(Collection<KeyValue> properties)
          A list of KeyValue instances.
 HadoopJarStepConfig withProperties(KeyValue... properties)
          A list of KeyValue instances.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

HadoopJarStepConfig

public HadoopJarStepConfig()
Method Detail

getProperties

public List<KeyValue> getProperties()
A list of KeyValue instances.

Returns:
A list of KeyValue instances.

setProperties

public void setProperties(Collection<KeyValue> properties)
A list of KeyValue instances.

Parameters:
properties - A list of KeyValue instances.

withProperties

public HadoopJarStepConfig withProperties(KeyValue... properties)
A list of KeyValue instances.

Returns a reference to this object so that method calls can be chained together.

Parameters:
properties - A list of KeyValue instances.
Returns:
A reference to this updated object so that method calls can be chained together.

withProperties

public HadoopJarStepConfig withProperties(Collection<KeyValue> properties)
A list of KeyValue instances.

Returns a reference to this object so that method calls can be chained together.

Parameters:
properties - A list of KeyValue instances.
Returns:
A reference to this updated object so that method calls can be chained together.

getJar

public String getJar()

Returns:


setJar

public void setJar(String jar)

Parameters:
jar -


withJar

public HadoopJarStepConfig withJar(String jar)

Returns a reference to this object so that method calls can be chained together.

Parameters:
jar -

Returns:
A reference to this updated object so that method calls can be chained together.

getMainClass

public String getMainClass()
The name of the main class in the specified Java file.

Returns:
The name of the main class in the specified Java file.

setMainClass

public void setMainClass(String mainClass)
The name of the main class in the specified Java file.

Parameters:
mainClass - The name of the main class in the specified Java file.

withMainClass

public HadoopJarStepConfig withMainClass(String mainClass)
The name of the main class in the specified Java file.

Returns a reference to this object so that method calls can be chained together.

Parameters:
mainClass - The name of the main class in the specified Java file.
Returns:
A reference to this updated object so that method calls can be chained together.

getArgs

public List<String> getArgs()
A list of arguments for the job flow's steps.

Returns:
A list of arguments for the job flow's steps.

setArgs

public void setArgs(Collection<String> args)
A list of arguments for the job flow's steps.

Parameters:
args - A list of arguments for the job flow's steps.

withArgs

public HadoopJarStepConfig withArgs(String... args)
A list of arguments for the job flow's steps.

Returns a reference to this object so that method calls can be chained together.

Parameters:
args - A list of arguments for the job flow's steps.
Returns:
A reference to this updated object so that method calls can be chained together.

withArgs

public HadoopJarStepConfig withArgs(Collection<String> args)
A list of arguments for the job flow's steps.

Returns a reference to this object so that method calls can be chained together.

Parameters:
args - A list of arguments for the job flow's steps.
Returns:
A reference to this updated object so that method calls can be chained together.

toString

public String toString()
Overrides:
toString in class Object


Copyright © 2010 Amazon Web Services, Inc. All Rights Reserved.