BuildServiceAgentPoolSizeProperties Class
- java.
lang. Object - com.
azure. resourcemanager. appplatform. models. BuildServiceAgentPoolSizeProperties
- com.
Implements
public final class BuildServiceAgentPoolSizeProperties
implements JsonSerializable<BuildServiceAgentPoolSizeProperties>
Build service agent pool size properties.
Constructor Summary
Constructor | Description |
---|---|
BuildServiceAgentPoolSizeProperties() |
Creates an instance of Build |
Method Summary
Modifier and Type | Method and Description |
---|---|
String |
cpu()
Get the cpu property: The cpu property of build service agent pool size. |
static
Build |
fromJson(JsonReader jsonReader)
Reads an instance of Build |
String |
memory()
Get the memory property: The memory property of build service agent pool size. |
String |
name()
Get the name property: The name of build service agent pool size. |
Json |
toJson(JsonWriter jsonWriter) |
void |
validate()
Validates the instance. |
Build |
withName(String name)
Set the name property: The name of build service agent pool size. |
Methods inherited from java.lang.Object
Constructor Details
BuildServiceAgentPoolSizeProperties
public BuildServiceAgentPoolSizeProperties()
Creates an instance of BuildServiceAgentPoolSizeProperties class.
Method Details
cpu
public String cpu()
Get the cpu property: The cpu property of build service agent pool size.
Returns:
fromJson
public static BuildServiceAgentPoolSizeProperties fromJson(JsonReader jsonReader)
Reads an instance of BuildServiceAgentPoolSizeProperties from the JsonReader.
Parameters:
Returns:
Throws:
memory
public String memory()
Get the memory property: The memory property of build service agent pool size.
Returns:
name
public String name()
Get the name property: The name of build service agent pool size.
Returns:
toJson
validate
public void validate()
Validates the instance.
withName
public BuildServiceAgentPoolSizeProperties withName(String name)
Set the name property: The name of build service agent pool size.
Parameters:
Returns:
Applies to
Azure SDK for Java