AgentPoolAvailableVersionsInner Class

  • java.lang.Object
    • com.azure.resourcemanager.containerservice.fluent.models.AgentPoolAvailableVersionsInner

Implements

public final class AgentPoolAvailableVersionsInner
implements JsonSerializable<AgentPoolAvailableVersionsInner>

The list of available versions for an agent pool.

Constructor Summary

Constructor Description
AgentPoolAvailableVersionsInner()

Creates an instance of AgentPoolAvailableVersionsInner class.

Method Summary

Modifier and Type Method and Description
List<AgentPoolAvailableVersionsPropertiesAgentPoolVersionsItem> agentPoolVersions()

Get the agentPoolVersions property: List of versions available for agent pool.

static AgentPoolAvailableVersionsInner fromJson(JsonReader jsonReader)

Reads an instance of AgentPoolAvailableVersionsInner from the JsonReader.

String id()

Get the id property: The ID of the agent pool version list.

String name()

Get the name property: The name of the agent pool version list.

JsonWriter toJson(JsonWriter jsonWriter)
String type()

Get the type property: Type of the agent pool version list.

void validate()

Validates the instance.

AgentPoolAvailableVersionsInner withAgentPoolVersions(List<AgentPoolAvailableVersionsPropertiesAgentPoolVersionsItem> agentPoolVersions)

Set the agentPoolVersions property: List of versions available for agent pool.

Methods inherited from java.lang.Object

Constructor Details

AgentPoolAvailableVersionsInner

public AgentPoolAvailableVersionsInner()

Creates an instance of AgentPoolAvailableVersionsInner class.

Method Details

agentPoolVersions

public List agentPoolVersions()

Get the agentPoolVersions property: List of versions available for agent pool.

Returns:

the agentPoolVersions value.

fromJson

public static AgentPoolAvailableVersionsInner fromJson(JsonReader jsonReader)

Reads an instance of AgentPoolAvailableVersionsInner from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

An instance of AgentPoolAvailableVersionsInner if the JsonReader was pointing to an instance of it, or null if it was pointing to JSON null.

Throws:

IOException

- If the deserialized JSON object was missing any required properties.

id

public String id()

Get the id property: The ID of the agent pool version list.

Returns:

the id value.

name

public String name()

Get the name property: The name of the agent pool version list.

Returns:

the name value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

type

public String type()

Get the type property: Type of the agent pool version list.

Returns:

the type value.

validate

public void validate()

Validates the instance.

withAgentPoolVersions

public AgentPoolAvailableVersionsInner withAgentPoolVersions(List agentPoolVersions)

Set the agentPoolVersions property: List of versions available for agent pool.

Parameters:

agentPoolVersions - the agentPoolVersions value to set.

Returns:

the AgentPoolAvailableVersionsInner object itself.

Applies to