JobStepAction Class

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

public class JobStepAction

The action to be executed by a job step.

Constructor Summary

Constructor Description
JobStepAction()

Method Summary

Modifier and Type Method and Description
JobStepActionSource source()

Get the source of the action to execute.

JobStepActionType type()

Get type of action being executed by the job step.

java.lang.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.

JobStepAction withType(JobStepActionType type)

Set type of action being executed by the job step.

JobStepAction withValue(String value)

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

Methods inherited from java.lang.Object

java.lang.Object.clone java.lang.Object.equals java.lang.Object.finalize java.lang.Object.getClass java.lang.Object.hashCode java.lang.Object.notify java.lang.Object.notifyAll java.lang.Object.toString java.lang.Object.wait java.lang.Object.wait java.lang.Object.wait

Constructor Details

JobStepAction

public JobStepAction()

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