Class JobStepAction

java.lang.Object
com.microsoft.azure.management.sql.JobStepAction

public class JobStepAction extends Object
The action to be executed by a job step.
  • Constructor Details

    • JobStepAction

      public JobStepAction()
  • Method Details

    • type

      public JobStepActionType type()
      Get type of action being executed by the job step. Possible values include: 'TSql'.
      Returns:
      the type value
    • withType

      public JobStepAction withType(JobStepActionType type)
      Set type of action being executed by the job step. Possible values include: 'TSql'.
      Parameters:
      type - the type value to set
      Returns:
      the JobStepAction object itself.
    • source

      public JobStepActionSource source()
      Get the source of the action to execute. Possible values include: 'Inline'.
      Returns:
      the source value
    • withSource

      public JobStepAction withSource(JobStepActionSource source)
      Set the source of the action to execute. Possible values include: 'Inline'.
      Parameters:
      source - the source value to set
      Returns:
      the JobStepAction object itself.
    • value

      public String value()
      Get the action value, for example the text of the T-SQL script to execute.
      Returns:
      the value value
    • withValue

      public JobStepAction withValue(String value)
      Set the action value, for example the text of the T-SQL script to execute.
      Parameters:
      value - the value value to set
      Returns:
      the JobStepAction object itself.