Class JobCollectionItemProperties
java.lang.Object
com.azure.resourcemanager.automation.fluent.models.JobCollectionItemProperties
- All Implemented Interfaces:
com.azure.json.JsonSerializable<JobCollectionItemProperties>
public final class JobCollectionItemProperties
extends Object
implements com.azure.json.JsonSerializable<JobCollectionItemProperties>
Job collection item properties.
-
Constructor Summary
ConstructorsConstructorDescriptionCreates an instance of JobCollectionItemProperties class. -
Method Summary
Modifier and TypeMethodDescriptionGet the creationTime property: The creation time of the job.endTime()
Get the endTime property: The end time of the job.static JobCollectionItemProperties
fromJson
(com.azure.json.JsonReader jsonReader) Reads an instance of JobCollectionItemProperties from the JsonReader.jobId()
Get the jobId property: The id of the job.Get the lastModifiedTime property: The last modified time of the job.Get the provisioningState property: The provisioning state of a resource.runbook()
Get the runbook property: The runbook association.runOn()
Get the runOn property: Specifies the runOn group name where the job was executed.Get the startTime property: The start time of the job.status()
Get the status property: The status of the job.com.azure.json.JsonWriter
toJson
(com.azure.json.JsonWriter jsonWriter) void
validate()
Validates the instance.Set the runOn property: Specifies the runOn group name where the job was executed.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
-
JobCollectionItemProperties
public JobCollectionItemProperties()Creates an instance of JobCollectionItemProperties class.
-
-
Method Details
-
runbook
Get the runbook property: The runbook association.- Returns:
- the runbook value.
-
jobId
Get the jobId property: The id of the job.- Returns:
- the jobId value.
-
creationTime
Get the creationTime property: The creation time of the job.- Returns:
- the creationTime value.
-
status
Get the status property: The status of the job.- Returns:
- the status value.
-
startTime
Get the startTime property: The start time of the job.- Returns:
- the startTime value.
-
endTime
Get the endTime property: The end time of the job.- Returns:
- the endTime value.
-
lastModifiedTime
Get the lastModifiedTime property: The last modified time of the job.- Returns:
- the lastModifiedTime value.
-
provisioningState
Get the provisioningState property: The provisioning state of a resource.- Returns:
- the provisioningState value.
-
runOn
Get the runOn property: Specifies the runOn group name where the job was executed.- Returns:
- the runOn value.
-
withRunOn
Set the runOn property: Specifies the runOn group name where the job was executed.- Parameters:
runOn
- the runOn value to set.- Returns:
- the JobCollectionItemProperties 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<JobCollectionItemProperties>
- Throws:
IOException
-
fromJson
public static JobCollectionItemProperties fromJson(com.azure.json.JsonReader jsonReader) throws IOException Reads an instance of JobCollectionItemProperties from the JsonReader.- Parameters:
jsonReader
- The JsonReader being read.- Returns:
- An instance of JobCollectionItemProperties 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 JobCollectionItemProperties.
-