public class ScriptBootstrapActionConfig extends Object implements Serializable
Configuration of the script to run during a bootstrap action.
Constructor and Description |
---|
ScriptBootstrapActionConfig()
Default constructor for a new ScriptBootstrapActionConfig object.
|
ScriptBootstrapActionConfig(String path,
List<String> args)
Constructs a new ScriptBootstrapActionConfig object.
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj) |
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.
|
int |
hashCode() |
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.
|
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.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()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.