JobInner Class
- java.
lang. Object - com.
azure. core. management. ProxyResource - com.
azure. resourcemanager. automation. fluent. models. JobInner
- com.
- com.
public final class JobInner
extends ProxyResource
Definition of the job.
Constructor Summary
Constructor | Description | |
---|---|---|
JobInner() |
Method Summary
Modifier and Type | Method and Description |
---|---|
Offset |
creationTime()
Get the creation |
Offset |
endTime()
Get the end |
String |
exception()
Get the exception property: Gets or sets the exception of the job. |
UUID |
jobId()
Get the job |
Offset |
lastModifiedTime()
Get the last |
Offset |
lastStatusModifiedTime()
Get the last |
Map<String,String> |
parameters()
Get the parameters property: Gets or sets the parameters of the job. |
Job |
provisioningState()
Get the provisioning |
String |
runOn()
Get the run |
Runbook |
runbook()
Get the runbook property: Gets or sets the runbook. |
Offset |
startTime()
Get the start |
String |
startedBy()
Get the started |
Job |
status()
Get the status property: Gets or sets the status of the job. |
String |
statusDetails()
Get the status |
void |
validate()
Validates the instance. |
Job |
withCreationTime(OffsetDateTime creationTime)
Set the creation |
Job |
withEndTime(OffsetDateTime endTime)
Set the end |
Job |
withException(String exception)
Set the exception property: Gets or sets the exception of the job. |
Job |
withJobId(UUID jobId)
Set the job |
Job |
withLastModifiedTime(OffsetDateTime lastModifiedTime)
Set the last |
Job |
withLastStatusModifiedTime(OffsetDateTime lastStatusModifiedTime)
Set the last |
Job |
withParameters(Map<String,String> parameters)
Set the parameters property: Gets or sets the parameters of the job. |
Job |
withProvisioningState(JobProvisioningState provisioningState)
Set the provisioning |
Job |
withRunOn(String runOn)
Set the run |
Job |
withRunbook(RunbookAssociationProperty runbook)
Set the runbook property: Gets or sets the runbook. |
Job |
withStartTime(OffsetDateTime startTime)
Set the start |
Job |
withStartedBy(String startedBy)
Set the started |
Job |
withStatus(JobStatus status)
Set the status property: Gets or sets the status of the job. |
Job |
withStatusDetails(String statusDetails)
Set the status |
Methods inherited from ProxyResource
Methods inherited from java.lang.Object
Constructor Details
JobInner
public JobInner()
Method Details
creationTime
public OffsetDateTime creationTime()
Get the creationTime property: Gets or sets the creation time of the job.
Returns:
endTime
public OffsetDateTime endTime()
Get the endTime property: Gets or sets the end time of the job.
Returns:
exception
public String exception()
Get the exception property: Gets or sets the exception of the job.
Returns:
jobId
public UUID jobId()
Get the jobId property: Gets or sets the id of the job.
Returns:
lastModifiedTime
public OffsetDateTime lastModifiedTime()
Get the lastModifiedTime property: Gets or sets the last modified time of the job.
Returns:
lastStatusModifiedTime
public OffsetDateTime lastStatusModifiedTime()
Get the lastStatusModifiedTime property: Gets or sets the last status modified time of the job.
Returns:
parameters
public Map
Get the parameters property: Gets or sets the parameters of the job.
Returns:
provisioningState
public JobProvisioningState provisioningState()
Get the provisioningState property: The current provisioning state of the job.
Returns:
runOn
public String runOn()
Get the runOn property: Gets or sets the runOn which specifies the group name where the job is to be executed.
Returns:
runbook
public RunbookAssociationProperty runbook()
Get the runbook property: Gets or sets the runbook.
Returns:
startTime
public OffsetDateTime startTime()
Get the startTime property: Gets or sets the start time of the job.
Returns:
startedBy
public String startedBy()
Get the startedBy property: Gets or sets the job started by.
Returns:
status
public JobStatus status()
Get the status property: Gets or sets the status of the job.
Returns:
statusDetails
public String statusDetails()
Get the statusDetails property: Gets or sets the status details of the job.
Returns:
validate
public void validate()
Validates the instance.
withCreationTime
public JobInner withCreationTime(OffsetDateTime creationTime)
Set the creationTime property: Gets or sets the creation time of the job.
Parameters:
Returns:
withEndTime
public JobInner withEndTime(OffsetDateTime endTime)
Set the endTime property: Gets or sets the end time of the job.
Parameters:
Returns:
withException
public JobInner withException(String exception)
Set the exception property: Gets or sets the exception of the job.
Parameters:
Returns:
withJobId
public JobInner withJobId(UUID jobId)
Set the jobId property: Gets or sets the id of the job.
Parameters:
Returns:
withLastModifiedTime
public JobInner withLastModifiedTime(OffsetDateTime lastModifiedTime)
Set the lastModifiedTime property: Gets or sets the last modified time of the job.
Parameters:
Returns:
withLastStatusModifiedTime
public JobInner withLastStatusModifiedTime(OffsetDateTime lastStatusModifiedTime)
Set the lastStatusModifiedTime property: Gets or sets the last status modified time of the job.
Parameters:
Returns:
withParameters
public JobInner withParameters(Map
Set the parameters property: Gets or sets the parameters of the job.
Parameters:
Returns:
withProvisioningState
public JobInner withProvisioningState(JobProvisioningState provisioningState)
Set the provisioningState property: The current provisioning state of the job.
Parameters:
Returns:
withRunOn
public JobInner withRunOn(String runOn)
Set the runOn property: Gets or sets the runOn which specifies the group name where the job is to be executed.
Parameters:
Returns:
withRunbook
public JobInner withRunbook(RunbookAssociationProperty runbook)
Set the runbook property: Gets or sets the runbook.
Parameters:
Returns:
withStartTime
public JobInner withStartTime(OffsetDateTime startTime)
Set the startTime property: Gets or sets the start time of the job.
Parameters:
Returns:
withStartedBy
public JobInner withStartedBy(String startedBy)
Set the startedBy property: Gets or sets the job started by.
Parameters:
Returns:
withStatus
public JobInner withStatus(JobStatus status)
Set the status property: Gets or sets the status of the job.
Parameters:
Returns:
withStatusDetails
public JobInner withStatusDetails(String statusDetails)
Set the statusDetails property: Gets or sets the status details of the job.
Parameters:
Returns:
Applies to
Azure SDK for Java
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for