@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ScriptBootstrapActionConfig extends Object implements Serializable, Cloneable, StructuredPojo
Configuration of the script to run during a bootstrap action.
Constructor and Description |
---|
ScriptBootstrapActionConfig()
Default constructor for ScriptBootstrapActionConfig object.
|
ScriptBootstrapActionConfig(String path,
List<String> args)
Constructs a new ScriptBootstrapActionConfig object.
|
Modifier and Type | Method and Description |
---|---|
ScriptBootstrapActionConfig |
clone() |
boolean |
equals(Object obj) |
List<String> |
getArgs()
A list of command line arguments to pass to the bootstrap action script.
|
String |
getPath()
Location in Amazon S3 of the script to run during a bootstrap action.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller) |
void |
setArgs(Collection<String> args)
A list of command line arguments to pass to the bootstrap action script.
|
void |
setPath(String path)
Location in Amazon S3 of the script to run during a bootstrap action.
|
String |
toString()
Returns a string representation of this object.
|
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 in Amazon S3 of the script to run during a bootstrap action.
|
public ScriptBootstrapActionConfig()
public ScriptBootstrapActionConfig(String path, List<String> args)
path
- Location in Amazon S3 of the script to run during a bootstrap action.args
- A list of command line arguments to pass to the bootstrap action script.public void setPath(String path)
Location in Amazon S3 of the script to run during a bootstrap action.
path
- Location in Amazon S3 of the script to run during a bootstrap action.public String getPath()
Location in Amazon S3 of the script to run during a bootstrap action.
public ScriptBootstrapActionConfig withPath(String path)
Location in Amazon S3 of the script to run during a bootstrap action.
path
- Location in Amazon S3 of the script to run during a bootstrap action.public List<String> getArgs()
A list of command line arguments to pass to the bootstrap action script.
public void setArgs(Collection<String> args)
A list of command line arguments to pass to the bootstrap action script.
args
- A list of command line arguments to pass to the bootstrap action script.public ScriptBootstrapActionConfig withArgs(String... args)
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)
or withArgs(java.util.Collection)
if you want to override the
existing values.
args
- A list of command line arguments to pass to the bootstrap action script.public ScriptBootstrapActionConfig withArgs(Collection<String> args)
A list of command line arguments to pass to the bootstrap action script.
args
- A list of command line arguments to pass to the bootstrap action script.public String toString()
toString
in class Object
Object.toString()
public ScriptBootstrapActionConfig clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
marshall
in interface StructuredPojo
Copyright © 2022. All rights reserved.