Class ScriptAction
java.lang.Object
com.azure.resourcemanager.datafactory.models.ScriptAction
Custom script action to run on HDI ondemand cluster once it's up.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionname()Get the name property: The user provided name of the script action.Get the parameters property: The parameters for the script action.roles()Get the roles property: The node types on which the script action should be executed.uri()Get the uri property: The URI for the script action.voidvalidate()Validates the instance.Set the name property: The user provided name of the script action.withParameters(String parameters) Set the parameters property: The parameters for the script action.Set the roles property: The node types on which the script action should be executed.Set the uri property: The URI for the script action.
-
Constructor Details
-
ScriptAction
public ScriptAction()Creates an instance of ScriptAction class.
-
-
Method Details
-
name
Get the name property: The user provided name of the script action.- Returns:
- the name value.
-
withName
Set the name property: The user provided name of the script action.- Parameters:
name- the name value to set.- Returns:
- the ScriptAction object itself.
-
uri
Get the uri property: The URI for the script action.- Returns:
- the uri value.
-
withUri
Set the uri property: The URI for the script action.- Parameters:
uri- the uri value to set.- Returns:
- the ScriptAction object itself.
-
roles
Get the roles property: The node types on which the script action should be executed.- Returns:
- the roles value.
-
withRoles
Set the roles property: The node types on which the script action should be executed.- Parameters:
roles- the roles value to set.- Returns:
- the ScriptAction object itself.
-
parameters
Get the parameters property: The parameters for the script action.- Returns:
- the parameters value.
-
withParameters
Set the parameters property: The parameters for the script action.- Parameters:
parameters- the parameters value to set.- Returns:
- the ScriptAction object itself.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException- thrown if the instance is not valid.
-