Class JobStepInner
- java.lang.Object
-
- com.azure.core.management.ProxyResource
-
- com.azure.resourcemanager.sql.fluent.models.JobStepInner
-
public class JobStepInner extends com.azure.core.management.ProxyResourceA job step.
-
-
Constructor Summary
Constructors Constructor Description JobStepInner()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description JobStepActionaction()Get the action property: The action payload of the job step.Stringcredential()Get the credential property: The resource ID of the job credential that will be used to connect to the targets.JobStepExecutionOptionsexecutionOptions()Get the executionOptions property: Execution options for the job step.JobStepOutputoutput()Get the output property: Output destination properties of the job step.IntegerstepId()Get the stepId property: The job step's index within the job.StringtargetGroup()Get the targetGroup property: The resource ID of the target group that the job step will be executed on.voidvalidate()Validates the instance.JobStepInnerwithAction(JobStepAction action)Set the action property: The action payload of the job step.JobStepInnerwithCredential(String credential)Set the credential property: The resource ID of the job credential that will be used to connect to the targets.JobStepInnerwithExecutionOptions(JobStepExecutionOptions executionOptions)Set the executionOptions property: Execution options for the job step.JobStepInnerwithOutput(JobStepOutput output)Set the output property: Output destination properties of the job step.JobStepInnerwithStepId(Integer stepId)Set the stepId property: The job step's index within the job.JobStepInnerwithTargetGroup(String targetGroup)Set the targetGroup property: The resource ID of the target group that the job step will be executed on.
-
-
-
Method Detail
-
stepId
public Integer stepId()
Get the stepId property: The job step's index within the job. If not specified when creating the job step, it will be created as the last step. If not specified when updating the job step, the step id is not modified.- Returns:
- the stepId value.
-
withStepId
public JobStepInner withStepId(Integer stepId)
Set the stepId property: The job step's index within the job. If not specified when creating the job step, it will be created as the last step. If not specified when updating the job step, the step id is not modified.- Parameters:
stepId- the stepId value to set.- Returns:
- the JobStepInner object itself.
-
targetGroup
public String targetGroup()
Get the targetGroup property: The resource ID of the target group that the job step will be executed on.- Returns:
- the targetGroup value.
-
withTargetGroup
public JobStepInner withTargetGroup(String targetGroup)
Set the targetGroup property: The resource ID of the target group that the job step will be executed on.- Parameters:
targetGroup- the targetGroup value to set.- Returns:
- the JobStepInner object itself.
-
credential
public String credential()
Get the credential property: The resource ID of the job credential that will be used to connect to the targets.- Returns:
- the credential value.
-
withCredential
public JobStepInner withCredential(String credential)
Set the credential property: The resource ID of the job credential that will be used to connect to the targets.- Parameters:
credential- the credential value to set.- Returns:
- the JobStepInner object itself.
-
action
public JobStepAction action()
Get the action property: The action payload of the job step.- Returns:
- the action value.
-
withAction
public JobStepInner withAction(JobStepAction action)
Set the action property: The action payload of the job step.- Parameters:
action- the action value to set.- Returns:
- the JobStepInner object itself.
-
output
public JobStepOutput output()
Get the output property: Output destination properties of the job step.- Returns:
- the output value.
-
withOutput
public JobStepInner withOutput(JobStepOutput output)
Set the output property: Output destination properties of the job step.- Parameters:
output- the output value to set.- Returns:
- the JobStepInner object itself.
-
executionOptions
public JobStepExecutionOptions executionOptions()
Get the executionOptions property: Execution options for the job step.- Returns:
- the executionOptions value.
-
withExecutionOptions
public JobStepInner withExecutionOptions(JobStepExecutionOptions executionOptions)
Set the executionOptions property: Execution options for the job step.- Parameters:
executionOptions- the executionOptions value to set.- Returns:
- the JobStepInner object itself.
-
validate
public void validate()
Validates the instance.- Throws:
IllegalArgumentException- thrown if the instance is not valid.
-
-