JobStages Class

  • java.lang.Object
    • com.azure.resourcemanager.databox.models.JobStages

Implements

public final class JobStages
implements JsonSerializable<JobStages>

Job stages.

Constructor Summary

Constructor Description
JobStages()

Creates an instance of JobStages class.

Method Summary

Modifier and Type Method and Description
String displayName()

Get the displayName property: Display name of the job stage.

static JobStages fromJson(JsonReader jsonReader)

Reads an instance of JobStages from the JsonReader.

Object jobStageDetails()

Get the jobStageDetails property: Job Stage Details.

StageName stageName()

Get the stageName property: Name of the job stage.

StageStatus stageStatus()

Get the stageStatus property: Status of the job stage.

OffsetDateTime stageTime()

Get the stageTime property: Time for the job stage in UTC ISO 8601 format.

JsonWriter toJson(JsonWriter jsonWriter)
void validate()

Validates the instance.

Methods inherited from java.lang.Object

Constructor Details

JobStages

public JobStages()

Creates an instance of JobStages class.

Method Details

displayName

public String displayName()

Get the displayName property: Display name of the job stage.

Returns:

the displayName value.

fromJson

public static JobStages fromJson(JsonReader jsonReader)

Reads an instance of JobStages from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

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

jobStageDetails

public Object jobStageDetails()

Get the jobStageDetails property: Job Stage Details.

Returns:

the jobStageDetails value.

stageName

public StageName stageName()

Get the stageName property: Name of the job stage.

Returns:

the stageName value.

stageStatus

public StageStatus stageStatus()

Get the stageStatus property: Status of the job stage.

Returns:

the stageStatus value.

stageTime

public OffsetDateTime stageTime()

Get the stageTime property: Time for the job stage in UTC ISO 8601 format.

Returns:

the stageTime value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

validate

public void validate()

Validates the instance.

Applies to