public class BootstrapAction extends AbstractModel
Constructor and Description |
---|
BootstrapAction() |
BootstrapAction(BootstrapAction source)
NOTE: Any ambiguous key set via .set("AnyKey", "value") will be a shallow copy,
and any explicit key, i.e Foo, set via .setFoo("value") will be a deep copy.
|
Modifier and Type | Method and Description |
---|---|
String[] |
getArgs()
Get 脚本参数
|
String |
getPath()
Get 脚本位置,支持cos上的文件,且只支持https协议。
|
String |
getWhenRun()
Get 执行时间。
resourceAfter 表示在机器资源申请成功后执行。
clusterBefore 表示在集群初始化前执行。
clusterAfter 表示在集群初始化后执行。
|
void |
setArgs(String[] Args)
Set 脚本参数
|
void |
setPath(String Path)
Set 脚本位置,支持cos上的文件,且只支持https协议。
|
void |
setWhenRun(String WhenRun)
Set 执行时间。
resourceAfter 表示在机器资源申请成功后执行。
clusterBefore 表示在集群初始化前执行。
clusterAfter 表示在集群初始化后执行。
|
void |
toMap(HashMap<String,String> map,
String prefix)
Internal implementation, normal users should not use it.
|
any, fromJsonString, getBinaryParams, getMultipartRequestParams, set, setParamArrayObj, setParamArraySimple, setParamObj, setParamSimple, toJsonString
public BootstrapAction()
public BootstrapAction(BootstrapAction source)
public String getPath()
public void setPath(String Path)
Path
- 脚本位置,支持cos上的文件,且只支持https协议。public String getWhenRun()
public void setWhenRun(String WhenRun)
WhenRun
- 执行时间。
resourceAfter 表示在机器资源申请成功后执行。
clusterBefore 表示在集群初始化前执行。
clusterAfter 表示在集群初始化后执行。public String[] getArgs()
public void setArgs(String[] Args)
Args
- 脚本参数Copyright © 2022. All rights reserved.