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

public final class JobStreamInner extends Object implements com.azure.json.JsonSerializable<JobStreamInner>
Definition of the job stream.
  • Constructor Details

    • JobStreamInner

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

    • id

      public String id()
      Get the id property: Gets or sets the id of the resource.
      Returns:
      the id value.
    • withId

      public JobStreamInner withId(String id)
      Set the id property: Gets or sets the id of the resource.
      Parameters:
      id - the id value to set.
      Returns:
      the JobStreamInner object itself.
    • jobStreamId

      public String jobStreamId()
      Get the jobStreamId property: Gets or sets the id of the job stream.
      Returns:
      the jobStreamId value.
    • withJobStreamId

      public JobStreamInner withJobStreamId(String jobStreamId)
      Set the jobStreamId property: Gets or sets the id of the job stream.
      Parameters:
      jobStreamId - the jobStreamId value to set.
      Returns:
      the JobStreamInner object itself.
    • time

      public OffsetDateTime time()
      Get the time property: Gets or sets the creation time of the job.
      Returns:
      the time value.
    • withTime

      public JobStreamInner withTime(OffsetDateTime time)
      Set the time property: Gets or sets the creation time of the job.
      Parameters:
      time - the time value to set.
      Returns:
      the JobStreamInner object itself.
    • streamType

      public JobStreamType streamType()
      Get the streamType property: Gets or sets the stream type.
      Returns:
      the streamType value.
    • withStreamType

      public JobStreamInner withStreamType(JobStreamType streamType)
      Set the streamType property: Gets or sets the stream type.
      Parameters:
      streamType - the streamType value to set.
      Returns:
      the JobStreamInner object itself.
    • streamText

      public String streamText()
      Get the streamText property: Gets or sets the stream text.
      Returns:
      the streamText value.
    • withStreamText

      public JobStreamInner withStreamText(String streamText)
      Set the streamText property: Gets or sets the stream text.
      Parameters:
      streamText - the streamText value to set.
      Returns:
      the JobStreamInner object itself.
    • summary

      public String summary()
      Get the summary property: Gets or sets the summary.
      Returns:
      the summary value.
    • withSummary

      public JobStreamInner withSummary(String summary)
      Set the summary property: Gets or sets the summary.
      Parameters:
      summary - the summary value to set.
      Returns:
      the JobStreamInner object itself.
    • value

      public Map<String,Object> value()
      Get the value property: Gets or sets the values of the job stream.
      Returns:
      the value value.
    • withValue

      public JobStreamInner withValue(Map<String,Object> value)
      Set the value property: Gets or sets the values of the job stream.
      Parameters:
      value - the value value to set.
      Returns:
      the JobStreamInner 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<JobStreamInner>
      Throws:
      IOException
    • fromJson

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