com.amazonaws.services.elasticmapreduce.model
Class HadoopJarStepConfig

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

public class HadoopJarStepConfig
extends Object

Hadoop Jar Step Config


Constructor Summary
HadoopJarStepConfig()
           
 
Method Summary
 List<String> getArgs()
          Returns the value of the Args property for this object.
 String getJar()
          Returns the value of the Jar property for this object.
 String getMainClass()
          Returns the value of the MainClass property for this object.
 List<KeyValue> getProperties()
          Returns the value of the Properties property for this object.
 void setArgs(Collection<String> args)
          Sets the value of the Args property for this object.
 void setJar(String jar)
          Sets the value of the Jar property for this object.
 void setMainClass(String mainClass)
          Sets the value of the MainClass property for this object.
 void setProperties(Collection<KeyValue> properties)
          Sets the value of the Properties property for this object.
 HadoopJarStepConfig withArgs(Collection<String> args)
          Sets the value of the Args property for this object.
 HadoopJarStepConfig withArgs(String... args)
          Sets the value of the Args property for this object.
 HadoopJarStepConfig withJar(String jar)
          Sets the value of the Jar property for this object.
 HadoopJarStepConfig withMainClass(String mainClass)
          Sets the value of the MainClass property for this object.
 HadoopJarStepConfig withProperties(Collection<KeyValue> properties)
          Sets the value of the Properties property for this object.
 HadoopJarStepConfig withProperties(KeyValue... properties)
          Sets the value of the Properties property for this object.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

HadoopJarStepConfig

public HadoopJarStepConfig()
Method Detail

getProperties

public List<KeyValue> getProperties()
Returns the value of the Properties property for this object.

Returns:
The value of the Properties property for this object.

setProperties

public void setProperties(Collection<KeyValue> properties)
Sets the value of the Properties property for this object.

Parameters:
properties - The new value for the Properties property for this object.

withProperties

public HadoopJarStepConfig withProperties(KeyValue... properties)
Sets the value of the Properties property for this object.

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

Parameters:
properties - The new value for the Properties property for this object.
Returns:
A reference to this updated object so that method calls can be chained together.

withProperties

public HadoopJarStepConfig withProperties(Collection<KeyValue> properties)
Sets the value of the Properties property for this object.

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

Parameters:
properties - The new value for the Properties property for this object.
Returns:
A reference to this updated object so that method calls can be chained together.

getJar

public String getJar()
Returns the value of the Jar property for this object.

Returns:
The value of the Jar property for this object.

setJar

public void setJar(String jar)
Sets the value of the Jar property for this object.

Parameters:
jar - The new value for the Jar property for this object.

withJar

public HadoopJarStepConfig withJar(String jar)
Sets the value of the Jar property for this object.

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

Parameters:
jar - The new value for the Jar property for this object.
Returns:
A reference to this updated object so that method calls can be chained together.

getMainClass

public String getMainClass()
Returns the value of the MainClass property for this object.

Returns:
The value of the MainClass property for this object.

setMainClass

public void setMainClass(String mainClass)
Sets the value of the MainClass property for this object.

Parameters:
mainClass - The new value for the MainClass property for this object.

withMainClass

public HadoopJarStepConfig withMainClass(String mainClass)
Sets the value of the MainClass property for this object.

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

Parameters:
mainClass - The new value for the MainClass property for this object.
Returns:
A reference to this updated object so that method calls can be chained together.

getArgs

public List<String> getArgs()
Returns the value of the Args property for this object.

Returns:
The value of the Args property for this object.

setArgs

public void setArgs(Collection<String> args)
Sets the value of the Args property for this object.

Parameters:
args - The new value for the Args property for this object.

withArgs

public HadoopJarStepConfig withArgs(String... args)
Sets the value of the Args property for this object.

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

Parameters:
args - The new value for the Args property for this object.
Returns:
A reference to this updated object so that method calls can be chained together.

withArgs

public HadoopJarStepConfig withArgs(Collection<String> args)
Sets the value of the Args property for this object.

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

Parameters:
args - The new value for the Args property for this object.
Returns:
A reference to this updated object so that method calls can be chained together.


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