Class MaintenanceConfigurationListResult

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

public final class MaintenanceConfigurationListResult extends Object implements com.azure.json.JsonSerializable<MaintenanceConfigurationListResult>
The response from the List maintenance configurations operation.
  • Constructor Details

    • MaintenanceConfigurationListResult

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

    • value

      Get the value property: The list of maintenance configurations.
      Returns:
      the value value.
    • withValue

      Set the value property: The list of maintenance configurations.
      Parameters:
      value - the value value to set.
      Returns:
      the MaintenanceConfigurationListResult object itself.
    • nextLink

      public String nextLink()
      Get the nextLink property: The URL to get the next set of maintenance configuration 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<MaintenanceConfigurationListResult>
      Throws:
      IOException
    • fromJson

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