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 Details

    • TopologyInner

      public TopologyInner()
      Creates an instance of TopologyInner class.
  • Method Details

    • id

      public String id()
      Get the id property: GUID representing the operation id.
      Returns:
      the id value.
    • createdDateTime

      public OffsetDateTime createdDateTime()
      Get the createdDateTime property: The datetime when the topology was initially created for the resource group.
      Returns:
      the createdDateTime value.
    • lastModified

      public OffsetDateTime lastModified()
      Get the lastModified property: The datetime when the topology was last modified.
      Returns:
      the lastModified value.
    • resources

      public List<TopologyResource> resources()
      Get the resources property: A list of topology resources.
      Returns:
      the resources value.
    • withResources

      public TopologyInner withResources(List<TopologyResource> resources)
      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

      public com.azure.json.JsonWriter toJson(com.azure.json.JsonWriter jsonWriter) throws IOException
      Specified by:
      toJson in interface com.azure.json.JsonSerializable<TopologyInner>
      Throws:
      IOException
    • fromJson

      public static TopologyInner fromJson(com.azure.json.JsonReader jsonReader) throws IOException
      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.