public final class RunCommandDocumentInner extends RunCommandDocumentBaseInner
Constructor and Description |
---|
RunCommandDocumentInner() |
Modifier and Type | Method and Description |
---|---|
List<RunCommandParameterDefinition> |
parameters()
Get the parameters property: The parameters used by the script.
|
List<String> |
script()
Get the script property: The script to be executed.
|
void |
validate()
Validates the instance.
|
RunCommandDocumentInner |
withParameters(List<RunCommandParameterDefinition> parameters)
Set the parameters property: The parameters used by the script.
|
RunCommandDocumentInner |
withScript(List<String> script)
Set the script property: The script to be executed.
|
description, id, label, osType, schema, withDescription, withId, withLabel, withOsType, withSchema
public List<String> script()
public RunCommandDocumentInner withScript(List<String> script)
script
- the script value to set.public List<RunCommandParameterDefinition> parameters()
public RunCommandDocumentInner withParameters(List<RunCommandParameterDefinition> parameters)
parameters
- the parameters value to set.public void validate()
validate
in class RunCommandDocumentBaseInner
IllegalArgumentException
- thrown if the instance is not valid.Copyright © 2020 Microsoft Corporation. All rights reserved.