Class OrchestratorVersionProfileProperties

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

public final class OrchestratorVersionProfileProperties extends Object implements com.azure.json.JsonSerializable<OrchestratorVersionProfileProperties>
The properties of an orchestrator version profile.
  • Constructor Details

    • OrchestratorVersionProfileProperties

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

    • orchestrators

      public List<OrchestratorVersionProfile> orchestrators()
      Get the orchestrators property: List of orchestrator version profiles.
      Returns:
      the orchestrators value.
    • withOrchestrators

      public OrchestratorVersionProfileProperties withOrchestrators(List<OrchestratorVersionProfile> orchestrators)
      Set the orchestrators property: List of orchestrator version profiles.
      Parameters:
      orchestrators - the orchestrators value to set.
      Returns:
      the OrchestratorVersionProfileProperties 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<OrchestratorVersionProfileProperties>
      Throws:
      IOException
    • fromJson

      public static OrchestratorVersionProfileProperties fromJson(com.azure.json.JsonReader jsonReader) throws IOException
      Reads an instance of OrchestratorVersionProfileProperties from the JsonReader.
      Parameters:
      jsonReader - The JsonReader being read.
      Returns:
      An instance of OrchestratorVersionProfileProperties if the JsonReader was pointing to an instance of it, or null if it was pointing to JSON null.
      Throws:
      IllegalStateException - If the deserialized JSON object was missing any required properties.
      IOException - If an error occurs while reading the OrchestratorVersionProfileProperties.