Class ScriptAction

java.lang.Object
com.azure.analytics.synapse.artifacts.models.ScriptAction

public final class ScriptAction extends Object
Custom script action to run on HDI ondemand cluster once it's up.
  • Constructor Details

    • ScriptAction

      public ScriptAction()
  • Method Details

    • getName

      public String getName()
      Get the name property: The user provided name of the script action.
      Returns:
      the name value.
    • setName

      public ScriptAction setName(String name)
      Set the name property: The user provided name of the script action.
      Parameters:
      name - the name value to set.
      Returns:
      the ScriptAction object itself.
    • getUri

      public String getUri()
      Get the uri property: The URI for the script action.
      Returns:
      the uri value.
    • setUri

      public ScriptAction setUri(String uri)
      Set the uri property: The URI for the script action.
      Parameters:
      uri - the uri value to set.
      Returns:
      the ScriptAction object itself.
    • getRoles

      public Object getRoles()
      Get the roles property: The node types on which the script action should be executed.
      Returns:
      the roles value.
    • setRoles

      public ScriptAction setRoles(Object roles)
      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.
    • getParameters

      public String getParameters()
      Get the parameters property: The parameters for the script action.
      Returns:
      the parameters value.
    • setParameters

      public ScriptAction setParameters(String parameters)
      Set the parameters property: The parameters for the script action.
      Parameters:
      parameters - the parameters value to set.
      Returns:
      the ScriptAction object itself.