ScriptAction Class
- java.
lang. Object - com.
azure. resourcemanager. datafactory. models. ScriptAction
- com.
public final class ScriptAction
Custom script action to run on HDI ondemand cluster once it's up.
Constructor Summary
Constructor | Description |
---|---|
ScriptAction() |
Creates an instance of Script |
Method Summary
Modifier and Type | Method and Description |
---|---|
String |
name()
Get the name property: The user provided name of the script action. |
String |
parameters()
Get the parameters property: The parameters for the script action. |
Object |
roles()
Get the roles property: The node types on which the script action should be executed. |
String |
uri()
Get the uri property: The URI for the script action. |
void |
validate()
Validates the instance. |
Script |
withName(String name)
Set the name property: The user provided name of the script action. |
Script |
withParameters(String parameters)
Set the parameters property: The parameters for the script action. |
Script |
withRoles(Object roles)
Set the roles property: The node types on which the script action should be executed. |
Script |
withUri(String uri)
Set the uri property: The URI for the script action. |
Methods inherited from java.lang.Object
Constructor Details
ScriptAction
public ScriptAction()
Creates an instance of ScriptAction class.
Method Details
name
public String name()
Get the name property: The user provided name of the script action.
Returns:
parameters
public String parameters()
Get the parameters property: The parameters for the script action.
Returns:
roles
public Object roles()
Get the roles property: The node types on which the script action should be executed.
Returns:
uri
public String uri()
Get the uri property: The URI for the script action.
Returns:
validate
public void validate()
Validates the instance.
withName
public ScriptAction withName(String name)
Set the name property: The user provided name of the script action.
Parameters:
Returns:
withParameters
public ScriptAction withParameters(String parameters)
Set the parameters property: The parameters for the script action.
Parameters:
Returns:
withRoles
public ScriptAction withRoles(Object roles)
Set the roles property: The node types on which the script action should be executed.
Parameters:
Returns:
withUri
public ScriptAction withUri(String uri)
Set the uri property: The URI for the script action.
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