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 Summary
ConstructorsConstructorDescriptionCreates an instance of SourceControlSyncJobStreamByIdProperties class. -
Method Summary
Modifier and TypeMethodDescriptionfromJson
(com.azure.json.JsonReader jsonReader) Reads an instance of SourceControlSyncJobStreamByIdProperties from the JsonReader.Get the sourceControlSyncJobStreamId property: The sync job stream id.Get the streamText property: The text of the sync job stream.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.value()
Get the value property: The values of the job stream.withSourceControlSyncJobStreamId
(String sourceControlSyncJobStreamId) Set the sourceControlSyncJobStreamId property: The sync job stream id.withStreamText
(String streamText) Set the streamText property: The text of the sync job stream.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.Set the value property: The values of the 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
-
SourceControlSyncJobStreamByIdProperties
public SourceControlSyncJobStreamByIdProperties()Creates an instance of SourceControlSyncJobStreamByIdProperties class.
-
-
Method Details
-
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
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 SourceControlSyncJobStreamByIdProperties 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 SourceControlSyncJobStreamByIdProperties object itself.
-
streamText
Get the streamText property: The text of the sync job stream.- Returns:
- the streamText value.
-
withStreamText
Set the streamText property: The text of the sync job stream.- Parameters:
streamText
- the streamText value to set.- Returns:
- the SourceControlSyncJobStreamByIdProperties object itself.
-
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
- Specified by:
toJson
in interfacecom.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.
-