Class ScriptBootstrapActionConfig
- All Implemented Interfaces:
Serializable
,Cloneable
Configuration of the script to run during a bootstrap action.
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionDefault constructor for ScriptBootstrapActionConfig object.ScriptBootstrapActionConfig
(String path, List<String> args) Constructs a new ScriptBootstrapActionConfig object. -
Method Summary
Modifier and TypeMethodDescriptionclone()
boolean
getArgs()
A list of command line arguments to pass to the bootstrap action script.getPath()
Location of the script to run during a bootstrap action.int
hashCode()
void
setArgs
(Collection<String> args) A list of command line arguments to pass to the bootstrap action script.void
Location of the script to run during a bootstrap action.toString()
Returns a string representation of this object; useful for testing and debugging.A list of command line arguments to pass to the bootstrap action script.withArgs
(Collection<String> args) A list of command line arguments to pass to the bootstrap action script.Location of the script to run during a bootstrap action.
-
Constructor Details
-
ScriptBootstrapActionConfig
public ScriptBootstrapActionConfig()Default constructor for ScriptBootstrapActionConfig object. Callers should use the setter or fluent setter (with...) methods to initialize the object after creating it. -
ScriptBootstrapActionConfig
Constructs a new ScriptBootstrapActionConfig object. Callers should use the setter or fluent setter (with...) methods to initialize any additional object members.- Parameters:
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 Details
-
setPath
Location of the script to run during a bootstrap action. Can be either a location in Amazon S3 or on a local file system.
- Parameters:
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.
-
getPath
Location of the script to run during a bootstrap action. Can be either a location in Amazon S3 or on a local file system.
- Returns:
- Location of the script to run during a bootstrap action. Can be either a location in Amazon S3 or on a local file system.
-
withPath
Location of the script to run during a bootstrap action. Can be either a location in Amazon S3 or on a local file system.
- Parameters:
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.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
getArgs
A list of command line arguments to pass to the bootstrap action script.
- Returns:
- A list of command line arguments to pass to the bootstrap action script.
-
setArgs
A list of command line arguments to pass to the bootstrap action script.
- Parameters:
args
- A list of command line arguments to pass to the bootstrap action script.
-
withArgs
A list of command line arguments to pass to the bootstrap action script.
NOTE: This method appends the values to the existing list (if any). Use
setArgs(java.util.Collection)
orwithArgs(java.util.Collection)
if you want to override the existing values.- Parameters:
args
- A list of command line arguments to pass to the bootstrap action script.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
withArgs
A list of command line arguments to pass to the bootstrap action script.
- Parameters:
args
- A list of command line arguments to pass to the bootstrap action script.- 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
-