JobInner Class

public final class JobInner
extends ProxyResource

Definition of the job.

Constructor Summary

Constructor Description
JobInner()

Method Summary

Modifier and Type Method and Description
OffsetDateTime creationTime()

Get the creationTime property: Gets or sets the creation time of the job.

OffsetDateTime endTime()

Get the endTime property: Gets or sets the end time of the job.

String exception()

Get the exception property: Gets or sets the exception of the job.

UUID jobId()

Get the jobId property: Gets or sets the id of the job.

OffsetDateTime lastModifiedTime()

Get the lastModifiedTime property: Gets or sets the last modified time of the job.

OffsetDateTime lastStatusModifiedTime()

Get the lastStatusModifiedTime property: Gets or sets the last status modified time of the job.

Map<String,String> parameters()

Get the parameters property: Gets or sets the parameters of the job.

JobProvisioningState provisioningState()

Get the provisioningState property: The current provisioning state of the job.

String runOn()

Get the runOn property: Gets or sets the runOn which specifies the group name where the job is to be executed.

RunbookAssociationProperty runbook()

Get the runbook property: Gets or sets the runbook.

OffsetDateTime startTime()

Get the startTime property: Gets or sets the start time of the job.

String startedBy()

Get the startedBy property: Gets or sets the job started by.

JobStatus status()

Get the status property: Gets or sets the status of the job.

String statusDetails()

Get the statusDetails property: Gets or sets the status details of the job.

void validate()

Validates the instance.

JobInner withCreationTime(OffsetDateTime creationTime)

Set the creationTime property: Gets or sets the creation time of the job.

JobInner withEndTime(OffsetDateTime endTime)

Set the endTime property: Gets or sets the end time of the job.

JobInner withException(String exception)

Set the exception property: Gets or sets the exception of the job.

JobInner withJobId(UUID jobId)

Set the jobId property: Gets or sets the id of the job.

JobInner withLastModifiedTime(OffsetDateTime lastModifiedTime)

Set the lastModifiedTime property: Gets or sets the last modified time of the job.

JobInner withLastStatusModifiedTime(OffsetDateTime lastStatusModifiedTime)

Set the lastStatusModifiedTime property: Gets or sets the last status modified time of the job.

JobInner withParameters(Map<String,String> parameters)

Set the parameters property: Gets or sets the parameters of the job.

JobInner withProvisioningState(JobProvisioningState provisioningState)

Set the provisioningState property: The current provisioning state of the job.

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.

JobInner withRunbook(RunbookAssociationProperty runbook)

Set the runbook property: Gets or sets the runbook.

JobInner withStartTime(OffsetDateTime startTime)

Set the startTime property: Gets or sets the start time of the job.

JobInner withStartedBy(String startedBy)

Set the startedBy property: Gets or sets the job started by.

JobInner withStatus(JobStatus status)

Set the status property: Gets or sets the status of the job.

JobInner withStatusDetails(String statusDetails)

Set the statusDetails property: Gets or sets the status details of the job.

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:

the creationTime value.

endTime

public OffsetDateTime endTime()

Get the endTime property: Gets or sets the end time of the job.

Returns:

the endTime value.

exception

public String exception()

Get the exception property: Gets or sets the exception of the job.

Returns:

the exception value.

jobId

public UUID jobId()

Get the jobId property: Gets or sets the id of the job.

Returns:

the jobId value.

lastModifiedTime

public OffsetDateTime lastModifiedTime()

Get the lastModifiedTime property: Gets or sets the last modified time of the job.

Returns:

the lastModifiedTime value.

lastStatusModifiedTime

public OffsetDateTime lastStatusModifiedTime()

Get the lastStatusModifiedTime property: Gets or sets the last status modified time of the job.

Returns:

the lastStatusModifiedTime value.

parameters

public Map parameters()

Get the parameters property: Gets or sets the parameters of the job.

Returns:

the parameters value.

provisioningState

public JobProvisioningState provisioningState()

Get the provisioningState property: The current provisioning state of the job.

Returns:

the provisioningState value.

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:

the runOn value.

runbook

public RunbookAssociationProperty runbook()

Get the runbook property: Gets or sets the runbook.

Returns:

the runbook value.

startTime

public OffsetDateTime startTime()

Get the startTime property: Gets or sets the start time of the job.

Returns:

the startTime value.

startedBy

public String startedBy()

Get the startedBy property: Gets or sets the job started by.

Returns:

the startedBy value.

status

public JobStatus status()

Get the status property: Gets or sets the status of the job.

Returns:

the status value.

statusDetails

public String statusDetails()

Get the statusDetails property: Gets or sets the status details of the job.

Returns:

the statusDetails value.

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:

creationTime - the creationTime value to set.

Returns:

the JobInner object itself.

withEndTime

public JobInner withEndTime(OffsetDateTime endTime)

Set the endTime property: Gets or sets the end time of the job.

Parameters:

endTime - the endTime value to set.

Returns:

the JobInner object itself.

withException

public JobInner withException(String exception)

Set the exception property: Gets or sets the exception of the job.

Parameters:

exception - the exception value to set.

Returns:

the JobInner object itself.

withJobId

public JobInner withJobId(UUID jobId)

Set the jobId property: Gets or sets the id of the job.

Parameters:

jobId - the jobId value to set.

Returns:

the JobInner object itself.

withLastModifiedTime

public JobInner withLastModifiedTime(OffsetDateTime lastModifiedTime)

Set the lastModifiedTime property: Gets or sets the last modified time of the job.

Parameters:

lastModifiedTime - the lastModifiedTime value to set.

Returns:

the JobInner object itself.

withLastStatusModifiedTime

public JobInner withLastStatusModifiedTime(OffsetDateTime lastStatusModifiedTime)

Set the lastStatusModifiedTime property: Gets or sets the last status modified time of the job.

Parameters:

lastStatusModifiedTime - the lastStatusModifiedTime value to set.

Returns:

the JobInner object itself.

withParameters

public JobInner withParameters(Map parameters)

Set the parameters property: Gets or sets the parameters of the job.

Parameters:

parameters - the parameters value to set.

Returns:

the JobInner object itself.

withProvisioningState

public JobInner withProvisioningState(JobProvisioningState provisioningState)

Set the provisioningState property: The current provisioning state of the job.

Parameters:

provisioningState - the provisioningState value to set.

Returns:

the JobInner object itself.

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:

runOn - the runOn value to set.

Returns:

the JobInner object itself.

withRunbook

public JobInner withRunbook(RunbookAssociationProperty runbook)

Set the runbook property: Gets or sets the runbook.

Parameters:

runbook - the runbook value to set.

Returns:

the JobInner object itself.

withStartTime

public JobInner withStartTime(OffsetDateTime startTime)

Set the startTime property: Gets or sets the start time of the job.

Parameters:

startTime - the startTime value to set.

Returns:

the JobInner object itself.

withStartedBy

public JobInner withStartedBy(String startedBy)

Set the startedBy property: Gets or sets the job started by.

Parameters:

startedBy - the startedBy value to set.

Returns:

the JobInner object itself.

withStatus

public JobInner withStatus(JobStatus status)

Set the status property: Gets or sets the status of the job.

Parameters:

status - the status value to set.

Returns:

the JobInner object itself.

withStatusDetails

public JobInner withStatusDetails(String statusDetails)

Set the statusDetails property: Gets or sets the status details of the job.

Parameters:

statusDetails - the statusDetails value to set.

Returns:

the JobInner object itself.

Applies to