BuildResultProperties Class

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

Implements

public final class BuildResultProperties
implements JsonSerializable<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.

static BuildResultProperties fromJson(JsonReader jsonReader)

Reads an instance of BuildResultProperties from the JsonReader.

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.

JsonWriter toJson(JsonWriter jsonWriter)
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.

fromJson

public static BuildResultProperties fromJson(JsonReader jsonReader)

Reads an instance of BuildResultProperties from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

An instance of BuildResultProperties if the JsonReader was pointing to an instance of it, or null if it was pointing to JSON null.

Throws:

IOException

- If an error occurs while reading the BuildResultProperties.

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.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

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