StepState Class

  • java.lang.Object
    • com.azure.resourcemanager.networkcloud.models.StepState

Implements

public final class StepState
implements JsonSerializable<StepState>

StepState represents the state of a step in an action.

Constructor Summary

Constructor Description
StepState()

Creates an instance of StepState class.

Method Summary

Modifier and Type Method and Description
String endTime()

Get the endTime property: The timestamp for when processing of the step reached its terminal state, in ISO 8601 format.

static StepState fromJson(JsonReader jsonReader)

Reads an instance of StepState from the JsonReader.

String message()

Get the message property: The message providing additional context for the status value.

String startTime()

Get the startTime property: The timestamp for when processing of the step began, in ISO 8601 format.

StepStateStatus status()

Get the status property: The status of the step.

String stepName()

Get the stepName property: The name for the step.

JsonWriter toJson(JsonWriter jsonWriter)
void validate()

Validates the instance.

Methods inherited from java.lang.Object

Constructor Details

StepState

public StepState()

Creates an instance of StepState class.

Method Details

endTime

public String endTime()

Get the endTime property: The timestamp for when processing of the step reached its terminal state, in ISO 8601 format.

Returns:

the endTime value.

fromJson

public static StepState fromJson(JsonReader jsonReader)

Reads an instance of StepState from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

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

message

public String message()

Get the message property: The message providing additional context for the status value. May be empty, or contain diagnostic information in the case of a failure.

Returns:

the message value.

startTime

public String startTime()

Get the startTime property: The timestamp for when processing of the step began, in ISO 8601 format.

Returns:

the startTime value.

status

public StepStateStatus status()

Get the status property: The status of the step. A value of Completed or Failed indicates a terminal state for the step.

Returns:

the status value.

stepName

public String stepName()

Get the stepName property: The name for the step.

Returns:

the stepName value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

validate

public void validate()

Validates the instance.

Applies to