Class BuildServiceProperties
java.lang.Object
com.azure.resourcemanager.appplatform.models.BuildServiceProperties
Build service resource properties payload.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionGet the kPackVersion property: The installed KPack version in this build service.Get the provisioningState property: Provisioning state of the KPack build result.Get the resourceRequests property: The runtime resource configuration of this build service.voidvalidate()Validates the instance.withKPackVersion(String kPackVersion) Set the kPackVersion property: The installed KPack version in this build service.withResourceRequests(BuildServicePropertiesResourceRequests resourceRequests) Set the resourceRequests property: The runtime resource configuration of this build service.
-
Constructor Details
-
BuildServiceProperties
public BuildServiceProperties()
-
-
Method Details
-
kPackVersion
Get the kPackVersion property: The installed KPack version in this build service.- Returns:
- the kPackVersion value.
-
withKPackVersion
Set the kPackVersion property: The installed KPack version in this build service.- Parameters:
kPackVersion- the kPackVersion value to set.- Returns:
- the BuildServiceProperties object itself.
-
provisioningState
Get the provisioningState property: Provisioning state of the KPack build result.- Returns:
- the provisioningState value.
-
resourceRequests
Get the resourceRequests property: The runtime resource configuration of this build service.- Returns:
- the resourceRequests value.
-
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.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException- thrown if the instance is not valid.
-