JobStepAction Class

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

public class JobStepAction

The action to be executed by a job step.

Method Summary

Modifier and Type Method and Description
JobStepActionSource source()

Get the source of the action to execute. Possible values include: 'Inline'.

JobStepActionType type()

Get type of action being executed by the job step. Possible values include: 'TSql'.

String value()

Get the action value, for example the text of the T-SQL script to execute.

JobStepAction withSource(JobStepActionSource source)

Set the source of the action to execute. Possible values include: 'Inline'.

JobStepAction withType(JobStepActionType type)

Set type of action being executed by the job step. Possible values include: 'TSql'.

JobStepAction withValue(String value)

Set the action value, for example the text of the T-SQL script to execute.

Method Details

source

public JobStepActionSource source()

Get the source of the action to execute. Possible values include: 'Inline'.

Returns:

the source value

type

public JobStepActionType type()

Get type of action being executed by the job step. Possible values include: 'TSql'.

Returns:

the type value

value

public String value()

Get the action value, for example the text of the T-SQL script to execute.

Returns:

the value 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.

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.

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.

Applies to