Class ResourceGroupListResult

java.lang.Object
com.azure.resourcemanager.resources.models.ResourceGroupListResult
All Implemented Interfaces:
com.azure.json.JsonSerializable<ResourceGroupListResult>

public final class ResourceGroupListResult extends Object implements com.azure.json.JsonSerializable<ResourceGroupListResult>
List of resource groups.
  • Constructor Details

    • ResourceGroupListResult

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

    • value

      public List<ResourceGroupInner> value()
      Get the value property: An array of resource groups.
      Returns:
      the value value.
    • withValue

      public ResourceGroupListResult withValue(List<ResourceGroupInner> value)
      Set the value property: An array of resource groups.
      Parameters:
      value - the value value to set.
      Returns:
      the ResourceGroupListResult object itself.
    • nextLink

      public String nextLink()
      Get the nextLink property: The URL to use for getting the next set of results.
      Returns:
      the nextLink value.
    • 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<ResourceGroupListResult>
      Throws:
      IOException
    • fromJson

      public static ResourceGroupListResult fromJson(com.azure.json.JsonReader jsonReader) throws IOException
      Reads an instance of ResourceGroupListResult from the JsonReader.
      Parameters:
      jsonReader - The JsonReader being read.
      Returns:
      An instance of ResourceGroupListResult 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 ResourceGroupListResult.