SoftwareUpdateConfigurationRunTaskProperties Class
- java.
lang. Object - com.
azure. resourcemanager. automation. models. SoftwareUpdateConfigurationRunTaskProperties
- com.
Implements
public final class SoftwareUpdateConfigurationRunTaskProperties
implements JsonSerializable<SoftwareUpdateConfigurationRunTaskProperties>
Task properties of the software update configuration.
Constructor Summary
| Constructor | Description |
|---|---|
| SoftwareUpdateConfigurationRunTaskProperties() |
Creates an instance of Software |
Method Summary
| Modifier and Type | Method and Description |
|---|---|
|
static
Software |
fromJson(JsonReader jsonReader)
Reads an instance of Software |
| String |
jobId()
Get the job |
| String |
source()
Get the source property: The name of the source of the task. |
| String |
status()
Get the status property: The status of the task. |
|
Json |
toJson(JsonWriter jsonWriter) |
| void |
validate()
Validates the instance. |
|
Software |
withJobId(String jobId)
Set the job |
|
Software |
withSource(String source)
Set the source property: The name of the source of the task. |
|
Software |
withStatus(String status)
Set the status property: The status of the task. |
Methods inherited from java.lang.Object
Constructor Details
SoftwareUpdateConfigurationRunTaskProperties
public SoftwareUpdateConfigurationRunTaskProperties()
Creates an instance of SoftwareUpdateConfigurationRunTaskProperties class.
Method Details
fromJson
public static SoftwareUpdateConfigurationRunTaskProperties fromJson(JsonReader jsonReader)
Reads an instance of SoftwareUpdateConfigurationRunTaskProperties from the JsonReader.
Parameters:
Returns:
Throws:
jobId
public String jobId()
Get the jobId property: The job id of the task.
Returns:
source
public String source()
Get the source property: The name of the source of the task.
Returns:
status
public String status()
Get the status property: The status of the task.
Returns:
toJson
validate
public void validate()
Validates the instance.
withJobId
public SoftwareUpdateConfigurationRunTaskProperties withJobId(String jobId)
Set the jobId property: The job id of the task.
Parameters:
Returns:
withSource
public SoftwareUpdateConfigurationRunTaskProperties withSource(String source)
Set the source property: The name of the source of the task.
Parameters:
Returns:
withStatus
public SoftwareUpdateConfigurationRunTaskProperties withStatus(String status)
Set the status property: The status of the task.
Parameters:
Returns: