Class BuildProperties

java.lang.Object
com.azure.resourcemanager.appplatform.models.BuildProperties

public final class BuildProperties extends Object
Build resource properties payload.
  • Constructor Details

    • BuildProperties

      public BuildProperties()
  • Method Details

    • relativePath

      public String relativePath()
      Get the relativePath property: The relative path of source code.
      Returns:
      the relativePath value.
    • withRelativePath

      public BuildProperties withRelativePath(String relativePath)
      Set the relativePath property: The relative path of source code.
      Parameters:
      relativePath - the relativePath value to set.
      Returns:
      the BuildProperties object itself.
    • builder

      public String builder()
      Get the builder property: The resource id of builder to build the source code.
      Returns:
      the builder value.
    • withBuilder

      public BuildProperties withBuilder(String builder)
      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

      public String agentPool()
      Get the agentPool property: The resource id of agent pool.
      Returns:
      the agentPool value.
    • withAgentPool

      public BuildProperties withAgentPool(String agentPool)
      Set the agentPool property: The resource id of agent pool.
      Parameters:
      agentPool - the agentPool value to set.
      Returns:
      the BuildProperties object itself.
    • provisioningState

      public BuildProvisioningState provisioningState()
      Get the provisioningState property: Provisioning state of the KPack build result.
      Returns:
      the provisioningState value.
    • env

      public Map<String,String> env()
      Get the env property: The environment variables for this build.
      Returns:
      the env value.
    • withEnv

      public BuildProperties withEnv(Map<String,String> env)
      Set the env property: The environment variables for this build.
      Parameters:
      env - the env value to set.
      Returns:
      the BuildProperties object itself.
    • triggeredBuildResult

      public TriggeredBuildResult triggeredBuildResult()
      Get the triggeredBuildResult property: The build result triggered by this build.
      Returns:
      the triggeredBuildResult value.
    • resourceRequests

      public BuildResourceRequests resourceRequests()
      Get the resourceRequests property: The customized build resource for this build.
      Returns:
      the resourceRequests value.
    • withResourceRequests

      public BuildProperties withResourceRequests(BuildResourceRequests resourceRequests)
      Set the resourceRequests property: The customized build resource for this build.
      Parameters:
      resourceRequests - the resourceRequests value to set.
      Returns:
      the BuildProperties object itself.
    • validate

      public void validate()
      Validates the instance.
      Throws:
      IllegalArgumentException - thrown if the instance is not valid.