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 Summary
ConstructorsConstructorDescriptionCreates an instance of OrchestratorVersionProfileProperties class. -
Method Summary
Modifier and TypeMethodDescriptionfromJson(com.azure.json.JsonReader jsonReader) Reads an instance of OrchestratorVersionProfileProperties from the JsonReader.Get the orchestrators property: List of orchestrator version profiles.com.azure.json.JsonWritertoJson(com.azure.json.JsonWriter jsonWriter) voidvalidate()Validates the instance.withOrchestrators(List<OrchestratorVersionProfile> orchestrators) Set the orchestrators property: List of orchestrator version profiles.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.azure.json.JsonSerializable
toJson, toJson, toJsonBytes, toJsonString
-
Constructor Details
-
OrchestratorVersionProfileProperties
public OrchestratorVersionProfileProperties()Creates an instance of OrchestratorVersionProfileProperties class.
-
-
Method Details
-
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
- Specified by:
toJsonin interfacecom.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.
-