Поделиться через


ActionStatus Class

  • java.lang.Object
    • com.azure.resourcemanager.chaos.models.ActionStatus

Implements

public final class ActionStatus
implements JsonSerializable<ActionStatus>

Model that represents the an action and its status.

Method Summary

Modifier and Type Method and Description
String actionId()

Get the actionId property: The id of the action status.

String actionName()

Get the actionName property: The name of the action status.

OffsetDateTime endTime()

Get the endTime property: String that represents the end time of the action.

static ActionStatus fromJson(JsonReader jsonReader)

Reads an instance of ActionStatus from the JsonReader.

OffsetDateTime startTime()

Get the startTime property: String that represents the start time of the action.

String status()

Get the status property: The status of the action.

List<ExperimentExecutionActionTargetDetailsProperties> targets()

Get the targets property: The array of targets.

JsonWriter toJson(JsonWriter jsonWriter)
void validate()

Validates the instance.

Methods inherited from java.lang.Object

Method Details

actionId

public String actionId()

Get the actionId property: The id of the action status.

Returns:

the actionId value.

actionName

public String actionName()

Get the actionName property: The name of the action status.

Returns:

the actionName value.

endTime

public OffsetDateTime endTime()

Get the endTime property: String that represents the end time of the action.

Returns:

the endTime value.

fromJson

public static ActionStatus fromJson(JsonReader jsonReader)

Reads an instance of ActionStatus from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

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

startTime

public OffsetDateTime startTime()

Get the startTime property: String that represents the start time of the action.

Returns:

the startTime value.

status

public String status()

Get the status property: The status of the action.

Returns:

the status value.

targets

public List<ExperimentExecutionActionTargetDetailsProperties> targets()

Get the targets property: The array of targets.

Returns:

the targets value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

validate

public void validate()

Validates the instance.

Applies to