DryrunPatch Class

  • java.lang.Object
    • com.azure.resourcemanager.servicelinker.models.DryrunPatch

Implements

public final class DryrunPatch
implements JsonSerializable<DryrunPatch>

a dryrun job to be updated.

Constructor Summary

Constructor Description
DryrunPatch()

Creates an instance of DryrunPatch class.

Method Summary

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

Reads an instance of DryrunPatch from the JsonReader.

List<DryrunOperationPreview> operationPreviews()

Get the operationPreviews property: the preview of the operations for creation.

DryrunParameters parameters()

Get the parameters property: The parameters of the dryrun.

List<DryrunPrerequisiteResult> prerequisiteResults()

Get the prerequisiteResults property: the result of the dryrun.

String provisioningState()

Get the provisioningState property: The provisioning state.

JsonWriter toJson(JsonWriter jsonWriter)
void validate()

Validates the instance.

DryrunPatch withParameters(DryrunParameters parameters)

Set the parameters property: The parameters of the dryrun.

Methods inherited from java.lang.Object

Constructor Details

DryrunPatch

public DryrunPatch()

Creates an instance of DryrunPatch class.

Method Details

fromJson

public static DryrunPatch fromJson(JsonReader jsonReader)

Reads an instance of DryrunPatch from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

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

operationPreviews

public List<DryrunOperationPreview> operationPreviews()

Get the operationPreviews property: the preview of the operations for creation.

Returns:

the operationPreviews value.

parameters

public DryrunParameters parameters()

Get the parameters property: The parameters of the dryrun.

Returns:

the parameters value.

prerequisiteResults

public List<DryrunPrerequisiteResult> prerequisiteResults()

Get the prerequisiteResults property: the result of the dryrun.

Returns:

the prerequisiteResults value.

provisioningState

public String provisioningState()

Get the provisioningState property: The provisioning state.

Returns:

the provisioningState value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

validate

public void validate()

Validates the instance.

withParameters

public DryrunPatch withParameters(DryrunParameters parameters)

Set the parameters property: The parameters of the dryrun.

Parameters:

parameters - the parameters value to set.

Returns:

the DryrunPatch object itself.

Applies to