Partilhar via


BuildServiceAgentPoolProperties Class

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

Implements

public final class BuildServiceAgentPoolProperties
implements JsonSerializable<BuildServiceAgentPoolProperties>

Build service agent pool properties.

Constructor Summary

Constructor Description
BuildServiceAgentPoolProperties()

Creates an instance of BuildServiceAgentPoolProperties class.

Method Summary

Modifier and Type Method and Description
static BuildServiceAgentPoolProperties fromJson(JsonReader jsonReader)

Reads an instance of BuildServiceAgentPoolProperties from the JsonReader.

BuildServiceAgentPoolSizeProperties poolSize()

Get the poolSize property: build service agent pool size properties.

String provisioningState()

Get the provisioningState property: Provisioning state of the build service agent pool.

JsonWriter toJson(JsonWriter jsonWriter)
void validate()

Validates the instance.

BuildServiceAgentPoolProperties withPoolSize(BuildServiceAgentPoolSizeProperties poolSize)

Set the poolSize property: build service agent pool size properties.

Methods inherited from java.lang.Object

Constructor Details

BuildServiceAgentPoolProperties

public BuildServiceAgentPoolProperties()

Creates an instance of BuildServiceAgentPoolProperties class.

Method Details

fromJson

public static BuildServiceAgentPoolProperties fromJson(JsonReader jsonReader)

Reads an instance of BuildServiceAgentPoolProperties from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

An instance of BuildServiceAgentPoolProperties 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 BuildServiceAgentPoolProperties.

poolSize

public BuildServiceAgentPoolSizeProperties poolSize()

Get the poolSize property: build service agent pool size properties.

Returns:

the poolSize value.

provisioningState

public String provisioningState()

Get the provisioningState property: Provisioning state of the build service agent pool.

Returns:

the provisioningState value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

validate

public void validate()

Validates the instance.

withPoolSize

public BuildServiceAgentPoolProperties withPoolSize(BuildServiceAgentPoolSizeProperties poolSize)

Set the poolSize property: build service agent pool size properties.

Parameters:

poolSize - the poolSize value to set.

Returns:

the BuildServiceAgentPoolProperties object itself.

Applies to