JobStepAction Class
- java.
lang. Object - com.
azure. resourcemanager. sql. models. JobStepAction
- com.
Implements
public final class JobStepAction
implements JsonSerializable<JobStepAction>
The action to be executed by a job step.
Constructor Summary
Constructor | Description |
---|---|
JobStepAction() |
Creates an instance of Job |
Method Summary
Modifier and Type | Method and Description |
---|---|
static
Job |
fromJson(JsonReader jsonReader)
Reads an instance of Job |
Job |
source()
Get the source property: The source of the action to execute. |
Json |
toJson(JsonWriter jsonWriter) |
Job |
type()
Get the type property: Type of action being executed by the job step. |
void |
validate()
Validates the instance. |
String |
value()
Get the value property: The action value, for example the text of the T-SQL script to execute. |
Job |
withSource(JobStepActionSource source)
Set the source property: The source of the action to execute. |
Job |
withType(JobStepActionType type)
Set the type property: Type of action being executed by the job step. |
Job |
withValue(String value)
Set the value property: The action value, for example the text of the T-SQL script to execute. |
Methods inherited from java.lang.Object
Constructor Details
JobStepAction
public JobStepAction()
Creates an instance of JobStepAction class.
Method Details
fromJson
public static JobStepAction fromJson(JsonReader jsonReader)
Reads an instance of JobStepAction from the JsonReader.
Parameters:
Returns:
Throws:
source
public JobStepActionSource source()
Get the source property: The source of the action to execute.
Returns:
toJson
type
public JobStepActionType type()
Get the type property: Type of action being executed by the job step.
Returns:
validate
public void validate()
Validates the instance.
value
public String value()
Get the value property: The action value, for example the text of the T-SQL script to execute.
Returns:
withSource
public JobStepAction withSource(JobStepActionSource source)
Set the source property: The source of the action to execute.
Parameters:
Returns:
withType
public JobStepAction withType(JobStepActionType type)
Set the type property: Type of action being executed by the job step.
Parameters:
Returns:
withValue
public JobStepAction withValue(String value)
Set the value property: The action value, for example the text of the T-SQL script to execute.
Parameters:
Returns: