TopologyResourceInner Class

public final class TopologyResourceInner
extends ProxyResource

The TopologyResource model.

Constructor Summary

Constructor Description
TopologyResourceInner()

Creates an instance of TopologyResourceInner class.

Method Summary

Modifier and Type Method and Description
OffsetDateTime calculatedDateTime()

Get the calculatedDateTime property: The UTC time on which the topology was calculated.

static TopologyResourceInner fromJson(JsonReader jsonReader)

Reads an instance of TopologyResourceInner from the JsonReader.

String id()

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

String location()

Get the location property: Location where the resource is stored.

String name()

Get the name property: The name of the resource.

JsonWriter toJson(JsonWriter jsonWriter)
List<TopologySingleResource> topologyResources()

Get the topologyResources property: Azure resources which are part of this topology resource.

String type()

Get the type property: The type of the resource.

void validate()

Validates the instance.

Methods inherited from ProxyResource

Methods inherited from java.lang.Object

Constructor Details

TopologyResourceInner

public TopologyResourceInner()

Creates an instance of TopologyResourceInner class.

Method Details

calculatedDateTime

public OffsetDateTime calculatedDateTime()

Get the calculatedDateTime property: The UTC time on which the topology was calculated.

Returns:

the calculatedDateTime value.

fromJson

public static TopologyResourceInner fromJson(JsonReader jsonReader)

Reads an instance of TopologyResourceInner from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

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

Overrides:

TopologyResourceInner.id()

Returns:

the id value.

location

public String location()

Get the location property: Location where the resource is stored.

Returns:

the location value.

name

public String name()

Get the name property: The name of the resource.

Overrides:

TopologyResourceInner.name()

Returns:

the name value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Overrides:

TopologyResourceInner.toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

topologyResources

public List<TopologySingleResource> topologyResources()

Get the topologyResources property: Azure resources which are part of this topology resource.

Returns:

the topologyResources value.

type

public String type()

Get the type property: The type of the resource.

Overrides:

TopologyResourceInner.type()

Returns:

the type value.

validate

public void validate()

Validates the instance.

Applies to