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