Partager via


BuildServicePropertiesResourceRequests Class

  • java.lang.Object
    • com.azure.resourcemanager.appplatform.models.BuildServicePropertiesResourceRequests

Implements

public final class BuildServicePropertiesResourceRequests
implements JsonSerializable<BuildServicePropertiesResourceRequests>

The runtime resource configuration of this build service.

Constructor Summary

Constructor Description
BuildServicePropertiesResourceRequests()

Creates an instance of BuildServicePropertiesResourceRequests class.

Method Summary

Modifier and Type Method and Description
String cpu()

Get the cpu property: vCPU allocated to the entire build service node pool.

static BuildServicePropertiesResourceRequests fromJson(JsonReader jsonReader)

Reads an instance of BuildServicePropertiesResourceRequests from the JsonReader.

String memory()

Get the memory property: Memory allocated to the entire build service node pool.

JsonWriter toJson(JsonWriter jsonWriter)
void validate()

Validates the instance.

Methods inherited from java.lang.Object

Constructor Details

BuildServicePropertiesResourceRequests

public BuildServicePropertiesResourceRequests()

Creates an instance of BuildServicePropertiesResourceRequests class.

Method Details

cpu

public String cpu()

Get the cpu property: vCPU allocated to the entire build service node pool.

Returns:

the cpu value.

fromJson

public static BuildServicePropertiesResourceRequests fromJson(JsonReader jsonReader)

Reads an instance of BuildServicePropertiesResourceRequests from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

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

Throws:

IOException

- If an error occurs while reading the BuildServicePropertiesResourceRequests.

memory

public String memory()

Get the memory property: Memory allocated to the entire build service node pool.

Returns:

the memory value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

validate

public void validate()

Validates the instance.

Applies to