Class JobExecutionBaseInner

java.lang.Object
com.azure.resourcemanager.appcontainers.fluent.models.JobExecutionBaseInner
All Implemented Interfaces:
com.azure.json.JsonSerializable<JobExecutionBaseInner>

public final class JobExecutionBaseInner extends Object implements com.azure.json.JsonSerializable<JobExecutionBaseInner>
Container App's Job execution name.
  • Constructor Details

    • JobExecutionBaseInner

      public JobExecutionBaseInner()
      Creates an instance of JobExecutionBaseInner class.
  • Method Details

    • name

      public String name()
      Get the name property: Job execution name.
      Returns:
      the name value.
    • withName

      public JobExecutionBaseInner withName(String name)
      Set the name property: Job execution name.
      Parameters:
      name - the name value to set.
      Returns:
      the JobExecutionBaseInner object itself.
    • id

      public String id()
      Get the id property: Job execution Id.
      Returns:
      the id value.
    • withId

      public JobExecutionBaseInner withId(String id)
      Set the id property: Job execution Id.
      Parameters:
      id - the id value to set.
      Returns:
      the JobExecutionBaseInner object itself.
    • validate

      public void validate()
      Validates the instance.
      Throws:
      IllegalArgumentException - thrown if the instance is not valid.
    • toJson

      public com.azure.json.JsonWriter toJson(com.azure.json.JsonWriter jsonWriter) throws IOException
      Specified by:
      toJson in interface com.azure.json.JsonSerializable<JobExecutionBaseInner>
      Throws:
      IOException
    • fromJson

      public static JobExecutionBaseInner fromJson(com.azure.json.JsonReader jsonReader) throws IOException
      Reads an instance of JobExecutionBaseInner from the JsonReader.
      Parameters:
      jsonReader - The JsonReader being read.
      Returns:
      An instance of JobExecutionBaseInner 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 JobExecutionBaseInner.