public class LifecycleCommand extends AbstractModel
Constructor and Description |
---|
LifecycleCommand() |
LifecycleCommand(LifecycleCommand 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 |
getCommandId()
Get Remote command ID.
|
String |
getParameters()
Get Custom parameter.
|
void |
setCommandId(String CommandId)
Set Remote command ID.
|
void |
setParameters(String Parameters)
Set Custom parameter.
|
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 LifecycleCommand()
public LifecycleCommand(LifecycleCommand source)
public String getCommandId()
public void setCommandId(String CommandId)
CommandId
- Remote command ID. It’s required to execute a command.
Note: This field may return null, indicating that no valid values can be obtained.public String getParameters()
public void setParameters(String Parameters)
Parameters
- Custom parameter. The field type is JSON encoded string. For example, {"varA": "222"}.
`key` is the name of the custom parameter and `value` is the default value. Both `key` and `value` are strings.
If this parameter is not specified, the `DefaultParameters` of `Command` is used.
Up to 20 customer parameters allowed. The parameter name can contain up to 64 characters, including [a-z], [A-Z], [0-9] and [-_].
Note: This field may return null, indicating that no valid values can be obtained.Copyright © 2023. All rights reserved.