Class JobStepAction
- java.lang.Object
-
- com.azure.resourcemanager.sql.models.JobStepAction
-
public final class JobStepAction extends Object
The action to be executed by a job step.
-
-
Constructor Summary
Constructors Constructor Description JobStepAction()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description JobStepActionSourcesource()Get the source property: The source of the action to execute.JobStepActionTypetype()Get the type property: Type of action being executed by the job step.voidvalidate()Validates the instance.Stringvalue()Get the value property: The action value, for example the text of the T-SQL script to execute.JobStepActionwithSource(JobStepActionSource source)Set the source property: The source of the action to execute.JobStepActionwithType(JobStepActionType type)Set the type property: Type of action being executed by the job step.JobStepActionwithValue(String value)Set the value property: The action value, for example the text of the T-SQL script to execute.
-
-
-
Method Detail
-
type
public JobStepActionType type()
Get the type property: Type of action being executed by the job step.- Returns:
- the type value.
-
withType
public JobStepAction withType(JobStepActionType type)
Set the type property: Type of action being executed by the job step.- Parameters:
type- the type value to set.- Returns:
- the JobStepAction object itself.
-
source
public JobStepActionSource source()
Get the source property: The source of the action to execute.- Returns:
- the source value.
-
withSource
public JobStepAction withSource(JobStepActionSource source)
Set the source property: The source of the action to execute.- Parameters:
source- the source value to set.- Returns:
- the JobStepAction object itself.
-
value
public String value()
Get the value property: 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 value property: 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.
-
validate
public void validate()
Validates the instance.- Throws:
IllegalArgumentException- thrown if the instance is not valid.
-
-