TriggerStatus Class
- java.
lang. Object - com.
azure. resourcemanager. imagebuilder. models. TriggerStatus
- com.
Implements
public final class TriggerStatus
implements JsonSerializable<TriggerStatus>
Describes the status of a trigger.
Constructor Summary
| Constructor | Description |
|---|---|
| TriggerStatus() |
Creates an instance of Trigger |
Method Summary
| Modifier and Type | Method and Description |
|---|---|
| String |
code()
Get the code property: The status code. |
|
static
Trigger |
fromJson(JsonReader jsonReader)
Reads an instance of Trigger |
| String |
message()
Get the message property: The detailed status message, including for alerts and error messages. |
|
Offset |
time()
Get the time property: The time of the status. |
|
Json |
toJson(JsonWriter jsonWriter) |
| void |
validate()
Validates the instance. |
Methods inherited from java.lang.Object
Constructor Details
TriggerStatus
public TriggerStatus()
Creates an instance of TriggerStatus class.
Method Details
code
public String code()
Get the code property: The status code.
Returns:
fromJson
public static TriggerStatus fromJson(JsonReader jsonReader)
Reads an instance of TriggerStatus from the JsonReader.
Parameters:
Returns:
Throws:
message
public String message()
Get the message property: The detailed status message, including for alerts and error messages.
Returns:
time
public OffsetDateTime time()
Get the time property: The time of the status.
Returns:
toJson
validate
public void validate()
Validates the instance.