BuildResultProperties Class

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

public final class BuildResultProperties

Build result resource properties payload.

Constructor Summary

Constructor Description
BuildResultProperties()

Creates an instance of BuildResultProperties class.

Method Summary

Modifier and Type Method and Description
String buildPodName()

Get the buildPodName property: The build pod name which can be used to get the build log streaming.

List<BuildStageProperties> buildStages()

Get the buildStages property: All of the build stage (init-container and container) resources in build pod.

Error error()

Get the error property: Error when build is failed.

String image()

Get the image property: The container registry image of this build result.

String name()

Get the name property: The name of this build result.

BuildResultProvisioningState provisioningState()

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

void validate()

Validates the instance.

BuildResultProperties withBuildPodName(String buildPodName)

Set the buildPodName property: The build pod name which can be used to get the build log streaming.

BuildResultProperties withError(Error error)

Set the error property: Error when build is failed.

BuildResultProperties withName(String name)

Set the name property: The name of this build result.

Methods inherited from java.lang.Object

Constructor Details

BuildResultProperties

public BuildResultProperties()

Creates an instance of BuildResultProperties class.

Method Details

buildPodName

public String buildPodName()

Get the buildPodName property: The build pod name which can be used to get the build log streaming.

Returns:

the buildPodName value.

buildStages

public List buildStages()

Get the buildStages property: All of the build stage (init-container and container) resources in build pod.

Returns:

the buildStages value.

error

public Error error()

Get the error property: Error when build is failed.

Returns:

the error value.

image

public String image()

Get the image property: The container registry image of this build result.

Returns:

the image value.

name

public String name()

Get the name property: The name of this build result.

Returns:

the name value.

provisioningState

public BuildResultProvisioningState provisioningState()

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

Returns:

the provisioningState value.

validate

public void validate()

Validates the instance.

withBuildPodName

public BuildResultProperties withBuildPodName(String buildPodName)

Set the buildPodName property: The build pod name which can be used to get the build log streaming.

Parameters:

buildPodName - the buildPodName value to set.

Returns:

the BuildResultProperties object itself.

withError

public BuildResultProperties withError(Error error)

Set the error property: Error when build is failed.

Parameters:

error - the error value to set.

Returns:

the BuildResultProperties object itself.

withName

public BuildResultProperties withName(String name)

Set the name property: The name of this build result.

Parameters:

name - the name value to set.

Returns:

the BuildResultProperties object itself.

Applies to