ManagedInstanceOperationSteps Class

  • java.lang.Object
    • com.azure.resourcemanager.sql.models.ManagedInstanceOperationSteps

Implements

public final class ManagedInstanceOperationSteps
implements JsonSerializable<ManagedInstanceOperationSteps>

The steps of a managed instance operation.

Method Summary

Modifier and Type Method and Description
Integer currentStep()

Get the currentStep property: The number of current operation steps.

static ManagedInstanceOperationSteps fromJson(JsonReader jsonReader)

Reads an instance of ManagedInstanceOperationSteps from the JsonReader.

List<UpsertManagedServerOperationStepWithEstimatesAndDuration> stepsList()

Get the stepsList property: The operation steps list.

JsonWriter toJson(JsonWriter jsonWriter)
String totalSteps()

Get the totalSteps property: The total number of operation steps.

void validate()

Validates the instance.

Methods inherited from java.lang.Object

Method Details

currentStep

public Integer currentStep()

Get the currentStep property: The number of current operation steps.

Returns:

the currentStep value.

fromJson

public static ManagedInstanceOperationSteps fromJson(JsonReader jsonReader)

Reads an instance of ManagedInstanceOperationSteps from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

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

stepsList

public List<UpsertManagedServerOperationStepWithEstimatesAndDuration> stepsList()

Get the stepsList property: The operation steps list.

Returns:

the stepsList value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

totalSteps

public String totalSteps()

Get the totalSteps property: The total number of operation steps.

Returns:

the totalSteps value.

validate

public void validate()

Validates the instance.

Applies to