Class BuildServiceAgentPoolSizeProperties
java.lang.Object
com.azure.resourcemanager.appplatform.models.BuildServiceAgentPoolSizeProperties
Build service agent pool size properties.
-
Constructor Summary
ConstructorsConstructorDescriptionCreates an instance of BuildServiceAgentPoolSizeProperties class. -
Method Summary
Modifier and TypeMethodDescriptioncpu()Get the cpu property: The cpu property of build service agent pool size.memory()Get the memory property: The memory property of build service agent pool size.name()Get the name property: The name of build service agent pool size.voidvalidate()Validates the instance.Set the name property: The name of build service agent pool size.
-
Constructor Details
-
BuildServiceAgentPoolSizeProperties
public BuildServiceAgentPoolSizeProperties()Creates an instance of BuildServiceAgentPoolSizeProperties class.
-
-
Method Details
-
name
Get the name property: The name of build service agent pool size.- Returns:
- the name value.
-
withName
Set the name property: The name of build service agent pool size.- Parameters:
name- the name value to set.- Returns:
- the BuildServiceAgentPoolSizeProperties object itself.
-
cpu
Get the cpu property: The cpu property of build service agent pool size.- Returns:
- the cpu value.
-
memory
Get the memory property: The memory property of build service agent pool size.- Returns:
- the memory value.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException- thrown if the instance is not valid.
-