Class JobExecutionInner
java.lang.Object
com.azure.resourcemanager.appcontainers.fluent.models.JobExecutionInner
- All Implemented Interfaces:
com.azure.json.JsonSerializable<JobExecutionInner>
public final class JobExecutionInner
extends Object
implements com.azure.json.JsonSerializable<JobExecutionInner>
Container Apps Job execution.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionendTime()Get the endTime property: Job execution end time.static JobExecutionInnerfromJson(com.azure.json.JsonReader jsonReader) Reads an instance of JobExecutionInner from the JsonReader.id()Get the id property: Job execution Id.name()Get the name property: Job execution Name.Get the startTime property: Job execution start time.status()Get the status property: Current running State of the job.template()Get the template property: Job's execution container.com.azure.json.JsonWritertoJson(com.azure.json.JsonWriter jsonWriter) type()Get the type property: Job execution type.voidvalidate()Validates the instance.withEndTime(OffsetDateTime endTime) Set the endTime property: Job execution end time.Set the id property: Job execution Id.Set the name property: Job execution Name.withStartTime(OffsetDateTime startTime) Set the startTime property: Job execution start time.withTemplate(JobExecutionTemplate template) Set the template property: Job's execution container.Set the type property: Job execution type.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.azure.json.JsonSerializable
toJson, toJson, toJsonBytes, toJsonString
-
Constructor Details
-
JobExecutionInner
public JobExecutionInner()Creates an instance of JobExecutionInner class.
-
-
Method Details
-
name
Get the name property: Job execution Name.- Returns:
- the name value.
-
withName
Set the name property: Job execution Name.- Parameters:
name- the name value to set.- Returns:
- the JobExecutionInner object itself.
-
id
Get the id property: Job execution Id.- Returns:
- the id value.
-
withId
Set the id property: Job execution Id.- Parameters:
id- the id value to set.- Returns:
- the JobExecutionInner object itself.
-
type
Get the type property: Job execution type.- Returns:
- the type value.
-
withType
Set the type property: Job execution type.- Parameters:
type- the type value to set.- Returns:
- the JobExecutionInner object itself.
-
status
Get the status property: Current running State of the job.- Returns:
- the status value.
-
startTime
Get the startTime property: Job execution start time.- Returns:
- the startTime value.
-
withStartTime
Set the startTime property: Job execution start time.- Parameters:
startTime- the startTime value to set.- Returns:
- the JobExecutionInner object itself.
-
endTime
Get the endTime property: Job execution end time.- Returns:
- the endTime value.
-
withEndTime
Set the endTime property: Job execution end time.- Parameters:
endTime- the endTime value to set.- Returns:
- the JobExecutionInner object itself.
-
template
Get the template property: Job's execution container.- Returns:
- the template value.
-
withTemplate
Set the template property: Job's execution container.- Parameters:
template- the template value to set.- Returns:
- the JobExecutionInner object itself.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException- thrown if the instance is not valid.
-
toJson
- Specified by:
toJsonin interfacecom.azure.json.JsonSerializable<JobExecutionInner>- Throws:
IOException
-
fromJson
Reads an instance of JobExecutionInner from the JsonReader.- Parameters:
jsonReader- The JsonReader being read.- Returns:
- An instance of JobExecutionInner 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 JobExecutionInner.
-