Partager via


BuildServiceProperties Class

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

Implements

public final class BuildServiceProperties
implements JsonSerializable<BuildServiceProperties>

Build service resource properties payload.

Constructor Summary

Constructor Description
BuildServiceProperties()

Creates an instance of BuildServiceProperties class.

Method Summary

Modifier and Type Method and Description
String containerRegistry()

Get the containerRegistry property: The resource id of the container registry used in this build service.

static BuildServiceProperties fromJson(JsonReader jsonReader)

Reads an instance of BuildServiceProperties from the JsonReader.

String kPackVersion()

Get the kPackVersion property: The installed KPack version in this build service.

BuildServiceProvisioningState provisioningState()

Get the provisioningState property: Provisioning state of the KPack build service.

BuildServicePropertiesResourceRequests resourceRequests()

Get the resourceRequests property: The runtime resource configuration of this build service.

JsonWriter toJson(JsonWriter jsonWriter)
void validate()

Validates the instance.

BuildServiceProperties withContainerRegistry(String containerRegistry)

Set the containerRegistry property: The resource id of the container registry used in this build service.

BuildServiceProperties withResourceRequests(BuildServicePropertiesResourceRequests resourceRequests)

Set the resourceRequests property: The runtime resource configuration of this build service.

Methods inherited from java.lang.Object

Constructor Details

BuildServiceProperties

public BuildServiceProperties()

Creates an instance of BuildServiceProperties class.

Method Details

containerRegistry

public String containerRegistry()

Get the containerRegistry property: The resource id of the container registry used in this build service.

Returns:

the containerRegistry value.

fromJson

public static BuildServiceProperties fromJson(JsonReader jsonReader)

Reads an instance of BuildServiceProperties from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

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

kPackVersion

public String kPackVersion()

Get the kPackVersion property: The installed KPack version in this build service.

Returns:

the kPackVersion value.

provisioningState

public BuildServiceProvisioningState provisioningState()

Get the provisioningState property: Provisioning state of the KPack build service.

Returns:

the provisioningState value.

resourceRequests

public BuildServicePropertiesResourceRequests resourceRequests()

Get the resourceRequests property: The runtime resource configuration of this build service.

Returns:

the resourceRequests value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

validate

public void validate()

Validates the instance.

withContainerRegistry

public BuildServiceProperties withContainerRegistry(String containerRegistry)

Set the containerRegistry property: The resource id of the container registry used in this build service.

Parameters:

containerRegistry - the containerRegistry value to set.

Returns:

the BuildServiceProperties object itself.

withResourceRequests

public BuildServiceProperties withResourceRequests(BuildServicePropertiesResourceRequests resourceRequests)

Set the resourceRequests property: The runtime resource configuration of this build service.

Parameters:

resourceRequests - the resourceRequests value to set.

Returns:

the BuildServiceProperties object itself.

Applies to