Class BootstrapActionConfig
- java.lang.Object
-
- com.amazonaws.services.elasticmapreduce.model.BootstrapActionConfig
-
- All Implemented Interfaces:
Serializable,Cloneable
public class BootstrapActionConfig extends Object implements Serializable, Cloneable
Configuration of a bootstrap action.
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description BootstrapActionConfig()Default constructor for BootstrapActionConfig object.BootstrapActionConfig(String name, ScriptBootstrapActionConfig scriptBootstrapAction)Constructs a new BootstrapActionConfig object.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description BootstrapActionConfigclone()booleanequals(Object obj)StringgetName()The name of the bootstrap action.ScriptBootstrapActionConfiggetScriptBootstrapAction()The script run by the bootstrap action.inthashCode()voidsetName(String name)The name of the bootstrap action.voidsetScriptBootstrapAction(ScriptBootstrapActionConfig scriptBootstrapAction)The script run by the bootstrap action.StringtoString()Returns a string representation of this object; useful for testing and debugging.BootstrapActionConfigwithName(String name)The name of the bootstrap action.BootstrapActionConfigwithScriptBootstrapAction(ScriptBootstrapActionConfig scriptBootstrapAction)The script run by the bootstrap action.
-
-
-
Constructor Detail
-
BootstrapActionConfig
public BootstrapActionConfig()
Default constructor for BootstrapActionConfig object. Callers should use the setter or fluent setter (with...) methods to initialize the object after creating it.
-
BootstrapActionConfig
public BootstrapActionConfig(String name, ScriptBootstrapActionConfig scriptBootstrapAction)
Constructs a new BootstrapActionConfig object. Callers should use the setter or fluent setter (with...) methods to initialize any additional object members.- Parameters:
name- The name of the bootstrap action.scriptBootstrapAction- The script run by the bootstrap action.
-
-
Method Detail
-
setName
public void setName(String name)
The name of the bootstrap action.
- Parameters:
name- The name of the bootstrap action.
-
getName
public String getName()
The name of the bootstrap action.
- Returns:
- The name of the bootstrap action.
-
withName
public BootstrapActionConfig withName(String name)
The name of the bootstrap action.
- Parameters:
name- The name of the bootstrap action.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setScriptBootstrapAction
public void setScriptBootstrapAction(ScriptBootstrapActionConfig scriptBootstrapAction)
The script run by the bootstrap action.
- Parameters:
scriptBootstrapAction- The script run by the bootstrap action.
-
getScriptBootstrapAction
public ScriptBootstrapActionConfig getScriptBootstrapAction()
The script run by the bootstrap action.
- Returns:
- The script run by the bootstrap action.
-
withScriptBootstrapAction
public BootstrapActionConfig withScriptBootstrapAction(ScriptBootstrapActionConfig scriptBootstrapAction)
The script run by the bootstrap action.
- Parameters:
scriptBootstrapAction- The script run by the bootstrap action.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
toString
public String toString()
Returns a string representation of this object; useful for testing and debugging.- Overrides:
toStringin classObject- Returns:
- A string representation of this object.
- See Also:
Object.toString()
-
clone
public BootstrapActionConfig clone()
-
-