public class ScriptBootstrapActionConfig
extends java.lang.Object
implements java.io.Serializable
Configuration of the script to run during a bootstrap action.
| コンストラクタと説明 |
|---|
ScriptBootstrapActionConfig()
Default constructor for a new ScriptBootstrapActionConfig object.
|
ScriptBootstrapActionConfig(java.lang.String path,
java.util.List<java.lang.String> args)
Constructs a new ScriptBootstrapActionConfig object.
|
| 修飾子とタイプ | メソッドと説明 |
|---|---|
boolean |
equals(java.lang.Object obj) |
java.util.List<java.lang.String> |
getArgs()
A list of command line arguments to pass to the bootstrap action
script.
|
java.lang.String |
getPath()
Location of the script to run during a bootstrap action.
|
int |
hashCode() |
void |
setArgs(java.util.Collection<java.lang.String> args)
A list of command line arguments to pass to the bootstrap action
script.
|
void |
setPath(java.lang.String path)
Location of the script to run during a bootstrap action.
|
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
ScriptBootstrapActionConfig |
withArgs(java.util.Collection<java.lang.String> args)
A list of command line arguments to pass to the bootstrap action
script.
|
ScriptBootstrapActionConfig |
withArgs(java.lang.String... args)
A list of command line arguments to pass to the bootstrap action
script.
|
ScriptBootstrapActionConfig |
withPath(java.lang.String path)
Location of the script to run during a bootstrap action.
|
public ScriptBootstrapActionConfig()
public ScriptBootstrapActionConfig(java.lang.String path,
java.util.List<java.lang.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 java.lang.String getPath()
Constraints:
Length: 0 - 10280
Pattern: [ --�𐀀-\r\n\t]*
public void setPath(java.lang.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(java.lang.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 java.util.List<java.lang.String> getArgs()
public void setArgs(java.util.Collection<java.lang.String> args)
args - A list of command line arguments to pass to the bootstrap action
script.public ScriptBootstrapActionConfig withArgs(java.lang.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(java.util.Collection<java.lang.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 java.lang.String toString()
toString クラス内 java.lang.ObjectObject.toString()public int hashCode()
hashCode クラス内 java.lang.Objectpublic boolean equals(java.lang.Object obj)
equals クラス内 java.lang.Object