Class OrchestratorVersionProfileListResultInner
java.lang.Object
com.azure.resourcemanager.containerservice.fluent.models.OrchestratorVersionProfileListResultInner
- All Implemented Interfaces:
com.azure.json.JsonSerializable<OrchestratorVersionProfileListResultInner>
public final class OrchestratorVersionProfileListResultInner
extends Object
implements com.azure.json.JsonSerializable<OrchestratorVersionProfileListResultInner>
The list of versions for supported orchestrators.
-
Constructor Summary
ConstructorsConstructorDescriptionCreates an instance of OrchestratorVersionProfileListResultInner class. -
Method Summary
Modifier and TypeMethodDescriptionfromJson(com.azure.json.JsonReader jsonReader) Reads an instance of OrchestratorVersionProfileListResultInner from the JsonReader.id()Get the id property: Id of the orchestrator version profile list result.name()Get the name property: Name of the orchestrator version profile list result.Get the orchestrators property: List of orchestrator version profiles.com.azure.json.JsonWritertoJson(com.azure.json.JsonWriter jsonWriter) type()Get the type property: Type of the orchestrator version profile list result.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
-
OrchestratorVersionProfileListResultInner
public OrchestratorVersionProfileListResultInner()Creates an instance of OrchestratorVersionProfileListResultInner class.
-
-
Method Details
-
id
Get the id property: Id of the orchestrator version profile list result.- Returns:
- the id value.
-
name
Get the name property: Name of the orchestrator version profile list result.- Returns:
- the name value.
-
type
Get the type property: Type of the orchestrator version profile list result.- Returns:
- the type value.
-
orchestrators
Get the orchestrators property: List of orchestrator version profiles.- Returns:
- the orchestrators value.
-
withOrchestrators
public OrchestratorVersionProfileListResultInner withOrchestrators(List<OrchestratorVersionProfile> orchestrators) Set the orchestrators property: List of orchestrator version profiles.- Parameters:
orchestrators- the orchestrators value to set.- Returns:
- the OrchestratorVersionProfileListResultInner 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<OrchestratorVersionProfileListResultInner>- Throws:
IOException
-
fromJson
public static OrchestratorVersionProfileListResultInner fromJson(com.azure.json.JsonReader jsonReader) throws IOException Reads an instance of OrchestratorVersionProfileListResultInner from the JsonReader.- Parameters:
jsonReader- The JsonReader being read.- Returns:
- An instance of OrchestratorVersionProfileListResultInner 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 OrchestratorVersionProfileListResultInner.
-