BuildProperties Class
- java.
lang. Object - com.
azure. resourcemanager. appplatform. models. BuildProperties
- com.
Implements
public final class BuildProperties
implements JsonSerializable<BuildProperties>
Build resource properties payload.
Constructor Summary
Constructor | Description |
---|---|
BuildProperties() |
Creates an instance of Build |
Method Summary
Modifier and Type | Method and Description |
---|---|
String |
agentPool()
Get the agent |
List<Apm |
apms()
Get the apms property: The APMs for this build. |
String |
builder()
Get the builder property: The resource id of builder to build the source code. |
List<Certificate |
certificates()
Get the certificates property: The CA Certificates for this build. |
Map<String,String> |
env()
Get the env property: The environment variables for this build. |
static
Build |
fromJson(JsonReader jsonReader)
Reads an instance of Build |
Build |
provisioningState()
Get the provisioning |
String |
relativePath()
Get the relative |
Build |
resourceRequests()
Get the resource |
Json |
toJson(JsonWriter jsonWriter) |
Triggered |
triggeredBuildResult()
Get the triggered |
void |
validate()
Validates the instance. |
Build |
withAgentPool(String agentPool)
Set the agent |
Build |
withApms(List<ApmReference> apms)
Set the apms property: The APMs for this build. |
Build |
withBuilder(String builder)
Set the builder property: The resource id of builder to build the source code. |
Build |
withCertificates(List<CertificateReference> certificates)
Set the certificates property: The CA Certificates for this build. |
Build |
withEnv(Map<String,String> env)
Set the env property: The environment variables for this build. |
Build |
withRelativePath(String relativePath)
Set the relative |
Build |
withResourceRequests(BuildResourceRequests resourceRequests)
Set the resource |
Methods inherited from java.lang.Object
Constructor Details
BuildProperties
public BuildProperties()
Creates an instance of BuildProperties class.
Method Details
agentPool
public String agentPool()
Get the agentPool property: The resource id of agent pool.
Returns:
apms
public List
Get the apms property: The APMs for this build.
Returns:
builder
public String builder()
Get the builder property: The resource id of builder to build the source code.
Returns:
certificates
public List
Get the certificates property: The CA Certificates for this build.
Returns:
env
public Map
Get the env property: The environment variables for this build.
Returns:
fromJson
public static BuildProperties fromJson(JsonReader jsonReader)
Reads an instance of BuildProperties from the JsonReader.
Parameters:
Returns:
Throws:
provisioningState
public BuildProvisioningState provisioningState()
Get the provisioningState property: Provisioning state of the KPack build result.
Returns:
relativePath
public String relativePath()
Get the relativePath property: The relative path of source code.
Returns:
resourceRequests
public BuildResourceRequests resourceRequests()
Get the resourceRequests property: The customized build resource for this build.
Returns:
toJson
triggeredBuildResult
public TriggeredBuildResult triggeredBuildResult()
Get the triggeredBuildResult property: The build result triggered by this build.
Returns:
validate
public void validate()
Validates the instance.
withAgentPool
public BuildProperties withAgentPool(String agentPool)
Set the agentPool property: The resource id of agent pool.
Parameters:
Returns:
withApms
public BuildProperties withApms(List
Set the apms property: The APMs for this build.
Parameters:
Returns:
withBuilder
public BuildProperties withBuilder(String builder)
Set the builder property: The resource id of builder to build the source code.
Parameters:
Returns:
withCertificates
public BuildProperties withCertificates(List
Set the certificates property: The CA Certificates for this build.
Parameters:
Returns:
withEnv
public BuildProperties withEnv(Map
Set the env property: The environment variables for this build.
Parameters:
Returns:
withRelativePath
public BuildProperties withRelativePath(String relativePath)
Set the relativePath property: The relative path of source code.
Parameters:
Returns:
withResourceRequests
public BuildProperties withResourceRequests(BuildResourceRequests resourceRequests)
Set the resourceRequests property: The customized build resource for this build.
Parameters:
Returns:
Applies to
Azure SDK for Java