Correlation Class

  • java.lang.Object
    • com.azure.resourcemanager.appservice.models.Correlation

Implements

public final class Correlation
implements JsonSerializable<Correlation>

The correlation property.

Constructor Summary

Constructor Description
Correlation()

Creates an instance of Correlation class.

Method Summary

Modifier and Type Method and Description
String clientTrackingId()

Get the clientTrackingId property: The client tracking id.

static Correlation fromJson(JsonReader jsonReader)

Reads an instance of Correlation from the JsonReader.

JsonWriter toJson(JsonWriter jsonWriter)
void validate()

Validates the instance.

Correlation withClientTrackingId(String clientTrackingId)

Set the clientTrackingId property: The client tracking id.

Methods inherited from java.lang.Object

Constructor Details

Correlation

public Correlation()

Creates an instance of Correlation class.

Method Details

clientTrackingId

public String clientTrackingId()

Get the clientTrackingId property: The client tracking id.

Returns:

the clientTrackingId value.

fromJson

public static Correlation fromJson(JsonReader jsonReader)

Reads an instance of Correlation from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

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

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

validate

public void validate()

Validates the instance.

withClientTrackingId

public Correlation withClientTrackingId(String clientTrackingId)

Set the clientTrackingId property: The client tracking id.

Parameters:

clientTrackingId - the clientTrackingId value to set.

Returns:

the Correlation object itself.

Applies to