Condition Class
- java.
lang. Object - com.
azure. resourcemanager. storagecache. models. Condition
- com.
Implements
public final class Condition
implements JsonSerializable<Condition>
Outstanding conditions that will need to be resolved.
Constructor Summary
| Constructor | Description |
|---|---|
| Condition() |
Creates an instance of Condition class. |
Method Summary
| Modifier and Type | Method and Description |
|---|---|
| static Condition |
fromJson(JsonReader jsonReader)
Reads an instance of Condition from the Json |
| String |
message()
Get the message property: The issue requiring attention. |
|
Offset |
timestamp()
Get the timestamp property: The time when the condition was raised. |
|
Json |
toJson(JsonWriter jsonWriter) |
| void |
validate()
Validates the instance. |
Methods inherited from java.lang.Object
Constructor Details
Condition
public Condition()
Creates an instance of Condition class.
Method Details
fromJson
public static Condition fromJson(JsonReader jsonReader)
Reads an instance of Condition from the JsonReader.
Parameters:
Returns:
Throws:
message
public String message()
Get the message property: The issue requiring attention.
Returns:
timestamp
public OffsetDateTime timestamp()
Get the timestamp property: The time when the condition was raised.
Returns:
toJson
validate
public void validate()
Validates the instance.