|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.amazonaws.services.elasticmapreduce.model.ScriptBootstrapActionConfig
public class ScriptBootstrapActionConfig
Configuration of the script to run during a bootstrap action.
Constructor Summary | |
---|---|
ScriptBootstrapActionConfig()
Default constructor for a new ScriptBootstrapActionConfig object. |
|
ScriptBootstrapActionConfig(String path,
List<String> args)
Constructs a new ScriptBootstrapActionConfig object. |
Method Summary | |
---|---|
List<String> |
getArgs()
A list of command line arguments to pass to the bootstrap action script. |
String |
getPath()
Location of the script to run during a bootstrap action. |
void |
setArgs(Collection<String> args)
A list of command line arguments to pass to the bootstrap action script. |
void |
setPath(String path)
Location of the script to run during a bootstrap action. |
String |
toString()
Returns a string representation of this object; useful for testing and debugging. |
ScriptBootstrapActionConfig |
withArgs(Collection<String> args)
A list of command line arguments to pass to the bootstrap action script. |
ScriptBootstrapActionConfig |
withArgs(String... args)
A list of command line arguments to pass to the bootstrap action script. |
ScriptBootstrapActionConfig |
withPath(String path)
Location of the script to run during a bootstrap action. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public ScriptBootstrapActionConfig()
public ScriptBootstrapActionConfig(String path, List<String> args)
path
- Location of the script to run during a bootstrap action.
Can be either a location in Amazon S3 or on a local file system.args
- A list of command line arguments to pass to the bootstrap
action script.Method Detail |
---|
public String getPath()
Constraints:
Length: 0 - 10280
Pattern: [ -??-??-?\r\n\t]*
public void setPath(String path)
Constraints:
Length: 0 - 10280
Pattern: [ -??-??-?\r\n\t]*
path
- Location of the script to run during a bootstrap action. Can be either
a location in Amazon S3 or on a local file system.public ScriptBootstrapActionConfig withPath(String path)
Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: 0 - 10280
Pattern: [ -??-??-?\r\n\t]*
path
- Location of the script to run during a bootstrap action. Can be either
a location in Amazon S3 or on a local file system.
public List<String> getArgs()
public void setArgs(Collection<String> args)
args
- A list of command line arguments to pass to the bootstrap action
script.public ScriptBootstrapActionConfig withArgs(String... args)
Returns a reference to this object so that method calls can be chained together.
args
- A list of command line arguments to pass to the bootstrap action
script.
public ScriptBootstrapActionConfig withArgs(Collection<String> args)
Returns a reference to this object so that method calls can be chained together.
args
- A list of command line arguments to pass to the bootstrap action
script.
public String toString()
toString
in class Object
Object.toString()
|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |