JobStepInner Class
- java.
lang. Object - com.
azure. core. management. ProxyResource - com.
azure. resourcemanager. sql. fluent. models. JobStepInner
- com.
- com.
public final class JobStepInner
extends ProxyResource
A job step.
Constructor Summary
Constructor | Description |
---|---|
JobStepInner() |
Creates an instance of Job |
Method Summary
Modifier and Type | Method and Description |
---|---|
Job |
action()
Get the action property: The action payload of the job step. |
String |
credential()
Get the credential property: The resource ID of the job credential that will be used to connect to the targets. |
Job |
executionOptions()
Get the execution |
static
Job |
fromJson(JsonReader jsonReader)
Reads an instance of Job |
String |
id()
Get the id property: Fully qualified resource Id for the resource. |
String |
name()
Get the name property: The name of the resource. |
Job |
output()
Get the output property: Output destination properties of the job step. |
Integer |
stepId()
Get the step |
String |
targetGroup()
Get the target |
Json |
toJson(JsonWriter jsonWriter) |
String |
type()
Get the type property: The type of the resource. |
void |
validate()
Validates the instance. |
Job |
withAction(JobStepAction action)
Set the action property: The action payload of the job step. |
Job |
withCredential(String credential)
Set the credential property: The resource ID of the job credential that will be used to connect to the targets. |
Job |
withExecutionOptions(JobStepExecutionOptions executionOptions)
Set the execution |
Job |
withOutput(JobStepOutput output)
Set the output property: Output destination properties of the job step. |
Job |
withStepId(Integer stepId)
Set the step |
Job |
withTargetGroup(String targetGroup)
Set the target |
Methods inherited from ProxyResource
Methods inherited from java.lang.Object
Constructor Details
JobStepInner
public JobStepInner()
Creates an instance of JobStepInner class.
Method Details
action
public JobStepAction action()
Get the action property: The action payload of the job step.
Returns:
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:
executionOptions
public JobStepExecutionOptions executionOptions()
Get the executionOptions property: Execution options for the job step.
Returns:
fromJson
public static JobStepInner fromJson(JsonReader jsonReader)
Reads an instance of JobStepInner from the JsonReader.
Parameters:
Returns:
Throws:
id
public String id()
Get the id property: Fully qualified resource Id for the resource.
Overrides:
JobStepInner.id()Returns:
name
public String name()
Get the name property: The name of the resource.
Overrides:
JobStepInner.name()Returns:
output
public JobStepOutput output()
Get the output property: Output destination properties of the job step.
Returns:
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:
targetGroup
public String targetGroup()
Get the targetGroup property: The resource ID of the target group that the job step will be executed on.
Returns:
toJson
public JsonWriter toJson(JsonWriter jsonWriter)
Overrides:
JobStepInner.toJson(JsonWriter jsonWriter)Parameters:
Throws:
type
public String type()
Get the type property: The type of the resource.
Overrides:
JobStepInner.type()Returns:
validate
public void validate()
Validates the instance.
withAction
public JobStepInner withAction(JobStepAction action)
Set the action property: The action payload of the job step.
Parameters:
Returns:
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:
Returns:
withExecutionOptions
public JobStepInner withExecutionOptions(JobStepExecutionOptions executionOptions)
Set the executionOptions property: Execution options for the job step.
Parameters:
Returns:
withOutput
public JobStepInner withOutput(JobStepOutput output)
Set the output property: Output destination properties of the job step.
Parameters:
Returns:
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:
Returns:
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:
Returns: