Class JobStreamInner
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 Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic JobStreamInner
fromJson
(com.azure.json.JsonReader jsonReader) Reads an instance of JobStreamInner from the JsonReader.id()
Get the id property: Gets or sets the id of the resource.Get the jobStreamId property: Gets or sets the id of the job stream.Get the streamText property: Gets or sets the stream text.Get the streamType property: Gets or sets the stream type.summary()
Get the summary property: Gets or sets the summary.time()
Get the time property: Gets or sets the creation time of the job.com.azure.json.JsonWriter
toJson
(com.azure.json.JsonWriter jsonWriter) void
validate()
Validates the instance.value()
Get the value property: Gets or sets the values of the job stream.Set the id property: Gets or sets the id of the resource.withJobStreamId
(String jobStreamId) Set the jobStreamId property: Gets or sets the id of the job stream.withStreamText
(String streamText) Set the streamText property: Gets or sets the stream text.withStreamType
(JobStreamType streamType) Set the streamType property: Gets or sets the stream type.withSummary
(String summary) Set the summary property: Gets or sets the summary.withTime
(OffsetDateTime time) Set the time property: Gets or sets the creation time of the job.Set the value property: Gets or sets 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
-
JobStreamInner
public JobStreamInner()Creates an instance of JobStreamInner class.
-
-
Method Details
-
id
Get the id property: Gets or sets the id of the resource.- Returns:
- the id value.
-
withId
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
Get the jobStreamId property: Gets or sets the id of the job stream.- Returns:
- the jobStreamId value.
-
withJobStreamId
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
Get the time property: Gets or sets the creation time of the job.- Returns:
- the time value.
-
withTime
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
Get the streamType property: Gets or sets the stream type.- Returns:
- the streamType value.
-
withStreamType
Set the streamType property: Gets or sets the stream type.- Parameters:
streamType
- the streamType value to set.- Returns:
- the JobStreamInner object itself.
-
streamText
Get the streamText property: Gets or sets the stream text.- Returns:
- the streamText value.
-
withStreamText
Set the streamText property: Gets or sets the stream text.- Parameters:
streamText
- the streamText value to set.- Returns:
- the JobStreamInner object itself.
-
summary
Get the summary property: Gets or sets the summary.- Returns:
- the summary value.
-
withSummary
Set the summary property: Gets or sets the summary.- Parameters:
summary
- the summary value to set.- Returns:
- the JobStreamInner object itself.
-
value
Get the value property: Gets or sets the values of the job stream.- Returns:
- the value value.
-
withValue
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
- Specified by:
toJson
in interfacecom.azure.json.JsonSerializable<JobStreamInner>
- Throws:
IOException
-
fromJson
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.
-