Class TopologyInner
java.lang.Object
com.azure.resourcemanager.network.fluent.models.TopologyInner
- All Implemented Interfaces:
com.azure.json.JsonSerializable<TopologyInner>
public final class TopologyInner
extends Object
implements com.azure.json.JsonSerializable<TopologyInner>
Topology of the specified resource group.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionGet the createdDateTime property: The datetime when the topology was initially created for the resource group.static TopologyInnerfromJson(com.azure.json.JsonReader jsonReader) Reads an instance of TopologyInner from the JsonReader.id()Get the id property: GUID representing the operation id.Get the lastModified property: The datetime when the topology was last modified.Get the resources property: A list of topology resources.com.azure.json.JsonWritertoJson(com.azure.json.JsonWriter jsonWriter) voidvalidate()Validates the instance.withResources(List<TopologyResource> resources) Set the resources property: A list of topology resources.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
-
TopologyInner
public TopologyInner()Creates an instance of TopologyInner class.
-
-
Method Details
-
id
Get the id property: GUID representing the operation id.- Returns:
- the id value.
-
createdDateTime
Get the createdDateTime property: The datetime when the topology was initially created for the resource group.- Returns:
- the createdDateTime value.
-
lastModified
Get the lastModified property: The datetime when the topology was last modified.- Returns:
- the lastModified value.
-
resources
Get the resources property: A list of topology resources.- Returns:
- the resources value.
-
withResources
Set the resources property: A list of topology resources.- Parameters:
resources- the resources value to set.- Returns:
- the TopologyInner 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<TopologyInner>- Throws:
IOException
-
fromJson
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.
-