DiagnosticCondition Class

  • java.lang.Object
    • com.azure.resourcemanager.streamanalytics.models.DiagnosticCondition

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 DiagnosticCondition class.

Method Summary

Modifier and Type Method and Description
String code()

Get the code property: The opaque diagnostic code.

static DiagnosticCondition fromJson(JsonReader jsonReader)

Reads an instance of DiagnosticCondition from the JsonReader.

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.

JsonWriter 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:

the code value.

fromJson

public static DiagnosticCondition fromJson(JsonReader jsonReader)

Reads an instance of DiagnosticCondition from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

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

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:

the message value.

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:

the since value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

validate

public void validate()

Validates the instance.

Applies to