public final class RunCommandInput extends Object
Constructor and Description |
---|
RunCommandInput() |
Modifier and Type | Method and Description |
---|---|
String |
commandId()
Get the commandId property: The run command id.
|
List<RunCommandInputParameter> |
parameters()
Get the parameters property: The run command parameters.
|
List<String> |
script()
Get the script property: Optional.
|
void |
validate()
Validates the instance.
|
RunCommandInput |
withCommandId(String commandId)
Set the commandId property: The run command id.
|
RunCommandInput |
withParameters(List<RunCommandInputParameter> parameters)
Set the parameters property: The run command parameters.
|
RunCommandInput |
withScript(List<String> script)
Set the script property: Optional.
|
public String commandId()
public RunCommandInput withCommandId(String commandId)
commandId
- the commandId value to set.public List<String> script()
public RunCommandInput withScript(List<String> script)
script
- the script value to set.public List<RunCommandInputParameter> parameters()
public RunCommandInput withParameters(List<RunCommandInputParameter> parameters)
parameters
- the parameters value to set.public void validate()
IllegalArgumentException
- thrown if the instance is not valid.Copyright © 2020 Microsoft Corporation. All rights reserved.