Class JobCollectionItemInner
java.lang.Object
com.azure.core.management.ProxyResource
com.azure.resourcemanager.automation.fluent.models.JobCollectionItemInner
- All Implemented Interfaces:
com.azure.json.JsonSerializable<com.azure.core.management.ProxyResource>
public final class JobCollectionItemInner
extends com.azure.core.management.ProxyResource
Job collection item properties.
-
Constructor Summary
ConstructorsConstructorDescriptionCreates an instance of JobCollectionItemInner 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 JobCollectionItemInner
fromJson
(com.azure.json.JsonReader jsonReader) Reads an instance of JobCollectionItemInner from the JsonReader.id()
Get the id property: Fully qualified resource Id for the resource.jobId()
Get the jobId property: The id of the job.Get the lastModifiedTime property: The last modified time of the job.name()
Get the name property: The name of the resource.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) type()
Get the type property: The type of the resource.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
-
JobCollectionItemInner
public JobCollectionItemInner()Creates an instance of JobCollectionItemInner class.
-
-
Method Details
-
type
Get the type property: The type of the resource.- Overrides:
type
in classcom.azure.core.management.ProxyResource
- Returns:
- the type value.
-
name
Get the name property: The name of the resource.- Overrides:
name
in classcom.azure.core.management.ProxyResource
- Returns:
- the name value.
-
id
Get the id property: Fully qualified resource Id for the resource.- Overrides:
id
in classcom.azure.core.management.ProxyResource
- Returns:
- the id value.
-
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 JobCollectionItemInner 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<com.azure.core.management.ProxyResource>
- Overrides:
toJson
in classcom.azure.core.management.ProxyResource
- Throws:
IOException
-
fromJson
public static JobCollectionItemInner fromJson(com.azure.json.JsonReader jsonReader) throws IOException Reads an instance of JobCollectionItemInner from the JsonReader.- Parameters:
jsonReader
- The JsonReader being read.- Returns:
- An instance of JobCollectionItemInner if the JsonReader was pointing to an instance of it, or null if it was pointing to JSON null.
- Throws:
IllegalStateException
- If the deserialized JSON object was missing any required properties.IOException
- If an error occurs while reading the JobCollectionItemInner.
-