BuildProperties Class

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

public final class BuildProperties

Build resource properties payload.

Constructor Summary

Constructor Description
BuildProperties()

Creates an instance of BuildProperties class.

Method Summary

Modifier and Type Method and Description
String agentPool()

Get the agentPool property: The resource id of agent pool.

List<ApmReference> 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<CertificateReference> 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.

BuildProvisioningState provisioningState()

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

String relativePath()

Get the relativePath property: The relative path of source code.

BuildResourceRequests resourceRequests()

Get the resourceRequests property: The customized build resource for this build.

TriggeredBuildResult triggeredBuildResult()

Get the triggeredBuildResult property: The build result triggered by this build.

void validate()

Validates the instance.

BuildProperties withAgentPool(String agentPool)

Set the agentPool property: The resource id of agent pool.

BuildProperties withApms(List<ApmReference> apms)

Set the apms property: The APMs for this build.

BuildProperties withBuilder(String builder)

Set the builder property: The resource id of builder to build the source code.

BuildProperties withCertificates(List<CertificateReference> certificates)

Set the certificates property: The CA Certificates for this build.

BuildProperties withEnv(Map<String,String> env)

Set the env property: The environment variables for this build.

BuildProperties withRelativePath(String relativePath)

Set the relativePath property: The relative path of source code.

BuildProperties withResourceRequests(BuildResourceRequests resourceRequests)

Set the resourceRequests property: The customized build resource for this build.

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:

the agentPool value.

apms

public List apms()

Get the apms property: The APMs for this build.

Returns:

the apms value.

builder

public String builder()

Get the builder property: The resource id of builder to build the source code.

Returns:

the builder value.

certificates

public List certificates()

Get the certificates property: The CA Certificates for this build.

Returns:

the certificates value.

env

public Map env()

Get the env property: The environment variables for this build.

Returns:

the env value.

provisioningState

public BuildProvisioningState provisioningState()

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

Returns:

the provisioningState value.

relativePath

public String relativePath()

Get the relativePath property: The relative path of source code.

Returns:

the relativePath value.

resourceRequests

public BuildResourceRequests resourceRequests()

Get the resourceRequests property: The customized build resource for this build.

Returns:

the resourceRequests value.

triggeredBuildResult

public TriggeredBuildResult triggeredBuildResult()

Get the triggeredBuildResult property: The build result triggered by this build.

Returns:

the triggeredBuildResult value.

validate

public void validate()

Validates the instance.

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.

withApms

public BuildProperties withApms(List apms)

Set the apms property: The APMs for this build.

Parameters:

apms - the apms value to set.

Returns:

the BuildProperties object itself.

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.

withCertificates

public BuildProperties withCertificates(List certificates)

Set the certificates property: The CA Certificates for this build.

Parameters:

certificates - the certificates value to set.

Returns:

the BuildProperties object itself.

withEnv

public BuildProperties withEnv(Map env)

Set the env property: The environment variables for this build.

Parameters:

env - the env value to set.

Returns:

the BuildProperties object itself.

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.

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.

Applies to