Class DataContainerResourceArmPaginatedResult

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

public final class DataContainerResourceArmPaginatedResult extends Object implements com.azure.json.JsonSerializable<DataContainerResourceArmPaginatedResult>
A paginated list of DataContainer entities.
  • Constructor Details

    • DataContainerResourceArmPaginatedResult

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

    • value

      public List<DataContainerInner> value()
      Get the value property: An array of objects of type DataContainer.
      Returns:
      the value value.
    • withValue

      Set the value property: An array of objects of type DataContainer.
      Parameters:
      value - the value value to set.
      Returns:
      the DataContainerResourceArmPaginatedResult object itself.
    • nextLink

      public String nextLink()
      Get the nextLink property: The link to the next page of DataContainer objects. If null, there are no additional pages.
      Returns:
      the nextLink value.
    • withNextLink

      public DataContainerResourceArmPaginatedResult withNextLink(String nextLink)
      Set the nextLink property: The link to the next page of DataContainer objects. If null, there are no additional pages.
      Parameters:
      nextLink - the nextLink value to set.
      Returns:
      the DataContainerResourceArmPaginatedResult 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<DataContainerResourceArmPaginatedResult>
      Throws:
      IOException
    • fromJson

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