Class AgentPoolAvailableVersionsInner
- java.lang.Object
-
- com.azure.resourcemanager.containerservice.fluent.models.AgentPoolAvailableVersionsInner
-
public final class AgentPoolAvailableVersionsInner extends Object
The list of available versions for an agent pool.
-
-
Constructor Summary
Constructors Constructor Description AgentPoolAvailableVersionsInner()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description List<AgentPoolAvailableVersionsPropertiesAgentPoolVersionsItem>agentPoolVersions()Get the agentPoolVersions property: List of versions available for agent pool.Stringid()Get the id property: The ID of the agent pool version list.Stringname()Get the name property: The name of the agent pool version list.Stringtype()Get the type property: Type of the agent pool version list.voidvalidate()Validates the instance.AgentPoolAvailableVersionsInnerwithAgentPoolVersions(List<AgentPoolAvailableVersionsPropertiesAgentPoolVersionsItem> agentPoolVersions)Set the agentPoolVersions property: List of versions available for agent pool.
-
-
-
Method Detail
-
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.
-
type
public String type()
Get the type property: Type of the agent pool version list.- Returns:
- the type value.
-
agentPoolVersions
public List<AgentPoolAvailableVersionsPropertiesAgentPoolVersionsItem> agentPoolVersions()
Get the agentPoolVersions property: List of versions available for agent pool.- Returns:
- the agentPoolVersions value.
-
withAgentPoolVersions
public AgentPoolAvailableVersionsInner withAgentPoolVersions(List<AgentPoolAvailableVersionsPropertiesAgentPoolVersionsItem> agentPoolVersions)
Set the agentPoolVersions property: List of versions available for agent pool.- Parameters:
agentPoolVersions- the agentPoolVersions value to set.- Returns:
- the AgentPoolAvailableVersionsInner object itself.
-
validate
public void validate()
Validates the instance.- Throws:
IllegalArgumentException- thrown if the instance is not valid.
-
-