PhaseDetails Class

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

Implements

public final class PhaseDetails
implements JsonSerializable<PhaseDetails>

The phase details properties of a database operation.

Constructor Summary

Constructor Description
PhaseDetails()

Creates an instance of PhaseDetails class.

Method Summary

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

Reads an instance of PhaseDetails from the JsonReader.

Phase phase()

Get the phase property: The operation phase.

Map<String,String> phaseInformation()

Get the phaseInformation property: The operation phase information.

JsonWriter toJson(JsonWriter jsonWriter)
void validate()

Validates the instance.

Methods inherited from java.lang.Object

Constructor Details

PhaseDetails

public PhaseDetails()

Creates an instance of PhaseDetails class.

Method Details

fromJson

public static PhaseDetails fromJson(JsonReader jsonReader)

Reads an instance of PhaseDetails from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

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

phase

public Phase phase()

Get the phase property: The operation phase.

Returns:

the phase value.

phaseInformation

public Map<String,String> phaseInformation()

Get the phaseInformation property: The operation phase information.

Returns:

the phaseInformation value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

validate

public void validate()

Validates the instance.

Applies to