Class BootstrapActionConfig
java.lang.Object
com.amazonaws.services.elasticmapreduce.model.BootstrapActionConfig
- All Implemented Interfaces:
Serializable,Cloneable
Configuration of a bootstrap action.
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionDefault constructor for BootstrapActionConfig object.BootstrapActionConfig(String name, ScriptBootstrapActionConfig scriptBootstrapAction) Constructs a new BootstrapActionConfig object. -
Method Summary
Modifier and TypeMethodDescriptionclone()booleangetName()The name of the bootstrap action.The script run by the bootstrap action.inthashCode()voidThe name of the bootstrap action.voidsetScriptBootstrapAction(ScriptBootstrapActionConfig scriptBootstrapAction) The script run by the bootstrap action.toString()Returns a string representation of this object; useful for testing and debugging.The name of the bootstrap action.withScriptBootstrapAction(ScriptBootstrapActionConfig scriptBootstrapAction) The script run by the bootstrap action.
-
Constructor Details
-
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
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 Details
-
setName
The name of the bootstrap action.
- Parameters:
name- The name of the bootstrap action.
-
getName
The name of the bootstrap action.
- Returns:
- The name of the bootstrap action.
-
withName
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
The script run by the bootstrap action.
- Parameters:
scriptBootstrapAction- The script run by the bootstrap action.
-
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
Returns a string representation of this object; useful for testing and debugging. -
equals
-
hashCode
public int hashCode() -
clone
-