|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.amazonaws.services.elasticmapreduce.model.Command
public class Command
An entity describing an executable that runs on a cluster.
Constructor Summary | |
---|---|
Command()
|
Method Summary | |
---|---|
boolean |
equals(Object obj)
|
List<String> |
getArgs()
Arguments for Amazon EMR to pass to the command for execution. |
String |
getName()
The name of the command. |
String |
getScriptPath()
The Amazon S3 location of the command script. |
int |
hashCode()
|
void |
setArgs(Collection<String> args)
Arguments for Amazon EMR to pass to the command for execution. |
void |
setName(String name)
The name of the command. |
void |
setScriptPath(String scriptPath)
The Amazon S3 location of the command script. |
String |
toString()
Returns a string representation of this object; useful for testing and debugging. |
Command |
withArgs(Collection<String> args)
Arguments for Amazon EMR to pass to the command for execution. |
Command |
withArgs(String... args)
Arguments for Amazon EMR to pass to the command for execution. |
Command |
withName(String name)
The name of the command. |
Command |
withScriptPath(String scriptPath)
The Amazon S3 location of the command script. |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public Command()
Method Detail |
---|
public String getName()
public void setName(String name)
name
- The name of the command.public Command withName(String name)
Returns a reference to this object so that method calls can be chained together.
name
- The name of the command.
public String getScriptPath()
public void setScriptPath(String scriptPath)
scriptPath
- The Amazon S3 location of the command script.public Command withScriptPath(String scriptPath)
Returns a reference to this object so that method calls can be chained together.
scriptPath
- The Amazon S3 location of the command script.
public List<String> getArgs()
public void setArgs(Collection<String> args)
args
- Arguments for Amazon EMR to pass to the command for execution.public Command withArgs(String... args)
Returns a reference to this object so that method calls can be chained together.
args
- Arguments for Amazon EMR to pass to the command for execution.
public Command withArgs(Collection<String> args)
Returns a reference to this object so that method calls can be chained together.
args
- Arguments for Amazon EMR to pass to the command for execution.
public String toString()
toString
in class Object
Object.toString()
public int hashCode()
hashCode
in class Object
public boolean equals(Object obj)
equals
in class Object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |