Class SourceControlSyncJobStreamProperties
java.lang.Object
com.azure.resourcemanager.automation.fluent.models.SourceControlSyncJobStreamProperties
- All Implemented Interfaces:
com.azure.json.JsonSerializable<SourceControlSyncJobStreamProperties>
public final class SourceControlSyncJobStreamProperties
extends Object
implements com.azure.json.JsonSerializable<SourceControlSyncJobStreamProperties>
Definition of source control sync job stream properties.
-
Constructor Summary
ConstructorsConstructorDescriptionCreates an instance of SourceControlSyncJobStreamProperties class. -
Method Summary
Modifier and TypeMethodDescriptionfromJson
(com.azure.json.JsonReader jsonReader) Reads an instance of SourceControlSyncJobStreamProperties from the JsonReader.Get the sourceControlSyncJobStreamId property: The sync job stream id.Get the streamType property: The type of the sync job stream.summary()
Get the summary property: The summary of the sync job stream.time()
Get the time property: The time of the sync job stream.com.azure.json.JsonWriter
toJson
(com.azure.json.JsonWriter jsonWriter) void
validate()
Validates the instance.withSourceControlSyncJobStreamId
(String sourceControlSyncJobStreamId) Set the sourceControlSyncJobStreamId property: The sync job stream id.withStreamType
(StreamType streamType) Set the streamType property: The type of the sync job stream.withSummary
(String summary) Set the summary property: The summary of the sync job stream.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
-
SourceControlSyncJobStreamProperties
public SourceControlSyncJobStreamProperties()Creates an instance of SourceControlSyncJobStreamProperties class.
-
-
Method Details
-
sourceControlSyncJobStreamId
Get the sourceControlSyncJobStreamId property: The sync job stream id.- Returns:
- the sourceControlSyncJobStreamId value.
-
withSourceControlSyncJobStreamId
public SourceControlSyncJobStreamProperties withSourceControlSyncJobStreamId(String sourceControlSyncJobStreamId) Set the sourceControlSyncJobStreamId property: The sync job stream id.- Parameters:
sourceControlSyncJobStreamId
- the sourceControlSyncJobStreamId value to set.- Returns:
- the SourceControlSyncJobStreamProperties object itself.
-
summary
Get the summary property: The summary of the sync job stream.- Returns:
- the summary value.
-
withSummary
Set the summary property: The summary of the sync job stream.- Parameters:
summary
- the summary value to set.- Returns:
- the SourceControlSyncJobStreamProperties object itself.
-
time
Get the time property: The time of the sync job stream.- Returns:
- the time value.
-
streamType
Get the streamType property: The type of the sync job stream.- Returns:
- the streamType value.
-
withStreamType
Set the streamType property: The type of the sync job stream.- Parameters:
streamType
- the streamType value to set.- Returns:
- the SourceControlSyncJobStreamProperties 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<SourceControlSyncJobStreamProperties>
- Throws:
IOException
-
fromJson
public static SourceControlSyncJobStreamProperties fromJson(com.azure.json.JsonReader jsonReader) throws IOException Reads an instance of SourceControlSyncJobStreamProperties from the JsonReader.- Parameters:
jsonReader
- The JsonReader being read.- Returns:
- An instance of SourceControlSyncJobStreamProperties 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 SourceControlSyncJobStreamProperties.
-