Class JobExecutionInner
- java.lang.Object
-
- com.azure.core.management.ProxyResource
-
- com.azure.resourcemanager.sql.fluent.models.JobExecutionInner
-
public class JobExecutionInner extends com.azure.core.management.ProxyResourceAn execution of a job.
-
-
Constructor Summary
Constructors Constructor Description JobExecutionInner()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description OffsetDateTimecreateTime()Get the createTime property: The time that the job execution was created.IntegercurrentAttempts()Get the currentAttempts property: Number of times the job execution has been attempted.OffsetDateTimecurrentAttemptStartTime()Get the currentAttemptStartTime property: Start time of the current attempt.OffsetDateTimeendTime()Get the endTime property: The time that the job execution completed.UUIDjobExecutionId()Get the jobExecutionId property: The unique identifier of the job execution.IntegerjobVersion()Get the jobVersion property: The job version number.StringlastMessage()Get the lastMessage property: The last status or error message.JobExecutionLifecyclelifecycle()Get the lifecycle property: The detailed state of the job execution.ProvisioningStateprovisioningState()Get the provisioningState property: The ARM provisioning state of the job execution.OffsetDateTimestartTime()Get the startTime property: The time that the job execution started.IntegerstepId()Get the stepId property: The job step id.StringstepName()Get the stepName property: The job step name.JobExecutionTargettarget()Get the target property: The target that this execution is executed on.voidvalidate()Validates the instance.JobExecutionInnerwithCurrentAttempts(Integer currentAttempts)Set the currentAttempts property: Number of times the job execution has been attempted.
-
-
-
Method Detail
-
jobVersion
public Integer jobVersion()
Get the jobVersion property: The job version number.- Returns:
- the jobVersion value.
-
stepName
public String stepName()
Get the stepName property: The job step name.- Returns:
- the stepName value.
-
stepId
public Integer stepId()
Get the stepId property: The job step id.- Returns:
- the stepId value.
-
jobExecutionId
public UUID jobExecutionId()
Get the jobExecutionId property: The unique identifier of the job execution.- Returns:
- the jobExecutionId value.
-
lifecycle
public JobExecutionLifecycle lifecycle()
Get the lifecycle property: The detailed state of the job execution.- Returns:
- the lifecycle value.
-
provisioningState
public ProvisioningState provisioningState()
Get the provisioningState property: The ARM provisioning state of the job execution.- Returns:
- the provisioningState value.
-
createTime
public OffsetDateTime createTime()
Get the createTime property: The time that the job execution was created.- Returns:
- the createTime value.
-
startTime
public OffsetDateTime startTime()
Get the startTime property: The time that the job execution started.- Returns:
- the startTime value.
-
endTime
public OffsetDateTime endTime()
Get the endTime property: The time that the job execution completed.- Returns:
- the endTime value.
-
currentAttempts
public Integer currentAttempts()
Get the currentAttempts property: Number of times the job execution has been attempted.- Returns:
- the currentAttempts value.
-
withCurrentAttempts
public JobExecutionInner withCurrentAttempts(Integer currentAttempts)
Set the currentAttempts property: Number of times the job execution has been attempted.- Parameters:
currentAttempts- the currentAttempts value to set.- Returns:
- the JobExecutionInner object itself.
-
currentAttemptStartTime
public OffsetDateTime currentAttemptStartTime()
Get the currentAttemptStartTime property: Start time of the current attempt.- Returns:
- the currentAttemptStartTime value.
-
lastMessage
public String lastMessage()
Get the lastMessage property: The last status or error message.- Returns:
- the lastMessage value.
-
target
public JobExecutionTarget target()
Get the target property: The target that this execution is executed on.- Returns:
- the target value.
-
validate
public void validate()
Validates the instance.- Throws:
IllegalArgumentException- thrown if the instance is not valid.
-
-