JobExecutionInner Class
- java.
lang. Object - com.
azure. core. management. ProxyResource - com.
azure. resourcemanager. sql. fluent. models. JobExecutionInner
- com.
- com.
public final class JobExecutionInner
extends ProxyResource
An execution of a job.
Constructor Summary
Constructor | Description |
---|---|
JobExecutionInner() |
Creates an instance of Job |
Method Summary
Modifier and Type | Method and Description |
---|---|
Offset |
createTime()
Get the create |
Offset |
currentAttemptStartTime()
Get the current |
Integer |
currentAttempts()
Get the current |
Offset |
endTime()
Get the end |
static
Job |
fromJson(JsonReader jsonReader)
Reads an instance of Job |
String |
id()
Get the id property: Fully qualified resource Id for the resource. |
UUID |
jobExecutionId()
Get the job |
Integer |
jobVersion()
Get the job |
String |
lastMessage()
Get the last |
Job |
lifecycle()
Get the lifecycle property: The detailed state of the job execution. |
String |
name()
Get the name property: The name of the resource. |
Provisioning |
provisioningState()
Get the provisioning |
Offset |
startTime()
Get the start |
Integer |
stepId()
Get the step |
String |
stepName()
Get the step |
Job |
target()
Get the target property: The target that this execution is executed on. |
Json |
toJson(JsonWriter jsonWriter) |
String |
type()
Get the type property: The type of the resource. |
void |
validate()
Validates the instance. |
Job |
withCurrentAttempts(Integer currentAttempts)
Set the current |
Methods inherited from ProxyResource
Methods inherited from java.lang.Object
Constructor Details
JobExecutionInner
public JobExecutionInner()
Creates an instance of JobExecutionInner class.
Method Details
createTime
public OffsetDateTime createTime()
Get the createTime property: The time that the job execution was created.
Returns:
currentAttemptStartTime
public OffsetDateTime currentAttemptStartTime()
Get the currentAttemptStartTime property: Start time of the current attempt.
Returns:
currentAttempts
public Integer currentAttempts()
Get the currentAttempts property: Number of times the job execution has been attempted.
Returns:
endTime
public OffsetDateTime endTime()
Get the endTime property: The time that the job execution completed.
Returns:
fromJson
public static JobExecutionInner fromJson(JsonReader jsonReader)
Reads an instance of JobExecutionInner from the JsonReader.
Parameters:
Returns:
Throws:
id
public String id()
Get the id property: Fully qualified resource Id for the resource.
Overrides:
JobExecutionInner.id()Returns:
jobExecutionId
public UUID jobExecutionId()
Get the jobExecutionId property: The unique identifier of the job execution.
Returns:
jobVersion
public Integer jobVersion()
Get the jobVersion property: The job version number.
Returns:
lastMessage
public String lastMessage()
Get the lastMessage property: The last status or error message.
Returns:
lifecycle
public JobExecutionLifecycle lifecycle()
Get the lifecycle property: The detailed state of the job execution.
Returns:
name
public String name()
Get the name property: The name of the resource.
Overrides:
JobExecutionInner.name()Returns:
provisioningState
public ProvisioningState provisioningState()
Get the provisioningState property: The ARM provisioning state of the job execution.
Returns:
startTime
public OffsetDateTime startTime()
Get the startTime property: The time that the job execution started.
Returns:
stepId
public Integer stepId()
Get the stepId property: The job step id.
Returns:
stepName
public String stepName()
Get the stepName property: The job step name.
Returns:
target
public JobExecutionTarget target()
Get the target property: The target that this execution is executed on.
Returns:
toJson
public JsonWriter toJson(JsonWriter jsonWriter)
Overrides:
JobExecutionInner.toJson(JsonWriter jsonWriter)Parameters:
Throws:
type
public String type()
Get the type property: The type of the resource.
Overrides:
JobExecutionInner.type()Returns:
validate
public void validate()
Validates the instance.
withCurrentAttempts
public JobExecutionInner withCurrentAttempts(Integer currentAttempts)
Set the currentAttempts property: Number of times the job execution has been attempted.
Parameters:
Returns:
Applies to
Azure SDK for Java