DiagnosticCondition Class
- java.
lang. Object - com.
azure. resourcemanager. streamanalytics. models. DiagnosticCondition
- com.
Implements
public final class DiagnosticCondition
implements JsonSerializable<DiagnosticCondition>
Condition applicable to the resource, or to the job overall, that warrant customer attention.
Constructor Summary
| Constructor | Description |
|---|---|
| DiagnosticCondition() |
Creates an instance of Diagnostic |
Method Summary
| Modifier and Type | Method and Description |
|---|---|
| String |
code()
Get the code property: The opaque diagnostic code. |
|
static
Diagnostic |
fromJson(JsonReader jsonReader)
Reads an instance of Diagnostic |
| String |
message()
Get the message property: The human-readable message describing the condition in detail. |
| String |
since()
Get the since property: The UTC timestamp of when the condition started. |
|
Json |
toJson(JsonWriter jsonWriter) |
| void |
validate()
Validates the instance. |
Methods inherited from java.lang.Object
Constructor Details
DiagnosticCondition
public DiagnosticCondition()
Creates an instance of DiagnosticCondition class.
Method Details
code
public String code()
Get the code property: The opaque diagnostic code.
Returns:
fromJson
public static DiagnosticCondition fromJson(JsonReader jsonReader)
Reads an instance of DiagnosticCondition from the JsonReader.
Parameters:
Returns:
Throws:
message
public String message()
Get the message property: The human-readable message describing the condition in detail. Localized in the Accept-Language of the client request.
Returns:
since
public String since()
Get the since property: The UTC timestamp of when the condition started. Customers should be able to find a corresponding event in the ops log around this time.
Returns:
toJson
validate
public void validate()
Validates the instance.