EnrichmentStatus Class

  • java.lang.Object
    • com.azure.ai.metricsadvisor.models.EnrichmentStatus

Implements

public final class EnrichmentStatus
implements JsonSerializable<EnrichmentStatus>

The EnrichmentStatus model.

Constructor Summary

Constructor Description
EnrichmentStatus()

Creates an instance of EnrichmentStatus class.

Method Summary

Modifier and Type Method and Description
static EnrichmentStatus fromJson(JsonReader jsonReader)

Reads an instance of EnrichmentStatus from the JsonReader.

String getMessage()

Get the message property: the trimmed message describes details of the enrichment status.

String getStatus()

Get the status property: latest enrichment status for this data slice.

OffsetDateTime getTimestamp()

Get the timestamp property: data slice timestamp.

JsonWriter toJson(JsonWriter jsonWriter)

Methods inherited from java.lang.Object

Constructor Details

EnrichmentStatus

public EnrichmentStatus()

Creates an instance of EnrichmentStatus class.

Method Details

fromJson

public static EnrichmentStatus fromJson(JsonReader jsonReader)

Reads an instance of EnrichmentStatus from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

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

getMessage

public String getMessage()

Get the message property: the trimmed message describes details of the enrichment status.

Returns:

the message value.

getStatus

public String getStatus()

Get the status property: latest enrichment status for this data slice.

Returns:

the status value.

getTimestamp

public OffsetDateTime getTimestamp()

Get the timestamp property: data slice timestamp.

Returns:

the timestamp value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

Applies to