Class Correlation
java.lang.Object
com.azure.resourcemanager.appservice.models.Correlation
- All Implemented Interfaces:
com.azure.json.JsonSerializable<Correlation>
public final class Correlation
extends Object
implements com.azure.json.JsonSerializable<Correlation>
The correlation property.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionGet the clientTrackingId property: The client tracking id.static Correlation
fromJson
(com.azure.json.JsonReader jsonReader) Reads an instance of Correlation from the JsonReader.com.azure.json.JsonWriter
toJson
(com.azure.json.JsonWriter jsonWriter) void
validate()
Validates the instance.withClientTrackingId
(String clientTrackingId) Set the clientTrackingId property: The client tracking id.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface com.azure.json.JsonSerializable
toJson, toJson, toJsonBytes, toJsonString
-
Constructor Details
-
Correlation
public Correlation()Creates an instance of Correlation class.
-
-
Method Details
-
clientTrackingId
Get the clientTrackingId property: The client tracking id.- Returns:
- the clientTrackingId value.
-
withClientTrackingId
Set the clientTrackingId property: The client tracking id.- Parameters:
clientTrackingId
- the clientTrackingId value to set.- Returns:
- the Correlation object itself.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-
toJson
- Specified by:
toJson
in interfacecom.azure.json.JsonSerializable<Correlation>
- Throws:
IOException
-
fromJson
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.
-