Class TestJobInner
java.lang.Object
com.azure.resourcemanager.automation.fluent.models.TestJobInner
- All Implemented Interfaces:
com.azure.json.JsonSerializable<TestJobInner>
public final class TestJobInner
extends Object
implements com.azure.json.JsonSerializable<TestJobInner>
Definition of the test job.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionGet the creationTime property: Gets or sets the creation time of the test job.endTime()
Get the endTime property: Gets or sets the end time of the test job.Get the exception property: Gets or sets the exception of the test job.static TestJobInner
fromJson
(com.azure.json.JsonReader jsonReader) Reads an instance of TestJobInner from the JsonReader.Get the lastModifiedTime property: Gets or sets the last modified time of the test job.Get the lastStatusModifiedTime property: Gets or sets the last status modified time of the test job.Get the logActivityTrace property: The activity-level tracing options of the runbook.Get the parameters property: Gets or sets the parameters of the test job.runOn()
Get the runOn property: Gets or sets the runOn which specifies the group name where the job is to be executed.Get the startTime property: Gets or sets the start time of the test job.status()
Get the status property: Gets or sets the status of the test job.Get the statusDetails property: Gets or sets the status details of the test job.com.azure.json.JsonWriter
toJson
(com.azure.json.JsonWriter jsonWriter) void
validate()
Validates the instance.withCreationTime
(OffsetDateTime creationTime) Set the creationTime property: Gets or sets the creation time of the test job.withEndTime
(OffsetDateTime endTime) Set the endTime property: Gets or sets the end time of the test job.withException
(String exception) Set the exception property: Gets or sets the exception of the test job.withLastModifiedTime
(OffsetDateTime lastModifiedTime) Set the lastModifiedTime property: Gets or sets the last modified time of the test job.withLastStatusModifiedTime
(OffsetDateTime lastStatusModifiedTime) Set the lastStatusModifiedTime property: Gets or sets the last status modified time of the test job.withLogActivityTrace
(Integer logActivityTrace) Set the logActivityTrace property: The activity-level tracing options of the runbook.withParameters
(Map<String, String> parameters) Set the parameters property: Gets or sets the parameters of the test job.Set the runOn property: Gets or sets the runOn which specifies the group name where the job is to be executed.withStartTime
(OffsetDateTime startTime) Set the startTime property: Gets or sets the start time of the test job.withStatus
(String status) Set the status property: Gets or sets the status of the test job.withStatusDetails
(String statusDetails) Set the statusDetails property: Gets or sets the status details of the test job.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface com.azure.json.JsonSerializable
toJson, toJson, toJsonBytes, toJsonString
-
Constructor Details
-
TestJobInner
public TestJobInner()Creates an instance of TestJobInner class.
-
-
Method Details
-
creationTime
Get the creationTime property: Gets or sets the creation time of the test job.- Returns:
- the creationTime value.
-
withCreationTime
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.
-
status
Get the status property: Gets or sets the status of the test job.- Returns:
- the status value.
-
withStatus
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.
-
statusDetails
Get the statusDetails property: Gets or sets the status details of the test job.- Returns:
- the statusDetails value.
-
withStatusDetails
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.
-
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.
-
withRunOn
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.
-
startTime
Get the startTime property: Gets or sets the start time of the test job.- Returns:
- the startTime value.
-
withStartTime
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.
-
endTime
Get the endTime property: Gets or sets the end time of the test job.- Returns:
- the endTime value.
-
withEndTime
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.
-
exception
Get the exception property: Gets or sets the exception of the test job.- Returns:
- the exception value.
-
withException
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.
-
lastModifiedTime
Get the lastModifiedTime property: Gets or sets the last modified time of the test job.- Returns:
- the lastModifiedTime value.
-
withLastModifiedTime
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.
-
lastStatusModifiedTime
Get the lastStatusModifiedTime property: Gets or sets the last status modified time of the test job.- Returns:
- the lastStatusModifiedTime value.
-
withLastStatusModifiedTime
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.
-
parameters
Get the parameters property: Gets or sets the parameters of the test job.- Returns:
- the parameters value.
-
withParameters
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.
-
logActivityTrace
Get the logActivityTrace property: The activity-level tracing options of the runbook.- Returns:
- the logActivityTrace value.
-
withLogActivityTrace
Set the logActivityTrace property: The activity-level tracing options of the runbook.- Parameters:
logActivityTrace
- the logActivityTrace value to set.- Returns:
- the TestJobInner object itself.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-
toJson
- Specified by:
toJson
in interfacecom.azure.json.JsonSerializable<TestJobInner>
- Throws:
IOException
-
fromJson
Reads an instance of TestJobInner from the JsonReader.- Parameters:
jsonReader
- The JsonReader being read.- Returns:
- An instance of TestJobInner if the JsonReader was pointing to an instance of it, or null if it was pointing to JSON null.
- Throws:
IOException
- If an error occurs while reading the TestJobInner.
-