Share via


SoftwareUpdateConfigurationRunTaskProperties Class

  • java.lang.Object
    • com.azure.resourcemanager.automation.models.SoftwareUpdateConfigurationRunTaskProperties

Implements

public final class SoftwareUpdateConfigurationRunTaskProperties
implements JsonSerializable<SoftwareUpdateConfigurationRunTaskProperties>

Task properties of the software update configuration.

Constructor Summary

Constructor Description
SoftwareUpdateConfigurationRunTaskProperties()

Creates an instance of SoftwareUpdateConfigurationRunTaskProperties class.

Method Summary

Modifier and Type Method and Description
static SoftwareUpdateConfigurationRunTaskProperties fromJson(JsonReader jsonReader)

Reads an instance of SoftwareUpdateConfigurationRunTaskProperties from the JsonReader.

String jobId()

Get the jobId property: The job id of the task.

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.

JsonWriter toJson(JsonWriter jsonWriter)
void validate()

Validates the instance.

SoftwareUpdateConfigurationRunTaskProperties withJobId(String jobId)

Set the jobId property: The job id of the task.

SoftwareUpdateConfigurationRunTaskProperties withSource(String source)

Set the source property: The name of the source of the task.

SoftwareUpdateConfigurationRunTaskProperties 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:

jsonReader - The JsonReader being read.

Returns:

An instance of SoftwareUpdateConfigurationRunTaskProperties 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 SoftwareUpdateConfigurationRunTaskProperties.

jobId

public String jobId()

Get the jobId property: The job id of the task.

Returns:

the jobId value.

source

public String source()

Get the source property: The name of the source of the task.

Returns:

the source value.

status

public String status()

Get the status property: The status of the task.

Returns:

the status value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

validate

public void validate()

Validates the instance.

withJobId

public SoftwareUpdateConfigurationRunTaskProperties withJobId(String jobId)

Set the jobId property: The job id of the task.

Parameters:

jobId - the jobId value to set.

Returns:

the SoftwareUpdateConfigurationRunTaskProperties object itself.

withSource

public SoftwareUpdateConfigurationRunTaskProperties withSource(String source)

Set the source property: The name of the source of the task.

Parameters:

source - the source value to set.

Returns:

the SoftwareUpdateConfigurationRunTaskProperties object itself.

withStatus

public SoftwareUpdateConfigurationRunTaskProperties withStatus(String status)

Set the status property: The status of the task.

Parameters:

status - the status value to set.

Returns:

the SoftwareUpdateConfigurationRunTaskProperties object itself.

Applies to