Class HeatMapEndpoint
java.lang.Object
com.azure.resourcemanager.trafficmanager.models.HeatMapEndpoint
- All Implemented Interfaces:
com.azure.json.JsonSerializable<HeatMapEndpoint>
public final class HeatMapEndpoint
extends Object
implements com.azure.json.JsonSerializable<HeatMapEndpoint>
Class which is a sparse representation of a Traffic Manager endpoint.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionGet the endpointId property: A number uniquely identifying this endpoint in query experiences.static HeatMapEndpointfromJson(com.azure.json.JsonReader jsonReader) Reads an instance of HeatMapEndpoint from the JsonReader.Get the resourceId property: The ARM Resource ID of this Traffic Manager endpoint.com.azure.json.JsonWritertoJson(com.azure.json.JsonWriter jsonWriter) voidvalidate()Validates the instance.withEndpointId(Integer endpointId) Set the endpointId property: A number uniquely identifying this endpoint in query experiences.withResourceId(String resourceId) Set the resourceId property: The ARM Resource ID of this Traffic Manager endpoint.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.azure.json.JsonSerializable
toJson, toJson, toJsonBytes, toJsonString
-
Constructor Details
-
HeatMapEndpoint
public HeatMapEndpoint()Creates an instance of HeatMapEndpoint class.
-
-
Method Details
-
resourceId
Get the resourceId property: The ARM Resource ID of this Traffic Manager endpoint.- Returns:
- the resourceId value.
-
withResourceId
Set the resourceId property: The ARM Resource ID of this Traffic Manager endpoint.- Parameters:
resourceId- the resourceId value to set.- Returns:
- the HeatMapEndpoint object itself.
-
endpointId
Get the endpointId property: A number uniquely identifying this endpoint in query experiences.- Returns:
- the endpointId value.
-
withEndpointId
Set the endpointId property: A number uniquely identifying this endpoint in query experiences.- Parameters:
endpointId- the endpointId value to set.- Returns:
- the HeatMapEndpoint object itself.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException- thrown if the instance is not valid.
-
toJson
- Specified by:
toJsonin interfacecom.azure.json.JsonSerializable<HeatMapEndpoint>- Throws:
IOException
-
fromJson
Reads an instance of HeatMapEndpoint from the JsonReader.- Parameters:
jsonReader- The JsonReader being read.- Returns:
- An instance of HeatMapEndpoint 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 HeatMapEndpoint.
-