Class AgentPoolAvailableVersionsProperties
java.lang.Object
com.azure.resourcemanager.containerservice.fluent.models.AgentPoolAvailableVersionsProperties
The list of available agent pool versions.
-
Constructor Summary
ConstructorsConstructorDescriptionCreates an instance of AgentPoolAvailableVersionsProperties class. -
Method Summary
Modifier and TypeMethodDescriptionGet the agentPoolVersions property: List of versions available for agent pool.voidvalidate()Validates the instance.withAgentPoolVersions(List<AgentPoolAvailableVersionsPropertiesAgentPoolVersionsItem> agentPoolVersions) Set the agentPoolVersions property: List of versions available for agent pool.
-
Constructor Details
-
AgentPoolAvailableVersionsProperties
public AgentPoolAvailableVersionsProperties()Creates an instance of AgentPoolAvailableVersionsProperties class.
-
-
Method Details
-
agentPoolVersions
Get the agentPoolVersions property: List of versions available for agent pool.- Returns:
- the agentPoolVersions value.
-
withAgentPoolVersions
public AgentPoolAvailableVersionsProperties withAgentPoolVersions(List<AgentPoolAvailableVersionsPropertiesAgentPoolVersionsItem> agentPoolVersions) Set the agentPoolVersions property: List of versions available for agent pool.- Parameters:
agentPoolVersions- the agentPoolVersions value to set.- Returns:
- the AgentPoolAvailableVersionsProperties object itself.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException- thrown if the instance is not valid.
-