TriggerStatus Class

  • java.lang.Object
    • com.azure.resourcemanager.imagebuilder.models.TriggerStatus

Implements

public final class TriggerStatus
implements JsonSerializable<TriggerStatus>

Describes the status of a trigger.

Method Summary

Modifier and Type Method and Description
String code()

Get the code property: The status code.

static TriggerStatus fromJson(JsonReader jsonReader)

Reads an instance of TriggerStatus from the JsonReader.

String message()

Get the message property: The detailed status message, including for alerts and error messages.

OffsetDateTime time()

Get the time property: The time of the status.

JsonWriter toJson(JsonWriter jsonWriter)

Methods inherited from java.lang.Object

Method Details

code

public String code()

Get the code property: The status code.

Returns:

the code value.

fromJson

public static TriggerStatus fromJson(JsonReader jsonReader)

Reads an instance of TriggerStatus from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

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

message

public String message()

Get the message property: The detailed status message, including for alerts and error messages.

Returns:

the message value.

time

public OffsetDateTime time()

Get the time property: The time of the status.

Returns:

the time value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

Applies to