Partilhar via


HeatMapEndpoint Class

  • java.lang.Object
    • com.azure.resourcemanager.trafficmanager.models.HeatMapEndpoint

Implements

public final class HeatMapEndpoint
implements JsonSerializable<HeatMapEndpoint>

Class which is a sparse representation of a Traffic Manager endpoint.

Constructor Summary

Constructor Description
HeatMapEndpoint()

Creates an instance of HeatMapEndpoint class.

Method Summary

Modifier and Type Method and Description
Integer endpointId()

Get the endpointId property: A number uniquely identifying this endpoint in query experiences.

static HeatMapEndpoint fromJson(JsonReader jsonReader)

Reads an instance of HeatMapEndpoint from the JsonReader.

String resourceId()

Get the resourceId property: The ARM Resource ID of this Traffic Manager endpoint.

JsonWriter toJson(JsonWriter jsonWriter)
void validate()

Validates the instance.

HeatMapEndpoint withEndpointId(Integer endpointId)

Set the endpointId property: A number uniquely identifying this endpoint in query experiences.

HeatMapEndpoint withResourceId(String resourceId)

Set the resourceId property: The ARM Resource ID of this Traffic Manager endpoint.

Methods inherited from java.lang.Object

Constructor Details

HeatMapEndpoint

public HeatMapEndpoint()

Creates an instance of HeatMapEndpoint class.

Method Details

endpointId

public Integer endpointId()

Get the endpointId property: A number uniquely identifying this endpoint in query experiences.

Returns:

the endpointId value.

fromJson

public static HeatMapEndpoint fromJson(JsonReader jsonReader)

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.

resourceId

public String resourceId()

Get the resourceId property: The ARM Resource ID of this Traffic Manager endpoint.

Returns:

the resourceId value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

validate

public void validate()

Validates the instance.

withEndpointId

public HeatMapEndpoint withEndpointId(Integer endpointId)

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.

withResourceId

public HeatMapEndpoint withResourceId(String resourceId)

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.

Applies to