Поделиться через


HeatMapModelInner Class

public final class HeatMapModelInner
extends ProxyResource

Class representing a Traffic Manager HeatMap.

Constructor Summary

Constructor Description
HeatMapModelInner()

Creates an instance of HeatMapModelInner class.

Method Summary

Modifier and Type Method and Description
OffsetDateTime endTime()

Get the endTime property: The ending of the time window for this HeatMap, exclusive.

List<HeatMapEndpoint> endpoints()

Get the endpoints property: The endpoints used in this HeatMap calculation.

static HeatMapModelInner fromJson(JsonReader jsonReader)

Reads an instance of HeatMapModelInner from the JsonReader.

String id()

Get the id property: Fully qualified resource Id for the resource.

String name()

Get the name property: The name of the resource.

OffsetDateTime startTime()

Get the startTime property: The beginning of the time window for this HeatMap, inclusive.

JsonWriter toJson(JsonWriter jsonWriter)
List<TrafficFlow> trafficFlows()

Get the trafficFlows property: The traffic flows produced in this HeatMap calculation.

String type()

Get the type property: The type of the resource.

void validate()

Validates the instance.

HeatMapModelInner withEndTime(OffsetDateTime endTime)

Set the endTime property: The ending of the time window for this HeatMap, exclusive.

HeatMapModelInner withEndpoints(List<HeatMapEndpoint> endpoints)

Set the endpoints property: The endpoints used in this HeatMap calculation.

HeatMapModelInner withId(String id)

Set the id property: Fully qualified resource Id for the resource.

HeatMapModelInner withName(String name)

Set the name property: The name of the resource.

HeatMapModelInner withStartTime(OffsetDateTime startTime)

Set the startTime property: The beginning of the time window for this HeatMap, inclusive.

HeatMapModelInner withTrafficFlows(List<TrafficFlow> trafficFlows)

Set the trafficFlows property: The traffic flows produced in this HeatMap calculation.

HeatMapModelInner withType(String type)

Set the type property: The type of the resource.

Methods inherited from ProxyResource

Methods inherited from java.lang.Object

Constructor Details

HeatMapModelInner

public HeatMapModelInner()

Creates an instance of HeatMapModelInner class.

Method Details

endTime

public OffsetDateTime endTime()

Get the endTime property: The ending of the time window for this HeatMap, exclusive.

Returns:

the endTime value.

endpoints

public List endpoints()

Get the endpoints property: The endpoints used in this HeatMap calculation.

Returns:

the endpoints value.

fromJson

public static HeatMapModelInner fromJson(JsonReader jsonReader)

Reads an instance of HeatMapModelInner from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

An instance of HeatMapModelInner if the JsonReader was pointing to an instance of it, or null if it was pointing to JSON null.

Throws:

IOException

- If the deserialized JSON object was missing any required properties.

id

public String id()

Get the id property: Fully qualified resource Id for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/trafficManagerProfiles/{resourceName}.

Overrides:

HeatMapModelInner.id()

Returns:

the id value.

name

public String name()

Get the name property: The name of the resource.

Overrides:

HeatMapModelInner.name()

Returns:

the name value.

startTime

public OffsetDateTime startTime()

Get the startTime property: The beginning of the time window for this HeatMap, inclusive.

Returns:

the startTime value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Overrides:

HeatMapModelInner.toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

trafficFlows

public List trafficFlows()

Get the trafficFlows property: The traffic flows produced in this HeatMap calculation.

Returns:

the trafficFlows value.

type

public String type()

Get the type property: The type of the resource. Ex- Microsoft.Network/trafficManagerProfiles.

Overrides:

HeatMapModelInner.type()

Returns:

the type value.

validate

public void validate()

Validates the instance.

withEndTime

public HeatMapModelInner withEndTime(OffsetDateTime endTime)

Set the endTime property: The ending of the time window for this HeatMap, exclusive.

Parameters:

endTime - the endTime value to set.

Returns:

the HeatMapModelInner object itself.

withEndpoints

public HeatMapModelInner withEndpoints(List endpoints)

Set the endpoints property: The endpoints used in this HeatMap calculation.

Parameters:

endpoints - the endpoints value to set.

Returns:

the HeatMapModelInner object itself.

withId

public HeatMapModelInner withId(String id)

Set the id property: Fully qualified resource Id for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/trafficManagerProfiles/{resourceName}.

Parameters:

id - the id value to set.

Returns:

the HeatMapModelInner object itself.

withName

public HeatMapModelInner withName(String name)

Set the name property: The name of the resource.

Parameters:

name - the name value to set.

Returns:

the HeatMapModelInner object itself.

withStartTime

public HeatMapModelInner withStartTime(OffsetDateTime startTime)

Set the startTime property: The beginning of the time window for this HeatMap, inclusive.

Parameters:

startTime - the startTime value to set.

Returns:

the HeatMapModelInner object itself.

withTrafficFlows

public HeatMapModelInner withTrafficFlows(List trafficFlows)

Set the trafficFlows property: The traffic flows produced in this HeatMap calculation.

Parameters:

trafficFlows - the trafficFlows value to set.

Returns:

the HeatMapModelInner object itself.

withType

public HeatMapModelInner withType(String type)

Set the type property: The type of the resource. Ex- Microsoft.Network/trafficManagerProfiles.

Parameters:

type - the type value to set.

Returns:

the HeatMapModelInner object itself.

Applies to