Class JobResponseInner
- java.lang.Object
-
- com.azure.resourcemanager.iothub.fluent.models.JobResponseInner
-
public final class JobResponseInner extends Object
The properties of the Job Response object.
-
-
Constructor Summary
Constructors Constructor Description JobResponseInner()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description OffsetDateTime
endTimeUtc()
Get the endTimeUtc property: The time the job stopped processing.String
failureReason()
Get the failureReason property: If status == failed, this string containing the reason for the failure.String
jobId()
Get the jobId property: The job identifier.String
parentJobId()
Get the parentJobId property: The job identifier of the parent job, if any.OffsetDateTime
startTimeUtc()
Get the startTimeUtc property: The start time of the job.JobStatus
status()
Get the status property: The status of the job.String
statusMessage()
Get the statusMessage property: The status message for the job.JobType
type()
Get the type property: The type of the job.void
validate()
Validates the instance.
-
-
-
Method Detail
-
jobId
public String jobId()
Get the jobId property: The job identifier.- Returns:
- the jobId value.
-
startTimeUtc
public OffsetDateTime startTimeUtc()
Get the startTimeUtc property: The start time of the job.- Returns:
- the startTimeUtc value.
-
endTimeUtc
public OffsetDateTime endTimeUtc()
Get the endTimeUtc property: The time the job stopped processing.- Returns:
- the endTimeUtc value.
-
type
public JobType type()
Get the type property: The type of the job.- Returns:
- the type value.
-
status
public JobStatus status()
Get the status property: The status of the job.- Returns:
- the status value.
-
failureReason
public String failureReason()
Get the failureReason property: If status == failed, this string containing the reason for the failure.- Returns:
- the failureReason value.
-
statusMessage
public String statusMessage()
Get the statusMessage property: The status message for the job.- Returns:
- the statusMessage value.
-
parentJobId
public String parentJobId()
Get the parentJobId property: The job identifier of the parent job, if any.- Returns:
- the parentJobId value.
-
validate
public void validate()
Validates the instance.- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-
-