Class SourceControlSyncJobStreamByIdProperties

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

public final class SourceControlSyncJobStreamByIdProperties extends Object implements com.azure.json.JsonSerializable<SourceControlSyncJobStreamByIdProperties>
Definition of source control sync job stream by id properties.
  • Constructor Details

    • SourceControlSyncJobStreamByIdProperties

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

    • sourceControlSyncJobStreamId

      public String sourceControlSyncJobStreamId()
      Get the sourceControlSyncJobStreamId property: The sync job stream id.
      Returns:
      the sourceControlSyncJobStreamId value.
    • withSourceControlSyncJobStreamId

      public SourceControlSyncJobStreamByIdProperties withSourceControlSyncJobStreamId(String sourceControlSyncJobStreamId)
      Set the sourceControlSyncJobStreamId property: The sync job stream id.
      Parameters:
      sourceControlSyncJobStreamId - the sourceControlSyncJobStreamId value to set.
      Returns:
      the SourceControlSyncJobStreamByIdProperties object itself.
    • summary

      public String summary()
      Get the summary property: The summary of the sync job stream.
      Returns:
      the summary value.
    • withSummary

      public SourceControlSyncJobStreamByIdProperties withSummary(String summary)
      Set the summary property: The summary of the sync job stream.
      Parameters:
      summary - the summary value to set.
      Returns:
      the SourceControlSyncJobStreamByIdProperties object itself.
    • time

      public OffsetDateTime time()
      Get the time property: The time of the sync job stream.
      Returns:
      the time value.
    • streamType

      public StreamType streamType()
      Get the streamType property: The type of the sync job stream.
      Returns:
      the streamType value.
    • withStreamType

      public SourceControlSyncJobStreamByIdProperties withStreamType(StreamType streamType)
      Set the streamType property: The type of the sync job stream.
      Parameters:
      streamType - the streamType value to set.
      Returns:
      the SourceControlSyncJobStreamByIdProperties object itself.
    • streamText

      public String streamText()
      Get the streamText property: The text of the sync job stream.
      Returns:
      the streamText value.
    • withStreamText

      public SourceControlSyncJobStreamByIdProperties withStreamText(String streamText)
      Set the streamText property: The text of the sync job stream.
      Parameters:
      streamText - the streamText value to set.
      Returns:
      the SourceControlSyncJobStreamByIdProperties object itself.
    • value

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

      Set the value property: The values of the job stream.
      Parameters:
      value - the value value to set.
      Returns:
      the SourceControlSyncJobStreamByIdProperties 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<SourceControlSyncJobStreamByIdProperties>
      Throws:
      IOException
    • fromJson

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