Class BuildProperties
java.lang.Object
com.azure.resourcemanager.appplatform.models.BuildProperties
Build resource properties payload.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionGet the agentPool property: The resource id of agent pool.builder()Get the builder property: The resource id of builder to build the source code.env()Get the env property: The environment variables for this build.Get the provisioningState property: Provisioning state of the KPack build result.Get the relativePath property: The relative path of source code.Get the triggeredBuildResult property: The build result triggered by this build.voidvalidate()Validates the instance.withAgentPool(String agentPool) Set the agentPool property: The resource id of agent pool.withBuilder(String builder) Set the builder property: The resource id of builder to build the source code.Set the env property: The environment variables for this build.withRelativePath(String relativePath) Set the relativePath property: The relative path of source code.
-
Constructor Details
-
BuildProperties
public BuildProperties()
-
-
Method Details
-
relativePath
Get the relativePath property: The relative path of source code.- Returns:
- the relativePath value.
-
withRelativePath
Set the relativePath property: The relative path of source code.- Parameters:
relativePath- the relativePath value to set.- Returns:
- the BuildProperties object itself.
-
builder
Get the builder property: The resource id of builder to build the source code.- Returns:
- the builder value.
-
withBuilder
Set the builder property: The resource id of builder to build the source code.- Parameters:
builder- the builder value to set.- Returns:
- the BuildProperties object itself.
-
agentPool
Get the agentPool property: The resource id of agent pool.- Returns:
- the agentPool value.
-
withAgentPool
Set the agentPool property: The resource id of agent pool.- Parameters:
agentPool- the agentPool value to set.- Returns:
- the BuildProperties object itself.
-
provisioningState
Get the provisioningState property: Provisioning state of the KPack build result.- Returns:
- the provisioningState value.
-
env
Get the env property: The environment variables for this build.- Returns:
- the env value.
-
withEnv
Set the env property: The environment variables for this build.- Parameters:
env- the env value to set.- Returns:
- the BuildProperties object itself.
-
triggeredBuildResult
Get the triggeredBuildResult property: The build result triggered by this build.- Returns:
- the triggeredBuildResult value.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException- thrown if the instance is not valid.
-