@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class BootstrapActionConfig extends Object implements Serializable, Cloneable, StructuredPojo
Configuration of a bootstrap action.
| Constructor and Description |
|---|
BootstrapActionConfig ()
Default constructor for BootstrapActionConfig object.
|
BootstrapActionConfig (String name,
ScriptBootstrapActionConfig scriptBootstrapAction)
Constructs a new BootstrapActionConfig object.
|
| Modifier and Type | Method and Description |
|---|---|
BootstrapActionConfig |
clone () |
boolean |
equals (Object obj) |
String |
getName ()
The name of the bootstrap action.
|
ScriptBootstrapActionConfig |
getScriptBootstrapAction ()
The script run by the bootstrap action.
|
int |
hashCode () |
void |
marshall (ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller. |
void |
setName (String name)
The name of the bootstrap action.
|
void |
setScriptBootstrapAction (ScriptBootstrapActionConfig scriptBootstrapAction)
The script run by the bootstrap action.
|
String |
toString ()
Returns a string representation of this object.
|
BootstrapActionConfig |
withName (String name)
The name of the bootstrap action.
|
BootstrapActionConfig |
withScriptBootstrapAction (ScriptBootstrapActionConfig scriptBootstrapAction)
The script run by the bootstrap action.
|
public BootstrapActionConfig()
public BootstrapActionConfig(String name, ScriptBootstrapActionConfig scriptBootstrapAction)
name - The name of the bootstrap action.scriptBootstrapAction - The script run by the bootstrap action.public void setName(String name)
The name of the bootstrap action.
name - The name of the bootstrap action.public String getName()
The name of the bootstrap action.
public BootstrapActionConfig withName(String name)
The name of the bootstrap action.
name - The name of the bootstrap action.public void setScriptBootstrapAction(ScriptBootstrapActionConfig scriptBootstrapAction)
The script run by the bootstrap action.
scriptBootstrapAction - The script run by the bootstrap action.public ScriptBootstrapActionConfig getScriptBootstrapAction()
The script run by the bootstrap action.
public BootstrapActionConfig withScriptBootstrapAction(ScriptBootstrapActionConfig scriptBootstrapAction)
The script run by the bootstrap action.
scriptBootstrapAction - The script run by the bootstrap action.public String toString()
toString in class Object Object.toString() public BootstrapActionConfig clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo ProtocolMarshaller.marshall in interface StructuredPojo protocolMarshaller - Implementation of ProtocolMarshaller used to marshall this object's data.