RuntimeScriptAction Class
- java.
lang. Object - com.
azure. resourcemanager. hdinsight. models. RuntimeScriptAction
- com.
public class RuntimeScriptAction
Describes a script action on a running cluster.
Constructor Summary
Constructor | Description |
---|---|
RuntimeScriptAction() |
Creates an instance of Runtime |
Method Summary
Modifier and Type | Method and Description |
---|---|
String |
applicationName()
Get the application |
String |
name()
Get the name property: The name of the script action. |
String |
parameters()
Get the parameters property: The parameters for the script. |
List<String> |
roles()
Get the roles property: The list of roles where script will be executed. |
String |
uri()
Get the uri property: The URI to the script. |
void |
validate()
Validates the instance. |
Runtime |
withName(String name)
Set the name property: The name of the script action. |
Runtime |
withParameters(String parameters)
Set the parameters property: The parameters for the script. |
Runtime |
withRoles(List<String> roles)
Set the roles property: The list of roles where script will be executed. |
Runtime |
withUri(String uri)
Set the uri property: The URI to the script. |
Methods inherited from java.lang.Object
Constructor Details
RuntimeScriptAction
public RuntimeScriptAction()
Creates an instance of RuntimeScriptAction class.
Method Details
applicationName
public String applicationName()
Get the applicationName property: The application name of the script action, if any.
Returns:
name
public String name()
Get the name property: The name of the script action.
Returns:
parameters
public String parameters()
Get the parameters property: The parameters for the script.
Returns:
roles
public List
Get the roles property: The list of roles where script will be executed.
Returns:
uri
public String uri()
Get the uri property: The URI to the script.
Returns:
validate
public void validate()
Validates the instance.
withName
public RuntimeScriptAction withName(String name)
Set the name property: The name of the script action.
Parameters:
Returns:
withParameters
public RuntimeScriptAction withParameters(String parameters)
Set the parameters property: The parameters for the script.
Parameters:
Returns:
withRoles
public RuntimeScriptAction withRoles(List
Set the roles property: The list of roles where script will be executed.
Parameters:
Returns:
withUri
public RuntimeScriptAction withUri(String uri)
Set the uri property: The URI to the script.
Parameters:
Returns:
Applies to
Azure SDK for Java
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for