TestJobInner Class

  • java.lang.Object
    • com.azure.resourcemanager.automation.fluent.models.TestJobInner

public final class TestJobInner

Definition of the test job.

Constructor Summary

Constructor Description
TestJobInner()

Method Summary

Modifier and Type Method and Description
OffsetDateTime creationTime()

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

OffsetDateTime endTime()

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

String exception()

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

OffsetDateTime lastModifiedTime()

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

OffsetDateTime lastStatusModifiedTime()

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

Integer logActivityTrace()

Get the logActivityTrace property: The activity-level tracing options of the runbook.

Map<String,String> parameters()

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

String runOn()

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

OffsetDateTime startTime()

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

String status()

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

String statusDetails()

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

void validate()

Validates the instance.

TestJobInner withCreationTime(OffsetDateTime creationTime)

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

TestJobInner withEndTime(OffsetDateTime endTime)

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

TestJobInner withException(String exception)

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

TestJobInner withLastModifiedTime(OffsetDateTime lastModifiedTime)

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

TestJobInner withLastStatusModifiedTime(OffsetDateTime lastStatusModifiedTime)

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

TestJobInner withLogActivityTrace(Integer logActivityTrace)

Set the logActivityTrace property: The activity-level tracing options of the runbook.

TestJobInner withParameters(Map<String,String> parameters)

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

TestJobInner withRunOn(String runOn)

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

TestJobInner withStartTime(OffsetDateTime startTime)

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

TestJobInner withStatus(String status)

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

TestJobInner withStatusDetails(String statusDetails)

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

Methods inherited from java.lang.Object

Constructor Details

TestJobInner

public TestJobInner()

Method Details

creationTime

public OffsetDateTime creationTime()

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

Returns:

the creationTime value.

endTime

public OffsetDateTime endTime()

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

Returns:

the endTime value.

exception

public String exception()

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

Returns:

the exception value.

lastModifiedTime

public OffsetDateTime lastModifiedTime()

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

Returns:

the lastModifiedTime value.

lastStatusModifiedTime

public OffsetDateTime lastStatusModifiedTime()

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

Returns:

the lastStatusModifiedTime value.

logActivityTrace

public Integer logActivityTrace()

Get the logActivityTrace property: The activity-level tracing options of the runbook.

Returns:

the logActivityTrace value.

parameters

public Map parameters()

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

Returns:

the parameters 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.

startTime

public OffsetDateTime startTime()

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

Returns:

the startTime value.

status

public String status()

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

Returns:

the status value.

statusDetails

public String statusDetails()

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

Returns:

the statusDetails value.

validate

public void validate()

Validates the instance.

withCreationTime

public TestJobInner withCreationTime(OffsetDateTime creationTime)

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

Parameters:

creationTime - the creationTime value to set.

Returns:

the TestJobInner object itself.

withEndTime

public TestJobInner withEndTime(OffsetDateTime endTime)

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

Parameters:

endTime - the endTime value to set.

Returns:

the TestJobInner object itself.

withException

public TestJobInner withException(String exception)

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

Parameters:

exception - the exception value to set.

Returns:

the TestJobInner object itself.

withLastModifiedTime

public TestJobInner withLastModifiedTime(OffsetDateTime lastModifiedTime)

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

Parameters:

lastModifiedTime - the lastModifiedTime value to set.

Returns:

the TestJobInner object itself.

withLastStatusModifiedTime

public TestJobInner withLastStatusModifiedTime(OffsetDateTime lastStatusModifiedTime)

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

Parameters:

lastStatusModifiedTime - the lastStatusModifiedTime value to set.

Returns:

the TestJobInner object itself.

withLogActivityTrace

public TestJobInner withLogActivityTrace(Integer logActivityTrace)

Set the logActivityTrace property: The activity-level tracing options of the runbook.

Parameters:

logActivityTrace - the logActivityTrace value to set.

Returns:

the TestJobInner object itself.

withParameters

public TestJobInner withParameters(Map parameters)

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

Parameters:

parameters - the parameters value to set.

Returns:

the TestJobInner object itself.

withRunOn

public TestJobInner 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 TestJobInner object itself.

withStartTime

public TestJobInner withStartTime(OffsetDateTime startTime)

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

Parameters:

startTime - the startTime value to set.

Returns:

the TestJobInner object itself.

withStatus

public TestJobInner withStatus(String status)

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

Parameters:

status - the status value to set.

Returns:

the TestJobInner object itself.

withStatusDetails

public TestJobInner withStatusDetails(String statusDetails)

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

Parameters:

statusDetails - the statusDetails value to set.

Returns:

the TestJobInner object itself.

Applies to