Comparteix a través de


SoftwareUpdateConfigurationRunTasks Class

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

Implements

public final class SoftwareUpdateConfigurationRunTasks
implements JsonSerializable<SoftwareUpdateConfigurationRunTasks>

Software update configuration run tasks model.

Constructor Summary

Constructor Description
SoftwareUpdateConfigurationRunTasks()

Creates an instance of SoftwareUpdateConfigurationRunTasks class.

Method Summary

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

Reads an instance of SoftwareUpdateConfigurationRunTasks from the JsonReader.

SoftwareUpdateConfigurationRunTaskProperties postTask()

Get the postTask property: Post task properties.

SoftwareUpdateConfigurationRunTaskProperties preTask()

Get the preTask property: Pre task properties.

JsonWriter toJson(JsonWriter jsonWriter)
void validate()

Validates the instance.

SoftwareUpdateConfigurationRunTasks withPostTask(SoftwareUpdateConfigurationRunTaskProperties postTask)

Set the postTask property: Post task properties.

SoftwareUpdateConfigurationRunTasks withPreTask(SoftwareUpdateConfigurationRunTaskProperties preTask)

Set the preTask property: Pre task properties.

Methods inherited from java.lang.Object

Constructor Details

SoftwareUpdateConfigurationRunTasks

public SoftwareUpdateConfigurationRunTasks()

Creates an instance of SoftwareUpdateConfigurationRunTasks class.

Method Details

fromJson

public static SoftwareUpdateConfigurationRunTasks fromJson(JsonReader jsonReader)

Reads an instance of SoftwareUpdateConfigurationRunTasks from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

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

postTask

public SoftwareUpdateConfigurationRunTaskProperties postTask()

Get the postTask property: Post task properties.

Returns:

the postTask value.

preTask

public SoftwareUpdateConfigurationRunTaskProperties preTask()

Get the preTask property: Pre task properties.

Returns:

the preTask value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

validate

public void validate()

Validates the instance.

withPostTask

public SoftwareUpdateConfigurationRunTasks withPostTask(SoftwareUpdateConfigurationRunTaskProperties postTask)

Set the postTask property: Post task properties.

Parameters:

postTask - the postTask value to set.

Returns:

the SoftwareUpdateConfigurationRunTasks object itself.

withPreTask

public SoftwareUpdateConfigurationRunTasks withPreTask(SoftwareUpdateConfigurationRunTaskProperties preTask)

Set the preTask property: Pre task properties.

Parameters:

preTask - the preTask value to set.

Returns:

the SoftwareUpdateConfigurationRunTasks object itself.

Applies to