TopologyInner Class

  • java.lang.Object
    • com.azure.resourcemanager.network.fluent.models.TopologyInner

Implements

public final class TopologyInner
implements JsonSerializable<TopologyInner>

Topology of the specified resource group.

Constructor Summary

Constructor Description
TopologyInner()

Creates an instance of TopologyInner class.

Method Summary

Modifier and Type Method and Description
OffsetDateTime createdDateTime()

Get the createdDateTime property: The datetime when the topology was initially created for the resource group.

static TopologyInner fromJson(JsonReader jsonReader)

Reads an instance of TopologyInner from the JsonReader.

String id()

Get the id property: GUID representing the operation id.

OffsetDateTime lastModified()

Get the lastModified property: The datetime when the topology was last modified.

List<TopologyResource> resources()

Get the resources property: A list of topology resources.

JsonWriter toJson(JsonWriter jsonWriter)
void validate()

Validates the instance.

TopologyInner withResources(List<TopologyResource> resources)

Set the resources property: A list of topology resources.

Methods inherited from java.lang.Object

Constructor Details

TopologyInner

public TopologyInner()

Creates an instance of TopologyInner class.

Method Details

createdDateTime

public OffsetDateTime createdDateTime()

Get the createdDateTime property: The datetime when the topology was initially created for the resource group.

Returns:

the createdDateTime value.

fromJson

public static TopologyInner fromJson(JsonReader jsonReader)

Reads an instance of TopologyInner from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

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

id

public String id()

Get the id property: GUID representing the operation id.

Returns:

the id value.

lastModified

public OffsetDateTime lastModified()

Get the lastModified property: The datetime when the topology was last modified.

Returns:

the lastModified value.

resources

public List resources()

Get the resources property: A list of topology resources.

Returns:

the resources value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

validate

public void validate()

Validates the instance.

withResources

public TopologyInner withResources(List resources)

Set the resources property: A list of topology resources.

Parameters:

resources - the resources value to set.

Returns:

the TopologyInner object itself.

Applies to